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 5 · TREC and the 2026 tracks · Chapter 23

What TREC is, and why it matters

In one sentence: TREC, the Text REtrieval Conference, is a yearly evaluation run by the US National Institute of Standards and Technology (NIST) in which research teams test their search and AI systems on the same data, under the same rules, and are scored by a neutral referee.

Why you should care

Anyone can say “our system is better”. TREC is one of the places where that claim gets tested fairly. For a student it is also one of the few places where an undergraduate project and a large company's system answer the same questions and appear in the same table.

Words you need

NIST
The National Institute of Standards and Technology, a US government science agency. It works on measurement: how to measure something fairly and in a way others can repeat.
Track
One themed competition inside TREC, with its own tasks, data and organizers.
Topic
One question or information need in a track's test set.
Run
One file of system output for all topics of a task.
Test collection
Documents, topics and relevance judgments together. With these three things, anyone can score a system later.
Relevance judgment
A person's decision that a document does or does not answer a topic.
Pooling
Judging only the documents that the submitted systems ranked highly, because nobody can judge a whole collection.
Assessor
A person, trained by NIST, who makes the relevance judgments.
Notebook paper
The paper each team writes before the workshop to describe what it did.

Core The idea

TREC started in 1992. It is co-sponsored by NIST and the US Department of Defense, and it began as part of a government research program called TIPSTER. TREC 2026 is the 35th edition.

The name says “conference”, but TREC is better understood as a yearly exam for systems, followed by a workshop where everyone compares notes. Nobody wins a prize. The point is to learn what works.

One TREC year

  1. 1CallNIST announces the tracks. Teams register, usually in spring.spring
  2. 2DataOrganizers release the document collection, development data and then the test topics.summer
  3. 3RunsTeams run their systems on the test topics and upload runs before the deadline. They do not know the right answers.late summer
  4. 4JudgingNIST pools the results. Assessors, and now also automatic judges, score them.autumn
  5. 5ScoresEach team gets its own scores and the track's statistics, such as the median.autumn
  6. 6WorkshopTeams write notebook papers and present what they learned.November

TREC's four goals

NIST states four goals. In short:

  1. Encourage research based on large test collections.
  2. Increase communication among industry, universities and government.
  3. Speed up the move of technology from research labs into products.
  4. Make good evaluation methods available to everyone.

The key trick: a blind test with a neutral referee

Three things make a TREC result trustworthy:

  • Everyone gets the same questions and the same documents. So a difference in score comes from the system, not from the data.
  • Teams submit before the answers exist. You cannot tune your system to the test, even by accident.
  • The judge is not a competitor. NIST and the track organizers do the judging. The team that built a system does not grade it.

Chapter 22 comes back to these three points. Most broken experiments break one of them.

Why TREC is important

It made search better

NIST reports that retrieval effectiveness about doubled in the first six years of TREC, and that most commercial search engines include technology first developed there.

It paid for itself

An economic study prepared for NIST in 2010 credited TREC-related improvements with about one third of the advances in web search between 1999 and 2009. It estimated a return of roughly three to five dollars for each dollar invested.

It opened new fields

TREC ran the first large evaluations of open-domain question answering, of retrieval in Spanish and Chinese, of speech recordings and of video search. Question answering at TREC is a direct ancestor of today's RAG track.

Its data outlives it

The test collections and scoring software are public. Researchers still test new systems on collections built years ago, so results stay comparable over time.

There is one more reason, and it matters most for AI today. Language models are now good enough that their answers sound right whether or not they are. A fluent answer cannot be checked by reading it once. Fair, careful evaluation is the scarce thing, and that is what TREC produces.

TREC in 2026

TREC 2026 has seven tracks on its submission system: RAG, RAGTIME (multilingual reports), AutoJudge, Change Detection, Video Question Answering, Million LLM and User Simulation. This book covers the first five, the ones we entered.

Two changes are visible across the tracks. First, the systems being tested are no longer only search engines. They write answers and reports, and they answer questions about video. Second, part of the judging is itself done by language models, which is why a track now exists to evaluate the judges (Chapter 21).

Watch and read

The “three to five dollars” figure is from NIST's summaries of the RTI report. We have not yet read the full report to confirm the exact range.

How we did it at TREC 2026

Team iastate registered for five tracks and submitted 55 runs to 10 tasks. The list is in Our TREC 2026 in five minutes. Three habits from this year are worth copying:

  • Write the plan before the results. In several tracks we recorded which run was the primary one and what we expected, before any score arrived. A prediction you wrote down is worth more than an explanation you found afterwards.
  • Plan pairs of runs. A track lets you send several runs. We used them as experiments: two runs that differ in one thing. One of those pairs failed as an experiment because two things differed. That story is in The 2026 shift.
  • Keep the track's rules about data. Scores marked preliminary stay out of public pages. Development data is for building, and test data is never used to tune.

Try it

  1. Open the TREC overview page. Find the sentence that describes pooling. Explain in two sentences why NIST does not judge every document.
  2. Pick one 2026 track from its home page. Write down: the task in one sentence, the document collection, the deadline, and how runs are scored.
  3. Discuss: a company reports that its new model beats all others on the company's own test. Which of the three protections of a blind test is missing?

Check yourself

  1. Who runs TREC, and what kind of organization is it?
  2. What three things make up a test collection?
  3. Why must teams submit runs before the judgments exist?
  4. What is pooling, and what problem does it solve?
  5. Name two reasons TREC results are still useful years later.
Answers
  1. NIST, a US government agency for measurement science, with co-sponsorship from the Department of Defense.
  2. Documents, topics and relevance judgments.
  3. So that no system can be tuned to the test answers, on purpose or by accident.
  4. Only the top documents of the submitted runs are judged. It makes judging possible on collections far too large to read in full.
  5. The collections and scoring tools are public, so new systems can be scored on old data, and all past results were produced under the same rules.

Go deeper

  • The Cranfield method. The idea of a fixed collection, fixed topics and relevance judgments comes from experiments at Cranfield, England, in the 1960s. TREC scaled it up to collections too large to judge in full, and pooling is what made that possible.
  • The weakness of pooling. A document that no submitted system retrieved is never judged. A new kind of system that finds such documents can be scored unfairly low. This matters again in 2026, when retrieval lists have no fixed length (Chapter 10).
  • Who judges the judges? When language models do part of the judging, the judge can prefer systems that resemble it. Chapter 21 covers how the Auto-Judge track measures this.
  • Project idea. Take an old TREC collection with public judgments. Score a modern system on it, and count how many of its top ten documents were never judged.