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

Relational Message Passing for Fully Inductive Knowledge Graph Completion

Yuxia Geng, Jiaoyan Chen, Jeff Z. Pan, Mingyang Chen, Song Jiang, Wen Zhang, Huajun Chen

TL;DR

RMPI (Relational Message Passing for fully Inductive KGC) is a new framework designed to complete Knowledge Graphs even when both the entities and the relations are entirely new and unseen during training. By shifting the focus from entity-based message passing to a relation-centric approach and incorporating ontological schemas, RMPI sets a new state-of-the-art for "fully inductive" reasoning.

What Problem Does This Paper Address?

Knowledge Graphs (KGs) like Wikidata or DBpedia are never finished; new entities and relations are added constantly. Traditional Knowledge Graph Completion (KGC) methods are transductive, meaning they can only predict links between elements they saw during training.

Recent "inductive" methods have tried to bridge this gap, but most only handle partially inductive scenarios—where entities are new, but the relations (like father_of or born_in) must have been seen before. In the real world, we often face fully inductive situations where both the entities and the relations are brand new. Current methods struggle here because they don't fully exploit the structural patterns between relations or the high-level "rules" (ontologies) that govern how those relations should behave.

Methods

The authors propose RMPI, which introduces several novel techniques to move beyond entity-centric reasoning:

  1. Relation-View Graph Transformation: Instead of passing messages between entities, RMPI transforms a local subgraph into a "relation-view." In this view, the relations themselves become nodes, and edges represent how they co-occur. This makes the logical patterns between relations (e.g., father_of + son_of implies a family connection) much easier for a neural network to "see."
  2. Relational Message Passing: RMPI uses a Graph Neural Network (GNN) to propagate information directly between these relation nodes. It includes a target-relation-guided pruning strategy to keep the computation efficient and a neighborhood attention mechanism to focus on the most relevant surrounding relations.
  3. Ontology Injection: The model can ingest RDFS (Resource Description Framework Schema) data. By looking at the hierarchy (e.g., spouse_of is a sub-property of relative_of), RMPI can "warm-start" its understanding of a brand-new relation based on its position in the schema.
  4. Handling Empty Subgraphs: Sometimes, two entities have no direct path between them in a small subgraph. RMPI uses "disclosing subgraphs"—a wider look at the surrounding neighborhood—to find supplemental clues for these tricky cases.

Datasets

The researchers evaluated RMPI on:

  • Standard Inductive Benchmarks: 12 versions of WN18RR, FB15k-237, and NELL-995 (originally introduced by the GraIL paper).
  • New Fully Inductive Benchmarks: The authors created 4 new datasets (recombined from NELL-995 and FB15k-237) specifically designed to test performance on relations that never appeared in the training set.

Key Insights and Ideas

  • Logic Over Identity: In a fully inductive setting, the specific "identity" of an entity (e.g., "Albert Einstein") is useless if the model hasn't seen it. The model must instead learn the "logic" of the graph—how relations interact regardless of which entities they connect.
  • The Power of the Line Graph: By treating relations as nodes (a concept similar to a line graph in graph theory), the authors allow standard GNN architectures to learn complex, multi-hop relational rules that entity-based models often miss.
  • Schema as a Bridge: Ontologies act as a universal translator. Even if a model has never seen the relation is_biological_parent_of, if the schema says it's a type of parent_of, the model can immediately apply what it knows about parents to the new relation.

Key Results

RMPI consistently outperformed existing state-of-the-art methods like GraIL, TACT, and MaKEr:

  • Fully Inductive Performance: On the new benchmarks with unseen relations, RMPI showed significant gains. For example, on the NELL-995.v1.v3 dataset, RMPI achieved an AUC-PR of 84.86, compared to 73.98 for the TACT baseline.
  • The "Schema Boost": When ontological information was added, performance jumped even higher. On the same NELL dataset, the schema-enhanced version reached an AUC-PR of 92.95.
  • Partially Inductive Success: Even in the standard setting (new entities, seen relations), RMPI remained highly competitive, often beating specialized models on the WN18RR and NELL-995 benchmarks.

Limitations and Future Work

The authors note that their neighborhood attention mechanism (TA) doesn't work perfectly across all datasets; in some cases, it might filter out distant relations that are actually important for reasoning.

Future work includes:

  • Developing more robust ways to integrate ontologies.
  • Combining the strengths of relation-based message passing with entity-based clues.
  • Testing the model on even more diverse, large-scale real-world KGs where the "fully inductive" challenge is most prevalent.

Summary updated

BibTeX
@inproceedings{geng2023relational,
  author = {Yuxia Geng and Jiaoyan Chen and Jeff Z. Pan and Mingyang Chen and Song Jiang and Wen Zhang and Huajun Chen},
  title = {{Relational Message Passing for Fully Inductive Knowledge Graph Completion}},
  booktitle = {ICDE},
  year = {2023},
  doi = {10.1109/icde55515.2023.00098},
}
Figure