KICGPT: Large Language Model with Knowledge in Context for Knowledge Graph Completion

Yanbin Wei, Qiushi Huang, James T. Kwok, Yu Zhang
2/4/2024
cs.CLcs.AI

No official code found. Best implementation: WEIYanbin1999/KICGPT (61 stars, MIT, last commit 2024-03-05).

Abstract

Knowledge Graph Completion (KGC) is crucial for addressing knowledge graph incompleteness and supporting downstream applications. Many models have been proposed for KGC. They can be categorized into two main classes: triple-based and text-based approaches. Triple-based methods struggle with long-tail entities due to limited structural information and imbalanced entity distributions. Text-based methods alleviate this issue but require costly training for language models and specific finetuning for knowledge graphs, which limits their efficiency. To alleviate these limitations, in this paper, we propose KICGPT, a framework that integrates a large language model (LLM) and a triple-based KGC retriever. It alleviates the long-tail problem without incurring additional training overhead. KICGPT uses an in-context learning strategy called Knowledge Prompt, which encodes structural knowledge into demonstrations to guide the LLM. Empirical results on benchmark datasets demonstrate the effectiveness of KICGPT with smaller training overhead and no finetuning.

View on arXivView PDF

Code Implementations(1)

MIT

[EMNLP 2023] KICGPT: Large Language Model with Knowledge in Context for Knowledge Graph Completion

619PythonMar 3, 20242 years agoMIT

Similar Papers

Cite this paper

@article{wei2024kicgpt,
  title  = {KICGPT: Large Language Model with Knowledge in Context for Knowledge Graph Completion},
  author = {Yanbin Wei and Qiushi Huang and James T. Kwok and Yu Zhang},
  year   = {2024},
  eprint = {2402.02389},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.02389v2}
}

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/2402.02389.svg)](https://codeofpaper.com/paper/2402.02389)

Discussion