Detecting Hallucinations for Large Language Model-based Knowledge Graph Reasoning

Xinyan Zhu, Yaoqi Liu, Yue Gao, Huadong Ma, Cheng Yang +1 more
4/27/2026
cs.CLcs.AI
transformer-attention

No confident code implementation found for this paper.

Abstract

Knowledge graph (KG) reasoning infers new knowledge from existing facts and is widely applied in question answering, recommendation, and decision support. With the rapid development of large language models (LLMs), LLM-based KG reasoning frameworks have become increasingly popular by leveraging retrieved KG information.

Show full abstract

However, hallucinations in LLMs remain a critical issue. Even when relevant KG knowledge is incorporated, models may still generate incorrect outputs, leading to misinformation and unreliable decisions. Existing hallucination detection methods either focus on LLM internal states or verify consistency with retrieved contexts, but both overlook the structural information in KGs, resulting in suboptimal performance. To address this gap, we propose LUCID, the first halLUcination deteCtIon method for LLM-based knowleDge graph reasoning frameworks. LUCID jointly leverages LLM attention scores, KG semantics, and structural information. Specifically, it extracts node and edge features from attention scores and semantic similarities, and integrates them with KG structure using a graph neural network. We also construct manually annotated benchmark datasets for evaluation. Experiments on nine datasets show that LUCID achieves state of the art performance compared to 15 baselines.

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. Any repos shown below are weak matches — 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{zhu2026detecting,
  title  = {Detecting Hallucinations for Large Language Model-based Knowledge Graph Reasoning},
  author = {Xinyan Zhu and Yaoqi Liu and Yue Gao and Huadong Ma and Cheng Yang and Chuan Shi},
  year   = {2026},
  eprint = {2606.19351},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.19351v1}
}

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

Discussion