Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Detecting Hallucinations in Retrieval-Augmented Generation through Grounding-Aware Sensitivity by Perturbation (GASP)

About

Retrieval-augmented generation (RAG) reduces but does not eliminate hallucination, and existing detectors return a single answer-level score that does not indicate which sentence is unsupported, or why. To close this gap, we introduce Grounding-Aware Sensitivity by Perturbation (GASP), a span-level detector that scores each answer sentence by how strongly its likelihood depends on the retrieved evidence, a quantity we term grounding sensitivity. GASP holds the answer fixed and re-scores it under the full context, under no context, and with each chunk removed, then measures the log-likelihood drops and Jensen-Shannon divergences (JSD). The likelihood of a grounded sentence collapses once its supporting passage is removed, whereas a hallucinated sentence is almost unaffected, a contrast we interpret by casting decoding as a random nonlinear iterated function system (RNIFS). We evaluate GASP on three benchmarks (RAGTruth, TofuEval, RAGBench) with three instruction-tuned scorers from two model families (Qwen2.5-0.5B, Qwen2.5-1.5B, and SmolLM2-1.7B) under a leakage-clean protocol. On RAGTruth it reaches a response-level area under the ROC curve (AUC) of about 0.73 and a span-level AUC of about 0.67, improving significantly over perplexity and by clear margins over length, whole-context natural language inference (NLI), and self-consistency baselines. The only baseline competitive at the span level is a well-configured chunk-level entailment verifier, which requires a separate model, whereas a training-free threshold on the grounding features matches the trained classifier without labeled data and serves as the default detector. Beyond RAGTruth, the signal transfers to TofuEval but not to short-answer question answering in RAGBench, showing GASP is best suited to outputs constructed from the retrieved context rather than answers recoverable from parametric knowledge.

Mohamed Aly Bouke• 2026

Related benchmarks

TaskDatasetResultRank
Factual Consistency DetectionTofuEval-MeetingBank Span level leakage-clean protocol (test)
AUC0.693
15
Hallucination DetectionRAGTruth Span-level, leakage-clean protocol
AUC0.702
15
Response-level Hallucination DetectionRAGTruth (test)
AUC74.5
15
Factual Consistency DetectionTofuEval-MeetingBank Response level leakage-clean protocol (test)
AUC65.9
12
Hallucination DetectionRAGBench
AUC67.9
8
Hallucination DetectionRAGTruth Span-level baseless vs clean
AUC64.1
3
Hallucination DetectionRAGTruth Span-level conflict vs clean
AUC70.4
3
Showing 7 of 7 rows

Other info

Follow for update