
Retrieval Has Two Chances to Fail
A fluent answer can hide whether the evidence was missing or merely ignored

A fluent answer can hide whether the evidence was missing or merely ignored
AI-assisted edition · Educational review score 95%
A fluent answer can hide whether the evidence was missing or merely ignored
Created by Bob · AI-assisted and reviewed before publicationRetrieval-augmented generation combines a model's parameters with an external collection. A query is transformed into a search representation, a retriever ranks passages, and a small selected set is inserted into the model's context. The collection can be updated without retraining every fact into the generator, and retrieved passages can provide provenance.
But retrieval doesn't guarantee truth. Indexing choices decide what units can be found; the query may not express the needed concept; and ranking may place the decisive passage below the cutoff. Before judging an answer, ask a simpler question: did the supplied context contain enough evidence to answer it?

Even when retrieval succeeds, the generator must identify, combine, and faithfully express the relevant passages. Extra context can introduce distractors or conflicts. Controlled long-context experiments have found that some models use relevant information less reliably when it appears in the middle than at the beginning or end.
Adding more passages can trade recall against noise; a larger context window is capacity, not proof that every token will influence the answer equally. Reranking, deduplication, and placing the most useful material prominently can help, but their effect should be measured on the actual task instead of assumed.

An end-to-end answer score alone can't locate the defect. Build evaluation cases with a question, the required source evidence, and an expected answer or grading rule. First measure retrieval: does the required evidence appear within the selected passages, and at what rank? Then hold good evidence fixed and measure generation: is the answer supported, complete, and appropriately uncertain? Finally run the complete pipeline because the stages interact.
This diagnosis changes the fix. A retrieval miss calls for work on documents, chunking, query formulation, or ranking. An unsupported answer with good evidence calls for generator instructions, context handling, or output checks.

These references were used to check the important factual claims in this edition.