NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

InGram: Inductive Knowledge Graph Embedding via Relation Graphs

Jaejun Lee, Chanyoung Chung, Joyce Jiyoung Whang

Overview

INGRAM (INductive knowledge GRAph eMbedding) is a novel framework for inductive knowledge graph completion designed to generate embeddings for entirely new entities and new relations at inference time. By constructing a "relation graph" to capture semantic affinities between different types of links, INGRAM outperforms 14 state-of-the-art methods in scenarios where the model encounters data it has never seen during training.

The Challenge of Truly Inductive Learning

Knowledge Graphs (KGs) represent facts as triplets: (head entity, relation, tail entity). Most existing "inductive" models are, in reality, only semi-inductive. While they can handle new entities (e.g., a new user joining a social network), they operate under the assumption that the set of relations (e.g., "follows," "likes") remains fixed and known from the training phase.

Types of Inference in Knowledge Graphs

In the real world, KGs are highly dynamic. New entities frequently arrive accompanied by entirely new types of relations. Existing methods struggle in these environments because they typically learn relation-specific parameters that fail to generalize to unseen relation types. The authors identify a critical gap in the field: the need for a model capable of predicting missing links when both the entities and the relations are brand new.

The INGRAM Approach

The core innovation of INGRAM is the introduction and utilization of a Relation Graph. Instead of treating relations as isolated labels, INGRAM models the topological structure of how relations interact with one another.

The INGRAM Architecture and Pipeline

The methodology follows four primary steps:

  1. Defining Relation Affinity: The authors define a secondary graph where each node represents a relation from the original KG. An edge exists between two relations if they share common entities. The weight (or affinity) of this edge is calculated based on how frequently these relations overlap. For example, "DirectedBy" and "ProducedBy" might exhibit high affinity because they frequently connect the same "Film" and "Person" entities.
  2. Relation-level Aggregation: INGRAM employs a Graph Neural Network (GNN) equipped with an attention mechanism on this relation graph. This enables the model to generate an embedding for a new relation by aggregating information from its structural "neighbors."
  3. Entity-level Aggregation: Once the relation embeddings are generated, a second GNN operates on the original KG. It aggregates neighboring entity information—weighted by the newly created relation embeddings—to produce robust entity embeddings.
  4. Dynamic Training Regime: To prevent the model from simply memorizing specific entity or relation IDs, the authors utilize "dynamic splitting" and random feature initialization during training. This forces the network to learn the underlying structural logic of entity-relation interactions rather than relying on fixed look-up tables.

Experimental Setup and Datasets

Because existing benchmarks do not focus on the emergence of new relations, the authors created 12 new datasets derived from three well-known KGs: NELL-995, Wikidata68K, and FB15K237.

To rigorously test the model, they varied the difficulty by creating dataset versions where 25%, 50%, 75%, and 100% of the relations at inference time were "new" (unseen during training). They also evaluated INGRAM on standard inductive benchmarks (like NL-0 and NELL-995-v1) to ensure it maintained high performance in traditional scenarios.

Key Insights and Results

  • Relations Have Topology: The most profound insight of this work is that relations are not just independent labels; they form their own latent structure based on the entities they connect. By modeling this "relation graph," a new relation can be understood as a combination of known relational patterns.
  • Superior Performance: INGRAM outperformed 14 baselines across almost all metrics (MRR, Hit@10, etc.).
  • The "Hard Mode" Champion: In the most challenging "100% new relations" scenario, INGRAM's performance gap over competitors was massive. On the NL-100 dataset, INGRAM achieved an MRR of 0.309, while the best-performing baseline (RMPI) only reached 0.220.
  • Efficiency and Scalability: Unlike subgraph-reasoning methods (such as GraIL or RMPI) which extract computationally expensive local graphs for every single triplet, INGRAM utilizes a global relation graph. In one striking experiment, INGRAM processed a dataset in just 15 minutes that took a competing model 52 hours to complete.
  • Versatility: Even in traditional inductive tasks where relations are known but entities are new, INGRAM remained the top performer, proving that its structural approach is generally superior to ID-based methods.

Limitations and Future Work

While highly effective, INGRAM has a few limitations. For datasets with very simple, rigid rules between known relations, specialized rule-based models (like NBFNet) can sometimes edge it out, as INGRAM prioritizes broad generalization over memorizing specific, rigid patterns.

Additionally, the current model focuses on simple triplets. Future work could extend INGRAM to handle "hyper-relational" facts (triplets with extra qualifiers) or hierarchical relation structures. Finally, while INGRAM is robust to novel data, further research is needed to explore its resilience against "noisy" or incorrect triplets within the knowledge graph.

Summary updated

BibTeX
@inproceedings{lee2023ingram,
  author = {Jaejun Lee and Chanyoung Chung and Joyce Jiyoung Whang},
  title = {{InGram: Inductive Knowledge Graph Embedding via Relation Graphs}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=OoOpO0u4Xd},
}
Figure