ContentsRAG from Scratch to TRECAdisak Sukul · Iowa State University

Start here

Part 1 · Foundations

Part 2 · Finding the evidence

Part 3 · Writing the answer

Part 4 · Judging RAG

Part 5 · TREC and the 2026 tracks

Part 6 · Case studies: our submissions

Part 7 · Beyond text: video

Part 8 · Streams and advanced RAG

Back matter

Part 3 · Writing the answer · Chapter 13

How much evidence to show the model

In one sentence: you choose how many documents the model sees and how much of each one, and more text gives the model more facts to use, more to pay for, and more to get lost in.

Why you should care

Modern models accept very long inputs, so it is tempting to send everything. But the bill grows with every token, the call gets slower, and research shows that models use long inputs unevenly. This chapter is about the one experiment in our RAG submission that was designed to answer a question: does more evidence help?

Words you need

Context window
The most text a model can take in at once, counted in tokens.
Input tokens
The tokens you send. You pay for each one on every call.
Snippet
A short piece of a document, such as its first 500 characters.
Full text
The whole document, or a long part of it.
Evidence budget
How much text in total you decide to send.
Lost in the middle
The finding that models use facts at the start and end of a long input better than facts in the middle.
Paired runs
Two runs built to differ in one thing only, so a difference in score can be traced to it.

Core The idea

The evidence budget has two dials.

DialTurn it upTurn it down
How many documentsMore sides of the topic, and more off-target textCleaner input, and a higher chance that a key document is missing
How much of each documentFacts from deep inside a document become usableThe model sees only the opening lines, which may be a title and a greeting

Three forces push against “send everything”:

  • Cost and time. Ten times the input is about ten times the input bill, on every call.
  • Uneven attention. Studies find that accuracy falls as inputs grow, and that facts in the middle of a long input are used less.
  • Noise. Off-target passages can pull the answer off course.

And one force pushes for it: a fact the model never sees cannot appear in the answer. If the scoring rewards covering many key facts, missing text is costly.

No rule settles this in advance. It depends on the model, the documents and the scoring. So you measure, and the clean way to measure is a pair of runs that differ only in the evidence.

Watch and read

For the video we confirmed that the link opens and the title and channel match. We have not watched it through.

How we did it at TREC 2026

Our two first-priority RAG runs are a pair. Same model, same prompt, same 100 documents for each narrative. One saw a snippet of each document. The other saw up to 1,000 words of each.

isu-cov2-gpt5miniisu-cov2-ft
Modelgpt-5-minigpt-5-mini
Documents per narrative100100, the same ones
Text of each documentFirst 500 charactersUp to 1,000 words
Evidence words per narrative, mean7,87290,099
Input tokens per call, mean11,416112,305

The second run reads about eleven times as much text and costs about ten times as many input tokens.

What the official scores say

Human assessors at NIST compared answers side by side, for these two runs only. The result is a rating for each run, where higher is better.

Human preference ratingSnippetsFull textField median
Batch 1, 17 narratives1126.11141.71048.7
Batch 2, 25 narratives1080.91087.71024.8

Both runs are rated above the field median in both batches. The full-text run is a little higher each time, but the uncertainty ranges of the two runs overlap. The human judgments do not separate them.

The automatic scores count how many key facts each answer fully supports, as decided by a language model.

Share of vital facts coveredSnippetsFull textField median
Rubrics written by assessors, 17 narratives0.87350.88040.7157
Nuggets written by assessors, 25 narratives0.62990.65630.4879
Nuggets made by AutoNuggetizer, 25 narratives0.25900.37270.1547

Official scores for the TREC 2026 RAG task. Source: the RAG generation tab of our results dashboard and the RAG talk, “Does More Evidence Help?”.

Full text is higher on every automatic score. Only one of the three separates the runs clearly: with the automatically made nuggets, the full-text run is higher on 21 of 25 narratives (sign test p = 0.0003). On the assessors' rubrics the two runs tie on most narratives, because both are already near the top of that scale.

So, does more evidence help? Our fair answer is: a little, by automatic scoring, at ten times the input cost, and not by an amount that human assessors could see.

What surprised us

Our clean pair was not clean. When we checked the evidence files after the results came in, we found a second difference. The snippet run saw its 100 documents in the order of one reranker. The full-text run saw the same documents in the order of the other reranker. Our own run description said the two runs used the same evidence pool, and that was true of the documents and not of their order. Since models use the start and end of a long input best, order may matter. The comparison therefore tests longer text and a different order together, and we cannot split the two. We found this only because we rebuilt the facts from the files and did not trust our own notes.

There is a second caution. Before the results, two language-model judges had compared earlier versions of these two runs for us, and they preferred the full-text run strongly, on 92% and 97% of the narratives where they had a clear preference. The human assessors saw no such gap. Automatic judges can be far more confident than people. Part 4 is about that.

Try it

  1. Take five questions and their top 20 documents. Generate answers three times: with the first 200 characters of each document, the first 2,000, and the whole document.
  2. Record the input tokens for each call. Work out the cost at a current price list.
  3. For each answer, list the facts it states. Which facts appear only in the long version? Were they worth the price?
  4. Reverse the order of the documents and generate again. Does the answer change?

Check yourself

  1. What are the two dials of the evidence budget?
  2. Give two reasons not to send everything.
  3. In our pair, which score separated the two runs, and which did not?
  4. What was the second, unplanned difference between the two runs?
  5. Why does that difference matter for what we can conclude?
Answers
  1. How many documents, and how much of each document.
  2. Any two of: cost and time, uneven use of long inputs, noise from off-target text.
  3. The score with automatically made nuggets separated them. The human preference ratings did not.
  4. The order of the documents in the prompt.
  5. Two things changed at once, so the gain cannot be assigned to longer evidence alone.

Go deeper

  • Selecting before sending. A middle path is to pick the best passages from each document, or to let a model choose which documents to keep. Chapter 16 shows this in our RAGTIME runs.
  • Where to put the best documents. Given the lost-in-the-middle finding, some systems place the strongest documents first and last.
  • Why the nugget sets disagree. The automatically made nuggets are many and fine-grained, and scores on them are much lower across the whole field. A fine-grained set may reward detail that only full text holds. This is a guess we cannot yet test.
  • Ceilings. When both runs score near the maximum, a measure cannot separate them. On the assessors' rubrics, some run in the field scored a perfect 1.0 on 16 of the 17 narratives.
  • What we would run next. Four runs, not two: snippets and full text, each in both orders. Then each of the two effects can be read off.
  • Project idea. Run that four-way design on any public RAG test set with nugget scoring.