arXiv:2604.09174cs.CL2026-04被引 1

通过细粒度分析揭示RAG系统中幻觉产生的真实原因

Facet-Level Tracing of Evidence Uncertainty and Hallucination in RAG

论文配图:Facet-Level Tracing of Evidence Uncertainty and Hallucination in RAG
图 1 · 摘自论文原文
  • 将问题拆解为原子推理单元,逐项评估证据使用情况
  • 发现幻觉主因是证据整合不当,而非检索不准
  • 适合想理解RAG缺陷机制的研究者和开发者

检索增强生成(RAG)旨在通过引入检索证据来减少幻觉,但即使有相关文档,幻觉仍频繁出现。现有评估多关注答案或段落级准确率,难以揭示生成过程中证据的实际使用情况。本文提出一种细粒度诊断框架,将每个问题分解为原子推理细粒度,构建'细粒度×段落'矩阵,结合检索相关性与自然语言推理的忠实度得分,评估证据充分性与对齐程度。通过三种受控生成模式——严格RAG(仅依赖检索证据)、软RAG(融合检索与参数知识)、纯LLM生成——对比分析,识别出检索-生成错位现象:即相关证据已被检索但未被正确使用。在医疗QA与HotpotQA数据集上,测试了三个开源与闭源模型(GPT、Gemini、LLaMA)。结果表明,幻觉更多源于生成阶段对证据的错误整合,而非检索精度;细粒度分析揭示了证据缺失、证据错位、先验主导覆盖等重复性失败模式,这些在答案级评估中无法察觉。

原文摘要 · Abstract (English)

Retrieval-Augmented Generation (RAG) aims to reduce hallucination by grounding answers in retrieved evidence, yet hallucinated answers remain common even when relevant documents are available. Existing evaluations focus on answer-level or passage-level accuracy, offering limited insight into how evidence is used during generation. In this work, we introduce a facet-level diagnostics framework for QA that decomposes each input question into atomic reasoning facets. For each facet, we assess evidence sufficiency and grounding using a structured Facet x Chunk matrix that combines retrieval relevance with natural language inference-based faithfulness scores. To diagnose evidence usage, we analyze three controlled inference modes: Strict RAG, which enforces exclusive reliance on retrieved evidence; Soft RAG, which allows integration of retrieved evidence and parametric knowledge; and LLM-only generation without retrieval. Comparing these modes enables thorough analysis of retrieval-generation misalignment, defined as cases where relevant evidence is retrieved but not correctly integrated during generation. Across medical QA and HotpotQA, we evaluate three open-source and closed-source LLMs (GPT, Gemini, and LLaMA), providing interpretable diagnostics that reveal recurring facet-level failure modes, including evidence absence, evidence misalignment, and prior-driven overrides. Our results demonstrate that hallucinations in RAG systems are driven less by retrieval accuracy and more by how retrieved evidence is integrated during generation, with facet-level analysis exposing systematic evidence override and misalignment patterns that remain hidden under answer-level evaluation.

RAG幻觉检测细粒度分析

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。