IntelliGraphs: Datasets for Benchmarking Knowledge Graph Generation

Thiviyan Thanapalasingam, Emile van Krieken, Peter Bloem, Paul Groth

TL;DR

IntelliGraphs introduces a new benchmarking suite designed to push Knowledge Graph (KG) research beyond simple link prediction toward "subgraph inference." By providing five datasets with explicit logical constraints, the authors demonstrate that current embedding models fail to capture the complex, interdependent semantics required to generate valid, multi-triple structures.

What Problem Does This Paper Address?

Most current Knowledge Graph Embedding (KGE) models—like TransE or DistMult—operate on a fundamental assumption: that every "triple" (subject-predicate-object) is an independent atomic fact. In this view, predicting a missing link is a standalone task.

However, real-world knowledge is rarely independent. Triples often rely on each other to make sense; for example, a "temperature" value of 77 is meaningless without a second triple specifying the unit as "Fahrenheit." Traditional models struggle to capture these interdependencies and the underlying logical rules (semantics) of a graph. The authors argue that for KGs to be useful in reasoning or query answering, we need models capable of subgraph inference: generating entire sets of connected triples that are both novel and semantically valid.

Methods

The paper formalizes the subgraph inference task, where a model must learn to generate subgraphs that adhere to a set of predefined logical rules.

To evaluate this, the authors:

  1. Adapted Baselines: They took traditional KGE models (TransE, DistMult, and ComplEx) and reframed them as generative models using a maximum likelihood objective. Unlike standard training, which ranks triples, these versions are trained to minimize the "bits-per-graph" (a compression metric) required to represent the data.
  2. Developed a Logic Verifier: They created a Python-based framework that uses First-Order Logic (FOL) to check if a generated subgraph is "valid" according to the dataset's rules.
  3. Defined New Metrics: Beyond standard accuracy, they measure % Valid Graphs (logical correctness), % Novel Graphs (unseen during training), and % Novel & Valid (the "gold standard" for generative performance).

Datasets

The authors introduced IntelliGraphs, a suite of five datasets categorized into synthetic and real-world sources:

  • Synthetic (Controlled Semantics):
    • syn-paths: Simple directed paths of length 3; tests basic structural learning.
  • syn-types: Entities with specific types (City, Country, Language); tests if models respect type constraints (e.g., a "capital" must be a city).
  • syn-tipr: Based on the "Time-indexed Person Role" pattern; tests temporal reasoning (e.g., a start date must precede an end date).
  • Real-World (Wikidata-derived):
    • wd-movies: Subgraphs containing a movie’s director, cast, and genre.
  • wd-articles: Complex subgraphs of research papers, including ordered author lists, citations, and subjects.

Key Insights and Ideas

  • The Semantic Gap: The most striking insight is that traditional KGE models are almost entirely "blind" to semantics. When asked to generate a subgraph from scratch, the baselines achieved 0% validity on nearly every dataset.
  • Structure vs. Logic: Models are relatively good at learning the shape of a graph (compression) but fail at the logic. They might learn that an article has authors, but they fail to ensure those authors are listed in a logically consistent order.
  • Entity Dependency: The authors ran a "Sampling only $P(S|E)$" experiment where the model was given the correct entities and only had to predict the edges. Even with this massive "cheat," the models still struggled, reaching only ~10% validity on the simplest path dataset and 0% on complex real-world data.
  • Complexity Scales Rapidly: Moving from synthetic to real-world data (like wd-articles) increases the "bits-per-graph" requirement by orders of magnitude, highlighting the massive jump in difficulty for generative modeling in the wild.

Key Results

  • Generative Failure: In the most difficult setting (sampling both entities and structure), the best-performing model (ComplEx on syn-paths) achieved a meager 0.71% Novel & Valid score. On all other datasets, the score was 0%.
  • Compression Success: Despite their logical failures, KGE models successfully compressed the graphs better than a random baseline. For example, on wd-movies, ComplEx required ~202 bits per graph compared to the random baseline's ~48,669 bits. This suggests the models are learning statistical patterns, just not the underlying rules.
  • Dataset Statistics: The real-world datasets are significantly larger and more complex, with wd-articles containing over 60,000 entities and subgraphs ranging up to 212 triples.

Limitations and Future Work

  • Transductive Nature: The current baseline models are transductive, meaning they cannot handle entities or relations that were not present in the training set.
  • Assumed Semantics: The evaluation assumes the logical rules of the KG are known and fixed. In many real-world scenarios, these rules might be latent or evolving.
  • Future Directions: The authors suggest that this benchmark should encourage the development of "Neurosymbolic" models—approaches that explicitly combine neural learning with symbolic logic—to bridge the gap between statistical pattern matching and true semantic understanding.

Summary updated

BibTeX
@article{thanapalasingam2026intelligraphs,
  author = {Thiviyan Thanapalasingam and Emile van Krieken and Peter Bloem and Paul Groth},
  title = {{IntelliGraphs: Datasets for Benchmarking Knowledge Graph Generation}},
  journal = {J. Data-centric Mach. Learn. Res.},
  year = {2026},
}

Loading related content...

Figure