Detecting Hallucinations in Retrieval-Augmented Generation via Semantic-level Internal Reasoning Graph

Jianpeng Hu, Yanzeng Li, Jialun Zhong, Wenfa Qi, Lei Zou
1/6/2026
cs.CL

No official code found. Best implementation: hk-hp/SIRG (1 star, last commit 2026-01-06).

Abstract

The Retrieval-augmented generation (RAG) system based on Large language model (LLM) has made significant progress. It can effectively reduce factuality hallucinations, but faithfulness hallucinations still exist. Previous methods for detecting faithfulness hallucinations either neglect to capture the models' internal reasoning processes or handle those features coarsely, making it difficult for discriminators to learn. This paper proposes a semantic-level internal reasoning graph-based method for detecting faithfulness hallucination. Specifically, we first extend the layer-wise relevance propagation algorithm from the token level to the semantic level, constructing an internal reasoning graph based on attribution vectors. This provides a more faithful semantic-level representation of dependency. Furthermore, we design a general framework based on a small pre-trained language model to utilize the dependencies in LLM's reasoning for training and hallucination detection, which can dynamically adjust the pass rate of correct samples through a threshold. Experimental results demonstrate that our method achieves better overall performance compared to state-of-the-art baselines on RAGTruth and Dolly-15k.

View on arXivView PDF

Code Implementations(1)

hk-hp/SIRGCommunity73%

Detecting Hallucinations in Retrieval-Augmented Generation via Semantic-level Internal Reasoning Graph

10Python, Jupyter NotebookJan 6, 20269 months ago

Similar Papers

Cite this paper

@article{hu2026detecting,
  title  = {Detecting Hallucinations in Retrieval-Augmented Generation via Semantic-level Internal Reasoning Graph},
  author = {Jianpeng Hu and Yanzeng Li and Jialun Zhong and Wenfa Qi and Lei Zou},
  year   = {2026},
  eprint = {2601.03052},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.03052v1}
}

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

Discussion