Abstract
Knowledge Graph Completion (KGC) attempts to predict missing facts in a Knowledge Graph (KG). Recently, there's been an increased focus on designing KGC methods that can excel in the inductive setting, where a portion or all of the entities and relations seen in inference are unobserved during training. Numerous benchmark datasets have been proposed for inductive KGC, all of which are subsets of existing KGs used for transductive KGC. However, we find that the current procedure for constructing inductive KGC datasets inadvertently creates a shortcut that can be exploited even while disregarding the relational information. Specifically, we observe that the Personalized PageRank (PPR) score can achieve strong or near SOTA performance on most inductive datasets. In this paper, we study the root cause of this problem. Using these insights, we propose an alternative strategy for constructing inductive KGC datasets that helps mitigate the PPR shortcut. We then benchmark multiple popular methods using the newly constructed datasets and analyze their performance. The new benchmark datasets help promote a better understanding of the capabilities and challenges of inductive KGC by removing any shortcuts that obfuscate performance.
Introduction
Knowledge Graph Completion (KGC) is the task of predicting missing links in a network of facts. While "transductive" KGC deals with entities seen during training, Inductive KGC requires models to predict links for entities (and sometimes relations) it has never encountered before. This setting is critical for real-world applications where knowledge graphs are dynamic and constantly evolving.
However, researchers have noticed a suspicious trend: many complex, supervised models report high performance on inductive benchmarks, yet a simple, non-learnable algorithm from 1999—Personalized PageRank (PPR)—can nearly match state-of-the-art (SOTA) neural networks. PPR is "relation-blind," meaning it ignores the type of relationship and focuses solely on graph connectivity. The fact that it performs so well suggests that current benchmarks may be "leaking" answers through simple graph topology rather than requiring true relational reasoning.
The Shortcut: Shortest Path Distance Leakage
The paper identifies the root cause of this phenomenon in the dataset construction process. Standard inductive datasets are typically created by picking "seed" entities and expanding their neighborhoods. This process inadvertently makes the shortest path distance (SPD) between "true" pairs much smaller than "false" pairs.
There is a strong 0.87 Pearson correlation between the "distance gap" ($\Delta$SPD) and PPR performance. If a dataset has a large gap between how close positive vs. negative samples are, PPR will achieve high scores, effectively bypassing the need for relational logic. This "distance shortcut" obfuscates whether a model is actually reasoning or just exploiting graph distance.
Methodology: Partition-Based Dataset Sampling
To mitigate this shortcut, the authors propose Partition-Based Dataset Sampling. Instead of expanding from seeds, this method uses graph partitioning algorithms (like Spectral Clustering or the Louvain method) to slice a large graph into dense, internally connected clusters.
- Graph Partitioning: The original graph is divided into clusters.
- Subgraph Assignment: One cluster is designated for training, while others are used for inference.
- Preserving Properties: Because these clusters were part of a larger, natural graph structure, the distance distributions (SPD) remain similar to the original graph, successfully removing the artificial distance shortcut.
Key Results and Insights
The authors evaluated existing benchmarks against their new partitioned versions using popular models like NBFNet, RED-GNN, and the foundation model ULTRA.
- Performance Drop: On the new WN18RR (E) task, the average performance of supervised methods dropped by 40.6% compared to old versions, indicating that the new datasets are significantly more challenging.
- PPR Failure: On the new datasets, the gap between PPR and SOTA widened from ~25% to over 100%. For instance, on the new WN18RR splits, PPR's Hits@10 dropped from 66.0 to 45.1.
- Model Robustness: NBFNet and RED-GNN remained the strongest performers, confirming that Conditional Message Passing Neural Networks (MPNNs) are currently the most effective architecture for inductive reasoning when shortcuts are removed.
- Foundation Models: The foundation model ULTRA showed strong generalization on the new tasks, suggesting that large-scale pre-training provides robustness against the distribution shifts introduced by the new sampling method.
Conclusion
By introducing a more rigorous testing ground, this work forces Inductive KGC models to move beyond exploiting topological shortcuts and toward true relational reasoning. While the new datasets are a significant step forward, future work should explore generalization across entirely different knowledge graph domains (e.g., training on a movie graph and testing on a medical graph) to further test the limits of inductive logic.
Summary updated