Abstract
Graph Neural Networks (GNNs) like NBFNet and A*Net have recently dominated Knowledge Graph Completion (KGC) benchmarks. This paper investigates the underlying reasons for their superiority over traditional rule-based models. The findings reveal that GNNs excel at learning "negative patterns"—identifying structural constraints that suggest a fact is likely false—a capability typically absent in symbolic rule-based systems.
Introduction
Knowledge Graph Completion (KGC) involves predicting missing links in a network of facts (e.g., predicting (Paris, is_capital_of, ?)). While rule-based models offer transparency by finding symbolic patterns (e.g., "If X is born in Y, X is a citizen of Y"), GNN architectures have recently surged ahead. This research explores whether GNNs are simply finding better positive rules or if they are exploiting structural constraints—negative evidence—that rule-based models cannot perceive due to their design.
Methodology
The authors utilized a three-pronged investigative approach:
- Synthetic Probing: Tiny, artificial datasets ("Zoo" and "Uni") were created with specific logical constraints to compare GNN and rule-based model behaviors in a controlled environment.
- Perturbation Experiments: Adversarial attacks were performed on real-world benchmarks by adding or deleting facts at inference time to observe changes in GNN confidence scores.
- Rule-Based Augmentation: Standard rule-based models were augmented with "existence features" (simple negative rules) to determine if they could match GNN performance.
Key Insights: The Power of Negative Evidence
The study identifies that GNNs do not just rank correct answers higher; they actively "rank down" incorrect ones by learning structural regularities:
- Only-One-Tail (OOT) Rule: In datasets like WN18RR, certain relations are strictly N-to-1. GNNs learn that if an entity already possesses a tail for such a relation, other candidates are likely incorrect.
- Only-One-Link (OOL) Rule: In FB15K-237, a dataset bias exists where entities connected in training are rarely connected in the test set. GNNs exploit this by penalizing existing connections.
- Language Limitations: Traditional rule-based models, often restricted to positive Datalog atoms, lack the vocabulary to express these negative constraints (e.g., "If X already has a tail, do not predict another one").
Experimental Results
The researchers found that the performance gap between GNNs and rule-based models is largely due to these negative patterns. By adding a single negative feature to a rule-based model on the WN18RR hypernym relation, the Mean Reciprocal Rank (MRR) nearly doubled, jumping from 0.129 to 0.238.
On the FB15K-237 benchmark, a simple post-hoc filter removing training-set connections from predictions accounted for approximately half of the performance difference between rule-based models and state-of-the-art GNNs. Perturbation tests further confirmed GNN sensitivity to conflicting facts, proving they actively utilize negative evidence.
Conclusion and Future Work
The study highlights that current GNN success on benchmarks may be partially attributed to exploiting dataset biases (like the OOL rule). However, it also demonstrates the potential of incorporating negative rule mining into symbolic models. Future work should aim to combine the explainability of symbolic logic with the predictive power of GNNs by explicitly modeling both positive and negative patterns.
Summary updated