Framing Few-Shot Knowledge Graph Completion with Large Language Models


Brasoveanu, Adrian M. P., Nixon, Lyndon J. B., Weichselbraun, Albert and Scharl, Arno. (2023). Framing Few-Shot Knowledge Graph Completion with Large Language Models. 2nd International Workshop on Natural Language Processing for Knowledge Graph Construction (NLP4KGC 2023)


Knowledge Graph Completion (KGC) from text involves identifying known or unknown entities (nodes) as well as relations (edges) among these entities. Recent work has started to explore the use of Large Language Models (LLMs) for entity detection and relation extraction, due to their Natural Language Understanding (NLU) capabilities. However, LLM performance varies across models and depends on the quality of the prompt engineering. We examine specific relation extraction cases and present a set of examples collected from well-known resources in a small corpus. We provide a set of annotations and identify various issues that occur when using different LLMs for this task. As LLMs will remain a focal point of future KGC research, we conclude with suggestions for improving the KGC process.

Keywords: knowledge graph completion,large language models,relation extraction,slot filling

Downloads and Resources

  1. Reference (BibTex)
  2. Full Article