Assessing LLMs Suitability for Knowledge Graph Completion

Vasile Ionut Remus Iga, Gheorghe Cosmin Silaghi
5/27/2024
cs.CLcs.AI

No official code found. Best implementation: IonutIga/LLMs-for-KGC (7 stars, last commit 2025-05-30).

Abstract

Recent work has shown the capability of Large Language Models (LLMs) to solve tasks related to Knowledge Graphs, such as Knowledge Graph Completion, even in Zero- or Few-Shot paradigms. However, they are known to hallucinate answers, or output results in a non-deterministic manner, thus leading to wrongly reasoned responses, even if they satisfy the user's demands. To highlight opportunities and challenges in knowledge graphs-related tasks, we experiment with three distinguished LLMs, namely Mixtral-8x7b-Instruct-v0.1, GPT-3.5-Turbo-0125 and GPT-4o, on Knowledge Graph Completion for static knowledge graphs, using prompts constructed following the TELeR taxonomy, in Zero- and One-Shot contexts, on a Task-Oriented Dialogue system use case. When evaluated using both strict and flexible metrics measurement manners, our results show that LLMs could be fit for such a task if prompts encapsulate sufficient information and relevant examples.

View on arXivView PDF

Code Implementations(1)

Repository for experiments regarding the assessment of the suitability of LLMs for Knowledge Graph Completion task, using Mixtral-8x7b, GPT-3.5-turbo, and GPT-4o.

71Jupyter NotebookApr 22, 20241 years ago
gpt-3-5-turbogpt-4oknowledge-graphknowledge-graph-completionllm+2 more

Similar Papers

Cite this paper

@article{iga2024assessing,
  title  = {Assessing LLMs Suitability for Knowledge Graph Completion},
  author = {Vasile Ionut Remus Iga and Gheorghe Cosmin Silaghi},
  year   = {2024},
  eprint = {2405.17249},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.17249v2}
}

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

Discussion