Year: 2026
Type: preprint
Abstract: Retrieval-augmented generation (RAG) mitigates the problem of insufficient knowledge when large language models (LLMs) are applied to specific domains, but models may still produce responses that are either unsupported or contradict the retrieved information, a phenomenon we term RAG hallucination. Recent mechanistic-interpretability detection methods attribute it to insufficient external-context utilization and excessive parametric-knowledge utilization. They quantify the two utilization signals and obtain a hallucination risk score by weighting or regression, but overlook the cascade influence between them. We propose CASDET, a training-free method considering Attention–FFN cascade influence. For each Transformer block, we form a local control state by removing only the current layer’s external-context contribution at the FFN input, separate the influence signal as the difference between the two FFN outputs, and quantify it with the Logit Lens as the change in the current token’s predicted probability. Layer-wise results are summarized into influence breadth, depth, and intensity, which are combined into a response-level hallucination risk score without thresholds or attention-head/layer selection. Under graded local intervention, a Page’s L test confirms the monotonic strengthening of the influence signal. Across RAGTruth and HalluRAG with four open-source LLMs, CASDET is competitive with the stronger baselines, with a detection time comparable to that of single-forward uncertainty methods and 2–134× shorter than that of the remaining baselines. Our results indicate that the influence of external-context introduction on the expression and use of parametric knowledge differs systematically between non-hallucinated and hallucinated responses, enabling training-free detection.
Source: Research Square
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7239394333
