Abstract
Knowledge Graph Completion (KGC) models often lack a unified theoretical foundation and can suffer from "irrational" reasoning, where predictions are based on logically unrelated entities. This paper introduces Composite Reasoning, a framework that unifies diverse KGC paradigms and identifies "composition risk." To address this, the authors develop CompilE, a training objective that penalizes irrationality. CompilE achieves state-of-the-art performance, particularly on knowledge-sparse datasets, by forcing models to rely on logically connected neighbors.
The Challenge: Irrational Reasoning in KGC
Knowledge Graphs (KGs) like Wikidata or Freebase are massive but notoriously incomplete. While models like TransE (translational) and ComplEx (tensor factorization) are popular for filling these gaps, they often lack a common theoretical lens. More critically, the authors identify the "Macau Problem": high-dimensional models often make correct predictions for the wrong reasons. For instance, a model might predict the language of Mexico by mathematically decomposing "Mexico" into "Macau" and "Turks and Caicos"—entities that are logically unrelated.
This violation of the "collaborative filtering" assumption—that similar entities should behave similarly—leads to poor generalization on new data.
The Composite Reasoning Framework
The authors propose that the plausibility of a fact $(h, r, t)$ can be viewed as a weighted combination of known facts about other entities $h_i$ for that same relation $r$. They prove that most existing KGC models (TransE, RotatE, CIBLE, DURA) are special cases of this framework, differing only in how they calculate the weights for these other entities.
Composition Risk and CompilE
To quantify irrationality, the authors define Composition Risk ($cr$), measuring a model's reliance on "risky" (unrelated) versus "reliable" (connected) entities. They introduce CompilE, which adds a penalty term to the standard loss function to minimize this risk. By forcing the model to find a "rational" decomposition—one that relies on its actual neighbors in the graph—CompilE significantly improves robustness.
Experimental Results
The researchers evaluated CompilE on standard benchmarks (FB15k-237, WN18RR) and knowledge-sparse datasets (UMLS, Kinship).
- State-of-the-Art Performance: CompilE (specifically the version using DURA regularization,
CompilED) outperformed all other tensor factorization baselines. - Small Dataset Boost: The impact was most significant on knowledge-sparse datasets. On the Kinship dataset, the Mean Reciprocal Rank (MRR) improved by roughly 3.2% over standard models.
- Rationality and Accuracy: A strong correlation was found between compositional rationality and prediction accuracy. Models that rely on logically connected entities generalize much better than those that "take the easy way out" by fitting unrelated data.
Conclusion
CompilE demonstrates that the expressive power of tensor factorization models can be a double-edged sword. By introducing a rationality constraint through the Composite Reasoning framework, researchers can harness this power while ensuring models generalize effectively. Future work will explore more nuanced ways to define entity relevance and address strictly one-to-one relations.
Summary updated