atlas

Research map / Large language models / Retrieval and knowledge

ReDeEP: Detecting Hallucination in Retrieval-Augmented Generation via Mechanistic Interpretability

ICLR 2025 · Large language models › Retrieval and knowledge · approach: RAG robustness and evaluation · 5 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Analyzes internal mechanisms (Knowledge FFNs and Copying Heads) behind RAG hallucinations, proposes ReDeEP, a regression-based detector over decoupled external-context and parametric-knowledge scores, and AARF, a training-free intervention to reduce hallucinations.

Problem

Detecting RAG hallucinations, where outputs conflict with accurate retrieved context, requires disentangling how LLMs use external context versus parametric knowledge; existing detectors either rely on one mechanism or mix them without decoupling.

Approach

Uses mechanistic interpretability to define an External Context Score (attention heads, via copying-head analysis) and a Parametric Knowledge Score (FFN layers via LogitLens JSD), then regresses these decoupled covariates to predict hallucinations; AARF reweights copying heads and knowledge FFNs at inference.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ReDeEP(chunk) instead of ReDeEP(token) (ablation)ReDeEP · RAGTruth and Dolly (AC) across LLaMA2-7B and LLaMA2-13BAUC: 0.7325 -> 0.7458; 0.6884 -> 0.7949; 0.8181 -> 0.8244; 0.7226 -> 0.8420Helped
Use ReDeEP(chunk) instead of ReDeEP(token) (ablation)ReDeEP · RAGTruth and Dolly (AC) with LLaMA3-8BAUC: 0.7522 -> 0.7285; 0.6701 -> 0.7354Mixed
Use ReDeEP(chunk) instead of ReDeEP(token) (ablation)ReDeEP · RAGTruth and Dolly (AC) across LLaMA2-7B, LLaMA2-13B, and LLaMA3-8BF1: 0.6986 -> 0.7190; 0.7244 -> 0.7833; 0.7494 -> 0.7587; 0.7154 -> 0.7603; 0.7132 -> 0.6947; 0.6901 -> 0.7100Mixed
Increase Copying Head contributions and reduce Knowledge FFN contributions during generation (AARF)LLaMA models · RAGTruth and Dolly (AC)truthfulness (GPT-4o pairwise preference)Helped
Increase attention-head contributions and amplify FFN contributions in causal interventionLLaMA2-7B · RAGTruth truthful datasetNLL differenceMixed

Surprising findings

Limitations

Experimental setup

Datasets: RAGTruth Dolly (AC)

Benchmarks: RAGTruth Dolly (AC)

Metrics: AUC PCC Recall F1 pairwise truthfulness win rate

Baselines: SelfCheckGPT Perplexity LN-Entropy Energy Focus Prompt LMvLM ChainPoll RAGAS Trulens RefCheck P(True)

Builds on: Copying heads (OV circuit eigenvalue analysis) LogitLens ITI SEP ChainPoll

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy