InGram: Inductive Knowledge Graph Embedding via Relation Graphs

Jaejun Lee, Chanyoung Chung, Joyce Jiyoung Whang
5/31/2023
cs.LGcs.AI

No official code found. Best implementation: bdi-lab/InGram (68 stars, last commit 2025-05-27).

Abstract

Inductive knowledge graph completion has been considered as the task of predicting missing triplets between new entities that are not observed during training. While most inductive knowledge graph completion methods assume that all entities can be new, they do not allow new relations to appear at inference time. This restriction prohibits the existing methods from appropriately handling real-world knowledge graphs where new entities accompany new relations. In this paper, we propose an INductive knowledge GRAph eMbedding method, InGram, that can generate embeddings of new relations as well as new entities at inference time. Given a knowledge graph, we define a relation graph as a weighted graph consisting of relations and the affinity weights between them. Based on the relation graph and the original knowledge graph, InGram learns how to aggregate neighboring embeddings to generate relation and entity embeddings using an attention mechanism. Experimental results show that InGram outperforms 14 different state-of-the-art methods on varied inductive learning scenarios.

View on arXivView PDF

Code Implementations(1)

bdi-lab/InGramCommunity100%

InGram: Inductive Knowledge Graph Embedding via Relation Graphs (ICML 2023)

6828PythonMay 27, 20231 years agoNOASSERTION

Cite this paper

@article{lee2023ingram,
  title  = {InGram: Inductive Knowledge Graph Embedding via Relation Graphs},
  author = {Jaejun Lee and Chanyoung Chung and Joyce Jiyoung Whang},
  year   = {2023},
  eprint = {2305.19987},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.19987v3},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.19987.svg)](https://codeofpaper.com/paper/2305.19987)

Discussion