Knowledge Graphs for Enhancing Large Language Models in Entity Disambiguation

Gerard Pons, Besim Bilalli, Anna Queralt
5/5/2025
cs.LGcs.AIcs.DB

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Recent advances in Large Language Models (LLMs) have positioned them as a prominent solution for Natural Language Processing tasks. Notably, they can approach these problems in a zero or few-shot manner, thereby eliminating the need for training or fine-tuning task-specific models. However, LLMs face some challenges, including hallucination and the presence of outdated knowledge or missing information from specific domains in the training data. These problems cannot be easily solved by retraining the models with new data as it is a time-consuming and expensive process. To mitigate these issues, Knowledge Graphs (KGs) have been proposed as a structured external source of information to enrich LLMs. With this idea, in this work we use KGs to enhance LLMs for zero-shot Entity Disambiguation (ED). For that purpose, we leverage the hierarchical representation of the entities' classes in a KG to gradually prune the candidate space as well as the entities' descriptions to enrich the input prompt with additional factual knowledge. Our evaluation on popular ED datasets shows that the proposed method outperforms non-enhanced and description-only enhanced LLMs, and has a higher degree of adaptability than task-specific models. Furthermore, we conduct an error analysis and discuss the impact of the leveraged KG's semantic expressivity on the ED performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pons2025knowledge,
  title  = {Knowledge Graphs for Enhancing Large Language Models in Entity Disambiguation},
  author = {Gerard Pons and Besim Bilalli and Anna Queralt},
  year   = {2025},
  eprint = {2505.02737},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.02737v2}
}

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

Discussion