Facet-Level Tracing of Evidence Uncertainty and Hallucination in RAG
Organizations: Johannes Kepler University Linz, Institute of Computational Perception, Linz, Austria · Linz Institute of Technology, Artificial Intelligence Lab, Austria
Abstract
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.
Figures & tables
| Facet | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | C10 | Max |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1) What is the type of place associated with Regency Road, Adelaide? | 0.00 | 0.14 | 0.00 | 0.27 | 0.18 | 0.04 | 0.06 | 0.01 | 0.02 | 0.47 | 0.47 |
| 2) What is the type of place associated with Klemzig, South Australia? | 0.14 | 0.01 | 0.00 | 0.21 | 0.00 | 0.14 | 0.01 | 0.30 | 0.14 | 0.03 | 0.30 |
| Model | Strict RAG | Soft RAG | LLM-only | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Answer | F1 | BERT | Answer | F1 | BERT | Answer | F1 | BERT | |
| Gemini-2.0-Flash | Bosnian | 0.00 | 0.00 | Bosnian | 0.00 | 0.13 | Bosnian | 0.00 | 0.13 |
| GPT-4o mini | NO_ANSWER | 0.00 | 0.00 | Bosnian | 0.00 | 0.13 | Serb | 1.00 | 1.00 |
| Llama-3-8B-Instruct | NO_ANSWER | 0.00 | 0.00 | Bosnian | 0.00 | 0.13 | The Grand Vizier… | 0.00 | 0.11 |
| Models | Evidence Taxonomy | ||||
|---|---|---|---|---|---|
| Failure | Overridden | Misalignment | Helpful | Robust | |
| Gemini-2.0 Flash | 20.6 | 12.5 | 22.3 | 9.6 | 35.1 |
| GPT-4o mini | 0.2 | 34.4 | 0.2 | 51.6 | 13.7 |
| Llama-3-8B-Instruct | 0.1 | 38.2 | 0.2 | 53.1 | 8.3 |
| Overall | 7.0 | 28.4 | 7.5 | 38.1 | 19.0 |
| Question Type | Model | Strict RAG | Soft RAG | LLM-only | |||
|---|---|---|---|---|---|---|---|
| F1 | BERT | F1 | BERT | F1 | BERT | ||
| Fact Retrieval | Gemini-2.0-Flash | 0.222 | 0.093 | 0.376 | 0.375 | 0.337 | 0.351 |
| GPT-4o mini | 0.185 | 0.008 | 0.232 | 0.139 | 0.186 | 0.101 | |
| Llama-3-8B-Instruct | 0.291 | 0.231 | 0.351 | 0.317 | 0.309 | 0.251 | |
| Complex Reasoning | Gemini-2.0-flash | 0.176 | 0.034 | 0.357 | 0.360 | 0.340 | 0.337 |
| GPT-4o mini | 0.089 | 0.025 | 0.161 | 0.116 | 0.127 | 0.087 | |
| Models | Evidence Taxonomy | ||||
|---|---|---|---|---|---|
| Failure | Overridden | Misalignment | Helpful | Robust | |
| Gemini-2.0 Flash | 14.7 | 32.1 | 0.7 | 34.5 | 18.0 |
| GPT-4o mini | 2.8 | 43.6 | 0.7 | 37.3 | 15.6 |
| Llama-3-8B-Instruct | 2.0 | 47.1 | 2.7 | 41.0 | 7.2 |
| Overall | 5.8 | 42.3 | 0.7 | 37.6 | 13.6 |
| Question Difficulty | Model | Strict RAG | Soft RAG | LLM-only | |||
|---|---|---|---|---|---|---|---|
| F1 | BERT | F1 | BERT | F1 | BERT | ||
| Easy | Gemini-2.0-Flash | 0.550 | 0.443 | 0.624 | 0.539 | 0.564 | 0.544 |
| GPT-4o-mini | 0.519 | 0.447 | 0.613 | 0.558 | 0.498 | 0.477 | |
| LLaMA-3-8B-Instruct | 0.196 | 0.026 | 0.315 | 0.174 | 0.230 | 0.108 | |
| Medium | Gemini-2.0-Flash | 0.528 | 0.429 | 0.687 | 0.624 | 0.582 | 0.623 |
| GPT-4o-mini | 0.501 | 0.389 | 0.699 | 0.631 | 0.504 | 0.518 | |
| Question Type | Model | Strict RAG | Soft RAG | LLM-only | |||
|---|---|---|---|---|---|---|---|
| F1 | BERT | F1 | BERT | F1 | BERT | ||
| Bridge | Gemini-2.0-Flash | 0.561 | 0.447 | 0.631 | 0.553 | 0.476 | 0.483 |
| GPT-4o mini | 0.483 | 0.350 | 0.655 | 0.605 | 0.375 | 0.374 | |
| LLaMA-3-8B-Instruct | 0.222 | 0.135 | 0.369 | 0.240 | 0.170 | 0.416 | |
| Comparison | Gemini-2.0-Flash | 0.472 | 0.377 | 0.614 | 0.547 | 0.609 | 0.614 |
| GPT-4o mini | 0.470 | 0.417 | 0.603 | 0.544 | 0.561 | 0.563 | |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.