mlsanityData to 7 Oct 2026

A Prompt-Based Knowledge Graph Foundation Model for Universal In-Context Reasoning

arXiv 2410.12288 ↗First posted 16 Oct 2024cs.AI cs.CLcited by 25

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2016Layer Normalizationcited by 5,579
  6. 2016Convolutional Neural Networks on Graphs with Fast Localized Spectral Filteringcited by 2,085
  7. 2018Deep Graph Infomaxcited by 1,101
  8. 2019Strategies for Pre-training Graph Neural Networkscited by 964
  9. 2014Embedding Entities and Relations for Learning and Inference in Knowledge Basescited by 929
  10. 2019RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Spacecited by 893
  11. 2017Convolutional 2D Knowledge Graph Embeddingscited by 729
  12. 2020A Survey on Knowledge Graphs: Representation, Acquisition and Applicationscited by 643
38 more
  1. 2022GraphMAE: Self-Supervised Masked Graph Autoencoderscited by 443
  2. 2019InfoGraph: Unsupervised and Semi-supervised Graph-Level Representation Learning via Mutual Information Maximizationcited by 441
  3. 2019Composition-based Multi-Relational Graph Convolutional Networkscited by 395
  4. 2021Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Predictioncited by 273
  5. 2017DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoningcited by 265
  6. 2019Inductive Relation Prediction by Subgraph Reasoningcited by 237
  7. 2019DRUM: End-To-End Differentiable Rule Mining On Knowledge Graphscited by 173
  8. 2023GraphPrompt: Unifying Pre-Training and Downstream Tasks for Graph Neural Networkscited by 166
  9. 2018Canonical Tensor Decomposition for Knowledge Base Completioncited by 150
  10. 2023All in One: Multi-task Prompting for Graph Neural Networkscited by 147
  11. 2016Multilingual Knowledge Graph Embeddings for Cross-lingual Knowledge Alignmentcited by 128
  12. 2020A Benchmarking Study of Embedding-based Entity Alignment for Knowledge Graphscited by 119
  13. 2019Relation-Aware Entity Alignment for Heterogeneous Knowledge Graphscited by 106
  14. 2017Knowledge Transfer for Out-of-Knowledge-Base Entities: A Graph Neural Network Approachcited by 102
  15. 2020CoDEx: A Comprehensive Knowledge Graph Completion Benchmarkcited by 102
  16. 2019Knowledge Graph Alignment Network with Gated Multi-hop Neighborhood Aggregationcited by 101
  17. 2023PRODIGY: Enabling In-context Learning Over Graphscited by 97
  18. 2021Knowledge Graph Reasoning with Relational Digraphcited by 91
  19. 2023Towards Foundation Models for Knowledge Graph Reasoningcited by 83
  20. 2021NodePiece: Compositional and Parameter-Efficient Representations of Large Knowledge Graphscited by 71
  21. 2019Commonsense Knowledge Base Completion with Structural and Semantic Contextcited by 61
  22. 2023Graph Prompt Learning: A Comprehensive Survey and Beyondcited by 61
  23. 2018Logic Attention Based Neighborhood Aggregation for Inductive Knowledge Graph Embeddingcited by 53
  24. 2020Communicative Message Passing for Inductive Relation Reasoningcited by 53
  25. 2023InGram: Inductive Knowledge Graph Embedding via Relation Graphscited by 50
  26. 2022A*Net: A Scalable Path-based Reasoning Approach for Knowledge Graphscited by 49
  27. 2021Topology-Aware Correlations Between Relations for Inductive Link Prediction in Knowledge Graphscited by 47
  28. 2021Boosting the Speed of Entity Alignment 10*: Dual Attention Matching Network with Normalized Hard Sample Miningcited by 37
  29. 2021Relation Prediction as an Auxiliary Training Objective for Improving Multi-Relational Graph Representationscited by 37
  30. 2018Improving Knowledge Graph Embedding Using Simple Constraintscited by 36
  31. 2023SGL-PT: A Strong Graph Learner with Graph Prompt Tuningcited by 35
  32. 2023A Theory of Link Prediction via Relational Weisfeiler-Leman on Knowledge Graphscited by 32
  33. 2022Relational Message Passing for Fully Inductive Knowledge Graph Completioncited by 29
  34. 2022AdaProp: Learning Adaptive Propagation for Graph Neural Network based Knowledge Graph Reasoningcited by 28
  35. 2020Dynamic Anticipation and Completion for Multi-Hop Reasoning over Sparse Knowledge Graphcited by 26
  36. 2022An Open Challenge for Inductive Link Prediction on Knowledge Graphscited by 26
  37. 2020Multilingual Knowledge Graph Completion via Ensemble Knowledge Transfercited by 25
  38. 2022Multilingual Knowledge Graph Completion with Self-Supervised Adaptive Graph Alignmentcited by 24

50 most cited of 59 All 59 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 16; 2026: 9.

25 papers.

Sort:

By area:

  1. 2025How Expressive are Knowledge Graph Foundation Models?cited by 22
  2. 2025GraphICL: Unlocking Graph Learning Potential in LLMs through Structured Prompt Designcited by 21
  3. 2025Flock: A Knowledge Graph Foundation Model via Learning on Random Walkscited by 8
  4. 2025Can Knowledge-Graph-based Retrieval Augmented Generation Really Retrieve What You Need?cited by 8
  5. 2025HYPER: A Foundation Model for Inductive Link Prediction with Knowledge Hypergraphscited by 7
  6. 2025GraphOracle: Efficient Fully-Inductive Knowledge Graph Reasoning via Relation-Dependency Graphscited by 6
  7. 2025Rethinking Regularization Methods for Knowledge Graph Completioncited by 6
  8. 2025Graph Prompting for Graph Learning Models: Recent Advances and Future Directionscited by 3
  9. 2025A Comprehensive Review on Harnessing Large Language Models to Overcome Recommender System Challengescited by 3
  10. 2025WebRec: Enhancing LLM-based Recommendations with Attention-guided RAG from Webcited by 2
  11. 2026Modality-free Graph In-context Alignmentcited by 2
  12. 2026KGPFN: Unlocking the Potential of Knowledge Graph Foundation Model via In-Context Learningcited by 2
13 more
  1. 2025From Graph Retrieval to Schema Realization: Counterfactual Validation for Text-to-SPARQL over Heterogeneous Knowledge Graphscited by 1
  2. 2025Knowledge Reasoning Language Model: Unifying Knowledge and Language for Inductive Knowledge Graph Reasoningcited by 1
  3. 2025Geometric Structural Knowledge Graph Foundation Modelcited by 1
  4. 2026Breaking the Reasoning Horizon in Entity Alignment Foundation Modelscited by 1
  5. 2025Large model retrieval enhancement framework for construction site risk identificationcited by 0
  6. 2025KGFR: A Foundation Retriever for Generalized Knowledge Graph Question Answeringcited by 0
  7. 2025Graph Distance as Surprise: Free Energy Minimization in Knowledge Graph Reasoningcited by 0
  8. 2026THOR: Inductive Link Prediction over Hyper-Relational Knowledge Graphscited by 0
  9. 2026Every Little Helps: Building Knowledge Graph Foundation Model with Fine-grained Transferable Multi-modal Tokenscited by 0
  10. 2026Harnessing Structural Context for Entity Alignment Foundation Modelscited by 0
  11. 2026Structure-Internalized Rule Language Model for Faithful Knowledge Graph Reasoningcited by 0
  12. 2026Reification as a Transferable Vocabulary: Zero-Shot Link Prediction with Vanilla GNNscited by 0
  13. 2026The Universal Classifier for Graph Learningcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024LLM as Prompter: Low-resource Inductive Reasoning on Arbitrary Knowledge Graphs
  2. 2022Schema-aware Reference as Prompt Improves Data-Efficient Knowledge Graph Construction
  3. 2025LightPROF: A Lightweight Reasoning Framework for Large Language Model on Knowledge Graph
  4. 2024Structure Guided Prompt: Instructing Large Language Model in Multi-Step Reasoning by Exploring Graph Structure of the Text
  5. 2024An Enhanced Prompt-Based LLM Reasoning Scheme via Knowledge Graph-Integrated Collaboration
  6. 2024Prompt-fused framework for Inductive Logical Query Answering
  7. 2025Towards Unified Neurosymbolic Reasoning on Knowledge Graphs
  8. 2024Graph-constrained Reasoning: Faithful Reasoning on Knowledge Graphs with Large Language Models