A*Net and NBFNet Learn Negative Patterns on Knowledge Graphs
Patrick Betz, Nathanael Stelzner, Christian Meilicke, Heiner Stuckenschmidt, Christian Bartelt
TL;DR
This work investigates why graph neural networks like NBFNet and A*Net outperform rule-based approaches in knowledge graph completion by analyzing negative data patterns. Using synthetic datasets (Zoo and Uni) and perturbation/post-hoc experiments on WN18RR and FB15K-237, it shows that negative patterns such as Only-One-Tail (OOT) and Only-One-Link (OOL) can be exploited by GNNs, significantly contributing to performance differences. Augmenting rule-based models with existence features or enforcing OOL post-hoc narrows or closes the gap, suggesting that roughly half of the GNN advantage can be attributed to these negative patterns rather than positive evidence alone. The findings highlight the role of dataset design and pattern exploitation in evaluating KGC models and motivate integrating negative-pattern awareness into rule-based systems and more robust benchmarking.
Abstract
In this technical report, we investigate the predictive performance differences of a rule-based approach and the GNN architectures NBFNet and A*Net with respect to knowledge graph completion. For the two most common benchmarks, we find that a substantial fraction of the performance difference can be explained by one unique negative pattern on each dataset that is hidden from the rule-based approach. Our findings add a unique perspective on the performance difference of different model classes for knowledge graph completion: Models can achieve a predictive performance advantage by penalizing scores of incorrect facts opposed to providing high scores for correct facts.
