A Prompt-Based Knowledge Graph Foundation Model for Universal In-Context Reasoning
Not on the map. Why?
Abstract (arXiv)
Extensive knowledge graphs (KGs) have been constructed to facilitate knowledge-driven tasks across various scenarios. However, existing work usually develops separate reasoning models for different KGs, lacking the ability to generalize and transfer knowledge across diverse KGs and reasoning settings. In this paper, we propose a prompt-based KG foundation model via in-context learning, namely KG-ICL, to achieve a universal reasoning ability. Specifically, we introduce a prompt graph centered with a query-related example fact as context to understand the query relation. To encode prompt graphs with the generalization ability to unseen entities and relations in queries, we first propose a unified tokenizer that maps entities and relations in prompt graphs to predefined tokens. Then, we propose two message passing neural networks to perform prompt encoding and KG reasoning, respectively. We conduct evaluation on 43 different KGs in both transductive and inductive settings. Results indicate that the proposed KG-ICL outperforms baselines on most datasets, showcasing its outstanding generalization and universal reasoning capabilities. The source code is accessible on GitHub: https://github.com/nju-websoft/KG-ICL.
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 59 of its 81 references that are in the map. First posted on arXiv 16 Oct 2024.
Builds on
59 of 81 references.
References · 59
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2016Layer Normalizationcited by 5,579
- 2016Convolutional Neural Networks on Graphs with Fast Localized Spectral Filteringcited by 2,085
- 2018Deep Graph Infomaxcited by 1,101
- 2019Strategies for Pre-training Graph Neural Networkscited by 964
- 2014Embedding Entities and Relations for Learning and Inference in Knowledge Basescited by 929
- 2019RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Spacecited by 893
- 2017Convolutional 2D Knowledge Graph Embeddingscited by 729
- 2020A Survey on Knowledge Graphs: Representation, Acquisition and Applicationscited by 643
38 more
- 2022GraphMAE: Self-Supervised Masked Graph Autoencoderscited by 443
- 2019InfoGraph: Unsupervised and Semi-supervised Graph-Level Representation Learning via Mutual Information Maximizationcited by 441
- 2019Composition-based Multi-Relational Graph Convolutional Networkscited by 395
- 2021Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Predictioncited by 273
- 2017DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoningcited by 265
- 2019Inductive Relation Prediction by Subgraph Reasoningcited by 237
- 2019DRUM: End-To-End Differentiable Rule Mining On Knowledge Graphscited by 173
- 2023GraphPrompt: Unifying Pre-Training and Downstream Tasks for Graph Neural Networkscited by 166
- 2018Canonical Tensor Decomposition for Knowledge Base Completioncited by 150
- 2023All in One: Multi-task Prompting for Graph Neural Networkscited by 147
- 2016Multilingual Knowledge Graph Embeddings for Cross-lingual Knowledge Alignmentcited by 128
- 2020A Benchmarking Study of Embedding-based Entity Alignment for Knowledge Graphscited by 119
- 2019Relation-Aware Entity Alignment for Heterogeneous Knowledge Graphscited by 106
- 2017Knowledge Transfer for Out-of-Knowledge-Base Entities: A Graph Neural Network Approachcited by 102
- 2020CoDEx: A Comprehensive Knowledge Graph Completion Benchmarkcited by 102
- 2019Knowledge Graph Alignment Network with Gated Multi-hop Neighborhood Aggregationcited by 101
- 2023PRODIGY: Enabling In-context Learning Over Graphscited by 97
- 2021Knowledge Graph Reasoning with Relational Digraphcited by 91
- 2023Towards Foundation Models for Knowledge Graph Reasoningcited by 83
- 2021NodePiece: Compositional and Parameter-Efficient Representations of Large Knowledge Graphscited by 71
- 2019Commonsense Knowledge Base Completion with Structural and Semantic Contextcited by 61
- 2023Graph Prompt Learning: A Comprehensive Survey and Beyondcited by 61
- 2018Logic Attention Based Neighborhood Aggregation for Inductive Knowledge Graph Embeddingcited by 53
- 2020Communicative Message Passing for Inductive Relation Reasoningcited by 53
- 2023InGram: Inductive Knowledge Graph Embedding via Relation Graphscited by 50
- 2022A*Net: A Scalable Path-based Reasoning Approach for Knowledge Graphscited by 49
- 2021Topology-Aware Correlations Between Relations for Inductive Link Prediction in Knowledge Graphscited by 47
- 2021Boosting the Speed of Entity Alignment 10*: Dual Attention Matching Network with Normalized Hard Sample Miningcited by 37
- 2021Relation Prediction as an Auxiliary Training Objective for Improving Multi-Relational Graph Representationscited by 37
- 2018Improving Knowledge Graph Embedding Using Simple Constraintscited by 36
- 2023SGL-PT: A Strong Graph Learner with Graph Prompt Tuningcited by 35
- 2023A Theory of Link Prediction via Relational Weisfeiler-Leman on Knowledge Graphscited by 32
- 2022Relational Message Passing for Fully Inductive Knowledge Graph Completioncited by 29
- 2022AdaProp: Learning Adaptive Propagation for Graph Neural Network based Knowledge Graph Reasoningcited by 28
- 2020Dynamic Anticipation and Completion for Multi-Hop Reasoning over Sparse Knowledge Graphcited by 26
- 2022An Open Challenge for Inductive Link Prediction on Knowledge Graphscited by 26
- 2020Multilingual Knowledge Graph Completion via Ensemble Knowledge Transfercited by 25
- 2022Multilingual Knowledge Graph Completion with Self-Supervised Adaptive Graph Alignmentcited by 24
50 most cited of 59 All 59 (JSON)
Built on by
Citing papers per year: 2025: 16; 2026: 9.
25 papers.
Sort:
By area:
- 2025How Expressive are Knowledge Graph Foundation Models?cited by 22
- 2025GraphICL: Unlocking Graph Learning Potential in LLMs through Structured Prompt Designcited by 21
- 2025Flock: A Knowledge Graph Foundation Model via Learning on Random Walkscited by 8
- 2025Can Knowledge-Graph-based Retrieval Augmented Generation Really Retrieve What You Need?cited by 8
- 2025HYPER: A Foundation Model for Inductive Link Prediction with Knowledge Hypergraphscited by 7
- 2025GraphOracle: Efficient Fully-Inductive Knowledge Graph Reasoning via Relation-Dependency Graphscited by 6
- 2025Rethinking Regularization Methods for Knowledge Graph Completioncited by 6
- 2025Graph Prompting for Graph Learning Models: Recent Advances and Future Directionscited by 3
- 2025A Comprehensive Review on Harnessing Large Language Models to Overcome Recommender System Challengescited by 3
- 2025WebRec: Enhancing LLM-based Recommendations with Attention-guided RAG from Webcited by 2
- 2026Modality-free Graph In-context Alignmentcited by 2
- 2026KGPFN: Unlocking the Potential of Knowledge Graph Foundation Model via In-Context Learningcited by 2
13 more
- 2025From Graph Retrieval to Schema Realization: Counterfactual Validation for Text-to-SPARQL over Heterogeneous Knowledge Graphscited by 1
- 2025Knowledge Reasoning Language Model: Unifying Knowledge and Language for Inductive Knowledge Graph Reasoningcited by 1
- 2025Geometric Structural Knowledge Graph Foundation Modelcited by 1
- 2026Breaking the Reasoning Horizon in Entity Alignment Foundation Modelscited by 1
- 2025Large model retrieval enhancement framework for construction site risk identificationcited by 0
- 2025KGFR: A Foundation Retriever for Generalized Knowledge Graph Question Answeringcited by 0
- 2025Graph Distance as Surprise: Free Energy Minimization in Knowledge Graph Reasoningcited by 0
- 2026THOR: Inductive Link Prediction over Hyper-Relational Knowledge Graphscited by 0
- 2026Every Little Helps: Building Knowledge Graph Foundation Model with Fine-grained Transferable Multi-modal Tokenscited by 0
- 2026Harnessing Structural Context for Entity Alignment Foundation Modelscited by 0
- 2026Structure-Internalized Rule Language Model for Faithful Knowledge Graph Reasoningcited by 0
- 2026Reification as a Transferable Vocabulary: Zero-Shot Link Prediction with Vanilla GNNscited by 0
- 2026The Universal Classifier for Graph Learningcited by 0
- 2026The Universal Classifier for Graph Learning28 Sep 2026
- 2026Reification as a Transferable Vocabulary: Zero-Shot Link Prediction with Vanilla GNNs10 Sep 2026
- 2026Structure-Internalized Rule Language Model for Faithful Knowledge Graph Reasoning18 Aug 2026
- 2026Harnessing Structural Context for Entity Alignment Foundation Models4 Jun 2026
- 2026KGPFN: Unlocking the Potential of Knowledge Graph Foundation Model via In-Context Learning14 May 2026
- 2026Modality-free Graph In-context Alignment13 Mar 2026
- 2026Every Little Helps: Building Knowledge Graph Foundation Model with Fine-grained Transferable Multi-modal Tokens11 Feb 2026
- 2026THOR: Inductive Link Prediction over Hyper-Relational Knowledge Graphs5 Feb 2026
- 2026Breaking the Reasoning Horizon in Entity Alignment Foundation Models29 Jan 2026
- 2025Geometric Structural Knowledge Graph Foundation Model28 Dec 2025
- 2025Graph Distance as Surprise: Free Energy Minimization in Knowledge Graph Reasoning1 Dec 2025
- 2025WebRec: Enhancing LLM-based Recommendations with Attention-guided RAG from Web18 Nov 2025
13 more
- 2025KGFR: A Foundation Retriever for Generalized Knowledge Graph Question Answering6 Nov 2025
- 2025Can Knowledge-Graph-based Retrieval Augmented Generation Really Retrieve What You Need?18 Oct 2025
- 2025Knowledge Reasoning Language Model: Unifying Knowledge and Language for Inductive Knowledge Graph Reasoning15 Oct 2025
- 2025Flock: A Knowledge Graph Foundation Model via Learning on Random Walks1 Oct 2025
- 2025Large model retrieval enhancement framework for construction site risk identification4 Aug 2025
- 2025From Graph Retrieval to Schema Realization: Counterfactual Validation for Text-to-SPARQL over Heterogeneous Knowledge Graphs3 Aug 2025
- 2025A Comprehensive Review on Harnessing Large Language Models to Overcome Recommender System Challenges17 Jul 2025
- 2025HYPER: A Foundation Model for Inductive Link Prediction with Knowledge Hypergraphs14 Jun 2025
- 2025Graph Prompting for Graph Learning Models: Recent Advances and Future Directions10 Jun 2025
- 2025Rethinking Regularization Methods for Knowledge Graph Completion29 May 2025
- 2025GraphOracle: Efficient Fully-Inductive Knowledge Graph Reasoning via Relation-Dependency Graphs16 May 2025
- 2025How Expressive are Knowledge Graph Foundation Models?18 Feb 2025
- 2025GraphICL: Unlocking Graph Learning Potential in LLMs through Structured Prompt Design27 Jan 2025
- 2025Knowledge Reasoning Language Model: Unifying Knowledge and Language for Inductive Knowledge Graph Reasoningcited by 1
- 2025KGFR: A Foundation Retriever for Generalized Knowledge Graph Question Answeringcited by 0
- 2026Structure-Internalized Rule Language Model for Faithful Knowledge Graph Reasoningcited by 0
- 2026Structure-Internalized Rule Language Model for Faithful Knowledge Graph Reasoning18 Aug 2026
- 2025KGFR: A Foundation Retriever for Generalized Knowledge Graph Question Answering6 Nov 2025
- 2025Knowledge Reasoning Language Model: Unifying Knowledge and Language for Inductive Knowledge Graph Reasoning15 Oct 2025
- 2025How Expressive are Knowledge Graph Foundation Models?cited by 22
- 2025GraphICL: Unlocking Graph Learning Potential in LLMs through Structured Prompt Designcited by 21
- 2025Flock: A Knowledge Graph Foundation Model via Learning on Random Walkscited by 8
- 2025HYPER: A Foundation Model for Inductive Link Prediction with Knowledge Hypergraphscited by 7
- 2025GraphOracle: Efficient Fully-Inductive Knowledge Graph Reasoning via Relation-Dependency Graphscited by 6
- 2025Rethinking Regularization Methods for Knowledge Graph Completioncited by 6
- 2025Graph Prompting for Graph Learning Models: Recent Advances and Future Directionscited by 3
- 2025A Comprehensive Review on Harnessing Large Language Models to Overcome Recommender System Challengescited by 3
- 2026Modality-free Graph In-context Alignmentcited by 2
- 2026KGPFN: Unlocking the Potential of Knowledge Graph Foundation Model via In-Context Learningcited by 2
- 2025From Graph Retrieval to Schema Realization: Counterfactual Validation for Text-to-SPARQL over Heterogeneous Knowledge Graphscited by 1
- 2025Geometric Structural Knowledge Graph Foundation Modelcited by 1
12 most cited of 19 All 19 (JSON)
- 2026The Universal Classifier for Graph Learning28 Sep 2026
- 2026Reification as a Transferable Vocabulary: Zero-Shot Link Prediction with Vanilla GNNs10 Sep 2026
- 2026Harnessing Structural Context for Entity Alignment Foundation Models4 Jun 2026
- 2026KGPFN: Unlocking the Potential of Knowledge Graph Foundation Model via In-Context Learning14 May 2026
- 2026Modality-free Graph In-context Alignment13 Mar 2026
- 2026Every Little Helps: Building Knowledge Graph Foundation Model with Fine-grained Transferable Multi-modal Tokens11 Feb 2026
- 2026THOR: Inductive Link Prediction over Hyper-Relational Knowledge Graphs5 Feb 2026
- 2026Breaking the Reasoning Horizon in Entity Alignment Foundation Models29 Jan 2026
- 2025Geometric Structural Knowledge Graph Foundation Model28 Dec 2025
- 2025Graph Distance as Surprise: Free Energy Minimization in Knowledge Graph Reasoning1 Dec 2025
- 2025Flock: A Knowledge Graph Foundation Model via Learning on Random Walks1 Oct 2025
- 2025From Graph Retrieval to Schema Realization: Counterfactual Validation for Text-to-SPARQL over Heterogeneous Knowledge Graphs3 Aug 2025
12 newest of 19 All 19 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024LLM as Prompter: Low-resource Inductive Reasoning on Arbitrary Knowledge Graphs
- 2022Schema-aware Reference as Prompt Improves Data-Efficient Knowledge Graph Construction
- 2025LightPROF: A Lightweight Reasoning Framework for Large Language Model on Knowledge Graph
- 2024Structure Guided Prompt: Instructing Large Language Model in Multi-Step Reasoning by Exploring Graph Structure of the Text
- 2024An Enhanced Prompt-Based LLM Reasoning Scheme via Knowledge Graph-Integrated Collaboration
- 2024Prompt-fused framework for Inductive Logical Query Answering
- 2025Towards Unified Neurosymbolic Reasoning on Knowledge Graphs
- 2024Graph-constrained Reasoning: Faithful Reasoning on Knowledge Graphs with Large Language Models