[Paper Review] Membership Inference Attacks on Knowledge Graphs
This paper presents the first empirical study of membership inference attacks (MIAs) on knowledge graph embedding (KGE) models, proposing three attack types—transfer attacks (TAs), prediction loss-based attacks (PLAs), and prediction correctness-based attacks (PCAs)—that exploit black-box access to model outputs. The attacks achieve high success rates (up to 99.47%) on benchmark and real-world medical and financial KGs, revealing severe privacy leakage in KGEs due to uncalibrated, scale-free prediction scores and model architecture mismatches.
Membership inference attacks (MIAs) infer whether a specific data record is used for target model training. MIAs have provoked many discussions in the information security community since they give rise to severe data privacy issues, especially for private and sensitive datasets. Knowledge Graphs (KGs), which describe domain-specific subjects and relationships among them, are valuable and sensitive, such as medical KGs constructed from electronic health records. However, the privacy threat to knowledge graphs is critical but rarely explored. In this paper, we conduct the first empirical evaluation of privacy threats to knowledge graphs triggered by knowledge graph embedding methods (KGEs). We propose three types of membership inference attacks: transfer attacks (TAs), prediction loss-based attacks (PLAs), and prediction correctness-based attacks (PCAs), according to attack difficulty levels. In the experiments, we conduct three inference attacks against four standard KGE methods over three benchmark datasets. In addition, we also propose the attacks against medical KG and financial KG. The results demonstrate that the proposed attack methods can easily explore the privacy leakage of knowledge graphs.
Motivation & Objective
- To investigate the privacy risks of knowledge graph embedding (KGE) models through membership inference attacks (MIAs), which infer whether a specific triple was used in training.
- To address the challenge of black-box KGE attacks, where adversaries lack access to model parameters or embeddings, and must rely only on output scores or labels.
- To evaluate the feasibility and effectiveness of MIAs under realistic threat models, including limited adversary knowledge and uncalibrated prediction scores.
- To demonstrate the vulnerability of KGEs using both benchmark datasets and sensitive real-world KGs, such as medical and financial knowledge graphs.
- To call for the development of privacy-preserving KGE methods by empirically exposing significant privacy leakage in existing models.
Proposed method
- Proposes three MIA techniques based on adversary knowledge scope: transfer attacks (TAs) use a shadow model with similar architecture to the target; prediction loss-based attacks (PLAs) compare loss values between member and non-member samples; prediction correctness-based attacks (PCAs) rely solely on label predictions.
- Designs a black-box attack setting where the adversary only queries the target model for output scores or labels, simulating real-world constraints.
- Employs a shadow dataset with similar distribution to the target KG to train the adversary model in TAs, enabling transfer of attack knowledge.
- Uses model-specific scoring functions (e.g., margin-based for TransE/TransH, logistic-based for DistMult/ComplEx) and analyzes score distributions to detect training membership.
- Applies attacks to four standard KGE models—TransE, TransH, DistMult, ComplEx—across three benchmark datasets (e.g., DDB14) and two sensitive KGs (medical and financial).
- Analyzes the impact of model architecture mismatch between shadow and target models, showing that attacks fail when scoring behaviors differ (e.g., margin vs. logistic models).
Experimental results
Research questions
- RQ1Can membership inference attacks be effectively mounted on knowledge graph embedding models under a realistic black-box setting with limited adversary knowledge?
- RQ2How does the choice of KGE model architecture (e.g., margin-based vs. logistic-based) affect the success of membership inference attacks?
- RQ3To what extent do uncalibrated, scale-free prediction scores in KGEs enable privacy leakage through membership inference?
- RQ4How effective are transfer attacks when the shadow model differs in architecture from the target model?
- RQ5Can membership inference attacks successfully compromise sensitive knowledge graphs such as medical and financial KGs?
Key findings
- Membership inference attacks on KGE models achieve high success rates, with transfer attacks reaching 99.47% accuracy when the shadow and target models share the same loss function.
- Attack performance drops to 50% (random guess level) when the shadow model uses a different scoring behavior (e.g., logistic-based shadow model attacking a margin-based target model), due to incompatible score distributions.
- Prediction loss-based attacks (PLAs) and prediction correctness-based attacks (PCAs) are effective even without access to model parameters, relying only on loss or label queries.
- The study demonstrates that KGEs trained on sensitive datasets—such as medical and financial knowledge graphs—are vulnerable to membership inference, exposing private patient or financial records.
- The results show that KGEs are vulnerable to MIAs due to uncalibrated, scale-free output scores and the inability to reverse-engineer entity and relation embeddings from predictions.
- The work reveals a critical privacy gap in current KGE methods, urging the development of privacy-preserving KGE models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.