# Why RAG still hallucinates: evidence is not a verifier

Retrieval changes what the model reads, not whether it verifies; failures live in retrieval recall, context handling, and the decoder.

> Why does RAG still hallucinate?

## Short answer

RAG hallucinates because retrieval changes what the model reads, not how it checks: the generator still predicts plausible tokens, so missing, distracting, or contradicted evidence becomes a confident but unsupported claim. There is no verifier in the loop unless you build one.

That splits the problem into two separately measurable surfaces. **Retrieval quality** sets a ceiling on what can be answered at all; **faithfulness** governs whether the answer actually follows from what was retrieved. A system can fail either one alone, and fixing the first does not fix the second, which is why groundedness and answer accuracy are reported as different metrics.

- **Failure surfaces**: Retrieval and generation, separately
- **Faithfulness vs truth**: Independent axes, can fail alone
- **Citation risk**: Real source, unsupported claim

## Retrieval supplies evidence, not a truth guarantee

The word "grounding" implies a floor under the output. RAG provides no such floor. It changes the **input distribution**: instead of answering from parametric memory alone, the model conditions on a prompt that contains retrieved passages . Generation is still next-token prediction over that prompt, with nothing in the loop that checks whether each emitted sentence is entailed by a passage.

That gap is why faithfulness and correctness are separate metrics. An answer can be correct but unfaithful — right for the wrong reason, lifted from memory — or faithful but wrong, because a retrieved source was itself wrong. Audits of cited-source responses find that a large fraction of claims are not fully supported by the sources they invoke: the citation exists, the entailment does not .

Retrieval also does not tell the model when to stop. With no passage that answers the question, the cheapest continuation is still a fluent answer, because that is what the model was trained to produce. Abstention is a behavior that must be learned or prompted, not a default that retrieval switches on.

The practical consequence: treat RAG as **context injection**, not a factuality guarantee. It lowers hallucination when the corpus contains the answer and the model attends to it. It can also raise confidence without raising accuracy, which is the more dangerous failure, because the citation makes the claim look checked .

> Retrieval changes the input. It does not add a verifier.

> Note: Faithfulness asks whether a claim is supported by the retrieved passage; correctness asks whether it is true. A system can fail either one without failing the other.

## When the right evidence never reaches the model

RAG can only be as accurate as the passages it retrieves, and retrieval optimizes a proxy: similarity between the query embedding and chunk embeddings. Similarity is not answer relevance. A passage can be topically identical to the question and still not contain the answer, and it will outrank a passage that does.

Three structural leaks:

- **Chunking** severs sentences from their antecedents. A table's caption lands in one chunk, its numbers in another.
- **Top-k** is a hard cutoff. The k-th and (k+1)-th passages are often a coin flip apart in score, and only one of them answers the question.
- **Corpus coverage** sets a ceiling no reranker can lift. If the fact was never indexed, or was indexed before it changed, prompt engineering cannot recover it .

Multi-hop questions punish this because they need **coverage**, not relevance. Evidence for a question like which subsidiary of a firm was fined may split across a corporate filing and a news item, and neither chunk alone resembles the question. A single retrieval pass scores each chunk independently, so it has no way to prefer the pair that jointly answers.

When the gap is total, the generator does not report it. Nothing in the pipeline distinguishes "no supporting passage found" from "supporting passage found and paraphrased," so the model continues with its most fluent continuation — often parametric memory, often invention.

> Similarity to the question is a proxy for relevance, and a weak one for coverage.

## The generator can override, misread, or overgeneralize context

Correct evidence in the prompt is necessary, not sufficient. Two generation-side effects eat into it.

The first is positional. Accuracy on long-context question answering degrades when the key sentence sits in the middle of the prompt rather than near the start or end — the **lost-in-the-middle** effect — and it shows up across model backbones . RAG pipelines create this condition by design: top-k retrieval packs the prompt with near-miss passages and buries the one that matters. Position matters enough that reordering retrieved chunks can change the answer, which is why map-reduce and multi-candidate workflows exist .

The second is distraction. Semantically similar but non-answering passages compete for attention, and under limited model capacity they measurably degrade output quality; retrievers trained to be distraction-aware trade some coverage for less interference . More context is not monotonically better — coverage and interference pull in opposite directions.

Then there is the prior. When retrieved text contradicts something the model saw constantly during pretraining, it may side with its prior or blend the two into a claim that neither source supports. Published magnitudes vary with model and prompt phrasing, so treat any single number with suspicion.

Finally, **citation drift**: the model attaches an authentic-looking source to a sentence it did not derive from it, the failure auditors find most often in cited-source responses .

> A longer prompt buys coverage and pays for it in attention.

## Multi-step RAG turns small misses into confident answers

Real systems are pipelines, not two steps: query rewriting, retrieval, reranking, sometimes a second retrieval hop, then synthesis. Each stage is a small classifier or generator with its own error rate, and errors compound rather than staying local.

A rewrite that drops a constraint — a date range, an exclusion — retrieves plausible but wrong-period evidence. The reranker, doing its job, ranks that evidence higher. The generator answers confidently. Nothing in the chain flags the lost constraint, because no stage compares its output back to the original question.

Reranking illustrates the trade-off cleanly. It usually improves precision at the top of the list, and it can bury the single passage that answered a differently phrased version of the question. End-to-end gains from pipeline redesign tend to be incremental: a collaborative framework that adds a second reasoning path and a selection rule reports F1 improvements in the low double digits over its baselines . That is the signature of a system whose residual errors are structural, not tunable by another component.

Multi-hop pipelines compound hardest. Hop one's answer becomes hop two's query, so a paraphrase error at hop one becomes a retrieval miss at hop two, and the final answer inherits both. The failure is invisible in the output, which is fluent and may cite real documents — just not the ones that support the claim .

> Note: Retrieval and generation scores must be reported separately during development. An end-to-end number hides which stage degraded, and a pipeline tuned on one aggregate score tends to optimize the easiest stage.

## Mitigations shift the error, they do not erase it

Every mitigation attacks one link and leaves the others. **Abstention** training or prompting teaches the model to say the sources do not cover this, but it trades coverage for safety: raise the refusal threshold and you suppress correct answers along with hallucinations. **Reranking and distraction-aware retrieval** improve what reaches the prompt, but they are tuned on distributions and can misfire on unfamiliar query shapes .

**Citation checking and claim-level entailment** catch unsupported sentences, yet automated detectors remain imperfect. One evaluated span detector reached example-level F1 of 0.79 with precision 0.81 and recall 0.78 — roughly one in five hallucinations passes unflagged and one in five flags is a false alarm . That residual is why the same work argues for human verification in accountability-sensitive settings rather than full automation.

**Constrained decoding**, which forces output to quote or extract spans, raises faithfulness on extractive questions and degrades on anything requiring synthesis across passages — exactly where users need help.

The unifying caveat: these methods move the error trade-off rather than eliminating the error class. Each is validated on a test set, and a good score there says little about adversarial, novel, or long-tail queries. A pipeline that leads on groundedness benchmarks can still fabricate the one claim that matters, with a citation that looks right.

> Reduce the rate, measure the residual, and staff for the residual.

## Common misconceptions

- **Myth:** RAG eliminates hallucination because answers are grounded in sources. **Reality:** RAG changes the input, not the decoding objective. It reduces hallucination when the corpus holds the answer and the prompt is attended to, and leaves it intact when either condition fails.
- **Myth:** If the answer cites a source, the claim is supported by that source. **Reality:** Citations are generated text like any other token. Audits find a substantial share of cited claims are not fully entailed by the source they invoke, which is why claim-level verification is a separate step.
- **Myth:** Bigger context windows make retrieval obsolete. **Reality:** Full-context prompting raises token cost, worsens lost-in-the-middle placement, and amplifies distraction; coverage and interference trade against each other, so retrieval still earns its place.

## FAQ

### A system returns an answer whose citation exists in the corpus but does not support the sentence it is attached to. Which failure is this?

The evidence reached the prompt; the model attached a real source to a claim that source does not entail. That is a faithfulness failure on the generation side, distinct from failing to retrieve.

### Moving one relevant passage from the middle of a twenty-passage prompt to the top flips the answer from wrong to right. What does this show?

The passage was retrieved and present. Position within the prompt changed whether the model used it, which is a placement and attention effect rather than a retrieval failure.

### A groundedness detector reports precision 0.81 and recall 0.78. What follows operationally?

The residuals run in both directions: missed fabrications and spurious flags. That profile motivates human verification layered on top, not replacement of it.

### How much of end-to-end RAG error is retrieval recall versus generation faithfulness?

The split determines whether to invest in indexing and reranking or in verification and decoding, and published pipelines rarely report both numbers.

### Do abstention thresholds calibrated in one domain transfer to another?

A refusal rate tuned on open-domain QA may suppress correct clinical or legal answers, making the safety trade-off domain-specific.

### How should groundedness be scored when retrieved sources contradict each other?

Entailment checks assume a single support relation; conflicting evidence is common in fast-moving or contested topics and has no settled evaluation.

---

Delve Editorial · https://delve.prisflow.com/p/why-rag-hallucinates
