Signal & Context
← Back to the reading room

AI Systems

Choose the evidence path before the context window

RAG and long context place different demands on evidence selection. Compare the questions, missing sources and update rules before choosing a pipeline.

On this page

Start with the question a reader will ask

A product manual assistant and a contract comparison tool may consume the same documents while needing very different evidence. The assistant often needs a precise passage. The comparison tool may need qualifications scattered across several sections. Deciding how much text to send a model becomes easier after describing that evidence requirement. A context-window specification cannot make the decision on its own.

The original Retrieval-Augmented Generation paper combines a language model with retrieved external passages. That gives the system an explicit selection stage. A long-context approach can instead supply a larger document set directly. Neither description establishes that the right evidence will influence a particular answer. Selection can miss a necessary exception; a larger input can still be used unevenly.

Read research within its experimental boundary

Lost in the Middle found position-dependent performance in the models and retrieval tasks it studied. It is useful evidence for testing where relevant text appears. It does not establish an error rate for a current model or every long document. The study's date, tasks and systems belong beside its conclusion.

A 2024 comparison of RAG and long-context systems reported different quality and computation-cost trade-offs across its tested configurations and proposed a routing approach. Read that as evidence that architecture and budget interact. It offers no permanent ranking for your corpus, model version, access controls or workload.

Build a comparison around missing evidence

Our suggested starting point is a small set of real questions with annotated supporting passages. Include a straightforward lookup, an answer that needs two documents, an outdated document contradicted by a newer one, and a question the collection cannot answer. Define acceptable abstention before running either design. Otherwise a fluent guess can look more successful than an honest statement that evidence is missing.

For each question, record three things separately: which documents the system was allowed to see, which passages actually reached the model, and which claims appeared in the answer. This separates a retrieval failure from a reading or synthesis failure. If the relevant paragraph never entered the prompt, rewriting the answer instruction cannot repair the missing input.

Run the same questions against a minimal retrieval pipeline and a direct-context baseline. Keep the source snapshot and answer criteria constant. Record document preparation, retrieval, model input and completion time separately. A comparison that times only generation hides the operating work of indexing and refreshing a collection.

Let updates and permissions shape the boundary

A changing corpus needs an update rule whichever design you choose. Retrieval needs refreshed indexes and dependable deletion handling. Direct context needs a reliable way to assemble the current authorized documents. Preserve document versions and the evidence supplied to each answer so an editor can understand a disagreement later.

A hybrid may eventually be appropriate, with narrow retrieval for routine questions and broader reading for cross-document work. Add that routing only when its failure cases and operating cost are visible. The useful outcome of the comparison is a defensible evidence path for your users, accompanied by a clear account of the questions it still cannot answer.

Suggest a correction

Continue reading