Mitigating LLM Hallucinations with Knowledge Graphs: A Case Study

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Li, Harry, Appleby, Gabriel, Alperin, Kenneth, Gomez, Steven R, Suh, Ashley
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909582128840704
author Li, Harry
Appleby, Gabriel
Alperin, Kenneth
Gomez, Steven R
Suh, Ashley
author_facet Li, Harry
Appleby, Gabriel
Alperin, Kenneth
Gomez, Steven R
Suh, Ashley
contents High-stakes domains like cyber operations need responsible and trustworthy AI methods. While large language models (LLMs) are becoming increasingly popular in these domains, they still suffer from hallucinations. This research paper provides learning outcomes from a case study with LinkQ, an open-source natural language interface that was developed to combat hallucinations by forcing an LLM to query a knowledge graph (KG) for ground-truth data during question-answering (QA). We conduct a quantitative evaluation of LinkQ using a well-known KGQA dataset, showing that the system outperforms GPT-4 but still struggles with certain question categories - suggesting that alternative query construction strategies will need to be investigated in future LLM querying systems. We discuss a qualitative study of LinkQ with two domain experts using a real-world cybersecurity KG, outlining these experts' feedback, suggestions, perceived limitations, and future opportunities for systems like LinkQ.
format Preprint
id arxiv_https___arxiv_org_abs_2504_12422
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Mitigating LLM Hallucinations with Knowledge Graphs: A Case Study
Li, Harry
Appleby, Gabriel
Alperin, Kenneth
Gomez, Steven R
Suh, Ashley
Human-Computer Interaction
Artificial Intelligence
High-stakes domains like cyber operations need responsible and trustworthy AI methods. While large language models (LLMs) are becoming increasingly popular in these domains, they still suffer from hallucinations. This research paper provides learning outcomes from a case study with LinkQ, an open-source natural language interface that was developed to combat hallucinations by forcing an LLM to query a knowledge graph (KG) for ground-truth data during question-answering (QA). We conduct a quantitative evaluation of LinkQ using a well-known KGQA dataset, showing that the system outperforms GPT-4 but still struggles with certain question categories - suggesting that alternative query construction strategies will need to be investigated in future LLM querying systems. We discuss a qualitative study of LinkQ with two domain experts using a real-world cybersecurity KG, outlining these experts' feedback, suggestions, perceived limitations, and future opportunities for systems like LinkQ.
title Mitigating LLM Hallucinations with Knowledge Graphs: A Case Study
topic Human-Computer Interaction
Artificial Intelligence
url https://arxiv.org/abs/2504.12422