LLMs for Knowledge Graph Construction and Reasoning: Recent Capabilities and Future Opportunities

Yuqi Zhu, Xiaohan Wang, Jing Chen, Shuofei Qiao, Yixin Ou +4 more
5/22/2023
349 citations
cs.CLcs.AIcs.DB

Official code: zjunlp/AutoKG (471 stars, Python, MIT, last commit 2025-01-14).

Abstract

This paper presents an exhaustive quantitative and qualitative evaluation of Large Language Models (LLMs) for Knowledge Graph (KG) construction and reasoning. We engage in experiments across eight diverse datasets, focusing on four representative tasks encompassing entity and relation extraction, event extraction, link prediction, and question-answering, thereby thoroughly exploring LLMs' performance in the domain of construction and inference.

Show full abstract

Empirically, our findings suggest that LLMs, represented by GPT-4, are more suited as inference assistants rather than few-shot information extractors. Specifically, while GPT-4 exhibits good performance in tasks related to KG construction, it excels further in reasoning tasks, surpassing fine-tuned models in certain cases. Moreover, our investigation extends to the potential generalization ability of LLMs for information extraction, leading to the proposition of a Virtual Knowledge Extraction task and the development of the corresponding VINE dataset. Based on these empirical findings, we further propose AutoKG, a multi-agent-based approach employing LLMs and external sources for KG construction and reasoning. We anticipate that this research can provide invaluable insights for future undertakings in the field of knowledge graphs. The code and datasets are in https://github.com/zjunlp/AutoKG.

View on arXivView PDF

Code Implementations(1)

zjunlp/AutoKGOfficial100%
MIT

[WWWJ 2024] LLMs for Knowledge Graph Construction and Reasoning: Recent Capabilities and Future Opportunities

47143PythonMar 20, 20231 years agoMIT
chatgptevent-extractiongpt4information-extractionknowledge-graph+6 more

Similar Papers

Cite this paper

@article{zhu2023llms,
  title  = {LLMs for Knowledge Graph Construction and Reasoning: Recent Capabilities and Future Opportunities},
  author = {Yuqi Zhu and Xiaohan Wang and Jing Chen and Shuofei Qiao and Yixin Ou and Yunzhi Yao and Shumin Deng and Huajun Chen and Ningyu Zhang},
  year   = {2023},
  eprint = {2305.13168},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.13168v4}
}

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

Discussion