Introduction
Knowledge Graph Embeddings (KGEs) serve as the backbone for modern relational learning tasks, ranging from search engines to fraud detection systems. However, as these models are increasingly deployed in high-stakes domains like finance and healthcare, their security and robustness become paramount. This paper investigates the susceptibility of KGE models to data poisoning—a "white-box" attack where a malicious actor with knowledge of the model's architecture and embeddings subtly modifies training data to break specific predictions at test time.
The core challenge in executing such attacks is two-fold: the computational impossibility of retraining models for every potential perturbation and the mathematically astronomical search space for data additions. To address this, the authors repurpose "instance attribution" methods from explainable AI to identify the most influential training triples for a given target prediction.
Methodology: Weaponizing Explanations
The researchers leverage Instance Attribution Methods to identify which training instances most significantly influence a specific model prediction. By identifying these "influential" triples, an attacker can strategically remove or alter them to "poison" the model.
Attribution Strategies
The study evaluates three primary attribution strategies:
- Instance Similarity: Measures the similarity between feature representations of training triples and the target test triple using metrics like Dot Product, $\ell_2$ distance, or Cosine similarity.
- Gradient Similarity: Compares the loss function gradients for training and target triples, based on the intuition that triples with similar gradients affect model parameters similarly.
- Influence Functions: A mathematically rigorous approach using the Hessian matrix to estimate the impact of removing a training point without full retraining.
Attack Strategies
Based on these attributions, two main attack types are proposed:
- Adversarial Deletions: The most influential training triple in the target's "neighborhood" is identified and removed.
- Adversarial Additions: An influential triple is modified by replacing one of its entities with the most dissimilar entity in the embedding space, effectively creating a "counter-example" to confuse the model.
Experimental Setup
The attacks were evaluated on two standard KGE benchmarks:
- WN18RR: A sparse subset of WordNet containing lexical relations.
- FB15k-237: A denser subset of Freebase containing real-world facts.
The models tested include popular architectures such as DistMult, ComplEx, ConvE, and TransE.
Key Results and Insights
The proposed attribution-based attacks consistently outperformed existing state-of-the-art methods like CRIAGE and Direct-Del.
Performance Degradation
On the sparse WN18RR dataset, the most effective attacks reduced the Mean Reciprocal Rank (MRR) from a perfect 1.00 down to 0.25—a staggering 75% drop. The results indicate that simple similarity metrics, particularly Cosine similarity, often perform as well as computationally intensive Influence Functions, suggesting that the relatively "shallow" nature of KGE architectures makes them vulnerable to reverse-engineering.
Structural Vulnerabilities
A key insight is that graph sparsity is a major vulnerability. In sparse graphs like WN18RR, models rely on a very small number of influential neighbors; removing just one can cause the prediction to collapse. Conversely, for additive models like TransE, crafting effective additions is more difficult because reinforcing the existing hierarchy can inadvertently strengthen correct predictions.
Conclusion and Future Work
This research serves as a "call to arms" for the KGE community, highlighting a significant security gap in relational learning models. While the current study focuses on single-triple white-box attacks, future work should explore "black-box" scenarios and "group influence" attacks involving sets of triples. The findings emphasize the urgent need for robust defense mechanisms, such as adversarial training and robustness certificates, to protect KGE models in production environments.
Summary updated