Saved in:
Bibliographic Details
Main Authors: Tan, Likun, Huang, Kuan-Wei, Shi, Joy, Wu, Kevin
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.21538
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908610163900416
author Tan, Likun
Huang, Kuan-Wei
Shi, Joy
Wu, Kevin
author_facet Tan, Likun
Huang, Kuan-Wei
Shi, Joy
Wu, Kevin
contents Retrieval-Augmented Generation (RAG) integrates external knowledge to mitigate hallucinations, yet models often generate outputs inconsistent with retrieved content. Accurate hallucination detection requires disentangling the contributions of external context and parametric knowledge, which prior methods typically conflate. We investigate the mechanisms underlying RAG hallucinations and find they arise when later-layer FFN modules disproportionately inject parametric knowledge into the residual stream. To address this, we explore a mechanistic detection approach based on external context scores and parametric knowledge scores. Using Qwen3-0.6b, we compute these scores across layers and attention heads and train regression-based classifiers to predict hallucinations. Our method is evaluated against state-of-the-art LLMs (GPT-5, GPT-4.1) and detection baselines (RAGAS, TruLens, RefChecker). Furthermore, classifiers trained on Qwen3-0.6b signals generalize to GPT-4.1-mini responses, demonstrating the potential of proxy-model evaluation. Our results highlight mechanistic signals as efficient, generalizable predictors for hallucination detection in RAG systems.
format Preprint
id arxiv_https___arxiv_org_abs_2510_21538
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle InterpDetect: Interpretable Signals for Detecting Hallucinations in Retrieval-Augmented Generation
Tan, Likun
Huang, Kuan-Wei
Shi, Joy
Wu, Kevin
Computation and Language
Retrieval-Augmented Generation (RAG) integrates external knowledge to mitigate hallucinations, yet models often generate outputs inconsistent with retrieved content. Accurate hallucination detection requires disentangling the contributions of external context and parametric knowledge, which prior methods typically conflate. We investigate the mechanisms underlying RAG hallucinations and find they arise when later-layer FFN modules disproportionately inject parametric knowledge into the residual stream. To address this, we explore a mechanistic detection approach based on external context scores and parametric knowledge scores. Using Qwen3-0.6b, we compute these scores across layers and attention heads and train regression-based classifiers to predict hallucinations. Our method is evaluated against state-of-the-art LLMs (GPT-5, GPT-4.1) and detection baselines (RAGAS, TruLens, RefChecker). Furthermore, classifiers trained on Qwen3-0.6b signals generalize to GPT-4.1-mini responses, demonstrating the potential of proxy-model evaluation. Our results highlight mechanistic signals as efficient, generalizable predictors for hallucination detection in RAG systems.
title InterpDetect: Interpretable Signals for Detecting Hallucinations in Retrieval-Augmented Generation
topic Computation and Language
url https://arxiv.org/abs/2510.21538