Abstract
Knowledge Graph Embeddings (KGE) are essential for link prediction in structured data but are susceptible to noise and adversarial manipulation. While prior research has focused on targeted attacks—where an adversary aims to sabotage specific facts—this paper introduces a novel framework for untargeted adversarial attacks. By leveraging logic rule mining, the proposed approach identifies and disrupts the global structural integrity of a Knowledge Graph (KG). This strategy effectively degrades the performance of KGE models across the board without requiring prior knowledge of the test set, providing a more realistic benchmark for evaluating the robustness of KGE architectures.
Introduction
Knowledge Graphs (KGs), structured as (head, relation, tail) triples, serve as the backbone for modern recommendation systems and search engines. KGE models map these entities and relations into continuous vector spaces to predict missing links. However, KGs are often noisy or intentionally polluted.
Existing adversarial research primarily addresses targeted scenarios, assuming the attacker knows exactly which triple they wish to compromise. This paper addresses the more practical untargeted scenario, where the goal is to reduce the model's global accuracy. By disrupting the underlying logical structure that KGE models rely on, an attacker can cause widespread performance degradation.
Methodology
The authors propose a two-pronged attack strategy based on Logic Rules, extracted using tools like NCRL to identify Horn rules (e.g., if X is born in Y and Y is located in Z, then X is a citizen of Z).
1. Adversarial Deletion
This strategy targets the core structure of the KG. The system identifies "high-confidence" rules and calculates an "influence score" for every triple based on its support for these rules. By deleting the most influential triples, the attacker fragments the graph's global features, preventing models from learning meaningful embeddings.
2. Adversarial Addition
This strategy employs a predicate rewriting strategy to "poison the well." The system identifies "low-confidence" rules and corrupts them—for example, by replacing a relation with a semantically similar but incorrect one. It then generates and injects "negative triples" based on these corrupted rules, forcing the KGE model to capture unreliable and false logical patterns.
Experimental Setup
The framework was evaluated on two gold-standard benchmarks:
- FB15k-237: Real-world facts regarding movies, actors, and locations from Freebase.
- WN18RR: A lexical subset of WordNet focusing on semantic relationships.
These datasets were tested against seven representative KGE models, including fact-based (TransE), GNN-based (R-GCN, CompGCN), and rule-based (RNNLogic) methods.
Key Insights and Results
- Model Vulnerabilities: Graph Neural Network (GNN) models are highly sensitive to deletion because they rely on aggregating neighborhood information; removing "bridge" triples causes their performance to collapse. Conversely, rule-based models (like RNNLogic) are most vulnerable to addition attacks, as they explicitly learn from the injected false logic.
- Relation Confusion: In addition attacks on FB15k-237, models like TransE lost the ability to distinguish between similar relation types (e.g., different "location" relations), leading to significant accuracy drops.
- Rule Simplicity: Rules of length 2 were found to be more effective for attacks than length 3, suggesting that KGs are primarily built on simple, direct logical chains.
Quantitative Impact
The proposed untargeted attack significantly outperformed random noise. On the WN18RR dataset, the deletion attack caused a 30.76% drop in the Hits@10 metric for the RNNLogic model. In addition settings, performance was reduced by up to 28.34%. Even against triples the model was highly confident in, the untargeted disruption of global structure remained competitive with specialized targeted attackers.
Conclusion and Future Work
This study demonstrates that disrupting the logical consistency of a Knowledge Graph is a highly efficient way to degrade KGE performance. Future work may explore more complex logical structures beyond Horn rules and target "ontological schemas"—high-level entity hierarchies—to cause more sophisticated disruptions. These results provide a roadmap for developing more robust KGE models capable of filtering logical contradictions.
Summary updated