Skip to content

Ragnarök: A Reusable RAG Framework and Baselines for TREC 2024 Retrieval-Augmented Generation Track

optionalcorefrontierpaperrubric 12/122024 · ~45 min

Ronak Pradeep, Nandan Thakur, Sahel Sharifymoghaddam, …, Jimmy Lin

Status

TL;DR. The TREC RAG Track (2024–) is the main shared test bed for RAG evaluation. Ragnarök (2406.16828) supplies its infrastructure: a deduplicated, segmented MS MARCO V2.1 corpus, a BM25 → RankZephyr baseline, a JSON answer format with sentence-level citations, and dev topics. Evaluation has three parts: retrieval relevance (UMBRELA plus NIST), answer nugget recall (AutoNuggetizer), and citation support. The 2025 overview (2603.09891) adds narrative queries, sub-narrative graded relevance, a coverage metric and a Relevance Judgment task.

Why it matters now. Most RAG and deep-research benchmarks pick one of these layers. TREC is where all three are measured on the same runs, with human checks for each. The design choices in this page are the vocabulary for the open problems in agentic search evaluation.

Infrastructure (Ragnarök). MS MARCO V2 is deduplicated with LSH/MinHash, which removes 8.35% of documents (11,959,635 → 10,960,555). The documents are then cut into overlapping segments with a 10-sentence window and a 5-sentence stride, giving 113,520,750 segments with character offsets. The baseline retrieves the top 100 with BM25 (Anserini, k1=0.9k_1 = 0.9, b=0.4b = 0.4) and re-ranks with RankZephyr. The top 20 go to the generator, and the output is JSON: references (ordered segment IDs), answer (sentences, each with citation indices) and response_length. The dev topics are TREC-RAGgy 2024 (120 of 210 DL21–23 topics) and TREC-Researchy 2024 (a diversity-sampled subset of Researchy Questions).

Tasks. Retrieval (R): return the top 100 segments. Augmented generation (AG): answer from a fixed baseline top-k. RAG: end to end with any pipeline. 2025 adds Relevance Judgment (RJ): submit relevance labels. Answers are capped at 400 words.

Support (citation) metrics (2025 overview, following Liu et al. 2023). Each (sentence aia_i, cited segment djd_j) pair gets s(ai,dj)∈{1,0.5,0}s(a_i,d_j) \in \{1, 0.5, 0\} for full, partial or no support. A sentence with no citations counts as no support. Then

wP=∑(ai,dj)s(ai,dj)#{(ai,dj) cited pairs},wR=∑(ai,dj)s(ai,dj)#{sentences}.\text{wP} = \frac{\sum_{(a_i,d_j)} s(a_i,d_j)}{\#\{(a_i,d_j)\ \text{cited pairs}\}}, \qquad \text{wR} = \frac{\sum_{(a_i,d_j)} s(a_i,d_j)}{\#\{\text{sentences}\}}.

In the overview’s example, a1a_1 cites p1p_1 (partial), a2a_2 cites p2p_2 (full) and a3a_3 cites nothing: wP = 1.5/2 = 0.75 and wR = 1.5/3 = 0.5.

Implementation note. The overview does not disambiguate how multiple citations on one sentence aggregate in wR: read literally, a sentence with two fully supporting citations contributes 2, so wR can exceed 1. Common choices are the maximum or the mean over a sentence’s citations; report the rule your implementation uses.

Three evaluation layers of a TREC RAG run A narrative goes to a system that outputs a ranked list of segments and a JSON answer whose sentences cite segment IDs. Three evaluation layers branch off. Relevance: retrieved segments are graded 0 to 4 by sub-narrative coverage, by NIST or an LLM assessor, scored with nDCG and recall. Nuggets: vital and okay nuggets from relevant segments are assigned to the answer, scored with strict vital recall and sub-narrative coverage. Support: each sentence and cited segment pair is graded full, partial or no support, scored with weighted precision and weighted recall. narrative 2–3 sentences R / AG / RAG run MS MARCO V2.1 segments ranked segments (top 100) JSON answer: sentences + citations (≤ 400 words) Relevance segment graded 0–4 (# sub-narratives covered) NIST · UMBRELA-style LLM ensemble · RJ task nDCG@30/100, R@100 Nuggets vital / okay nuggets from segments graded ≥ 1 assigned: S / PS / NS mapped to sub-narratives V_strict · coverage Support each (sentence, cited segment) full 1 · partial 0.5 · none 0 uncited sentence = none GPT-OSS 120B or NIST weighted P / R Each layer has human and automatic conditions; agreement is reported as run-level Kendall τ between the system rankings.
Original sketch. One TREC RAG run is evaluated on three layers: retrieved segments by graded relevance, the answer by nugget recall (and in 2025 sub-narrative coverage), and each sentence–citation pair by support. Each layer has a human condition and an LLM condition.

2024. There were 93 RAG runs (20 groups) and 53 AG runs (11 groups). NIST judged 31 RAG and 14 AG runs; nugget results are on AutoNuggetizer. Support evaluation covered 45 submissions on 36 topics.

2025 (2603.09891). 105 narratives. Submissions: 46 retrieval runs from 12 groups, 51 RAG runs from 16 groups, 25 AG runs from 9 groups and 36 RJ runs from 5 groups. NIST judged 22 narratives chosen by the assessors (17 for support evaluation). Automatic relevance labels came from an ensemble (GPT-4.1, Gemini 2.5 Pro, Qwen3 Thinking 32B, GPT-OSS 20B/120B). Nuggets were produced by several LLMs and merged by GPT-4.1, which is the explicit dedup step missing in 2024. Assignment used GPT-4.1 and automatic support judging used GPT-OSS 120B. On strict vital recall, agreement with the fully manual condition rises from fully automatic, to AutoNuggetizer with NIST qrels, to post-edited nuggets with automatic assignment. The τ values appear only in figures, so they are not quoted here.

  • One corpus, Bing-derived topics. MS MARCO V2.1 is a 2021-era web crawl. Narratives are LLM-expanded query clusters and do not come from real users with these needs.
  • Small human samples. 22 narratives in 2025 gives wide confidence intervals for close runs (see statistics and judge calibration).
  • Same judges inside and outside. Many participants use the same LLM families that build the automatic qrels and nuggets. The circularity concern from Clarke and Dietz applies.
  • Agentic runs are not yet first-class. Trajectories, search cost and the queries an agent issued are not part of the official evaluation.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    An answer has four sentences. Sentence 1 cites p1 (full support) and p2 (no support); sentence 2 cites p3 (partial support); sentence 3 has no citations; sentence 4 cites p1 (full support). Compute TREC 2025 weighted citation precision and weighted recall, then explain why the two denominators reward different behaviours.

    What a strong answer covers
    • Precision is averaged over (sentence, citation) pairs: (1 + 0 + 0.5 + 1)/4 = 0.625.
    • Recall divides by the number of sentences. The literal formula sums all pair scores: (1 + 0 + 0.5 + 1)/4 = 0.625. Taking each sentence's best citation gives (1 + 0.5 + 0 + 1)/4, also 0.625 here. With two fully supporting citations on one sentence the literal sum could exceed 1 per sentence, so an implementation must fix the per-sentence aggregation; the overview's example has one citation per sentence.
    • A sentence with zero citations counts as No Support and lowers recall but not precision, so omitting citations is penalised only on recall.
    • Adding extra weak citations lowers precision but cannot lower recall, so precision guards against citation spam and recall against uncited claims.
  2. Mechanism

    TREC 2025 replaced short queries with 2–3 sentence narratives and graded relevance on a 0–4 scale by the number of sub-narratives a segment covers in detail. Explain how sub-narratives connect relevance assessment, nugget evaluation and a coverage metric, and what failure of 2024 nugget evaluation this design targets.

    What a strong answer covers
    • Sub-narratives are built semi-automatically (GPT-4.1 nano drafts, GPT-4.1 refines, humans review and post-edit) and carry vital or okay importance.
    • Relevance: 1 = related but no sub-narrative; 2 = one sub-narrative in detail; 3 = two or three; 4 = four or more. So relevance measures facet coverage, not topical match alone.
    • Nuggets extracted from segments graded ≥ 1 are mapped to sub-narratives; a sub-narrative is covered if at least one mapped nugget is fully supported by the answer.
    • This gives a facet-coverage score next to strict vital recall, targeting answers that hit many nuggets from one facet while missing other parts of a multi-part need.
  3. Critique

    The AG task fixes retrieval by giving every team the same baseline top-k segments, while the RAG task lets teams bring their own retrieval. In TREC 2024, RAG submissions did not generally outperform AG submissions. List at least three explanations other than "retrieval does not matter", and say which data would separate them.

    What a strong answer covers
    • The baseline (BM25 top-100 then RankZephyr, top-20 kept) may already be strong for these topics, so better retrieval has little headroom.
    • Nugget sets come from pooled segments, which include the baseline's results; answers grounded in the baseline list may match the nuggets more easily (pool bias).
    • Generators may not use extra or different evidence well; this is a generator limit, not evidence that retrieval is irrelevant.
    • Recall-only nugget scores do not reward precision or citation quality, where better retrieval may help most.
    • Separating them needs per-run retrieval quality (nDCG or recall of nugget-bearing segments) crossed with answer scores, and an oracle-evidence condition.
  4. What if…

    The 2025 overview compares fully manual response evaluation (post-edited nuggets, manual assignment) with three cheaper conditions. Using the overview's qualitative findings, rank the conditions by agreement on strict vital recall, explain which component each comparison isolates, and say why sub-narrative coverage behaves differently.

    What a strong answer covers
    • Fully automatic (auto qrels, auto nuggets, auto assignment) shows the most scatter and the weakest agreement.
    • AutoNuggetizer with NIST qrels reduces scatter, which isolates the value of human relevance labels for choosing which segments get nuggetized.
    • Post-edited nuggets with automatic assignment agrees most; this isolates assignment and matches the 2024 finding that nugget creation is the bigger error source.
    • For sub-narrative coverage, automatic assignment lowers point-level scatter but can still reduce run-level τ, because coverage is a thresholded (any fully supported nugget) score that is sensitive to borderline full vs partial labels.
    • Exact τ values are only given in figures, so cite the direction, not numbers.
  5. Design

    You are adding a deep-research task to a TREC-style track: agents browse a fixed corpus and write 1,500-word reports with citations. Using Ragnarök and the 2024–25 evaluation as the starting point, specify the corpus and answer format, the pooling strategy, the answer metrics, and what you would report so the collection is reusable.

    What a strong answer covers
    • Corpus: fixed, deduplicated, segmented with stable IDs and character offsets (as with MS MARCO V2.1) so citations are machine-checkable; provide a search API so agents use the same index.
    • Answer format: JSON with references and per-sentence citations, as Ragnarök specifies; log the agent's trajectory (queries issued, segments opened).
    • Pooling: pool cited and opened segments across runs; judge with sub-narrative graded relevance plus a calibrated LLM assessor and stratified human checks.
    • Metrics: strict vital recall plus sub-narrative coverage, weighted citation precision and recall, and length; possibly a precision-like penalty for unsupported claims.
    • Reusability: release qrels, nuggets and judge prompts, test leave-one-group-out pool bias, and report run-level and top-k τ between automatic and human conditions.
  6. Research idea

    TREC 2025 added a Relevance Judgment task, and the best submitted judges agreed with NIST labels on only 30–34% of items on the 0–4 scale. Propose a study to determine whether that low exact agreement matters for ranking retrieval runs, and what would make the RJ task a reliable benchmark for LLM assessors.

    What a strong answer covers
    • Exact agreement on a five-point scale is a strict measure; compute off-by-one agreement, binary agreement at several thresholds, and Cohen κ (the best κ reported is 0.21).
    • Score the retrieval runs with each RJ submission's labels and compute run-level and top-k Kendall τ with NIST-based rankings; low label agreement can coexist with high ranking agreement.
    • Measure human–human agreement on a sample to set a ceiling.
    • Test circularity by checking whether retrieval runs that use the same model family as a judge gain under that judge's labels.
    • A reliable RJ benchmark needs per-grade calibration, a human ceiling and rank-agreement targets, not exact-match accuracy alone.

Done with this page?

Status