Abstract
Knowledge Graph Completion (KGC) is a fundamental task in artificial intelligence, yet standard benchmarks often fail to distinguish between a model's genuine reasoning ability and its capacity for statistical guessing. We introduce InferWiki, a novel benchmark designed to address the flaws of unpredictability and triviality in existing datasets. By utilizing rule-guided generation and open-world annotations, InferWiki ensures that every test triple is logically inferable from the training data, providing a more rigorous and realistic measure of a model's reasoning capabilities.
Introduction: The Predictability Crisis in KGC
Knowledge Graph Completion (KGC) involves predicting missing links between entities—for example, predicting that David is located in Florida based on other known facts. However, current benchmarks like FB15k-237 are fundamentally flawed. The authors identify two primary issues: unpredictability and meaningless triples.
In many cases, test triples are impossible to predict because the training set contains no supporting evidence. Forcing a model to "guess" these leads to an underestimation of its true reasoning power. Conversely, some triples are trivial (e.g., predicting a month from a list of months), leading to overestimation. Furthermore, most benchmarks fall into the "Closed-World Trap," assuming that any fact not in the graph must be false. In reality, many facts are simply unknown.
Methodology: Rule-Guided Construction
To overcome these limitations, InferWiki is constructed based on three core principles: inferential ability, open-world assumptions, and diverse reasoning patterns. The construction pipeline involves several key steps:
- Rule-Guided Generation: Instead of a random split, the authors use a rule-mining tool (AnyBURL) to identify logical patterns (e.g.,
spouse(x,y) ∧ father(x,z) ⇒ mother(y,z)). Test triples are selected only if their supporting "premise" triples are guaranteed to be in the training set. - Path Extension: To increase difficulty, reasoning chains are manually elongated. This forces models to perform multi-hop reasoning rather than simple pattern matching.
- Open-World Annotation: Thousands of triples were manually annotated as Positive, Negative, or Unknown. This enables a trinary classification task, which is much closer to how a real-world AI should operate when faced with incomplete information.
- Pattern Balancing: The dataset ensures a balanced mix of inference types, such as symmetry, inversion, hierarchy, and composition, to prevent models from over-fitting to a single type of logic.
Experimental Results and Insights
Evaluating state-of-the-art models on InferWiki reveals critical gaps in current KGC approaches.
The Challenge of Multi-Hop Reasoning
A significant finding is the high sensitivity of models to the length of the reasoning path. While models perform reasonably well on 1- or 2-hop relations, there is a clear downward trend in performance as the number of "hops" required for inference increases. Models struggle significantly as the reasoning chain reaches 5 or more hops, suggesting that maintaining logical consistency over long distances remains a major hurdle for neural approaches.
Open-World Performance and Hard Negatives
When shifted from a traditional binary task to a trinary "Open-World" task, model performance plummeted. For instance, TransE's F1 score dropped significantly, highlighting that current models are often overconfident and struggle to recognize the boundaries of their own knowledge. Furthermore, InferWiki’s manually verified "hard negatives" provide a much steeper challenge than standard random corruption, revealing that models often rely on surface-level statistical correlations rather than deep semantic understanding.
Conclusion
InferWiki sets a new standard for KGC evaluation by prioritizing predictability and logical rigor. The results demonstrate that while embedding-based models are powerful, they face significant challenges in multi-hop reasoning and handling uncertainty. Future research should focus on injecting explicit logical rules into neural architectures and investigating how models can better reason across different knowledge bases.
Summary updated