Data Leakage and Inverse Relations in Knowledge Graph Completion

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 233 papers54 conceptsfrozen 2026-10-04

Knowledge Graph Completion (KGC) aims to predict missing links between entities, such as determining that (Paris, capital_of, France) belongs in a database. For years, progress in this field was measured by performance on standard benchmarks like WN18 and FB15k. However, a growing body of research has revealed that these benchmarks are fundamentally flawed due to data leakage, where models achieve high scores not by reasoning, but by exploiting simple structural shortcuts—most notably, inverse relations.

The Shortcut of Reciprocal Relations

The most pervasive form of leakage occurs when a relationship in the training set is the direct inverse of a relationship in the test set. For example, if the training set contains the triplet (A, hypernym, B), and the test set asks the model to predict the tail of (B, hyponym, ?), a model does not need to understand the semantics of linguistics to succeed. It only needs to learn that hyponym is the reverse of hypernym.

Richard Socher and colleagues first noted in Reasoning With Neural Tensor Networks for Knowledge Base Completion that trivial triplets in test sets could lead to inflated metrics. This observation has been echoed across the field: Ivana Balažević and Timothy M. Hospedales argued in their work on HypER that many models act as highly regularized forms of tensor factorization that excel at this pattern matching rather than spatial feature extraction.

Why Leakage Inflates Performance

When a benchmark is "leaky," it measures redundancy rather than inference. Kenneth Ward Church and Yuchen Bian provide a sobering critique in Data Collection vs. Knowledge Graph Completion, pointing out that in some datasets, over a third of test instances can be solved by simply reversing training edges.

This redundancy creates a "mirage" of intelligence. As Mirza Mohtashim Alam and Jens Lehmann demonstrated in The Effect of Rule Injection in a Leakage Free Dataset, when these predictable patterns are removed, the accuracy of state-of-the-art embedding techniques drops drastically. This suggests that models are often "learning to recall" specific training patterns rather than learning the underlying logical rules of the graph.

Beyond Inverses: Statistical and Structural Cues

Leakage isn't limited to simple inverse pairs. It can manifest as:

  1. Paraphrase Leakage: In open knowledge graphs, Samuel Broscheit and Rainer Gemulla found that models often identify surface-level textual variants of facts they have already seen, rather than performing Open Link Prediction.
  2. Connectivity Biases: Dora Jambor and William L. Hamilton showed that few-shot models often rely on entity "position" or connectivity patterns in the graph rather than actual relational logic, as seen in Exploring the Limits of Few-Shot Link Prediction in Knowledge Graphs.
  3. Surface Cues: In factual probing of language models, Dan Friedman and Danqi Chen discovered that optimized probes often exploit statistical regularities in subject names to guess answers, a phenomenon they detail in Factual Probing Is [MASK].

Towards Robust Evaluation

To address these flaws, the research community has shifted toward more rigorous benchmarks and evaluation frameworks. Tara Safavi and Danai Koutra introduced CoDEx, which provides manually verified "hard negative" triples to force models to actually discriminate between similar facts. Similarly, researchers like Narayanan Asuri Krishnan and Carlos Rivero have developed model-agnostic frameworks to specifically measure if models are capturing logical patterns like symmetry and transitivity, rather than just exploiting redundancy.

The consensus across recent work—from temporal graphs (Caren Han et al. in Re-Temp) to hierarchical embeddings (Richong Zhang et al. in Embedding of Hierarchically Typed Knowledge Bases)—is that true progress in KGC requires auditing benchmarks for these structural shortcuts. Only by removing the ability to "cheat" via inverse relations can we determine if neural models are truly learning the semantics of human knowledge.

Papers in this version

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 35 papers
  2. Version 1 · 2026-10-04 · 33 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_inverse_relation_leakage_7b4b574c,
  title = {inverse relation leakage},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/inverse-relation-leakage/rdr_7b4b574c33a648349ad4e1f208a157ab},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_data_leakage_and_inverse_relations_in_kn_7b4b574c_v1,
  title = {Data Leakage and Inverse Relations in Knowledge Graph Completion},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/data-leakage-and-inverse-relations-in-knowledge-graph-completion/rdr_7b4b574c33a648349ad4e1f208a157ab/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}