<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://trec-rag.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://trec-rag.github.io/" rel="alternate" type="text/html" /><updated>2026-08-10T19:26:40+00:00</updated><id>https://trec-rag.github.io/feed.xml</id><title type="html">RAG</title><subtitle>TREC RAG Official Website</subtitle><author><name>RAG</name></author><entry><title type="html">TREC 2025 RAG Baselines and validator script</title><link href="https://trec-rag.github.io/annoucements/2025-baselines/" rel="alternate" type="text/html" title="TREC 2025 RAG Baselines and validator script" /><published>2025-07-23T09:00:00+00:00</published><updated>2025-07-23T09:00:00+00:00</updated><id>https://trec-rag.github.io/annoucements/2025-baselines</id><content type="html" xml:base="https://trec-rag.github.io/annoucements/2025-baselines/"><![CDATA[<h2 id="trec-2025-rag---ag-input-baseline-runs-validator-scripts">TREC 2025 RAG - AG input, baseline runs, validator scripts</h2>

<p>Participants can now begin preparing and validating their generated answers. To assist with this, we’ve also provided some strong baseline models (retrieval -&gt; rerank and retrieval -&gt; rerank -&gt; generate), which has shown promising results with a modified prompt. 
Retrieval baselines for AG (Augmented Generation) tasks can be found <a href="https://github.com/castorini/ragnarok_data/tree/main/rag25/retrieve_results/MISC">here</a>. More instructions of these can be found <a href="https://github.com/castorini/ragnarok/blob/main/docs/rag25.md">here</a>.</p>

<p>For those working with AG (Augmented Generation) and RAG (Retrieval-Augmented Generation) tasks, a validator script has been included in the Ragnarök repository. This script will help verify that your generated answers meet the submission criteria. Make sure to carefully review the warning and error logs generated during the validation process to avoid common pitfalls such as sentence drops, duplicate citations, etc.</p>

<p>We encourage participants to start preparing soon as the deadline is August 17th AOE. Detailed instructions for generating and validating submissions can be found in <a href="https://github.com/castorini/ragnarok/blob/main/docs/rag25.md">Ragnarök</a>.</p>

<p>May the force be with you,
The TREC 2025 RAG Organizers</p>]]></content><author><name>RAG</name></author><category term="Annoucements" /><category term="TREC 2025" /><category term="Baselines" /><category term="Submissions" /><category term="Validation" /><summary type="html"><![CDATA[TREC 2025 RAG - AG input, baseline runs, validator scripts]]></summary></entry><entry><title type="html">TREC 2025 RAG Topics Released</title><link href="https://trec-rag.github.io/annoucements/2025-topics-released/" rel="alternate" type="text/html" title="TREC 2025 RAG Topics Released" /><published>2025-07-11T15:00:00+00:00</published><updated>2025-07-11T15:00:00+00:00</updated><id>https://trec-rag.github.io/annoucements/2025-topics-released</id><content type="html" xml:base="https://trec-rag.github.io/annoucements/2025-topics-released/"><![CDATA[<h2 id="the-trec-2025-rag-competition-is-now-live">The TREC 2025 RAG Competition is Now Live!</h2>

<p>We’re excited to announce the official launch of the TREC 2025 RAG competition!
Our set of 105 RAG test narratives is now available and will be used for this year’s challenge:</p>
<ul>
  <li>RAG 2025 Topics: <a href="/assets/jsonl/trec_rag_2025_queries.jsonl">trec_rag_2025_queries.jsonl</a></li>
</ul>

<p>We encourage you to review the <a href="https://trec-rag.github.io/annoucements/2025-track-guidelines/">track-guidelines</a> before submitting your runs.</p>

<p>May your systems conquer the twists and turns of our narratives — let the competition begin!</p>

<p>Regards,</p>

<p>The TREC 2025 RAG Organizers</p>]]></content><author><name>RAG</name></author><category term="Annoucements" /><category term="TREC 2025" /><category term="Topics" /><summary type="html"><![CDATA[The TREC 2025 RAG Competition is Now Live!]]></summary></entry><entry><title type="html">TREC 2025 RAG Track Guidelines</title><link href="https://trec-rag.github.io/annoucements/2025-track-guidelines/" rel="alternate" type="text/html" title="TREC 2025 RAG Track Guidelines" /><published>2025-06-27T00:00:00+00:00</published><updated>2025-06-27T00:00:00+00:00</updated><id>https://trec-rag.github.io/annoucements/2025-track-guidelines</id><content type="html" xml:base="https://trec-rag.github.io/annoucements/2025-track-guidelines/"><![CDATA[<blockquote>
  <p>Version 2.0. Last Updated: Aug 13, 2025</p>
</blockquote>

<p>Participating teams will receive both the MS MARCO V2.1 document &amp; segment collection and a list of topic descriptions.
For each topic, participants have the choice to participate in either all or any of three tasks following last year’s format. For the Retrieval Track (R), participating systems would provide a ranked list of segment IDs retrieved from the MS MARCO V2.1 segment collection. Next, for tracks with Augmented Generation (AG &amp; RAG), participating systems would generate an answer description (containing upto a maximum of 400 words) broken into individual sentences with citations from the MS MARCO V2.1 segment collection.</p>

<blockquote>
  <p>Participate in our RAG Track by registering for TREC at this <a href="https://trec.nist.gov">website</a>.</p>
</blockquote>

<h1 id="tasks-overview">Tasks Overview</h1>

<h2 id="retrieval-task-r">Retrieval Task (R)</h2>
<p>The retrieval task as the name suggets is an ad-hoc information retrieval task similar to the previous <a href="https://microsoft.github.io/msmarco/TREC-Deep-Learning.html">TREC Deep Learning Track</a>. Participating systems will receive a list of topics and the MS MARCO V2.1 segment collection. For each topic, the system needs to return the TREC runfile containing the ranked list containing the top 100 relevant segment IDs from the collection. The topics provided will be non-factoid 2-3 sentence long description and require long-form answer generation.</p>

<blockquote>
  <p>The “R” track emulates the previous year’s TREC R task and TREC-DL 2022/2023 tracks is for the IR audience, however, the main difference lies in using document <em>chunks</em> from the MS MARCO V2.1 segment collection instead of the MS MARCO v2.0 passage collection.</p>
</blockquote>

<h3 id="input-format-topics">Input Format (Topics)</h3>

<p>List of queries as topics as JSONL: &lt;<code class="language-plaintext highlighter-rouge">trec_rag_2025_queries.jsonl</code>&gt;, with each line containing the id and a topic of 2-3 sentences long narrative description.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># Example of `trec_rag_2025_queries.jsonl`</span>
...
<span class="o">{</span><span class="s2">"id"</span>: <span class="s2">"1"</span>, <span class="s2">"title"</span>: <span class="s2">"I'm trying to understand how the Industrial Revolution began, what caused it, and how it changed societies, economies, and populations in different countries. I'm also interested in the roles of key figures like Henry Ford, the impact of technological advancements, and how industrialization connects to topics like urbanization, migration, and modern innovations such as robotics and extended reality."</span><span class="o">}</span>
<span class="o">{</span><span class="s2">"id"</span>: <span class="s2">"2"</span>, <span class="s2">"title"</span>: <span class="s2">"I'm trying to understand how prisons operate, including issues like inmate rights, rehabilitation, voting, and the impact of race and profit motives on incarceration. Can you explain how correctional facilities address mental health, discipline, and recidivism, and also discuss the ethical and legal challenges inmates face?"</span><span class="o">}</span>
...
</code></pre></div></div>

<h3 id="input-format-segments">Input Format (Segments)</h3>

<p>MS MARCO v2.1 segment collection as JSONL: &lt;<code class="language-plaintext highlighter-rouge">msmarco_v2.1_doc_segmented_XX.json.gz</code>&gt;, each segment is present in the JSON format on each line. The fields present are:</p>
<ul>
  <li>docid (string): The segment ID for the MS MARCO v2.1 segment (Note: ID before “#” is the mapped document ID)</li>
  <li>url (string): The url of the segment available on the webpage (same as the document)</li>
  <li>title (string): The title of the segment or chunk (same as the document)</li>
  <li>headings (string): The headings available in the segment or chunk (same as the document)</li>
  <li>segment (string): The complete text of the segment or chunk</li>
  <li>start_char (integer): The start character of the segment or chunk in the mapped document</li>
  <li>end_char (integer): The end character of the segment or chunk in the mapped document</li>
</ul>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1"># Example of `msmarco_v2.1_doc_segmented_XX.json.gz`
</span><span class="p">...</span>
<span class="p">{</span>
    <span class="s">'docid'</span><span class="p">:</span> <span class="s">'msmarco_v2.1_doc_52_1274794243#7_2564847343'</span><span class="p">,</span>
    <span class="s">'url'</span><span class="p">:</span> <span class="s">'https://www.sociologygroup.com/industrial-revolution/'</span><span class="p">,</span>
    <span class="s">'title'</span><span class="p">:</span> <span class="s">'Industrial Revolution: Causes, Impact and Overview'</span><span class="p">,</span>
    <span class="s">'headings'</span><span class="p">:</span> <span class="s">'Industrial Revolution: Causes, Impact and Overview</span><span class="se">\n</span><span class="s">Industrial Revolution: Causes, Impact and Overview</span><span class="se">\n</span><span class="s">Table of Contents</span><span class="se">\n</span><span class="s">HOW DID THE INDUSTRIAL REVOLUTION START</span><span class="se">\n</span><span class="s">The impacts of the Industrial Revolution</span><span class="se">\n</span><span class="s">IMPACT ON TECHNOLOGY</span><span class="se">\n</span><span class="s">IMPACT ON ECONOMY</span><span class="se">\n</span><span class="s">IMPACT ON SOCIETY</span><span class="se">\n</span><span class="s">IMPACT ON INDIAN SOCIETY</span><span class="se">\n</span><span class="s">EMERGENCE OF SOCIOLOGY AS A DISCIPLINE</span><span class="se">\n</span><span class="s">About Meera</span><span class="se">\n</span><span class="s">'</span><span class="p">,</span>
    <span class="s">'segment'</span><span class="p">:</span> <span class="s">'It also started agricultural trading with other countries of the continent, thus leading the country into a better financial position. The rise in population also meant an increase in demand for different other goods too. The country now was demanded to produce more output from the textile industry. This led to the need for more advancement in the textile industry of Britain. The advancements that thereby occurred in the textile industry turned out to be the chief reason for the industrial revolution. Through inventions like that of ‘Flying shuttle’ and ‘Spinning Jenny’, the textile industry of Britain became immensely advanced. The increase in population gradually led to the need for more employment. Peasant who earlier worked in rural fields thus started enclosure movement, migrating to cities in search of job. As urban centres could offer better living and employment conditions, the number of people migrating to cities saw an increase, thus leading to urbanization. With better labour force and mechanization, factories grew.'</span><span class="p">,</span>
    <span class="s">'start_char'</span><span class="p">:</span> <span class="mi">3926</span><span class="p">,</span>
    <span class="s">'end_char'</span><span class="p">:</span> <span class="mi">4968</span>
<span class="p">},</span>
<span class="p">{</span>
    <span class="s">'docid'</span><span class="p">:</span> <span class="s">'msmarco_v2.1_doc_00_378699409#2_708658780'</span><span class="p">,</span>
    <span class="s">'url'</span><span class="p">:</span> <span class="s">'http://apworldipedia.com/index.php?title=AP_Worldipedia'</span><span class="p">,</span>
    <span class="s">'title'</span><span class="p">:</span> <span class="s">'AP Worldipedia - AP Worldipedia'</span><span class="p">,</span>
    <span class="s">'headings'</span><span class="p">:</span> <span class="s">'AP Worldipedia</span><span class="se">\n</span><span class="s">AP Worldipedia</span><span class="se">\n</span><span class="s">AP World History: Modern: Course Content</span><span class="se">\n</span><span class="s">1200 to 1450</span><span class="se">\n</span><span class="s">1450 to 1750</span><span class="se">\n</span><span class="s">1750 to 1900</span><span class="se">\n</span><span class="s">The Legacy (old) Course</span><span class="se">\n</span><span class="s">How to Write Articles</span><span class="se">\n</span><span class="s">'</span><span class="p">,</span>
    <span class="s">'segment'</span><span class="p">:</span> <span class="s">'Causes and Events from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.3 The Columbian Exchange</span><span class="se">\n</span><span class="s">Topic 4.4 Maritime Empires Established</span><span class="se">\n</span><span class="s">Topic 4.5 Maritime Empires Maintained and Developed</span><span class="se">\n</span><span class="s">Topic 4.6 Internal and External Challenges to State Power from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.7 Changing Social Hierarchies 1450 to 1750</span><span class="se">\n</span><span class="s">1750 to 1900</span><span class="se">\n\n</span><span class="s">Unit 5 Revolutions</span><span class="se">\n</span><span class="s">Topic 5.1 The Enlightenment</span><span class="se">\n</span><span class="s">Topic 5.2 Nationalism and Revolutions</span><span class="se">\n</span><span class="s">Topic 5.3 Industrial Revolution Begins</span><span class="se">\n</span><span class="s">Topic 5.4 Industrialization Spreads</span><span class="se">\n</span><span class="s">Topic 5.5 Technology of the Industrial Age</span><span class="se">\n</span><span class="s">Topic 5.6 Industrialization: Government’s Role</span><span class="se">\n</span><span class="s">Topic 5.7 Economic Developments and Innovations in the Industrial Age</span><span class="se">\n</span><span class="s">Topic 5.8 Reactions to the Industrial Economy</span><span class="se">\n</span><span class="s">Topic 5.9 Society and the Industrial Age</span><span class="se">\n\n</span><span class="s">Unit 6 Consequences of Industrialization</span><span class="se">\n</span><span class="s">Topic 4.1 Technological Innovations from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.2 Exploration: Causes and Events from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.3 The Columbian Exchange</span><span class="se">\n</span><span class="s">Topic 4.4 Maritime Empires Established</span><span class="se">\n</span><span class="s">Topic 4.5 Maritime Empires Maintained and Developed</span><span class="se">\n</span><span class="s">Topic 4.6 Internal and External Challenges to State Power from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.7 Changing Social Hierarchies 1450 to 1750</span><span class="se">\n</span><span class="s">The Legacy (old) Course</span><span class="se">\n\n</span><span class="s">Period 1: 8000 BCE to 600 BCE</span><span class="se">\n</span><span class="s">Key Concept 1.1 Big Geography and the Peopling of the Earth</span><span class="se">\n</span><span class="s">Key Concept 1.2 The Neolithic Revolution and Early Agricultural Societies</span><span class="se">\n</span><span class="s">Key Concept 1.3 The Development and Interaction of Early Agricultural, Pastoral and Urban Societies</span><span class="se">\n\n</span><span class="s">Period 4: 1450 to 1750</span><span class="se">\n</span><span class="s">Key Concept 4.1 Globalizing Networks of Communication and Exchange</span><span class="se">\n</span><span class="s">Key Concept 4.2 New Forms of Social Organization and Modes of Production</span><span class="se">\n</span><span class="s">Key Concept 4.3 State Consolidation and Imperial Expansion</span><span class="se">\n\n</span><span class="s">Period 2: 600 CE to 600 CE</span><span class="se">\n</span><span class="s">Key Concept 2.1 The Development and Codification of Religious and Cultural Traditions</span><span class="se">\n</span><span class="s">Key Concept 2.2 The Development of States and Empires</span><span class="se">\n</span><span class="s">Key Concept 2.3 Emergence of Transregional Networks of Communication and Exchange</span><span class="se">\n\n</span><span class="s">Period 5: 1750 to 1900</span><span class="se">\n</span><span class="s">Key Concept 5.1 Industrialization and Global Capitalism</span><span class="se">\n</span><span class="s">Key Concept 5.2 Imperialism and Nation-State Formation</span><span class="se">\n</span><span class="s">Key Concept 5.3 Nationalism, Revolution, and Reform</span><span class="se">\n</span><span class="s">Key Concept 5.4 Global Migration</span><span class="se">\n\n</span><span class="s">Period 3: 600 to 1450</span><span class="se">\n</span><span class="s">Key Concept 3.1 Expansion and Intensification of Communication and Exchange Networks</span><span class="se">\n</span><span class="s">Key Concept 3.2 Continuity and Innovation of State Forms and Their Interactions</span><span class="se">\n</span><span class="s">Key Concept 3.3 Increased Economic Productive Capacity and its Consequences</span><span class="se">\n\n</span><span class="s">Period 6: 1900 to Present</span><span class="se">\n</span><span class="s">Key Concept 6.1 Science and the Environment</span><span class="se">\n</span><span class="s">Key Concept 6.2 Global Conflicts and Their Consequences</span><span class="se">\n</span><span class="s">Key Concept 6.3 New Conceptualizations of Global Economy, Society, and Culture</span><span class="se">\n</span><span class="s">How to Write Articles</span><span class="se">\n</span><span class="s">How to Write in WikiText</span><span class="se">\n</span><span class="s">How to put an Image in your Article</span><span class="se">\n</span><span class="s">Grading Rubric for Writing Articles</span><span class="se">\n</span><span class="s">Note: the designations "AP" and "Advanced Placement are property of the College Board which does not endorse this website or have any connection to it.'</span><span class="p">,</span>
    <span class="s">'start_char'</span><span class="p">:</span> <span class="mi">1376</span><span class="p">,</span>
    <span class="s">'end_char'</span><span class="p">:</span> <span class="mi">4212</span>
<span class="p">},</span>
<span class="p">...</span>
</code></pre></div></div>

<h3 id="output-format-ranked-results">Output Format (Ranked Results)</h3>
<p>Participants should provide their output in the standard TREC format containing top-k=<code class="language-plaintext highlighter-rouge">100</code> MS MARCO v2.1 segments as TSV: &lt;<code class="language-plaintext highlighter-rouge">r_output_trec_rag_2025.tsv</code>&gt; for each individual topic. Each set of ranked results for a set of topics appears in a single file. We will take a maximum of 100 results from each participant, more than 100 results will be truncated. Each line of this file contains six whitespace-separated entries:</p>
<ul>
  <li>Topic ID (topic identifier taken from <code class="language-plaintext highlighter-rouge">trec_rag_2025_queries.jsonl</code>)</li>
  <li>The fixed string “Q0”</li>
  <li>Segment ID (from the docid field in <code class="language-plaintext highlighter-rouge">msmarco_v2.1_doc_segmented_XX.json.gz</code>)</li>
  <li>Rank (which is the rank of the segment retrieved)</li>
  <li>Score (integer or float that generated the ranking. This score must be in non-increasing order)</li>
  <li>Run ID (where you mention the ID of the run you are submitting)</li>
</ul>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>...
<span class="c"># Example of how to return the top-100 qrels</span>
1 Q0 msmarco_v2.1_doc_16_1041913392#3_1268938142 1 0.613857 my-run
1 Q0 msmarco_v2.1_doc_14_1198634226#9_2470404444 2 0.606288 my-run
1 Q0 msmarco_v2.1_doc_12_201312571#0_394394285 3 0.605989 my-run
1 Q0 msmarco_v2.1_doc_02_1169633399#2_1963227104 4 0.604151 my-run
1 Q0 msmarco_v2.1_doc_23_947922085#6_2108546861 5 0.596849 my-run
1 Q0 msmarco_v2.1_doc_23_564615817#13_1256293300 6 0.596674 my-run
1 Q0 msmarco_v2.1_doc_20_59107962#5_138816780 7 0.593601 my-run
1 Q0 msmarco_v2.1_doc_24_1126649978#7_2394434427 8 0.590953 my-run
1 Q0 msmarco_v2.1_doc_12_201312571#1_394396180 9 0.590736 my-run
1 Q0 msmarco_v2.1_doc_23_564615817#12_1256290771 10 0.590155 my-run
1 Q0 msmarco_v2.1_doc_13_730347647#3_1661787859 11 0.590002 my-run
1 Q0 msmarco_v2.1_doc_03_952676544#10_1612297487 12 0.589952 my-run
1 Q0 msmarco_v2.1_doc_02_1708666011#1_2905243606 13 0.589917 my-run
1 Q0 msmarco_v2.1_doc_29_6222783#1_12232334 14 0.589259 my-run
1 Q0 msmarco_v2.1_doc_03_1565360904#14_2631260538 15 0.588983 my-run
1 Q0 msmarco_v2.1_doc_16_339852969#2_601767683 16 0.588766 my-run
1 Q0 msmarco_v2.1_doc_05_1682672492#12_3232855509 17 0.588633 my-run
1 Q0 msmarco_v2.1_doc_24_1126649978#8_2394436421 18 0.588606 my-run
1 Q0 msmarco_v2.1_doc_03_952487890#11_1612181372 19 0.587185 my-run
1 Q0 msmarco_v2.1_doc_24_1132995963#0_2408027424 20 0.587181 my-run
...
</code></pre></div></div>

<h2 id="relevance-judgment">Relevance Judgment</h2>
<p>We are introducing an experimental subtask beginning this year. As part of this subtask, participants will have the opportunity to submit their own QREL (relevance judgment) files. To ensure meaningful overlap among submissions, the assessment pool should consist of the top-k=<code class="language-plaintext highlighter-rouge">20</code> scored documents from the baseline runs available <a href="https://github.com/castorini/ragnarok_data/tree/main/rag25/retrieve_results/MISC">here</a>.</p>

<p>Please note that this is an experimental subtask. While we welcome and encourage participation, we do not guarantee that the submitted relevance judgments will be used in the official evaluations.</p>

<h3 id="output-format">Output Format</h3>
<p>Participants should provide their output in the standard TREC format containing MS MARCO v2.1 segments as TSV: &lt;<code class="language-plaintext highlighter-rouge">r_output_trec_rag_2025.tsv</code>&gt; for each individual topic. Each line of this file contains six whitespace-separated entries:</p>
<ul>
  <li>Topic ID (topic identifier taken from <code class="language-plaintext highlighter-rouge">trec_rag_2025_queries.jsonl</code>)</li>
  <li>The fixed string “Q0”</li>
  <li>Segment ID (from the docid field in <code class="language-plaintext highlighter-rouge">msmarco_v2.1_doc_segmented_XX.json.gz</code>)</li>
  <li>Judgment (relevance label for the Segment)</li>
  <li>Confidence score (integer or float for the generated label. Assign all 1 if not applicable.)</li>
  <li>Run ID (where you mention the ID of the run you are submitting)</li>
</ul>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>...
1 Q0 msmarco_v2.1_doc_16_1041913392#3_1268938142 3 1 my-qrel
1 Q0 msmarco_v2.1_doc_12_201312571#0_394394285 2 1 my-qrel
1 Q0 msmarco_v2.1_doc_14_1198634226#9_2470404444 3 1 my-qrel
...
</code></pre></div></div>

<p>Here is the tentative guidelines we will be using for the relevance assessments:</p>
<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>0 - Not relevant
1 - maybe related to the narrative, but doesn<span class="s1">'t answer any part of the narrative
2 - answers 1 part of the narrative
3 - answers 2-3 parts of the narrative
4 - answers 4+ parts of the narrative
</span></code></pre></div></div>

<h2 id="augmented-generation-task-ag">Augmented Generation Task (AG)</h2>

<p>The Augmented Generation task emulates the modern-day RAG task to return the summarized answer ground based on the information available in the pre-determined list of top-k segments provided to the participant.  Participating systems will receive a list of topics, MS MARCO V2.1 segment collection and the ranked list of the top-k relevant segments for each individual topic. The topics provided will be non-factoid and require long-form answer generation.</p>

<blockquote>
  <p>The AG track is for the NLP audience, focused on the generation output and quality. We provide the top-k retrieved segments, which allows the participants to focus on the answer generation quality, by grounding on the set of chunks of segments, and generate an informative &amp; summarized answer.</p>
</blockquote>

<h3 id="input-format-topics-1">Input Format (Topics)</h3>

<p>List of queries as topics as JSONL: &lt;<code class="language-plaintext highlighter-rouge">trec_rag_2025_queries.jsonl</code>&gt;, with each line containing the narrative_id and a 2-3 sentence long description of the topic.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># Example of `trec_rag_2025_queries.jsonl`</span>
...
<span class="o">{</span><span class="s2">"id"</span>: <span class="s2">"1"</span>, <span class="s2">"title"</span>: <span class="s2">"I'm trying to understand how the Industrial Revolution began, what caused it, and how it changed societies, economies, and populations in different countries. I'm also interested in the roles of key figures like Henry Ford, the impact of technological advancements, and how industrialization connects to topics like urbanization, migration, and modern innovations such as robotics and extended reality."</span><span class="o">}</span>
<span class="o">{</span><span class="s2">"id"</span>: <span class="s2">"2"</span>, <span class="s2">"title"</span>: <span class="s2">"I'm trying to understand how prisons operate, including issues like inmate rights, rehabilitation, voting, and the impact of race and profit motives on incarceration. Can you explain how correctional facilities address mental health, discipline, and recidivism, and also discuss the ethical and legal challenges inmates face?"</span><span class="o">}</span>
...
</code></pre></div></div>

<h3 id="input-format-segments-1">Input Format (Segments)</h3>

<p>MS MARCO v2.1 segment collection as JSONL: &lt;<code class="language-plaintext highlighter-rouge">msmarco_v2.1_doc_segmented_XX.json.gz</code>&gt;, each document is present in the JSON format on each line. The fields present for each document are:</p>
<ul>
  <li>docid (string): The segment ID for the MS MARCO v2.1 segment (Note: ID before “#” is the mapped document ID)</li>
  <li>url (string): The url of the segment available on the webpage (same as the document)</li>
  <li>title (string): The title of the segment or chunk (same as the document)</li>
  <li>headings (string): The headings available in the segment or chunk (same as the document)</li>
  <li>segment (string): The complete text of the segment or chunk</li>
  <li>start_char (integer): The start character of the segment or chunk in the mapped document</li>
  <li>end_char (integer): The end character of the segment or chunk in the mapped document</li>
</ul>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1"># Example of `msmarco_v2.1_doc_segmented_XX.json.gz`
</span><span class="p">...</span>
<span class="p">{</span>
    <span class="s">'docid'</span><span class="p">:</span> <span class="s">'msmarco_v2.1_doc_52_1274794243#7_2564847343'</span><span class="p">,</span>
    <span class="s">'url'</span><span class="p">:</span> <span class="s">'https://www.sociologygroup.com/industrial-revolution/'</span><span class="p">,</span>
    <span class="s">'title'</span><span class="p">:</span> <span class="s">'Industrial Revolution: Causes, Impact and Overview'</span><span class="p">,</span>
    <span class="s">'headings'</span><span class="p">:</span> <span class="s">'Industrial Revolution: Causes, Impact and Overview</span><span class="se">\n</span><span class="s">Industrial Revolution: Causes, Impact and Overview</span><span class="se">\n</span><span class="s">Table of Contents</span><span class="se">\n</span><span class="s">HOW DID THE INDUSTRIAL REVOLUTION START</span><span class="se">\n</span><span class="s">The impacts of the Industrial Revolution</span><span class="se">\n</span><span class="s">IMPACT ON TECHNOLOGY</span><span class="se">\n</span><span class="s">IMPACT ON ECONOMY</span><span class="se">\n</span><span class="s">IMPACT ON SOCIETY</span><span class="se">\n</span><span class="s">IMPACT ON INDIAN SOCIETY</span><span class="se">\n</span><span class="s">EMERGENCE OF SOCIOLOGY AS A DISCIPLINE</span><span class="se">\n</span><span class="s">About Meera</span><span class="se">\n</span><span class="s">'</span><span class="p">,</span>
    <span class="s">'segment'</span><span class="p">:</span> <span class="s">'It also started agricultural trading with other countries of the continent, thus leading the country into a better financial position. The rise in population also meant an increase in demand for different other goods too. The country now was demanded to produce more output from the textile industry. This led to the need for more advancement in the textile industry of Britain. The advancements that thereby occurred in the textile industry turned out to be the chief reason for the industrial revolution. Through inventions like that of ‘Flying shuttle’ and ‘Spinning Jenny’, the textile industry of Britain became immensely advanced. The increase in population gradually led to the need for more employment. Peasant who earlier worked in rural fields thus started enclosure movement, migrating to cities in search of job. As urban centres could offer better living and employment conditions, the number of people migrating to cities saw an increase, thus leading to urbanization. With better labour force and mechanization, factories grew.'</span><span class="p">,</span>
    <span class="s">'start_char'</span><span class="p">:</span> <span class="mi">3926</span><span class="p">,</span>
    <span class="s">'end_char'</span><span class="p">:</span> <span class="mi">4968</span>
<span class="p">},</span>
<span class="p">{</span>
    <span class="s">'docid'</span><span class="p">:</span> <span class="s">'msmarco_v2.1_doc_00_378699409#2_708658780'</span><span class="p">,</span>
    <span class="s">'url'</span><span class="p">:</span> <span class="s">'http://apworldipedia.com/index.php?title=AP_Worldipedia'</span><span class="p">,</span>
    <span class="s">'title'</span><span class="p">:</span> <span class="s">'AP Worldipedia - AP Worldipedia'</span><span class="p">,</span>
    <span class="s">'headings'</span><span class="p">:</span> <span class="s">'AP Worldipedia</span><span class="se">\n</span><span class="s">AP Worldipedia</span><span class="se">\n</span><span class="s">AP World History: Modern: Course Content</span><span class="se">\n</span><span class="s">1200 to 1450</span><span class="se">\n</span><span class="s">1450 to 1750</span><span class="se">\n</span><span class="s">1750 to 1900</span><span class="se">\n</span><span class="s">The Legacy (old) Course</span><span class="se">\n</span><span class="s">How to Write Articles</span><span class="se">\n</span><span class="s">'</span><span class="p">,</span>
    <span class="s">'segment'</span><span class="p">:</span> <span class="s">'Causes and Events from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.3 The Columbian Exchange</span><span class="se">\n</span><span class="s">Topic 4.4 Maritime Empires Established</span><span class="se">\n</span><span class="s">Topic 4.5 Maritime Empires Maintained and Developed</span><span class="se">\n</span><span class="s">Topic 4.6 Internal and External Challenges to State Power from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.7 Changing Social Hierarchies 1450 to 1750</span><span class="se">\n</span><span class="s">1750 to 1900</span><span class="se">\n\n</span><span class="s">Unit 5 Revolutions</span><span class="se">\n</span><span class="s">Topic 5.1 The Enlightenment</span><span class="se">\n</span><span class="s">Topic 5.2 Nationalism and Revolutions</span><span class="se">\n</span><span class="s">Topic 5.3 Industrial Revolution Begins</span><span class="se">\n</span><span class="s">Topic 5.4 Industrialization Spreads</span><span class="se">\n</span><span class="s">Topic 5.5 Technology of the Industrial Age</span><span class="se">\n</span><span class="s">Topic 5.6 Industrialization: Government’s Role</span><span class="se">\n</span><span class="s">Topic 5.7 Economic Developments and Innovations in the Industrial Age</span><span class="se">\n</span><span class="s">Topic 5.8 Reactions to the Industrial Economy</span><span class="se">\n</span><span class="s">Topic 5.9 Society and the Industrial Age</span><span class="se">\n\n</span><span class="s">Unit 6 Consequences of Industrialization</span><span class="se">\n</span><span class="s">Topic 4.1 Technological Innovations from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.2 Exploration: Causes and Events from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.3 The Columbian Exchange</span><span class="se">\n</span><span class="s">Topic 4.4 Maritime Empires Established</span><span class="se">\n</span><span class="s">Topic 4.5 Maritime Empires Maintained and Developed</span><span class="se">\n</span><span class="s">Topic 4.6 Internal and External Challenges to State Power from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.7 Changing Social Hierarchies 1450 to 1750</span><span class="se">\n</span><span class="s">The Legacy (old) Course</span><span class="se">\n\n</span><span class="s">Period 1: 8000 BCE to 600 BCE</span><span class="se">\n</span><span class="s">Key Concept 1.1 Big Geography and the Peopling of the Earth</span><span class="se">\n</span><span class="s">Key Concept 1.2 The Neolithic Revolution and Early Agricultural Societies</span><span class="se">\n</span><span class="s">Key Concept 1.3 The Development and Interaction of Early Agricultural, Pastoral and Urban Societies</span><span class="se">\n\n</span><span class="s">Period 4: 1450 to 1750</span><span class="se">\n</span><span class="s">Key Concept 4.1 Globalizing Networks of Communication and Exchange</span><span class="se">\n</span><span class="s">Key Concept 4.2 New Forms of Social Organization and Modes of Production</span><span class="se">\n</span><span class="s">Key Concept 4.3 State Consolidation and Imperial Expansion</span><span class="se">\n\n</span><span class="s">Period 2: 600 CE to 600 CE</span><span class="se">\n</span><span class="s">Key Concept 2.1 The Development and Codification of Religious and Cultural Traditions</span><span class="se">\n</span><span class="s">Key Concept 2.2 The Development of States and Empires</span><span class="se">\n</span><span class="s">Key Concept 2.3 Emergence of Transregional Networks of Communication and Exchange</span><span class="se">\n\n</span><span class="s">Period 5: 1750 to 1900</span><span class="se">\n</span><span class="s">Key Concept 5.1 Industrialization and Global Capitalism</span><span class="se">\n</span><span class="s">Key Concept 5.2 Imperialism and Nation-State Formation</span><span class="se">\n</span><span class="s">Key Concept 5.3 Nationalism, Revolution, and Reform</span><span class="se">\n</span><span class="s">Key Concept 5.4 Global Migration</span><span class="se">\n\n</span><span class="s">Period 3: 600 to 1450</span><span class="se">\n</span><span class="s">Key Concept 3.1 Expansion and Intensification of Communication and Exchange Networks</span><span class="se">\n</span><span class="s">Key Concept 3.2 Continuity and Innovation of State Forms and Their Interactions</span><span class="se">\n</span><span class="s">Key Concept 3.3 Increased Economic Productive Capacity and its Consequences</span><span class="se">\n\n</span><span class="s">Period 6: 1900 to Present</span><span class="se">\n</span><span class="s">Key Concept 6.1 Science and the Environment</span><span class="se">\n</span><span class="s">Key Concept 6.2 Global Conflicts and Their Consequences</span><span class="se">\n</span><span class="s">Key Concept 6.3 New Conceptualizations of Global Economy, Society, and Culture</span><span class="se">\n</span><span class="s">How to Write Articles</span><span class="se">\n</span><span class="s">How to Write in WikiText</span><span class="se">\n</span><span class="s">How to put an Image in your Article</span><span class="se">\n</span><span class="s">Grading Rubric for Writing Articles</span><span class="se">\n</span><span class="s">Note: the designations "AP" and "Advanced Placement are property of the College Board which does not endorse this website or have any connection to it.'</span><span class="p">,</span>
    <span class="s">'start_char'</span><span class="p">:</span> <span class="mi">1376</span><span class="p">,</span>
    <span class="s">'end_char'</span><span class="p">:</span> <span class="mi">4212</span>
<span class="p">},</span>
<span class="p">...</span>
</code></pre></div></div>

<h3 id="input-format-ranked-results">Input Format (Ranked Results)</h3>

<p>Top-100 retrieved segments for each individual topic using our baseline retrieval system on the MS MARCO v2.1 segment collection: &lt;<code class="language-plaintext highlighter-rouge">baseline_r_out.tsv</code>&gt;.
We will provide a maximum of 100 segments for each individual topic. 
This file has the same format as the output file for the retrieval task.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>- Topic ID <span class="o">(</span>taken from <span class="sb">`</span>trec_rag_2025_queries.jsonl<span class="sb">`</span><span class="o">)</span>
- The fixed string “Q0”
- Segment ID <span class="o">(</span>from the docid field <span class="k">in</span> <span class="sb">`</span>msmarco_v2.1_doc_segmented_XX.json.gz<span class="sb">`</span><span class="o">)</span>
- Rank <span class="o">(</span>which is the rank of the segment retrieved<span class="o">)</span>
- Score <span class="o">(</span>integer or float that generated the ranking. This score must be <span class="k">in </span>descending, non-increasing order<span class="o">)</span>
- Run ID <span class="o">(</span>where you mention the ID of the run you are submitting<span class="o">)</span>
</code></pre></div></div>

<p>We will additionally provide reranker requests JSONL file, &lt;<code class="language-plaintext highlighter-rouge">baseline_r_out.jsonl</code>`&gt;, described at the end of the section <a href="https://github.com/castorini/ragnarok/blob/main/docs/rag25.md#retrieval---bm25">here</a>, where each line is a JSON object with the following fields:</p>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span>
    <span class="s">"query"</span><span class="p">:</span> <span class="p">{</span>
        <span class="s">"qid"</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="c1"># narrative_id
</span>        <span class="s">"text"</span><span class="p">:</span> <span class="s">"I'm trying to understand how the Industrial Revolution began, what caused it, and how it changed societies, economies, and populations in different countries. I'm also interested in the roles of key figures like Henry Ford, the impact of technological advancements, and how industrialization connects to topics like urbanization, migration, and modern innovations such as robotics and extended reality."</span> <span class="c1"># narrative
</span>    <span class="p">},</span> 
    <span class="s">"candidates"</span><span class="p">:</span> <span class="p">[</span>
        <span class="p">{</span>
            <span class="s">"docid"</span><span class="p">:</span> <span class="s">"msmarco_v2.1_doc_..."</span><span class="p">,</span>
            <span class="s">"score"</span><span class="p">:</span> <span class="mf">18.2876</span><span class="p">,</span>
            <span class="s">"doc"</span><span class="p">:</span> 
            <span class="p">{</span>
                <span class="s">"url"</span><span class="p">:</span> <span class="s">"..."</span><span class="p">,</span>
                <span class="s">"title"</span><span class="p">:</span> <span class="s">"..."</span><span class="p">,</span>
                <span class="s">"headings"</span><span class="p">:</span> <span class="s">"..."</span><span class="p">,</span>
                <span class="s">"segment"</span><span class="p">:</span> <span class="s">"..."</span><span class="p">,</span>
                <span class="s">"start_char"</span><span class="p">:</span> <span class="mi">1234</span><span class="p">,</span>
                <span class="s">"end_char"</span><span class="p">:</span> <span class="mi">4567</span>
            <span class="p">}</span>
        <span class="p">},</span>
        <span class="p">{</span>
            <span class="p">...</span>
        <span class="p">}</span>
    <span class="p">]</span>
<span class="p">}</span>
</code></pre></div></div>

<p>Providing the url, title, headings, segment, start_char, and end_char fields for each candidate segment will help participants with limitations in downloading the entire MS MARCO v2.1 segment collection, to still get to participate in the AG task.</p>

<h3 id="output-format-ag-output">Output Format (AG Output)</h3>

<p>Participants should provide their output in the standard JSONL format containing the following JSON information as &lt;<code class="language-plaintext highlighter-rouge">ag_output_trec_rag_2025.jsonl</code>&gt; for each individual topic. The final RAG answer should provided in the following JSON format. Each line of this JSONL file contains the following entries:</p>

<p>Format 1:</p>

<ul>
  <li>team_id (string) containing your team tag</li>
  <li>run_id (string) containing your run tag</li>
  <li>type (string) run type, manual or automatic</li>
  <li>narrative_id (string) from the id taken from <code class="language-plaintext highlighter-rouge">trec_rag_2025_queries.jsonl</code></li>
  <li>narrative (string) the 2-3 sentence long description of the topic taken from <code class="language-plaintext highlighter-rouge">trec_rag_2025_queries.jsonl</code></li>
  <li>prompt (string, optional) contianing the detailed prompt used for response generation.</li>
  <li>references (array) containing the ranked list of top-k segment IDs from the retrieval stage (a maximum of only 100 segments is allowed)</li>
  <li>answer (array) containing the list of sentences (such that the total response length is less than 400 words) and citations from the <code class="language-plaintext highlighter-rouge">references</code> list. The <code class="language-plaintext highlighter-rouge">text</code> field contains the response and <code class="language-plaintext highlighter-rouge">citations</code> field contains the (zero-indexed) reference of the segment from the <code class="language-plaintext highlighter-rouge">references</code> list (sorted from highest to lowest citation support).</li>
</ul>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span>
    <span class="s">"metadata"</span><span class="p">:</span> <span class="p">{</span>
        <span class="s">"team_id"</span><span class="p">:</span> <span class="s">"my-awesome-team"</span><span class="p">,</span>
        <span class="s">"run_id"</span><span class="p">:</span> <span class="s">"my-awesome-run"</span><span class="p">,</span>
        <span class="s">"type"</span><span class="p">:</span> <span class="s">"automatic"</span><span class="p">,</span>
        <span class="s">"narrative_id"</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="c1"># id
</span>        <span class="s">"narrative"</span><span class="p">:</span> <span class="s">"I'm trying to understand how the Industrial Revolution began, what caused it, and how it changed societies, economies, and populations in different countries. I'm also interested in the roles of key figures like Henry Ford, the impact of technological advancements, and how industrialization connects to topics like urbanization, migration, and modern innovations such as robotics and extended reality."</span><span class="p">,</span> <span class="c1"># text query
</span>        <span class="s">"prompt"</span><span class="p">:</span> <span class="s">"Based on trusted sources, provide a factual and comprehensive answer to the following narrative: I'm trying to understand how the Industrial Revolution began, what caused it, and how it changed societies, economies, and populations in different countries. I'm also interested in the roles of key figures like Henry Ford, the impact of technological advancements, and how industrialization connects to topics like urbanization, migration, and modern innovations such as robotics and extended reality."</span><span class="p">,</span>
    <span class="p">},</span>
    <span class="s">"references"</span><span class="p">:</span> <span class="p">[</span> <span class="c1"># top-k segments returned used from the retrieval step. We have k equals to 100 segments for this example.
</span>        <span class="s">'msmarco_v2.1_doc_16_1041913392#3_1268938142'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_14_1198634226#9_2470404444'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_12_201312571#0_394394285'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_02_1169633399#2_1963227104'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_23_947922085#6_2108546861'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_23_564615817#13_1256293300'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_20_59107962#5_138816780'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_24_1126649978#7_2394434427'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_12_201312571#1_394396180'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_23_564615817#12_1256290771'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_13_730347647#3_1661787859'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_03_952676544#10_1612297487'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_02_1708666011#1_2905243606'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_29_6222783#1_12232334'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_03_1565360904#14_2631260538'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_16_339852969#2_601767683'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_05_1682672492#12_3232855509'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_24_1126649978#8_2394436421'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_03_952487890#11_1612181372'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_24_1132995963#0_2408027424'</span><span class="p">,</span>
        <span class="p">...</span>
    <span class="p">],</span>
    <span class="s">"answer"</span><span class="p">:</span> <span class="p">[</span> <span class="c1"># RAG answer broken into sentences with each answer sentence grounding information from the index mentioned in references.
</span>            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"The Industrial Revolution began in Britain in the mid-18th century, fueled by its abundant coal and iron resources, a large labor force, and access to capital and global trade networks."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">8</span><span class="p">,</span> <span class="mi">15</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"Technological innovations like the steam engine, telegraph, spinning jenny, and power loom dramatically increased productivity and reshaped industries."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">8</span><span class="p">,</span> <span class="mi">16</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"These technological breakthroughs increased productivity and transformed global transportation and communication, fueling trade and migration across continents."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">6</span><span class="p">,</span> <span class="mi">12</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"As fewer people were needed on farms due to mechanization, populations moved to cities for factory jobs, driving rapid urbanization and demographic shifts."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">5</span><span class="p">,</span> <span class="mi">13</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"This urban migration led to crowded living conditions, labor exploitation, and child labor, prompting the rise of labor unions and demands for reforms."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">9</span><span class="p">,</span> <span class="mi">14</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"Figures like Henry Ford played a transformative role during the Second Industrial Revolution by introducing the assembly line, which dramatically boosted production efficiency."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">16</span><span class="p">,</span> <span class="mi">18</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"The technological foundation laid during this era continues to influence the modern world through innovations like robotics, automation, and immersive technologies."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">11</span><span class="p">,</span> <span class="mi">17</span><span class="p">]}</span>
        <span class="p">]</span>
<span class="p">}</span>
</code></pre></div></div>

<p>Format 2 (similar to other tracks):</p>

<ul>
  <li>team_id (string) containing your team tag</li>
  <li>run_id (string) containing your run tag</li>
  <li>type (string) run type, manual or automatic</li>
  <li>narrative_id (string) from the id taken from <code class="language-plaintext highlighter-rouge">trec_rag_2025_queries.jsonl</code></li>
  <li>narrative (string) the 2-3 sentence long description of the topic taken from <code class="language-plaintext highlighter-rouge">trec_rag_2025_queries.jsonl</code></li>
  <li>prompt (string, optional) contianing the detailed prompt used for response generation.</li>
  <li>references (array) containing the ranked list of top-k segment IDs from the retrieval stage (a maximum of only 100 segments is allowed)</li>
  <li>answer (array) containing the list of sentences (such that the total response length is less than 400 words) and citations from the <code class="language-plaintext highlighter-rouge">references</code> list. The <code class="language-plaintext highlighter-rouge">text</code> field contains the response and <code class="language-plaintext highlighter-rouge">citations</code> field contains the ID of the segment (sorted from highest to lowest citation support).</li>
</ul>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span>
    <span class="s">"metadata"</span><span class="p">:</span> <span class="p">{</span>
        <span class="s">"team_id"</span><span class="p">:</span> <span class="s">"my-awesome-team"</span><span class="p">,</span>
        <span class="s">"run_id"</span><span class="p">:</span> <span class="s">"my-awesome-run"</span><span class="p">,</span>
        <span class="s">"type"</span><span class="p">:</span> <span class="s">"automatic"</span><span class="p">,</span>
        <span class="s">"narrative_id"</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="c1"># id
</span>        <span class="s">"narrative"</span><span class="p">:</span> <span class="s">"I'm trying to understand how the Industrial Revolution began, what caused it, and how it changed societies, economies, and populations in different countries. I'm also interested in the roles of key figures like Henry Ford, the impact of technological advancements, and how industrialization connects to topics like urbanization, migration, and modern innovations such as robotics and extended reality."</span><span class="p">,</span> <span class="c1"># text query
</span>        <span class="s">"prompt"</span><span class="p">:</span> <span class="s">"Based on trusted sources, provide a factual and comprehensive answer to the following narrative: I'm trying to understand how the Industrial Revolution began, what caused it, and how it changed societies, economies, and populations in different countries. I'm also interested in the roles of key figures like Henry Ford, the impact of technological advancements, and how industrialization connects to topics like urbanization, migration, and modern innovations such as robotics and extended reality."</span><span class="p">,</span>
    <span class="p">},</span>
    <span class="s">"references"</span><span class="p">:</span> <span class="p">[</span> <span class="c1"># top-k segments returned used from the retrieval step. We have k equals to 100 segments for this example.
</span>        <span class="s">'msmarco_v2.1_doc_16_1041913392#3_1268938142'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_14_1198634226#9_2470404444'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_12_201312571#0_394394285'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_02_1169633399#2_1963227104'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_23_947922085#6_2108546861'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_23_564615817#13_1256293300'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_20_59107962#5_138816780'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_24_1126649978#7_2394434427'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_12_201312571#1_394396180'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_23_564615817#12_1256290771'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_13_730347647#3_1661787859'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_03_952676544#10_1612297487'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_02_1708666011#1_2905243606'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_29_6222783#1_12232334'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_03_1565360904#14_2631260538'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_16_339852969#2_601767683'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_05_1682672492#12_3232855509'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_24_1126649978#8_2394436421'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_03_952487890#11_1612181372'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_24_1132995963#0_2408027424'</span><span class="p">,</span>
        <span class="p">...</span>
    <span class="p">],</span>
    <span class="s">"answer"</span><span class="p">:</span> <span class="p">[</span> <span class="c1"># RAG answer broken into sentences with each answer sentence grounding information from the index mentioned in references.
</span>            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"The Industrial Revolution began in Britain in the mid-18th century, fueled by its abundant coal and iron resources, a large labor force, and access to capital and global trade networks."</span><span class="p">,</span> 
            <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="s">'msmarco_v2.1_doc_16_1041913392#3_1268938142'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_12_201312571#1_394396180'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_16_339852969#2_601767683'</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"Technological innovations like the steam engine, telegraph, spinning jenny, and power loom dramatically increased productivity and reshaped industries."</span><span class="p">,</span> 
            <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="s">'msmarco_v2.1_doc_12_201312571#1_394396180'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_05_1682672492#12_3232855509'</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"These technological breakthroughs increased productivity and transformed global transportation and communication, fueling trade and migration across continents."</span><span class="p">,</span> 
            <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="s">'msmarco_v2.1_doc_20_59107962#5_138816780'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_02_1708666011#1_2905243606'</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"As fewer people were needed on farms due to mechanization, populations moved to cities for factory jobs, driving rapid urbanization and demographic shifts."</span><span class="p">,</span> 
            <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="s">'msmarco_v2.1_doc_23_564615817#13_1256293300'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_29_6222783#1_12232334'</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"This urban migration led to crowded living conditions, labor exploitation, and child labor, prompting the rise of labor unions and demands for reforms."</span><span class="p">,</span> 
            <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="s">'msmarco_v2.1_doc_23_564615817#12_1256290771'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_03_1565360904#14_2631260538'</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"Figures like Henry Ford played a transformative role during the Second Industrial Revolution by introducing the assembly line, which dramatically boosted production efficiency."</span><span class="p">,</span> 
            <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="s">'msmarco_v2.1_doc_05_1682672492#12_3232855509'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_03_952487890#11_1612181372'</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"The technological foundation laid during this era continues to influence the modern world through innovations like robotics, automation, and immersive technologies."</span><span class="p">,</span> 
            <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="s">'msmarco_v2.1_doc_03_952676544#10_1612297487'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_24_1126649978#8_2394436421'</span><span class="p">]}</span>
        <span class="p">]</span>
<span class="p">}</span>
</code></pre></div></div>

<h2 id="retrieval-augmented-generation-task-rag">Retrieval-Augmented Generation Task (RAG)</h2>

<ul>
  <li><strong>Given</strong>: Participants will be provided a list of topics and both the MS MARCO v2.1 document and MS MARCO v2.1 segment collections.</li>
  <li><strong>Task</strong>: Return the summarized answer and ground based on information which you can either the MS MARCO v2.1 document or segment collection. Develop your own retrieval system to fetch relevant information from the MS MARCO v2.1 segment/document collection. You can use either our pre-determined segment collection or incorporate your own <strong>chunking</strong> technique with the MS MARCO v2.1 document collection. For evaluation, we ask each participant to map their chunk of segments with MS MARCO v2.1 segment collections.</li>
  <li><strong>Notes</strong>: The RAG track is a mixture of above (R) and (AG) tracks. This setup mimics best the industrial RAG setup for the NLP+IR audience. We evaluate the summarized answer in multiple ways incorporating both grounding and evaluating fluency of the generated output.</li>
</ul>

<h3 id="input-format-topics-2">Input Format (Topics)</h3>

<p>List of queries as topics as JSONL: &lt;<code class="language-plaintext highlighter-rouge">trec_rag_2025_queries.jsonl</code>&gt;, with each line containing the narrative_id and 2-3 sentence long description of the topic.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># Example of `trec_rag_2025_queries.jsonl`</span>
...
<span class="o">{</span><span class="s2">"id"</span>: <span class="s2">"1"</span>, <span class="s2">"title"</span>: <span class="s2">"I'm trying to understand how the Industrial Revolution began, what caused it, and how it changed societies, economies, and populations in different countries. I'm also interested in the roles of key figures like Henry Ford, the impact of technological advancements, and how industrialization connects to topics like urbanization, migration, and modern innovations such as robotics and extended reality."</span><span class="o">}</span>
<span class="o">{</span><span class="s2">"id"</span>: <span class="s2">"2"</span>, <span class="s2">"title"</span>: <span class="s2">"I'm trying to understand how prisons operate, including issues like inmate rights, rehabilitation, voting, and the impact of race and profit motives on incarceration. Can you explain how correctional facilities address mental health, discipline, and recidivism, and also discuss the ethical and legal challenges inmates face?"</span><span class="o">}</span>
...
</code></pre></div></div>

<h3 id="input-format-documents">Input Format (Documents)</h3>

<p>MS MARCO v2.1 document collection as JSONL: &lt;<code class="language-plaintext highlighter-rouge">msmarco_v2.1_doc_XX.json.gz</code>&gt;, each document is present in the JSON format on each line. The fields present for each document are:</p>
<ul>
  <li>docid (string): The document ID for the MS MARCO v2.1 document</li>
  <li>url (string): The url of the document</li>
  <li>title (string): The title of the document</li>
  <li>headings (string): The headings available in the document</li>
  <li>body (string): The complete text of the document</li>
</ul>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1"># Example of `msmarco_v2.1_doc_XX.json.gz`
</span><span class="p">{</span>
  <span class="s">"docid"</span><span class="p">:</span> <span class="s">"msmarco_v2.1_doc_00_378699409"</span><span class="p">,</span>
  <span class="s">"url"</span><span class="p">:</span> <span class="s">"http://apworldipedia.com/index.php?title=AP_Worldipedia"</span><span class="p">,</span>
  <span class="s">"title"</span><span class="p">:</span> <span class="s">"AP Worldipedia - AP Worldipedia"</span><span class="p">,</span>
  <span class="s">"headings"</span><span class="p">:</span> <span class="s">"AP Worldipedia</span><span class="se">\n</span><span class="s">AP Worldipedia</span><span class="se">\n</span><span class="s">AP World History: Modern: Course Content</span><span class="se">\n</span><span class="s">1200 to 1450</span><span class="se">\n</span><span class="s">1450 to 1750</span><span class="se">\n</span><span class="s">1750 to 1900</span><span class="se">\n</span><span class="s">The Legacy (old) Course</span><span class="se">\n</span><span class="s">How to Write Articles</span><span class="se">\n</span><span class="s">"</span><span class="p">,</span>
  <span class="s">"body"</span><span class="p">:</span> <span class="s">"AP Worldipedia - AP Worldipedia</span><span class="se">\n</span><span class="s">AP Worldipedia</span><span class="se">\n</span><span class="s">From AP Worldipedia</span><span class="se">\n</span><span class="s">Jump to navigation Jump to search</span><span class="se">\n</span><span class="s">Welcome to AP Worldipedia, the free encyclopedia covering the content for Advanced Placement World History. Below are the topics on which this course is based. Each has been filled out into a narrative text with illustrative media. Although they do not necessarily follow the chronological order in which the content will be taught in class, they should be useful in summarizing the basics of the course. All questions on the AP World History test in May are built on the topics you see listed on this website.</span><span class="se">\n</span><span class="s">AP World History: Modern: Course Content</span><span class="se">\n</span><span class="s">1200 to 1450</span><span class="se">\n\n</span><span class="s">Unit 1 The Global Tapestry</span><span class="se">\n</span><span class="s">Topic 1.1 Developments in East Asia 1200 to 1450</span><span class="se">\n</span><span class="s">Topic 1.2 Developments in Dar al-Islam 1200 to 1450</span><span class="se">\n</span><span class="s">Topic 1.3 Developments in South and Southeast Asia 1200 to 1450</span><span class="se">\n</span><span class="s">Topic 1.4 State Building in the Americas</span><span class="se">\n</span><span class="s">Topic 1.5 State Building in Africa</span><span class="se">\n\n</span><span class="s">Unit 2 Networks of Exchange</span><span class="se">\n</span><span class="s">Topic 2.1 The Silk Roads</span><span class="se">\n</span><span class="s">Topic 2.2 The Mongol Empire and the Making of the Modern World</span><span class="se">\n</span><span class="s">Topic 2.3 Exchange in the Indian Ocean</span><span class="se">\n</span><span class="s">Topic 2.4 Trans-Saharan Trade Routes</span><span class="se">\n</span><span class="s">1450 to 1750</span><span class="se">\n\n</span><span class="s">Unit 3 Land-Based Empires</span><span class="se">\n</span><span class="s">Topic 3.1 Empires Expand</span><span class="se">\n</span><span class="s">Topic 3.2 Empires: Administration</span><span class="se">\n</span><span class="s">Topic 3.3 Empires: Belief Systems</span><span class="se">\n\n</span><span class="s">Unit 4 Transoceonic Interconnections</span><span class="se">\n</span><span class="s">Topic 4.1 Technological Innovations from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.2 Exploration: Causes and Events from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.3 The Columbian Exchange</span><span class="se">\n</span><span class="s">Topic 4.4 Maritime Empires Established</span><span class="se">\n</span><span class="s">Topic 4.5 Maritime Empires Maintained and Developed</span><span class="se">\n</span><span class="s">Topic 4.6 Internal and External Challenges to State Power from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.7 Changing Social Hierarchies 1450 to 1750</span><span class="se">\n</span><span class="s">1750 to 1900</span><span class="se">\n\n</span><span class="s">Unit 5 Revolutions</span><span class="se">\n</span><span class="s">Topic 5.1 The Enlightenment</span><span class="se">\n</span><span class="s">Topic 5.2 Nationalism and Revolutions</span><span class="se">\n</span><span class="s">Topic 5.3 Industrial Revolution Begins</span><span class="se">\n</span><span class="s">Topic 5.4 Industrialization Spreads</span><span class="se">\n</span><span class="s">Topic 5.5 Technology of the Industrial Age</span><span class="se">\n</span><span class="s">Topic 5.6 Industrialization: Government</span><span class="se">\u2019</span><span class="s">s Role</span><span class="se">\n</span><span class="s">Topic 5.7 Economic Developments and Innovations in the Industrial Age</span><span class="se">\n</span><span class="s">Topic 5.8 Reactions to the Industrial Economy</span><span class="se">\n</span><span class="s">Topic 5.9 Society and the Industrial Age</span><span class="se">\n\n</span><span class="s">Unit 6 Consequences of Industrialization</span><span class="se">\n</span><span class="s">Topic 4.1 Technological Innovations from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.2 Exploration: Causes and Events from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.3 The Columbian Exchange</span><span class="se">\n</span><span class="s">Topic 4.4 Maritime Empires Established</span><span class="se">\n</span><span class="s">Topic 4.5 Maritime Empires Maintained and Developed</span><span class="se">\n</span><span class="s">Topic 4.6 Internal and External Challenges to State Power from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.7 Changing Social Hierarchies 1450 to 1750</span><span class="se">\n</span><span class="s">The Legacy (old) Course</span><span class="se">\n\n</span><span class="s">Period 1: 8000 BCE to 600 BCE</span><span class="se">\n</span><span class="s">Key Concept 1.1 Big Geography and the Peopling of the Earth</span><span class="se">\n</span><span class="s">Key Concept 1.2 The Neolithic Revolution and Early Agricultural Societies</span><span class="se">\n</span><span class="s">Key Concept 1.3 The Development and Interaction of Early Agricultural, Pastoral and Urban Societies</span><span class="se">\n\n</span><span class="s">Period 4: 1450 to 1750</span><span class="se">\n</span><span class="s">Key Concept 4.1 Globalizing Networks of Communication and Exchange</span><span class="se">\n</span><span class="s">Key Concept 4.2 New Forms of Social Organization and Modes of Production</span><span class="se">\n</span><span class="s">Key Concept 4.3 State Consolidation and Imperial Expansion</span><span class="se">\n\n</span><span class="s">Period 2: 600 CE to 600 CE</span><span class="se">\n</span><span class="s">Key Concept 2.1 The Development and Codification of Religious and Cultural Traditions</span><span class="se">\n</span><span class="s">Key Concept 2.2 The Development of States and Empires</span><span class="se">\n</span><span class="s">Key Concept 2.3 Emergence of Transregional Networks of Communication and Exchange</span><span class="se">\n\n</span><span class="s">Period 5: 1750 to 1900</span><span class="se">\n</span><span class="s">Key Concept 5.1 Industrialization and Global Capitalism</span><span class="se">\n</span><span class="s">Key Concept 5.2 Imperialism and Nation-State Formation</span><span class="se">\n</span><span class="s">Key Concept 5.3 Nationalism, Revolution, and Reform</span><span class="se">\n</span><span class="s">Key Concept 5.4 Global Migration</span><span class="se">\n\n</span><span class="s">Period 3: 600 to 1450</span><span class="se">\n</span><span class="s">Key Concept 3.1 Expansion and Intensification of Communication and Exchange Networks</span><span class="se">\n</span><span class="s">Key Concept 3.2 Continuity and Innovation of State Forms and Their Interactions</span><span class="se">\n</span><span class="s">Key Concept 3.3 Increased Economic Productive Capacity and its Consequences</span><span class="se">\n\n</span><span class="s">Period 6: 1900 to Present</span><span class="se">\n</span><span class="s">Key Concept 6.1 Science and the Environment</span><span class="se">\n</span><span class="s">Key Concept 6.2 Global Conflicts and Their Consequences</span><span class="se">\n</span><span class="s">Key Concept 6.3 New Conceptualizations of Global Economy, Society, and Culture</span><span class="se">\n</span><span class="s">How to Write Articles</span><span class="se">\n</span><span class="s">How to Write in WikiText</span><span class="se">\n</span><span class="s">How to put an Image in your Article</span><span class="se">\n</span><span class="s">Grading Rubric for Writing Articles</span><span class="se">\n</span><span class="s">Note: the designations </span><span class="se">\"</span><span class="s">AP</span><span class="se">\"</span><span class="s"> and </span><span class="se">\"</span><span class="s">Advanced Placement are property of the College Board which does not endorse this website or have any connection to it.</span><span class="se">\n</span><span class="s">Retrieved from </span><span class="se">\"</span><span class="s"> http://apworldipedia.com/index.php?title=AP_Worldipedia&amp;oldid=5009 </span><span class="se">\"</span><span class="s">"</span>
<span class="p">}</span>
</code></pre></div></div>

<h3 id="input-format-segments-2">Input Format (Segments)</h3>

<p>MS MARCO v2.1 segment collection as JSONL: &lt;<code class="language-plaintext highlighter-rouge">msmarco_v2.1_doc_segmented_XX.json.gz</code>&gt;, each document is present in the JSON format on each line. The fields present for each document are:</p>
<ul>
  <li>docid (string): The segment ID for the MS MARCO v2.1 segment (Note: ID before “#” is the mapped document ID)</li>
  <li>url (string): The url of the segment available on the webpage (same as the document)</li>
  <li>title (string): The title of the segment or chunk (same as the document)</li>
  <li>headings (string): The headings available in the segment or chunk (same as the document)</li>
  <li>segment (string): The complete text of the segment or chunk</li>
  <li>start_char (integer): The start character of the segment or chunk in the mapped document</li>
  <li>end_char (integer): The end character of the segment or chunk in the mapped document</li>
</ul>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1"># Example of `msmarco_v2.1_doc_segmented_XX.json.gz`
</span><span class="p">...</span>
<span class="p">{</span>
    <span class="s">'docid'</span><span class="p">:</span> <span class="s">'msmarco_v2.1_doc_52_1274794243#7_2564847343'</span><span class="p">,</span>
    <span class="s">'url'</span><span class="p">:</span> <span class="s">'https://www.sociologygroup.com/industrial-revolution/'</span><span class="p">,</span>
    <span class="s">'title'</span><span class="p">:</span> <span class="s">'Industrial Revolution: Causes, Impact and Overview'</span><span class="p">,</span>
    <span class="s">'headings'</span><span class="p">:</span> <span class="s">'Industrial Revolution: Causes, Impact and Overview</span><span class="se">\n</span><span class="s">Industrial Revolution: Causes, Impact and Overview</span><span class="se">\n</span><span class="s">Table of Contents</span><span class="se">\n</span><span class="s">HOW DID THE INDUSTRIAL REVOLUTION START</span><span class="se">\n</span><span class="s">The impacts of the Industrial Revolution</span><span class="se">\n</span><span class="s">IMPACT ON TECHNOLOGY</span><span class="se">\n</span><span class="s">IMPACT ON ECONOMY</span><span class="se">\n</span><span class="s">IMPACT ON SOCIETY</span><span class="se">\n</span><span class="s">IMPACT ON INDIAN SOCIETY</span><span class="se">\n</span><span class="s">EMERGENCE OF SOCIOLOGY AS A DISCIPLINE</span><span class="se">\n</span><span class="s">About Meera</span><span class="se">\n</span><span class="s">'</span><span class="p">,</span>
    <span class="s">'segment'</span><span class="p">:</span> <span class="s">'It also started agricultural trading with other countries of the continent, thus leading the country into a better financial position. The rise in population also meant an increase in demand for different other goods too. The country now was demanded to produce more output from the textile industry. This led to the need for more advancement in the textile industry of Britain. The advancements that thereby occurred in the textile industry turned out to be the chief reason for the industrial revolution. Through inventions like that of ‘Flying shuttle’ and ‘Spinning Jenny’, the textile industry of Britain became immensely advanced. The increase in population gradually led to the need for more employment. Peasant who earlier worked in rural fields thus started enclosure movement, migrating to cities in search of job. As urban centres could offer better living and employment conditions, the number of people migrating to cities saw an increase, thus leading to urbanization. With better labour force and mechanization, factories grew.'</span><span class="p">,</span>
    <span class="s">'start_char'</span><span class="p">:</span> <span class="mi">3926</span><span class="p">,</span>
    <span class="s">'end_char'</span><span class="p">:</span> <span class="mi">4968</span>
<span class="p">},</span>
<span class="p">{</span>
    <span class="s">'docid'</span><span class="p">:</span> <span class="s">'msmarco_v2.1_doc_00_378699409#2_708658780'</span><span class="p">,</span>
    <span class="s">'url'</span><span class="p">:</span> <span class="s">'http://apworldipedia.com/index.php?title=AP_Worldipedia'</span><span class="p">,</span>
    <span class="s">'title'</span><span class="p">:</span> <span class="s">'AP Worldipedia - AP Worldipedia'</span><span class="p">,</span>
    <span class="s">'headings'</span><span class="p">:</span> <span class="s">'AP Worldipedia</span><span class="se">\n</span><span class="s">AP Worldipedia</span><span class="se">\n</span><span class="s">AP World History: Modern: Course Content</span><span class="se">\n</span><span class="s">1200 to 1450</span><span class="se">\n</span><span class="s">1450 to 1750</span><span class="se">\n</span><span class="s">1750 to 1900</span><span class="se">\n</span><span class="s">The Legacy (old) Course</span><span class="se">\n</span><span class="s">How to Write Articles</span><span class="se">\n</span><span class="s">'</span><span class="p">,</span>
    <span class="s">'segment'</span><span class="p">:</span> <span class="s">'Causes and Events from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.3 The Columbian Exchange</span><span class="se">\n</span><span class="s">Topic 4.4 Maritime Empires Established</span><span class="se">\n</span><span class="s">Topic 4.5 Maritime Empires Maintained and Developed</span><span class="se">\n</span><span class="s">Topic 4.6 Internal and External Challenges to State Power from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.7 Changing Social Hierarchies 1450 to 1750</span><span class="se">\n</span><span class="s">1750 to 1900</span><span class="se">\n\n</span><span class="s">Unit 5 Revolutions</span><span class="se">\n</span><span class="s">Topic 5.1 The Enlightenment</span><span class="se">\n</span><span class="s">Topic 5.2 Nationalism and Revolutions</span><span class="se">\n</span><span class="s">Topic 5.3 Industrial Revolution Begins</span><span class="se">\n</span><span class="s">Topic 5.4 Industrialization Spreads</span><span class="se">\n</span><span class="s">Topic 5.5 Technology of the Industrial Age</span><span class="se">\n</span><span class="s">Topic 5.6 Industrialization: Government’s Role</span><span class="se">\n</span><span class="s">Topic 5.7 Economic Developments and Innovations in the Industrial Age</span><span class="se">\n</span><span class="s">Topic 5.8 Reactions to the Industrial Economy</span><span class="se">\n</span><span class="s">Topic 5.9 Society and the Industrial Age</span><span class="se">\n\n</span><span class="s">Unit 6 Consequences of Industrialization</span><span class="se">\n</span><span class="s">Topic 4.1 Technological Innovations from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.2 Exploration: Causes and Events from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.3 The Columbian Exchange</span><span class="se">\n</span><span class="s">Topic 4.4 Maritime Empires Established</span><span class="se">\n</span><span class="s">Topic 4.5 Maritime Empires Maintained and Developed</span><span class="se">\n</span><span class="s">Topic 4.6 Internal and External Challenges to State Power from 1450 to 1750</span><span class="se">\n</span><span class="s">Topic 4.7 Changing Social Hierarchies 1450 to 1750</span><span class="se">\n</span><span class="s">The Legacy (old) Course</span><span class="se">\n\n</span><span class="s">Period 1: 8000 BCE to 600 BCE</span><span class="se">\n</span><span class="s">Key Concept 1.1 Big Geography and the Peopling of the Earth</span><span class="se">\n</span><span class="s">Key Concept 1.2 The Neolithic Revolution and Early Agricultural Societies</span><span class="se">\n</span><span class="s">Key Concept 1.3 The Development and Interaction of Early Agricultural, Pastoral and Urban Societies</span><span class="se">\n\n</span><span class="s">Period 4: 1450 to 1750</span><span class="se">\n</span><span class="s">Key Concept 4.1 Globalizing Networks of Communication and Exchange</span><span class="se">\n</span><span class="s">Key Concept 4.2 New Forms of Social Organization and Modes of Production</span><span class="se">\n</span><span class="s">Key Concept 4.3 State Consolidation and Imperial Expansion</span><span class="se">\n\n</span><span class="s">Period 2: 600 CE to 600 CE</span><span class="se">\n</span><span class="s">Key Concept 2.1 The Development and Codification of Religious and Cultural Traditions</span><span class="se">\n</span><span class="s">Key Concept 2.2 The Development of States and Empires</span><span class="se">\n</span><span class="s">Key Concept 2.3 Emergence of Transregional Networks of Communication and Exchange</span><span class="se">\n\n</span><span class="s">Period 5: 1750 to 1900</span><span class="se">\n</span><span class="s">Key Concept 5.1 Industrialization and Global Capitalism</span><span class="se">\n</span><span class="s">Key Concept 5.2 Imperialism and Nation-State Formation</span><span class="se">\n</span><span class="s">Key Concept 5.3 Nationalism, Revolution, and Reform</span><span class="se">\n</span><span class="s">Key Concept 5.4 Global Migration</span><span class="se">\n\n</span><span class="s">Period 3: 600 to 1450</span><span class="se">\n</span><span class="s">Key Concept 3.1 Expansion and Intensification of Communication and Exchange Networks</span><span class="se">\n</span><span class="s">Key Concept 3.2 Continuity and Innovation of State Forms and Their Interactions</span><span class="se">\n</span><span class="s">Key Concept 3.3 Increased Economic Productive Capacity and its Consequences</span><span class="se">\n\n</span><span class="s">Period 6: 1900 to Present</span><span class="se">\n</span><span class="s">Key Concept 6.1 Science and the Environment</span><span class="se">\n</span><span class="s">Key Concept 6.2 Global Conflicts and Their Consequences</span><span class="se">\n</span><span class="s">Key Concept 6.3 New Conceptualizations of Global Economy, Society, and Culture</span><span class="se">\n</span><span class="s">How to Write Articles</span><span class="se">\n</span><span class="s">How to Write in WikiText</span><span class="se">\n</span><span class="s">How to put an Image in your Article</span><span class="se">\n</span><span class="s">Grading Rubric for Writing Articles</span><span class="se">\n</span><span class="s">Note: the designations "AP" and "Advanced Placement are property of the College Board which does not endorse this website or have any connection to it.'</span><span class="p">,</span>
    <span class="s">'start_char'</span><span class="p">:</span> <span class="mi">1376</span><span class="p">,</span>
    <span class="s">'end_char'</span><span class="p">:</span> <span class="mi">4212</span>
<span class="p">},</span>
<span class="p">...</span>
</code></pre></div></div>

<h3 id="output-format-rag-output">Output Format (RAG Output)</h3>
<p>Output containing the following JSON information as &lt;<code class="language-plaintext highlighter-rouge">rag_output_trec_rag_2025.jsonl</code>&gt;. You can feel free to use the document collection with your own segmentation choice of yours, however, to make this collection reusable, we require the participant to map their custom chunked segments with segments available from MS MARCO V2.1 segment collection. Each line of this JSONL file contains the following entries:</p>

<p>Format 1:</p>

<ul>
  <li>team_id (string) containing your team tag</li>
  <li>run_id (string) containing your run tag</li>
  <li>type (string) run type, manual or automatic</li>
  <li>narrative_id (string) from the id taken from <code class="language-plaintext highlighter-rouge">trec_rag_2025_queries.jsonl</code></li>
  <li>narrative (string) the 2-3 sentence long description of the topic taken from <code class="language-plaintext highlighter-rouge">trec_rag_2025_queries.jsonl</code></li>
  <li>prompt (string, optional) contianing the detailed prompt used for response generation.</li>
  <li>references (array) containing the ranked list of top-k segment IDs from the retrieval stage (a maximum of only 100 segments is allowed)</li>
  <li>answer (array) containing the list of sentences (such that the total response length is less than 400 words) and citations from the <code class="language-plaintext highlighter-rouge">references</code> list. The <code class="language-plaintext highlighter-rouge">text</code> field contains the response and <code class="language-plaintext highlighter-rouge">citations</code> field contains the (zero-indexed) reference of the segment from the <code class="language-plaintext highlighter-rouge">references</code> list (sorted from highest to lowest citation support).</li>
</ul>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span>
    <span class="s">"metadata"</span><span class="p">:</span> <span class="p">{</span>
        <span class="s">"team_id"</span><span class="p">:</span> <span class="s">"my-awesome-team"</span><span class="p">,</span>
        <span class="s">"run_id"</span><span class="p">:</span> <span class="s">"my-awesome-run"</span><span class="p">,</span>
        <span class="s">"type"</span><span class="p">:</span> <span class="s">"automatic"</span><span class="p">,</span>
        <span class="s">"narrative_id"</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="c1"># id
</span>        <span class="s">"narrative"</span><span class="p">:</span> <span class="s">"I'm trying to understand how the Industrial Revolution began, what caused it, and how it changed societies, economies, and populations in different countries. I'm also interested in the roles of key figures like Henry Ford, the impact of technological advancements, and how industrialization connects to topics like urbanization, migration, and modern innovations such as robotics and extended reality."</span><span class="p">,</span> <span class="c1"># text query
</span>        <span class="s">"prompt"</span><span class="p">:</span> <span class="s">"Based on trusted sources, provide a factual and comprehensive answer to the following narrative: I'm trying to understand how the Industrial Revolution began, what caused it, and how it changed societies, economies, and populations in different countries. I'm also interested in the roles of key figures like Henry Ford, the impact of technological advancements, and how industrialization connects to topics like urbanization, migration, and modern innovations such as robotics and extended reality."</span><span class="p">,</span>
    <span class="p">},</span>
    <span class="s">"references"</span><span class="p">:</span> <span class="p">[</span> <span class="c1"># top-k segments returned used from the retrieval step. We have k equals to 100 segments for this example.
</span>        <span class="s">'msmarco_v2.1_doc_16_1041913392#3_1268938142'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_14_1198634226#9_2470404444'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_12_201312571#0_394394285'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_02_1169633399#2_1963227104'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_23_947922085#6_2108546861'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_23_564615817#13_1256293300'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_20_59107962#5_138816780'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_24_1126649978#7_2394434427'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_12_201312571#1_394396180'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_23_564615817#12_1256290771'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_13_730347647#3_1661787859'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_03_952676544#10_1612297487'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_02_1708666011#1_2905243606'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_29_6222783#1_12232334'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_03_1565360904#14_2631260538'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_16_339852969#2_601767683'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_05_1682672492#12_3232855509'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_24_1126649978#8_2394436421'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_03_952487890#11_1612181372'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_24_1132995963#0_2408027424'</span><span class="p">,</span>
        <span class="p">...</span>
    <span class="p">],</span>
    <span class="s">"answer"</span><span class="p">:</span> <span class="p">[</span> <span class="c1"># RAG answer broken into sentences with each answer sentence grounding information from the index mentioned in references.
</span>            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"The Industrial Revolution began in Britain in the mid-18th century, fueled by its abundant coal and iron resources, a large labor force, and access to capital and global trade networks."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">8</span><span class="p">,</span> <span class="mi">15</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"Technological innovations like the steam engine, telegraph, spinning jenny, and power loom dramatically increased productivity and reshaped industries."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">8</span><span class="p">,</span> <span class="mi">16</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"These technological breakthroughs increased productivity and transformed global transportation and communication, fueling trade and migration across continents."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">6</span><span class="p">,</span> <span class="mi">12</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"As fewer people were needed on farms due to mechanization, populations moved to cities for factory jobs, driving rapid urbanization and demographic shifts."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">5</span><span class="p">,</span> <span class="mi">13</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"This urban migration led to crowded living conditions, labor exploitation, and child labor, prompting the rise of labor unions and demands for reforms."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">9</span><span class="p">,</span> <span class="mi">14</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"Figures like Henry Ford played a transformative role during the Second Industrial Revolution by introducing the assembly line, which dramatically boosted production efficiency."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">16</span><span class="p">,</span> <span class="mi">18</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"The technological foundation laid during this era continues to influence the modern world through innovations like robotics, automation, and immersive technologies."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">11</span><span class="p">,</span> <span class="mi">17</span><span class="p">]}</span>
        <span class="p">]</span>
<span class="p">}</span>
</code></pre></div></div>

<p>Format 2 (similar to other tracks):</p>

<ul>
  <li>team_id (string) containing your team tag</li>
  <li>run_id (string) containing your run tag</li>
  <li>type (string) run type, manual or automatic</li>
  <li>narrative_id (string) from the id taken from <code class="language-plaintext highlighter-rouge">trec_rag_2025_queries.jsonl</code></li>
  <li>narrative (string) the 2-3 sentence long description of the topic taken from <code class="language-plaintext highlighter-rouge">trec_rag_2025_queries.jsonl</code></li>
  <li>prompt (string, optional) contianing the detailed prompt used for response generation.</li>
  <li>references (array) containing the ranked list of top-k segment IDs from the retrieval stage (a maximum of only 100 segments is allowed)</li>
  <li>answer (array) containing the list of sentences (such that the total response length is less than 400 words) and citations from the <code class="language-plaintext highlighter-rouge">references</code> list. The <code class="language-plaintext highlighter-rouge">text</code> field contains the response and <code class="language-plaintext highlighter-rouge">citations</code> field contains the ID of the segment (sorted from highest to lowest citation support).</li>
</ul>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span>
    <span class="s">"metadata"</span><span class="p">:</span> <span class="p">{</span>
        <span class="s">"team_id"</span><span class="p">:</span> <span class="s">"my-awesome-team"</span><span class="p">,</span>
        <span class="s">"run_id"</span><span class="p">:</span> <span class="s">"my-awesome-run"</span><span class="p">,</span>
        <span class="s">"type"</span><span class="p">:</span> <span class="s">"automatic"</span><span class="p">,</span>
        <span class="s">"narrative_id"</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="c1"># id
</span>        <span class="s">"narrative"</span><span class="p">:</span> <span class="s">"I'm trying to understand how the Industrial Revolution began, what caused it, and how it changed societies, economies, and populations in different countries. I'm also interested in the roles of key figures like Henry Ford, the impact of technological advancements, and how industrialization connects to topics like urbanization, migration, and modern innovations such as robotics and extended reality."</span><span class="p">,</span> <span class="c1"># text query
</span>        <span class="s">"prompt"</span><span class="p">:</span> <span class="s">"Based on trusted sources, provide a factual and comprehensive answer to the following narrative: I'm trying to understand how the Industrial Revolution began, what caused it, and how it changed societies, economies, and populations in different countries. I'm also interested in the roles of key figures like Henry Ford, the impact of technological advancements, and how industrialization connects to topics like urbanization, migration, and modern innovations such as robotics and extended reality."</span><span class="p">,</span>
    <span class="p">},</span>
    <span class="s">"references"</span><span class="p">:</span> <span class="p">[</span> <span class="c1"># top-k segments returned used from the retrieval step. We have k equals to 100 segments for this example.
</span>        <span class="s">'msmarco_v2.1_doc_16_1041913392#3_1268938142'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_14_1198634226#9_2470404444'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_12_201312571#0_394394285'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_02_1169633399#2_1963227104'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_23_947922085#6_2108546861'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_23_564615817#13_1256293300'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_20_59107962#5_138816780'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_24_1126649978#7_2394434427'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_12_201312571#1_394396180'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_23_564615817#12_1256290771'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_13_730347647#3_1661787859'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_03_952676544#10_1612297487'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_02_1708666011#1_2905243606'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_29_6222783#1_12232334'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_03_1565360904#14_2631260538'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_16_339852969#2_601767683'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_05_1682672492#12_3232855509'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_24_1126649978#8_2394436421'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_03_952487890#11_1612181372'</span><span class="p">,</span>
        <span class="s">'msmarco_v2.1_doc_24_1132995963#0_2408027424'</span><span class="p">,</span>
        <span class="p">...</span>
    <span class="p">],</span>
    <span class="s">"answer"</span><span class="p">:</span> <span class="p">[</span> <span class="c1"># RAG answer broken into sentences with each answer sentence grounding information from the index mentioned in references.
</span>            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"The Industrial Revolution began in Britain in the mid-18th century, fueled by its abundant coal and iron resources, a large labor force, and access to capital and global trade networks."</span><span class="p">,</span> 
            <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="s">'msmarco_v2.1_doc_16_1041913392#3_1268938142'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_12_201312571#1_394396180'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_16_339852969#2_601767683'</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"Technological innovations like the steam engine, telegraph, spinning jenny, and power loom dramatically increased productivity and reshaped industries."</span><span class="p">,</span> 
            <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="s">'msmarco_v2.1_doc_12_201312571#1_394396180'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_05_1682672492#12_3232855509'</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"These technological breakthroughs increased productivity and transformed global transportation and communication, fueling trade and migration across continents."</span><span class="p">,</span> 
            <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="s">'msmarco_v2.1_doc_20_59107962#5_138816780'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_02_1708666011#1_2905243606'</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"As fewer people were needed on farms due to mechanization, populations moved to cities for factory jobs, driving rapid urbanization and demographic shifts."</span><span class="p">,</span> 
            <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="s">'msmarco_v2.1_doc_23_564615817#13_1256293300'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_29_6222783#1_12232334'</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"This urban migration led to crowded living conditions, labor exploitation, and child labor, prompting the rise of labor unions and demands for reforms."</span><span class="p">,</span> 
            <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="s">'msmarco_v2.1_doc_23_564615817#12_1256290771'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_03_1565360904#14_2631260538'</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"Figures like Henry Ford played a transformative role during the Second Industrial Revolution by introducing the assembly line, which dramatically boosted production efficiency."</span><span class="p">,</span> 
            <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="s">'msmarco_v2.1_doc_05_1682672492#12_3232855509'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_03_952487890#11_1612181372'</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"The technological foundation laid during this era continues to influence the modern world through innovations like robotics, automation, and immersive technologies."</span><span class="p">,</span> 
            <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="s">'msmarco_v2.1_doc_03_952676544#10_1612297487'</span><span class="p">,</span> <span class="s">'msmarco_v2.1_doc_24_1126649978#8_2394436421'</span><span class="p">]}</span>
        <span class="p">]</span>
<span class="p">}</span>
</code></pre></div></div>

<p>You can find baseline end-to-end RAG systems for the development sets leveraging Anserini, RankLLM, and Ragnarök <a href="https://github.com/castorini/ragnarok/blob/main/docs/rag25.md">here</a>!</p>

<h2 id="next-steps">Next Steps</h2>

<p>We encourage participants to start encoding the MS MARCO V2.1 segment corpus (120+ million) using their favourite retrieval system.
We will soon release the test topics.</p>

<p>We encourage the community to provide us with constructive feedback regarding any task, or require us to further clarify any task.
Please feel free to reach out to us via Twitter/Slack!</p>

<p><em>The TREC RAG Organizers Send Their Regards.</em></p>]]></content><author><name>RAG</name></author><category term="Annoucements" /><category term="Guidelines" /><category term="TREC 2025" /><category term="Tasks" /><summary type="html"><![CDATA[Version 2.0. Last Updated: Aug 13, 2025]]></summary></entry><entry><title type="html">TREC 2025 RAG Timeline</title><link href="https://trec-rag.github.io/annoucements/2025-timeline/" rel="alternate" type="text/html" title="TREC 2025 RAG Timeline" /><published>2025-06-24T22:00:00+00:00</published><updated>2025-06-24T22:00:00+00:00</updated><id>https://trec-rag.github.io/annoucements/2025-timeline</id><content type="html" xml:base="https://trec-rag.github.io/annoucements/2025-timeline/"><![CDATA[<blockquote>
  <p>Version 1.0. Last Updated: July 23, 2024</p>
</blockquote>

<p>The TREC 2025 RAG rough schedule is released.
Here is the timeline for participants to keep in mind.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Test topics released: 11 July 2025
Baselines released: 23 July 2025
Submission deadline: 17 August 2025
Results and judgments returned to participants: October 2025
TREC 2025 Conference: November 2025
</code></pre></div></div>

<p>Cheers,</p>

<p>The TREC 2025 RAG Organizers</p>]]></content><author><name>RAG</name></author><category term="Annoucements" /><category term="TREC 2025" /><category term="Tasks" /><summary type="html"><![CDATA[Version 1.0. Last Updated: July 23, 2024]]></summary></entry><entry><title type="html">TREC 2025 RAG Corpus</title><link href="https://trec-rag.github.io/annoucements/2025-rag25-corpus/" rel="alternate" type="text/html" title="TREC 2025 RAG Corpus" /><published>2025-05-13T13:00:00+00:00</published><updated>2025-05-13T13:00:00+00:00</updated><id>https://trec-rag.github.io/annoucements/2025-rag25-corpus</id><content type="html" xml:base="https://trec-rag.github.io/annoucements/2025-rag25-corpus/"><![CDATA[<p>For TREC 2025, we continue to utilize the <strong>MS MARCO V2.1</strong> document corpus and its segmented counterpart, as introduced in TREC 2024. This version addresses deduplication concerns and provides enhanced segmentation for improved retrieval and generation tasks.</p>

<hr />

<h2 id="-ms-marco-v21-document-corpus">📚 MS MARCO V2.1 Document Corpus</h2>

<ul>
  <li><strong>Total Documents</strong>: 10,960,555</li>
  <li><strong>Format</strong>: 70 gzipped JSONL files packaged in a TAR archive</li>
  <li><strong>Download</strong>: <a href="https://msmarco.z22.web.core.windows.net/msmarcoranking/msmarco_v2.1_doc.tar">msmarco_v2.1_doc.tar</a> (28.1 GB)</li>
  <li><strong>MD5 Checksum</strong>: <code class="language-plaintext highlighter-rouge">a5950665d6448d3dbaf7135645f1e074</code></li>
</ul>

<h3 id="document-structure">Document Structure</h3>

<p>Each document contains:</p>
<ul>
  <li><code class="language-plaintext highlighter-rouge">docid</code>: Unique identifier</li>
  <li><code class="language-plaintext highlighter-rouge">url</code>: Source URL</li>
  <li><code class="language-plaintext highlighter-rouge">title</code>: Document title</li>
  <li><code class="language-plaintext highlighter-rouge">headings</code>: Subheadings within the document</li>
  <li><code class="language-plaintext highlighter-rouge">body</code>: Main content of the document</li>
</ul>

<p><em>Note</em>: The <code class="language-plaintext highlighter-rouge">docid</code> (e.g., <code class="language-plaintext highlighter-rouge">msmarco_v2.1_doc_29_677149</code>) encodes the filename (<code class="language-plaintext highlighter-rouge">29</code>) and byte (<code class="language-plaintext highlighter-rouge">677149</code>) offset, facilitating efficient data retrieval.</p>

<hr />

<h2 id="-ms-marco-v21-segmented-corpus">📚 MS MARCO V2.1 Segmented Corpus</h2>

<ul>
  <li><strong>Total Segments</strong>: 113,520,750</li>
  <li><strong>Format</strong>: 70 gzipped JSONL files packaged in a TAR archive</li>
  <li><strong>Download</strong>: <a href="https://msmarco.z22.web.core.windows.net/msmarcoranking/msmarco_v2.1_doc_segmented.tar">msmarco_v2.1_doc_segmented.tar</a> (25.1 GB)</li>
  <li><strong>MD5 Checksum</strong>: <code class="language-plaintext highlighter-rouge">3799e7611efffd8daeb257e9ccca4d60</code></li>
</ul>

<h3 id="segmentation-details">Segmentation Details</h3>

<ul>
  <li><strong>Method</strong>: Sliding window of 10 sentences with a stride of 5 sentences</li>
  <li><strong>Segment Size</strong>: Approximately 500–1000 characters</li>
</ul>

<h3 id="segment-structure">Segment Structure</h3>

<p>Each segment includes:</p>
<ul>
  <li><code class="language-plaintext highlighter-rouge">docid</code>: Segment identifier</li>
  <li><code class="language-plaintext highlighter-rouge">url</code>: Source URL</li>
  <li><code class="language-plaintext highlighter-rouge">title</code>: Document title</li>
  <li><code class="language-plaintext highlighter-rouge">headings</code>: Subheadings within the document</li>
  <li><code class="language-plaintext highlighter-rouge">segment</code>: Segment text</li>
  <li><code class="language-plaintext highlighter-rouge">start_char</code>: Start character offset in the original document</li>
  <li><code class="language-plaintext highlighter-rouge">end_char</code>: End character offset in the original document</li>
</ul>

<hr />

<h2 id="relevance-judgments-qrels">Relevance Judgments (Qrels)</h2>

<p>Qrels mapped to MS MARCO V2.1.</p>

<table>
  <thead>
    <tr>
      <th>Set</th>
      <th>Filename</th>
      <th>Records</th>
      <th>MD5 Checksum</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>TREC RAG 2024 (UMBRELA)</td>
      <td><a href="https://raw.githubusercontent.com/castorini/anserini-tools/master/topics-and-qrels/qrels.rag24.test-umbrela-all.txt">qrels.rag24.test-umbrela-all.txt</a></td>
      <td>108,479</td>
      <td><code class="language-plaintext highlighter-rouge">7a43d4a23cf37f12dab0043a4b9f4d02</code></td>
    </tr>
    <tr>
      <td>TREC DL 2021</td>
      <td><a href="https://raw.githubusercontent.com/castorini/anserini-tools/master/topics-and-qrels/qrels.dl21-doc-msmarco-v2.1.txt">qrels.dl21-doc-msmarco-v2.1.txt</a></td>
      <td>10,973</td>
      <td><code class="language-plaintext highlighter-rouge">6845b6c128aec71027e72078a960600e</code></td>
    </tr>
    <tr>
      <td>TREC DL 2022</td>
      <td><a href="https://raw.githubusercontent.com/castorini/anserini-tools/master/topics-and-qrels/qrels.dl22-doc-msmarco-v2.1.txt">qrels.dl22-doc-msmarco-v2.1.txt</a></td>
      <td>349,541</td>
      <td><code class="language-plaintext highlighter-rouge">ac9f5c6fcb6972d8bf13b07ab150680a</code></td>
    </tr>
    <tr>
      <td>TREC DL 2023</td>
      <td><a href="https://raw.githubusercontent.com/castorini/anserini-tools/master/topics-and-qrels/qrels.dl23-doc-msmarco-v2.1.txt">qrels.dl23-doc-msmarco-v2.1.txt</a></td>
      <td>15,995</td>
      <td><code class="language-plaintext highlighter-rouge">4b30e8850b6fba56289b6c177afe959b</code></td>
    </tr>
    <tr>
      <td>MS MARCO Dev</td>
      <td><a href="https://raw.githubusercontent.com/castorini/anserini-tools/master/topics-and-qrels/qrels.msmarco-v2.1-doc.dev.txt">qrels.msmarco-v2.1-doc.dev.txt</a></td>
      <td>4,702</td>
      <td><code class="language-plaintext highlighter-rouge">089b19dce0a6f74d3f01fd988d439f2f</code></td>
    </tr>
    <tr>
      <td>MS MARCO Dev2</td>
      <td><a href="https://raw.githubusercontent.com/castorini/anserini-tools/master/topics-and-qrels/qrels.msmarco-v2.1-doc.dev2.txt">qrels.msmarco-v2.1-doc.dev2.txt</a></td>
      <td>5,177</td>
      <td><code class="language-plaintext highlighter-rouge">8ff337f2110ea44ba8c5533a7eff6222</code></td>
    </tr>
  </tbody>
</table>

<hr />

<h2 id="topics-files">Topics Files</h2>

<p>Corresponding topics files are provided for each qrels set.</p>

<table>
  <thead>
    <tr>
      <th>Set</th>
      <th>Filename</th>
      <th>Records</th>
      <th>MD5 Checksum</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>TREC RAG 2024</td>
      <td><a href="https://raw.githubusercontent.com/castorini/anserini-tools/master/topics-and-qrels/topics.rag24.test.txt">topics.rag24.test.txt</a></td>
      <td>301</td>
      <td><code class="language-plaintext highlighter-rouge">5bd6c8fa0e1300233fe139bae8288d09</code></td>
    </tr>
    <tr>
      <td>TREC DL 2021</td>
      <td><a href="https://raw.githubusercontent.com/castorini/anserini-tools/master/topics-and-qrels/topics.dl21.txt">topics.dl21.txt</a></td>
      <td>477</td>
      <td><code class="language-plaintext highlighter-rouge">46d863434dda18300f5af33ee29c4b28</code></td>
    </tr>
    <tr>
      <td>TREC DL 2022</td>
      <td><a href="https://raw.githubusercontent.com/castorini/anserini-tools/master/topics-and-qrels/topics.dl22.txt">topics.dl22.txt</a></td>
      <td>500</td>
      <td><code class="language-plaintext highlighter-rouge">f1bfd53d80e81e58207ce557fd2211a0</code></td>
    </tr>
    <tr>
      <td>TREC DL 2023</td>
      <td><a href="https://raw.githubusercontent.com/castorini/anserini-tools/master/topics-and-qrels/topics.dl23.txt">topics.dl23.txt</a></td>
      <td>700</td>
      <td><code class="language-plaintext highlighter-rouge">7df9e17b47cc9aa5d1c9fd5b313e273c</code></td>
    </tr>
    <tr>
      <td>MS MARCO Dev</td>
      <td><a href="https://raw.githubusercontent.com/castorini/anserini-tools/master/topics-and-qrels/topics.msmarco-v2-doc.dev.txt">topics.msmarco-v2-doc.dev.txt</a></td>
      <td>4,552</td>
      <td><code class="language-plaintext highlighter-rouge">b05dc19f1d2b8ad729f189328a685aa1</code></td>
    </tr>
    <tr>
      <td>MS MARCO Dev2</td>
      <td><a href="https://raw.githubusercontent.com/castorini/anserini-tools/master/topics-and-qrels/topics.msmarco-v2-doc.dev2.txt">topics.msmarco-v2-doc.dev2.txt</a></td>
      <td>5,000</td>
      <td><code class="language-plaintext highlighter-rouge">f000319f1893a7acdd60fdcae0703b95</code></td>
    </tr>
  </tbody>
</table>

<hr />

<p>More information on the topics for the TREC 2025 RAG Track will be released soon. Stay tuned!</p>

<p>Regards,
The TREC 2025 RAG Organizers</p>]]></content><author><name>RAG</name></author><category term="Annoucements" /><category term="TREC 2025" /><category term="Corpus" /><summary type="html"><![CDATA[For TREC 2025, we continue to utilize the MS MARCO V2.1 document corpus and its segmented counterpart, as introduced in TREC 2024. This version addresses deduplication concerns and provides enhanced segmentation for improved retrieval and generation tasks.]]></summary></entry><entry><title type="html">TREC 2024 RAG UMBRELA Qrels Released</title><link href="https://trec-rag.github.io/annoucements/umbrela-qrels/" rel="alternate" type="text/html" title="TREC 2024 RAG UMBRELA Qrels Released" /><published>2024-11-17T12:00:00+00:00</published><updated>2024-11-17T12:00:00+00:00</updated><id>https://trec-rag.github.io/annoucements/umbrela-qrels</id><content type="html" xml:base="https://trec-rag.github.io/annoucements/umbrela-qrels/"><![CDATA[<p>We have just released relevance judgments using UMBRELA [1] for the 301 RAG test topics which we used for our evaluations [2]. You can find them at:</p>
<ul>
  <li>RAG 2024 UMBRELA qrels: <a href="/assets/txt/qrels.rag24.test-umbrela-all.txt">qrels.rag24.test-umbrela-all.txt</a></li>
</ul>

<p>RAG 2024 Topics: <a href="/assets/txt/topics.rag24.test.txt">topics.rag24.test.txt</a></p>

<p>Command used with <code class="language-plaintext highlighter-rouge">trec_eval</code> (version: 9.0.4):</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>trec_eval -c -m ndcg_cut.20 qrels.rag24.test-umbrela-all.txt &lt;result_file&gt;
trec_eval -c -m ndcg_cut.100 qrels.rag24.test-umbrela-all.txt &lt;result_file&gt;
trec_eval -c -m recall.100 qrels.rag24.test-umbrela-all.txt &lt;result_file&gt;
</code></pre></div></div>

<p>[1] Upadhyay et al. “UMBRELA: UMbrela is the (Open-Source Reproduction of the) Bing RELevance Assessor.” <a href="https://arxiv.org/abs/2406.06519">https://arxiv.org/abs/2406.06519</a>.</p>

<p>[2] Upadhyay et al. “A Large-Scale Study of Relevance Assessments with Large Language Models: An Initial Look.” <a href="https://arxiv.org/abs/2411.08275">https://arxiv.org/abs/2411.08275</a>.</p>

<p>Regards,
The TREC 2024 RAG Organizers</p>]]></content><author><name>RAG</name></author><category term="Annoucements" /><category term="TREC 2024" /><category term="Qrels" /><summary type="html"><![CDATA[We have just released relevance judgments using UMBRELA [1] for the 301 RAG test topics which we used for our evaluations [2]. You can find them at: RAG 2024 UMBRELA qrels: qrels.rag24.test-umbrela-all.txt]]></summary></entry><entry><title type="html">TREC 2024 RAG Baselines, validator script, and submissions open</title><link href="https://trec-rag.github.io/annoucements/2024-baselines/" rel="alternate" type="text/html" title="TREC 2024 RAG Baselines, validator script, and submissions open" /><published>2024-08-22T09:00:00+00:00</published><updated>2024-08-22T09:00:00+00:00</updated><id>https://trec-rag.github.io/annoucements/2024-baselines</id><content type="html" xml:base="https://trec-rag.github.io/annoucements/2024-baselines/"><![CDATA[<h2 id="trec-2024-rag---ag-input-baseline-runs-validator-scripts-and-submissions-open">TREC 2024 RAG - AG input, baseline runs, validator scripts, and submissions open</h2>

<p>Participants can now begin submitting their generated answers. To assist with this, we’ve also provided some strong baseline models (retrieval -&gt; rerank and retrieval -&gt; rerank -&gt; generate), including the latest from Cohere’s Command R Plus model, which has shown promising results with a modified prompt. More instructions of these can be found <a href="https://github.com/castorini/ragnarok/blob/main/docs/rag24.md">here</a>.</p>

<p>For those working with AG (Answer Generation) and RAG (Retrieval-Augmented Generation) tasks, a validator script has been included in the Ragnarök repository. This script will help verify that your generated answers meet the submission criteria. Make sure to carefully review the warning and error logs generated during the validation process to avoid common pitfalls such as sentence drops, duplicate citations, etc.</p>

<p>Submissions are now open in <a href="https://ir.nist.gov/evalbase/">evalbase</a>, and we encourage participants to start submitting soon as the deadline is August 25th AOE. Detailed instructions for generating and validating submissions can be found in <a href="https://github.com/castorini/ragnarok/blob/main/docs/rag24.md">Ragnarök</a>.</p>

<p>May the force be with you,
The TREC 2024 RAG Organizers</p>]]></content><author><name>RAG</name></author><category term="Annoucements" /><category term="TREC 2024" /><category term="Baselines" /><category term="Submissions" /><category term="Validation" /><summary type="html"><![CDATA[TREC 2024 RAG - AG input, baseline runs, validator scripts, and submissions open]]></summary></entry><entry><title type="html">TREC 2024 RAG Topics Released</title><link href="https://trec-rag.github.io/annoucements/2024-topics-released/" rel="alternate" type="text/html" title="TREC 2024 RAG Topics Released" /><published>2024-08-07T09:00:00+00:00</published><updated>2024-08-07T09:00:00+00:00</updated><id>https://trec-rag.github.io/annoucements/2024-topics-released</id><content type="html" xml:base="https://trec-rag.github.io/annoucements/2024-topics-released/"><![CDATA[<h2 id="trec-2024-rag-competition-has-now-officially-started">TREC 2024 RAG competition has now officially started!</h2>

<p>We have just released our freshly-minted 301 RAG test topics which will be used for the competition:</p>
<ul>
  <li>RAG 2024 Topics: <a href="/assets/txt/topics.rag24.test.txt">topics.rag24.test.txt</a></li>
</ul>

<p>We look forward to your participation and please review the <a href="https://trec-rag.github.io/annoucements/2024-track-guidelines/">track-guidelines</a> before submitting!</p>

<p>Let the games begin!</p>

<p>Regards,
The TREC 2024 RAG Organizers</p>]]></content><author><name>RAG</name></author><category term="Annoucements" /><category term="TREC 2024" /><category term="Topics" /><summary type="html"><![CDATA[TREC 2024 RAG competition has now officially started!]]></summary></entry><entry><title type="html">TREC 2024 RAG Evaluation Overview</title><link href="https://trec-rag.github.io/annoucements/evaluation/" rel="alternate" type="text/html" title="TREC 2024 RAG Evaluation Overview" /><published>2024-07-25T11:00:00+00:00</published><updated>2024-07-25T11:00:00+00:00</updated><id>https://trec-rag.github.io/annoucements/evaluation</id><content type="html" xml:base="https://trec-rag.github.io/annoucements/evaluation/"><![CDATA[<blockquote>
  <p>Version 1.0. Last Updated: July 25, 2024</p>
</blockquote>

<h1 id="an-overview-of-the-trec-2024-rag-evaluation-procedure">An Overview of the TREC 2024 RAG Evaluation Procedure</h1>

<p><img src="/assets/images/evaluation_flow_public.jpg" alt="Evaluation Procedure" class="align-center" /></p>

<p>This year at the TREC 2024 Retrieval-Augmented Generation (RAG) Track, we plan to follow the evaluation pipeline in Figure 1. The top half of the workflow focuses on constructing “<em>ground truth</em>” information nuggets, whereas the bottom half focuses on evaluating systems’ answers based on the information nuggets. Below is an overview of each step of the pipeline:</p>

<h2 id="stage-1-relevance-assessment">Stage 1: Relevance Assessment</h2>

<p><strong>Topic Selection and Creation:</strong> The process begins with collecting responses from participants submitted to the Retrieval (R) and the Augmented-Generation (AG/RAG) tracks. The segments (or document chunks) and RAG answers provided by all the participants will be used for creating the pools for assessment, based on submission priority and availability of assessors.</p>

<p><strong>Relevance Assessment (Automatic):</strong> The next step involves assessing the relevance of the pooled segments concerning the input topic (query). As the first step, we utilize various relevance estimators based on UMBRELA [1] and beyond to assess the relevance scores of each topic-segment pair. We construct the “Auto Qrels” after completing our automatic relevance assessment.</p>

<p><strong>Relevance Assessment (Manual):</strong> After the automatic scoring, an additional manual assessment using human annotators is performed to refine the assigned relevance scores. We construct the “Post-Edited Qrels” which will be used for the Retrieval (R) task evaluation.</p>

<p>[1] Upadhyay et al. “UMBRELA: UMbrela is the (Open-Source Reproduction of the) Bing RELevance Assessor.” <a href="https://arxiv.org/abs/2406.06519">https://arxiv.org/abs/2406.06519</a>.</p>

<hr />
<h2 id="stage-2-nugget-curation">Stage 2: Nugget Curation</h2>

<p><strong>Nugget Creation (Automatic):</strong> Using the relevant pooled segments for each input topic, an automatic nugget creation (or nuggetization) process leveraging LLMs to generate multiple few-word to sentence-long nuggets containing factual information relevant to the input topic. The “Auto Nuggets” list is constructed for every topic selected. These nuggets will be grounded in the corpus and span all crucial facts that an RAG answer should cover. These “Auto Nuggets” also include a binary score of vitality (‘okay’ or ‘vital’).</p>

<p><strong>Nuggets Revisions (Manual):</strong> The “Auto Nuggets” list is provided to the annotators for further refinement. The annotator will cover each nugget in the list and determine its relevance to the input topic. The annotators can delete, edit, or even add new human-generated nuggets to the nugget list. After the revision round, we construct a “Post-Edited Nuggets” list which will be used for nugget-based evaluation of the AG/RAG tracks.</p>

<hr />
<h2 id="stage-3-support-fluency--nugget-assessment">Stage 3: Support, Fluency &amp; Nugget Assessment</h2>

<p><strong>RAG/AG Answers:</strong> After successfully generating the information nuggets and lists of relevant documents, we evaluate each participant’s RAG/AG answers using three independent evaluation metrics: (i) Support, (ii) Fluency, and (iii) Nugget assignment. Each RAG answer is broken into sentences with each sentence containing citations to retrieved segments.</p>

<p><strong>Support Assessment (Automatic):</strong> The support assessment evaluates every sentence mentioned in the answer. Every sentence is first evaluated automatically using an LLM for providing any specific information requiring a citation, or if the sentence is a generic sentence requiring no citation. Next, for sentences containing citations, each sentence is evaluated for how well it is supported by its associated cited segments. We categorize support on a scale of 0-2: no, partial, or full support.</p>

<p><strong>Support Assessment (Manual):</strong> The support assessment identical to the automatic stage is evaluated using a human assessor. Every sentence is judged using a human annotator to check whether the sentence requires a citation or not. Further, for sentences requiring citation, we ask each annotator to judge whether each sentence present within the RAG answer contributes no, partial, or full support for its associated cited segments.</p>

<p><strong>Fluency Assessment (Automatic):</strong> The fluency assessment evaluates whether each RAG answer is fluent and cohesive. We automatically compute fluency by using the input topic and the complete RAG answer, where the LLM will score fluency.</p>

<p><strong>Nugget Assessment (Automatic):</strong> The automatic nugget assessment evaluates the complete RAG response and checks for how many nuggets from the list are present within the answer. Note that we use an LLM for evaluation, not heuristic metrics like BLEU which compute the word overlap. The automatic nugget assessment computes an assignment score akin to that described in support assessment, where the nugget is either not supported by the answer, partially supported, or fully supported.</p>

<p><strong>Nugget Assessment (Manual):</strong> The manual nugget assessment is a process identical to the automatic nugget assessment. We ask the assessor to manually assess how well each nugget in the Post-Edited Nuggets list is covered within the RAG answer.</p>

<hr />
<h2 id="stage-x-and-everything-else-under-the-sun">Stage X: And everything else under the sun</h2>

<p>While the above stages will likely be what we are constrained to with NIST assessors in the loop, we would like to also evaluate other aspects of RAG answers. This could be hallucination rates, contradictions across answer sentences, pairwise evaluation, etc. Anything else you’d like to see? Reach out!</p>]]></content><author><name>RAG</name></author><category term="Annoucements" /><category term="Guidelines" /><category term="Evaluation" /><category term="TREC 2024" /><summary type="html"><![CDATA[Version 1.0. Last Updated: July 25, 2024]]></summary></entry><entry><title type="html">TREC 2024 RAG Track Guidelines</title><link href="https://trec-rag.github.io/annoucements/2024-track-guidelines/" rel="alternate" type="text/html" title="TREC 2024 RAG Track Guidelines" /><published>2024-07-19T09:00:00+00:00</published><updated>2024-07-19T09:00:00+00:00</updated><id>https://trec-rag.github.io/annoucements/2024-track-guidelines</id><content type="html" xml:base="https://trec-rag.github.io/annoucements/2024-track-guidelines/"><![CDATA[<blockquote>
  <p>Version 1.0. Last Updated: July 19, 2024</p>
</blockquote>

<p>Participating teams will receive both the MS MARCO V2.1 document &amp; segment collection and a list of topic descriptions.
For each topic, participants have the choice to participate in either all or any of three tasks introduced this RAG this year. For the Retrieval Track (R), participating systems would provide a ranked list of segment IDs retrieved from the MS MARCO V2.1 segment collection. Next, for tracks with Augmented Generation (AG &amp; RAG), participating systems would generate an answer description (containing upto a maximum of 400 words) broken into individual sentences with citations from the MS MARCO V2.1 segment collection.</p>

<blockquote>
  <p>Participate in our RAG Track by registering for TREC at this <a href="https://trec.nist.gov/pubs/call2024.html">website</a>. Test topics will be released by August 11, 2024 &amp; submit your participating runs by August 25, 2024 (AOE)!</p>
</blockquote>

<h2 id="task-overview">Task Overview</h2>

<p>We are excited to provide details on each task which will be conducted in the first year of the TREC RAG track! You can participate in any or all of the three tasks below:</p>

<table>
  <thead>
    <tr>
      <th>TREC 2024 RAG Task</th>
      <th>Input</th>
      <th>Output</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a href="#retrieval-task-r">(R) Retrieval Task</a></td>
      <td>MS MARCO V2.1 Segment Collection + List of Topics</td>
      <td>Ranked List of Segment IDs drawn from the collection</td>
    </tr>
    <tr>
      <td><a href="#augmented-generation-task-ag">(AG) Augmented Generation Task</a></td>
      <td>Ranked List of Segment IDs + List of Topics</td>
      <td>RAG Answer with references from provided Segment IDs</td>
    </tr>
    <tr>
      <td><a href="#retrieval-augmented-generation-task-rag">(RAG) Retrieval-Augmented Generation Task</a></td>
      <td>MS MARCO V2.1 Segment &amp; Document Collection + List of Topics</td>
      <td>RAG Answer with references from provided Segment IDs</td>
    </tr>
  </tbody>
</table>

<h2 id="assessment--evaluation">Assessment &amp; Evaluation</h2>
<p>Evaluation of the participating systems will involve four metrics: <em>Nugget evaluation</em>, <em>Support evaluation</em>, <em>Fluency evaluation</em> &amp; <em>Retrieval evaluation</em>. All cited segments provided by the partcipants will be added to the relevance assessment pools for each individual topic. After the first round of LLM-generated relevance assessments with post-curation from NIST assessors, the LLM-generated nugget list for nugget evaluation with post-curation from NIST assessors. Finally, we assign scores based on nugget recall and precision and other factors involving LLM-assisted support evaluation (grouding based on referenced segments) and LLM-assisted fluency evaluation (grammar and coherence) of the RAG response with post-curation from NIST assessors. The detailed process for assessment will be outlined soon.</p>

<h1 id="tasks-overview">Tasks Overview</h1>

<h2 id="retrieval-task-r">Retrieval Task (R)</h2>
<p>The retrieval task as the name suggets is an ad-hoc information retrieval task similar to the previous <a href="https://microsoft.github.io/msmarco/TREC-Deep-Learning.html">TREC Deep Learning Track</a>. Participating systems will receive a list of topics and the MS MARCO V2.1 segment collection. For each topic, the system needs to return the TREC runfile containing the ranked list containing the top 20 relevant segment IDs from the collection. The topics provided will be non-factoid and require long-form answer generation.</p>

<blockquote>
  <p>The “R” track emulates the previous TREC-DL 2022/2023 tracks is for the IR audience, however, the main difference lies in using document <em>chunks</em> from the MS MARCO V2.1 segment collection instead of the MS MARCO v2.0 passage collection.</p>
</blockquote>

<h3 id="input-format-topics">Input Format (Topics)</h3>

<p>List of queries as topics as TSV: &lt;<code class="language-plaintext highlighter-rouge">trec_rag_2024_queries.tsv</code>&gt;, with each line containing the topic_id and a sentence-length description of the topic.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># Example of `trec_rag_2024_queries.tsv`</span>
...
2027497	how often should you take your toddler to the potty when potty training
300986	how many years <span class="k">in </span>jail <span class="k">for </span>money laundering
835760	what is the name of the triangular region at the base of the bladder?
...
</code></pre></div></div>

<h3 id="input-format-segments">Input Format (Segments)</h3>

<p>MS MARCO v2.1 segment collection as JSONL: &lt;<code class="language-plaintext highlighter-rouge">msmarco_v2.1_doc_segmented_XX.json.gz</code>&gt;, each segment is present in the JSON format on each line. The fields present are:</p>
<ul>
  <li>docid (string): The segment ID for the MS MARCO v2.1 segment (Note: ID before “#” is the mapped document ID)</li>
  <li>url (string): The url of the segment available on the webpage (same as the document)</li>
  <li>title (string): The title of the segment or chunk (same as the document)</li>
  <li>headings (string): The headings available in the segment or chunk (same as the document)</li>
  <li>segment (string): The complete text of the segment or chunk</li>
  <li>start_char (integer): The start character of the segment or chunk in the mapped document</li>
  <li>end_char (integer): The end character of the segment or chunk in the mapped document</li>
</ul>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1"># Example of `msmarco_v2.1_doc_segmented_XX.json.gz`
</span><span class="p">...</span>
<span class="p">{</span>
    <span class="s">"docid"</span><span class="p">:</span> <span class="s">"msmarco_v2.1_doc_51_766815931#2_1606878413"</span><span class="p">,</span> 
    <span class="s">"url"</span><span class="p">:</span> <span class="s">"https://www.romper.com/p/how-often-should-i-take-my-toddler-to-the-potty-there-are-some-guidelines-to-follow-71586"</span><span class="p">,</span> 
    <span class="s">"title"</span><span class="p">:</span> <span class="s">"How Often Should I Take My Toddler To The Potty? There Are Some Guidelines To Follow"</span><span class="p">,</span> 
    <span class="s">"headings"</span><span class="p">:</span> <span class="s">"How Often Should I Take My Toddler To The Potty? There Are Some Guidelines To Follow</span><span class="se">\n</span><span class="s">How Often Should I Take My Toddler To The Potty? There Are Some Guidelines To Follow"</span><span class="p">,</span> 
    <span class="s">"segment"</span><span class="p">:</span> <span class="s">"Self-esteem can be fragile at this time, so it's important to toilet train gently, letting your child lead the way. Additionally, it's unwise to begin potty training unless your child is truly ready. Take this potty training readiness quiz featured in Parents before you begin. Elizabeth Pantley, author of The No-Cry Potty Training Solution, explained in an excerpt on Child Development Info that most toddlers pee four to eight times per day. On top of that, toddlers have one or two bowel movements a day. But every toddler is an individual. Some will go more often than that, and others will last a couple days without having a bowel movement at all. In terms of actually getting your toddler to the potty, Pantley suggested setting up a potty routine. Potty first thing in the morning, after eating, and before other activities, like riding in the car or going to sleep. Of course, you can adapt this routine to your lifestyle, and you still must be on the lookout for signs your toddler has to go ahead of schedule."</span><span class="p">,</span> 
    <span class="s">"start_char"</span><span class="p">:</span> <span class="mi">1445</span><span class="p">,</span> 
    <span class="s">"end_char"</span><span class="p">:</span> <span class="mi">2466</span>
<span class="p">},</span>
<span class="p">{</span>
    <span class="s">"docid"</span><span class="p">:</span> <span class="s">"msmarco_v2.1_doc_37_463237391#10_984448281"</span><span class="p">,</span> 
    <span class="s">"url"</span><span class="p">:</span> <span class="s">"https://www.curejoy.com/content/how-to-potty-train-your-kid/"</span><span class="p">,</span>
    <span class="s">"title"</span><span class="p">:</span> <span class="s">"How To Potty Train Your Kid: Toilet Training Tips For Toddlers | CureJoy"</span><span class="p">,</span> 
    <span class="s">"headings"</span><span class="p">:</span> <span class="s">"How To Potty Train Your Kid: Toilet Training Tips For Toddlers</span><span class="se">\n</span><span class="s">How To Potty Train Your Kid: Toilet Training Tips For Toddlers</span><span class="se">\n</span><span class="s">1. Start Potty Training At “The Right Time”</span><span class="se">\n</span><span class="s">2. Watch For Cues From Your Child</span><span class="se">\n</span><span class="s">3. Understand Your Child’s Temperament</span><span class="se">\n</span><span class="s">4. Create a Potty Training Plan</span><span class="se">\n</span><span class="s">Read To Your Child</span><span class="se">\n</span><span class="s">Buy A Good Potty Chair Or Seat</span><span class="se">\n</span><span class="s">Let Your Toddler Become Comfortable</span><span class="se">\n</span><span class="s">Create A Schedule</span><span class="se">\n</span><span class="s">Praise, Praise, Praise</span><span class="se">\n</span><span class="s">Patience Is A Virtue!</span><span class="se">\n</span><span class="s">5. Stick To These Potty Training Dos</span><span class="se">\n</span><span class="s">6. And Steer Clear Of These Don’ts!</span><span class="se">\n</span><span class="s">"</span><span class="p">,</span> 
    <span class="s">"segment"</span><span class="p">:</span> <span class="s">"Take your child to the potty about 3 times a day – first thing in the morning, after mealtimes, and again before bedtime. It should become part of their daily routine. About 30 minutes after a meal is a good time to try. Also watch for facial expressions or poses that may signal that they need to “go.” If you take your toddler to the potty and they are reluctant to use it, don’t force them. But if they agree to get</span><span class="se">\n</span><span class="s">Advertisements</span><span class="se">\n</span><span class="s">on it, lavish praise on them and give a small reward even if they don’t actually poop or pee. Over time, your child will get the hang of what they’re supposed to do. It takes about 3–6 months to reliably potty train your toddler, so patience is key. Most kids still wear diapers overnight until age 5, because nighttime control is more difficult to attain. 6</span><span class="se">\n</span><span class="s">Praise, Praise, Praise</span><span class="se">\n</span><span class="s">This is the most crucial part of the plan!"</span><span class="p">,</span> 
    <span class="s">"start_char"</span><span class="p">:</span> <span class="mi">4551</span><span class="p">,</span> 
    <span class="s">"end_char"</span><span class="p">:</span> <span class="mi">5409</span>
<span class="p">},</span>
<span class="p">...</span>
</code></pre></div></div>

<h3 id="output-format-ranked-results">Output Format (Ranked Results)</h3>
<p>Participants should provide their output in the standard TREC format containing top-k=<code class="language-plaintext highlighter-rouge">100</code> MS MARCO v2.1 segments as TSV: &lt;<code class="language-plaintext highlighter-rouge">r_output_trec_rag_2024.tsv</code>&gt; for each individual topic. Each set of ranked results for a set of topics appears in a single file. We will take a maximum of 100 results from each participant, more than 100 results will be truncated. Note that our human judgment pools are likely not going to be more than 20 segments per query per run, having 100 helps us evaluate recall statistics. Each line of this file contains six whitespace-separated entries:</p>
<ul>
  <li>Topic ID (topic identifier taken from <code class="language-plaintext highlighter-rouge">trec_rag_2024_queries.tsv</code>)</li>
  <li>The fixed string “Q0”</li>
  <li>Segment ID (from the docid field in <code class="language-plaintext highlighter-rouge">msmarco_v2.1_doc_segmented_XX.json.gz</code>)</li>
  <li>Rank (which is the rank of the segment retrieved)</li>
  <li>Score (integer or float that generated the ranking. This score must be in non-increasing order)</li>
  <li>Run ID (where you mention the ID of the run you are submitting, e.g., “rank_zephyr_best”)</li>
</ul>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>...
<span class="c"># Example of how to return the top-k qrels</span>
2027497 Q0 msmarco_v2.1_doc_51_766815931#2_1606878413 1 0.99986017 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_51_766815931#1_1606876582 2 0.9996673 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_51_766815931#5_1606882767 3 0.99931216 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_51_766815931#6_1606884302 4 0.99923867 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_51_766815931#3_1606879951 5 0.99862224 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_51_766815931#4_1606881348 6 0.9985786 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_37_463237391#10_984448281 7 0.99851626 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_51_766815931#0_1606874600 8 0.9980733 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_37_463237391#9_984446615 9 0.99794924 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_28_472446307#22_1012988885 10 0.99647564 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_51_766815931#7_1606885873 11 0.9926826 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_28_472446307#21_1012986800 12 0.9922143 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_29_562342450#23_1356565296 13 0.9852146 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_29_562342450#17_1356555947 14 0.9829547 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_49_418787959#7_861728734 15 0.97997653 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_49_418787959#6_861726964 16 0.9739437 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_26_680625866#7_1289507527 17 0.97334224 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_10_1346272776#19_2165266355 18 0.9732915 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_56_1491300640#3_3012150696 19 0.97272736 rank_zephyr_best
2027497 Q0 msmarco_v2.1_doc_10_672519892#5_1260010758 20 0.9719925 rank_zephyr_best
...
</code></pre></div></div>

<h2 id="augmented-generation-task-ag">Augmented Generation Task (AG)</h2>

<p>The Augmented Generation task emulates the modern-day RAG task to return the summarized answer ground based on the information available in the pre-determined list of top-k segments provided to the participant.  Participating systems will receive a list of topics, MS MARCO V2.1 segment collection and the ranked list of the top-k relevant segments for each individual topic. The topics provided will be non-factoid and require long-form answer generation.</p>

<blockquote>
  <p>The AG track is for the NLP audience, focused on the generation output and quality. We provide the top-k retrieved segments, which allows the participants to focus on the answer generation quality, by grounding on the set of chunks of segments, and generate an informative &amp; summarized answer.</p>
</blockquote>

<h3 id="input-format-topics-1">Input Format (Topics)</h3>

<p>List of queries as topics as TSV: &lt;<code class="language-plaintext highlighter-rouge">trec_rag_2024_queries.tsv</code>&gt;, with each line containing the topic_id and a sentence-length description of the topic.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># Example of `trec_rag_2024_queries.tsv`</span>
...
2027497	how often should you take your toddler to the potty when potty training
300986	how many years <span class="k">in </span>jail <span class="k">for </span>money laundering
835760	what is the name of the triangular region at the base of the bladder?
...
</code></pre></div></div>

<h3 id="input-format-segments-1">Input Format (Segments)</h3>

<p>MS MARCO v2.1 segment collection as JSONL: &lt;<code class="language-plaintext highlighter-rouge">msmarco_v2.1_doc_segmented_XX.json.gz</code>&gt;, each document is present in the JSON format on each line. The fields present for each document are:</p>
<ul>
  <li>docid (string): The segment ID for the MS MARCO v2.1 segment (Note: ID before “#” is the mapped document ID)</li>
  <li>url (string): The url of the segment available on the webpage (same as the document)</li>
  <li>title (string): The title of the segment or chunk (same as the document)</li>
  <li>headings (string): The headings available in the segment or chunk (same as the document)</li>
  <li>segment (string): The complete text of the segment or chunk</li>
  <li>start_char (integer): The start character of the segment or chunk in the mapped document</li>
  <li>end_char (integer): The end character of the segment or chunk in the mapped document</li>
</ul>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1"># Example of `msmarco_v2.1_doc_segmented_XX.json.gz`
</span><span class="p">...</span>
<span class="p">{</span>
    <span class="s">"docid"</span><span class="p">:</span> <span class="s">"msmarco_v2.1_doc_51_766815931#2_1606878413"</span><span class="p">,</span> 
    <span class="s">"url"</span><span class="p">:</span> <span class="s">"https://www.romper.com/p/how-often-should-i-take-my-toddler-to-the-potty-there-are-some-guidelines-to-follow-71586"</span><span class="p">,</span> 
    <span class="s">"title"</span><span class="p">:</span> <span class="s">"How Often Should I Take My Toddler To The Potty? There Are Some Guidelines To Follow"</span><span class="p">,</span> 
    <span class="s">"headings"</span><span class="p">:</span> <span class="s">"How Often Should I Take My Toddler To The Potty? There Are Some Guidelines To Follow</span><span class="se">\n</span><span class="s">How Often Should I Take My Toddler To The Potty? There Are Some Guidelines To Follow"</span><span class="p">,</span> 
    <span class="s">"segment"</span><span class="p">:</span> <span class="s">"Self-esteem can be fragile at this time, so it's important to toilet train gently, letting your child lead the way. Additionally, it's unwise to begin potty training unless your child is truly ready. Take this potty training readiness quiz featured in Parents before you begin. Elizabeth Pantley, author of The No-Cry Potty Training Solution, explained in an excerpt on Child Development Info that most toddlers pee four to eight times per day. On top of that, toddlers have one or two bowel movements a day. But every toddler is an individual. Some will go more often than that, and others will last a couple days without having a bowel movement at all. In terms of actually getting your toddler to the potty, Pantley suggested setting up a potty routine. Potty first thing in the morning, after eating, and before other activities, like riding in the car or going to sleep. Of course, you can adapt this routine to your lifestyle, and you still must be on the lookout for signs your toddler has to go ahead of schedule."</span><span class="p">,</span> 
    <span class="s">"start_char"</span><span class="p">:</span> <span class="mi">1445</span><span class="p">,</span> 
    <span class="s">"end_char"</span><span class="p">:</span> <span class="mi">2466</span>
<span class="p">},</span>
<span class="p">{</span>
    <span class="s">"docid"</span><span class="p">:</span> <span class="s">"msmarco_v2.1_doc_37_463237391#10_984448281"</span><span class="p">,</span> 
    <span class="s">"url"</span><span class="p">:</span> <span class="s">"https://www.curejoy.com/content/how-to-potty-train-your-kid/"</span><span class="p">,</span>
    <span class="s">"title"</span><span class="p">:</span> <span class="s">"How To Potty Train Your Kid: Toilet Training Tips For Toddlers | CureJoy"</span><span class="p">,</span> 
    <span class="s">"headings"</span><span class="p">:</span> <span class="s">"How To Potty Train Your Kid: Toilet Training Tips For Toddlers</span><span class="se">\n</span><span class="s">How To Potty Train Your Kid: Toilet Training Tips For Toddlers</span><span class="se">\n</span><span class="s">1. Start Potty Training At “The Right Time”</span><span class="se">\n</span><span class="s">2. Watch For Cues From Your Child</span><span class="se">\n</span><span class="s">3. Understand Your Child’s Temperament</span><span class="se">\n</span><span class="s">4. Create a Potty Training Plan</span><span class="se">\n</span><span class="s">Read To Your Child</span><span class="se">\n</span><span class="s">Buy A Good Potty Chair Or Seat</span><span class="se">\n</span><span class="s">Let Your Toddler Become Comfortable</span><span class="se">\n</span><span class="s">Create A Schedule</span><span class="se">\n</span><span class="s">Praise, Praise, Praise</span><span class="se">\n</span><span class="s">Patience Is A Virtue!</span><span class="se">\n</span><span class="s">5. Stick To These Potty Training Dos</span><span class="se">\n</span><span class="s">6. And Steer Clear Of These Don’ts!</span><span class="se">\n</span><span class="s">"</span><span class="p">,</span> 
    <span class="s">"segment"</span><span class="p">:</span> <span class="s">"Take your child to the potty about 3 times a day – first thing in the morning, after mealtimes, and again before bedtime. It should become part of their daily routine. About 30 minutes after a meal is a good time to try. Also watch for facial expressions or poses that may signal that they need to “go.” If you take your toddler to the potty and they are reluctant to use it, don’t force them. But if they agree to get</span><span class="se">\n</span><span class="s">Advertisements</span><span class="se">\n</span><span class="s">on it, lavish praise on them and give a small reward even if they don’t actually poop or pee. Over time, your child will get the hang of what they’re supposed to do. It takes about 3–6 months to reliably potty train your toddler, so patience is key. Most kids still wear diapers overnight until age 5, because nighttime control is more difficult to attain. 6</span><span class="se">\n</span><span class="s">Praise, Praise, Praise</span><span class="se">\n</span><span class="s">This is the most crucial part of the plan!"</span><span class="p">,</span> 
    <span class="s">"start_char"</span><span class="p">:</span> <span class="mi">4551</span><span class="p">,</span> 
    <span class="s">"end_char"</span><span class="p">:</span> <span class="mi">5409</span>
<span class="p">},</span>
<span class="p">...</span>
</code></pre></div></div>

<h3 id="input-format-ranked-results">Input Format (Ranked Results)</h3>

<p>Top-20/100 retrieved segments for each individual topic using our baseline retrieval system on the MS MARCO v2.1 segment collection: &lt;<code class="language-plaintext highlighter-rouge">baseline_r_out.tsv</code>&gt;.
We will provide a maximum of 100 segments for each individual topic. 
This file has the same format as the output file for the retrieval task.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>- Topic ID <span class="o">(</span>taken from <span class="sb">`</span>trec_rag_2024_queries.tsv<span class="sb">`</span><span class="o">)</span>
- The fixed string “Q0”
- Segment ID <span class="o">(</span>from the docid field <span class="k">in</span> <span class="sb">`</span>msmarco_v2.1_doc_segmented_XX.json.gz<span class="sb">`</span><span class="o">)</span>
- Rank <span class="o">(</span>which is the rank of the segment retrieved<span class="o">)</span>
- Score <span class="o">(</span>integer or float that generated the ranking. This score must be <span class="k">in </span>descending, non-increasing order<span class="o">)</span>
- Run ID <span class="o">(</span>where you mention the ID of the run you are submitting, e.g., <span class="s2">"rank_zephyr_best"</span><span class="o">)</span>
</code></pre></div></div>

<p>We will additionally provide reranker requests JSONL file, <baseline_r_out.jsonl>, described at the end of the section [here](https://github.com/castorini/ragnarok/blob/main/docs/rag24.md#retrieval---bm25), where each line is a JSON object with the following fields:</baseline_r_out.jsonl></p>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span>
    <span class="s">"query"</span><span class="p">:</span> <span class="p">{</span>
        <span class="s">"id"</span><span class="p">:</span> <span class="s">"2027497"</span><span class="p">,</span> <span class="c1"># query_id
</span>        <span class="s">"text"</span><span class="p">:</span> <span class="s">"how often should you take your toddler to the potty when potty training"</span> <span class="c1"># query
</span>    <span class="p">},</span> 
    <span class="s">"candidates"</span><span class="p">:</span> <span class="p">[</span>
        <span class="p">{</span>
            <span class="s">"docid"</span><span class="p">:</span> <span class="s">"msmarco_v2.1_doc_..."</span><span class="p">,</span>
            <span class="s">"score"</span><span class="p">:</span> <span class="mf">18.2876</span><span class="p">,</span>
            <span class="s">"doc"</span><span class="p">:</span> 
            <span class="p">{</span>
                <span class="s">"url"</span><span class="p">:</span> <span class="s">"..."</span><span class="p">,</span>
                <span class="s">"title"</span><span class="p">:</span> <span class="s">"..."</span><span class="p">,</span>
                <span class="s">"headings"</span><span class="p">:</span> <span class="s">"..."</span><span class="p">,</span>
                <span class="s">"segment"</span><span class="p">:</span> <span class="s">"..."</span><span class="p">,</span>
                <span class="s">"start_char"</span><span class="p">:</span> <span class="mi">1234</span><span class="p">,</span>
                <span class="s">"end_char"</span><span class="p">:</span> <span class="mi">4567</span>
            <span class="p">}</span>
        <span class="p">},</span>
        <span class="p">{</span>
            <span class="p">...</span>
        <span class="p">}</span>
    <span class="p">]</span>
<span class="p">}</span>
</code></pre></div></div>

<p>Providing the url, title, headings, segment, start_char, and end_char fields for each candidate segment will help participants with limitations in downloading the entire MS MARCO v2.1 segment collection, to still get to participate in the AG task.</p>

<h3 id="output-format-ag-output">Output Format (AG Output)</h3>

<p>Participants should provide their output in the standard JSONL format containing the following JSON information as &lt;<code class="language-plaintext highlighter-rouge">ag_output_trec_rag_2024.jsonl</code>&gt; for each individual topic. The final RAG answer should provided in the following JSON format. Each line of this JSONL file contains the following entries:</p>

<ul>
  <li>run_id (string) containing the run tag to your submission (e.g. “h2oloo-ragnarok-baseline”)</li>
  <li>topic_id (string) from the topic_id taken from <code class="language-plaintext highlighter-rouge">trec_rag_2024_queries.tsv</code></li>
  <li>topic (string) the sentence-level description of the topic taken from <code class="language-plaintext highlighter-rouge">trec_rag_2024_queries.tsv</code></li>
  <li>references (array) containing the ranked list of top-k segment IDs from the retrieval stage (a maximum of only 20 segments is allowed)</li>
  <li>response_length (integer) containing the total words present in the overall RAG response.</li>
  <li>answer (array) containing the list of sentences and citations from the <code class="language-plaintext highlighter-rouge">references</code> list. The <code class="language-plaintext highlighter-rouge">text</code> field contains the response and <code class="language-plaintext highlighter-rouge">citations</code> field contains the (zero-indexed) reference of the segment from the <code class="language-plaintext highlighter-rouge">references</code> list.</li>
</ul>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span>
    <span class="s">"run_id"</span><span class="p">:</span> <span class="s">"my-awesome-team-name"</span><span class="p">,</span>
    <span class="s">"topic_id"</span><span class="p">:</span> <span class="s">"2027497"</span><span class="p">,</span> <span class="c1"># query_id
</span>    <span class="s">"topic"</span><span class="p">:</span> <span class="s">"how often should you take your toddler to the potty when potty training"</span><span class="p">,</span> <span class="c1"># query
</span>    <span class="s">"references"</span><span class="p">:</span> <span class="p">[</span> <span class="c1"># top-k segments returned used from the retrieval step. We have k equals to 20 segments for this example.
</span>        <span class="s">"msmarco_v2.1_doc_51_766815931#2_1606878413"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_51_766815931#1_1606876582"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_51_766815931#5_1606882767"</span><span class="p">,</span> 
        <span class="s">"msmarco_v2.1_doc_51_766815931#6_1606884302"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_51_766815931#3_1606879951"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_51_766815931#4_1606881348"</span><span class="p">,</span> 
        <span class="s">"msmarco_v2.1_doc_37_463237391#10_984448281"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_51_766815931#0_1606874600"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_37_463237391#9_984446615"</span><span class="p">,</span> 
        <span class="s">"msmarco_v2.1_doc_28_472446307#22_1012988885"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_51_766815931#7_1606885873"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_28_472446307#21_1012986800"</span><span class="p">,</span> 
        <span class="s">"msmarco_v2.1_doc_29_562342450#23_1356565296"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_29_562342450#17_1356555947"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_49_418787959#7_861728734"</span><span class="p">,</span> 
        <span class="s">"msmarco_v2.1_doc_49_418787959#6_861726964"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_26_680625866#7_1289507527"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_10_1346272776#19_2165266355"</span><span class="p">,</span> 
        <span class="s">"msmarco_v2.1_doc_56_1491300640#3_3012150696"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_10_672519892#5_1260010758"</span><span class="p">],</span> 
    <span class="s">"response_length"</span><span class="p">:</span> <span class="mi">192</span><span class="p">,</span> 
    <span class="s">"answer"</span><span class="p">:</span> <span class="p">[</span> <span class="c1"># RAG answer broken into sentences with each answer sentence grounding information from the index mentioned in references.
</span>            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"The frequency with which you should take your toddler to the potty depends on their readiness for potty training."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">12</span><span class="p">,</span> <span class="mi">13</span><span class="p">,</span> <span class="mi">19</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"Some sources suggest that toddlers should be taken to the potty about three times a day: first thing in the morning, after mealtimes, and again before bedtime."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">4</span><span class="p">,</span> <span class="mi">6</span><span class="p">,</span> <span class="mi">8</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"It is recommended that you watch for facial expressions or poses that may signal that they need to </span><span class="se">\"</span><span class="s">go</span><span class="se">\"</span><span class="s">."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">6</span><span class="p">,</span> <span class="mi">8</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"If they are reluctant to use the potty, don't force them."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">6</span><span class="p">,</span> <span class="mi">8</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"Other sources suggest that toddlers should be taken to the potty every two hours, whether they have to go or not."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">14</span><span class="p">,</span> <span class="mi">15</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"This includes first thing in the morning, before leaving the house, and before naps and bedtime."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">14</span><span class="p">,</span> <span class="mi">15</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"Some sources recommend taking toddlers to the potty every 30 minutes to an hour."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">9</span><span class="p">,</span> <span class="mi">11</span><span class="p">,</span> <span class="mi">17</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"This is to increase the chances of them peeing in the potty instead of on the floor."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">9</span><span class="p">,</span> <span class="mi">11</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"It is important to keep in mind that every toddler is different, and their potty training journey will be unique to them."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">4</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"It is recommended that you let your toddler lead the way and be gentle throughout the process, as their self-esteem can be fragile during this time."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">1</span><span class="p">]}</span>
        <span class="p">]</span>
<span class="p">}</span>
</code></pre></div></div>

<h2 id="retrieval-augmented-generation-task-rag">Retrieval-Augmented Generation Task (RAG)</h2>

<ul>
  <li><strong>Given</strong>: Participants will be provided a list of topics and both the MS MARCO v2.1 document and MS MARCO v2.1 segment collections.</li>
  <li><strong>Task</strong>: Return the summarized answer and ground based on information which you can either the MS MARCO v2.1 document or segment collection. Develop your own retrieval system to fetch relevant information from the MS MARCO v2.1 segment/document collection. You can use either our pre-determined segment collection or incorporate your own <strong>chunking</strong> technique with the MS MARCO v2.1 document collection. For evaluation, we ask each participant to map their chunk of segments with MS MARCO v2.1 segment collections.</li>
  <li><strong>Notes</strong>: The RAG track is a mixture of above (R) and (AG) tracks. This setup mimics best the industrial RAG setup for the NLP+IR audience. We evaluate the summarized answer in multiple ways incorporating both grounding and evaluating fluency of the generated output.</li>
</ul>

<h3 id="input-format-topics-2">Input Format (Topics)</h3>

<p>List of queries as topics as TSV: &lt;<code class="language-plaintext highlighter-rouge">trec_rag_2024_queries.tsv</code>&gt;, with each line containing the topic_id and a sentence-length description of the topic.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># Example of `trec_rag_2024_queries.tsv`</span>
...
2027497	how often should you take your toddler to the potty when potty training
300986	how many years <span class="k">in </span>jail <span class="k">for </span>money laundering
835760	what is the name of the triangular region at the base of the bladder?
...
</code></pre></div></div>

<h3 id="input-format-documents">Input Format (Documents)</h3>

<p>MS MARCO v2.1 document collection as JSONL: &lt;<code class="language-plaintext highlighter-rouge">msmarco_v2.1_doc_XX.json.gz</code>&gt;, each document is present in the JSON format on each line. The fields present for each document are:</p>
<ul>
  <li>docid (string): The document ID for the MS MARCO v2.1 document</li>
  <li>url (string): The url of the document</li>
  <li>title (string): The title of the document</li>
  <li>headings (string): The headings available in the document</li>
  <li>body (string): The complete text of the document</li>
</ul>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1"># Example of `msmarco_v2.1_doc_XX.json.gz`
</span><span class="p">{</span>
    <span class="s">'docid'</span><span class="p">:</span> <span class="s">'msmarco_v2.1_doc_51_766815931'</span><span class="p">,</span>
    <span class="s">'url'</span><span class="p">:</span> <span class="s">'https://www.romper.com/p/how-often-should-i-take-my-toddler-to-the-potty-there-are-some-guidelines-to-follow-71586'</span><span class="p">,</span> 
    <span class="s">'title'</span><span class="p">:</span> <span class="s">'How Often Should I Take My Toddler To The Potty? There Are Some Guidelines To Follow'</span><span class="p">,</span> 
    <span class="s">'headings'</span><span class="p">:</span> <span class="s">'How Often Should I Take My Toddler To The Potty? There Are Some Guidelines To Follow</span><span class="se">\n</span><span class="s">How Often Should I Take My Toddler To The Potty? There Are Some Guidelines To Follow'</span><span class="p">,</span> 
    <span class="s">'body'</span><span class="p">:</span> <span class="s">'How Often Should I Take My Toddler To The Potty? There Are Some Guidelines To Follow</span><span class="se">\n</span><span class="s">Life</span><span class="se">\n</span><span class="s">Ashley Batz/Romper</span><span class="se">\n</span><span class="s">How Often Should I Take My Toddler To The Potty? There Are Some Guidelines To Follow</span><span class="se">\n</span><span class="s">by Kelly Mullen-McWilliams</span><span class="se">\n</span><span class="s">July 22, 2017</span><span class="se">\n</span><span class="s">I don</span><span class="se">\'</span><span class="s">t know about you, but I</span><span class="se">\'</span><span class="s">m personally super pumped for that perfect day in the admittedly far-off future when I throw that last diaper away — and then throw myself a party. If you</span><span class="se">\'</span><span class="s">re currently in the midst of toilet training, I salute you, and I also know you have a lot of questions. Whether it</span><span class="se">\'</span><span class="s">s going well or not, you</span><span class="se">\'</span><span class="s">re probably wondering things like, " how often should I take my toddler to the potty ?"</span><span class="se">\n</span><span class="s">More Like This</span><span class="se">\n</span><span class="s">Vaccinated People Can Ditch Masks. Where Does That Leave Kids?</span><span class="se">\n</span><span class="s">25 Real-Life Reasons Not To Trust Older Siblings Around The Baby</span><span class="se">\n</span><span class="s">Moms To Toddlers Everywhere: This Aggression Will Not Stand, Man</span><span class="se">\n</span><span class="s">How 20 Kids Brought The Pandemic Into Their Play Worlds</span><span class="se">\n</span><span class="s">What Parents Are Talking About — Delivered Straight To Your Inbox</span><span class="se">\n</span><span class="s">Subscribe</span><span class="se">\n</span><span class="s">According to an article in Pediatrics, the official journal of the American Academy of Pediatrics (AAP), independent toilet use is a major milestone for your child, combining new physical capabilities with an understanding of social expectations, and their own motivation to become more autonomous. The article noted that toilet training is also one of the most difficult milestones for children and their parents, and that it can become highly emotional. Self-esteem can be fragile at this time, so it</span><span class="se">\'</span><span class="s">s important to toilet train gently, letting your child lead the way. Additionally, it</span><span class="se">\'</span><span class="s">s unwise to begin potty training unless your child is truly ready. Take this potty training readiness quiz featured in Parents before you begin.</span><span class="se">\n</span><span class="s">Elizabeth Pantley, author of The No-Cry Potty Training Solution, explained in an excerpt on Child Development Info that most toddlers pee four to eight times per day. On top of that, toddlers have one or two bowel movements a day. But every toddler is an individual. Some will go more often than that, and others will last a couple days without having a bowel movement at all.</span><span class="se">\n</span><span class="s">In terms of actually getting your toddler to the potty, Pantley suggested setting up a potty routine. Potty first thing in the morning, after eating, and before other activities, like riding in the car or going to sleep. Of course, you can adapt this routine to your lifestyle, and you still must be on the lookout for signs your toddler has to go ahead of schedule. If he or she looks squirmy, take them to the potty. But if you miss the signal, and there</span><span class="se">\'</span><span class="s">s a mess, it</span><span class="se">\'</span><span class="s">s no big deal. Practice makes perfect, after all. Don</span><span class="se">\'</span><span class="s">t let emotions get the better of you, even if your little girl or guy pees on an expensive piece of furniture.</span><span class="se">\n</span><span class="s">Try to get your toddler to the toilet frequently, but remember that it</span><span class="se">\'</span><span class="s">s OK if she needs a day off. According to Becoming the Parent You Want To Be by Laura Davis and Janis Keyser, it</span><span class="se">\'</span><span class="s">s common for children to go back and forth — somedays preferring diapers, and other days selecting to use the toilet. They recommended thinking of "accidents" as "opportunities."</span><span class="se">\n</span><span class="s">Pantley also suggested visiting new restrooms when you</span><span class="se">\'</span><span class="s">re on the go. Frequent visits to toilets far and near may help habituate your child to independent toilet use. Keep in mind that not all children will want to use strange bathrooms, and don</span><span class="se">\'</span><span class="s">t force anything. Davis and Keyser stressed the importance of keeping your own emotions in check throughout the toilet training process.</span><span class="se">\n</span><span class="s">The bottom line: when it comes to potty time, there</span><span class="se">\'</span><span class="s">s no magic number, but it</span><span class="se">\'</span><span class="s">s a good idea to take your toddler to the toilet often. Begin by following a schedule — morning pee, before nap time pee — and remember to look for signs that they</span><span class="se">\'</span><span class="s">re holding it. You can only take your child to the bathroom too much if it begins to feel stressful or punitive. If negative emotions attach themselves to toilet time, it</span><span class="se">\'</span><span class="s">s OK to take a break. It might take some time to achieve that no-more-diapers party, but that</span><span class="se">\'</span><span class="s">s fine. You</span><span class="se">\'</span><span class="s">ll just have that much longer to plan a good one.</span><span class="se">\n</span><span class="s">May 27. 2021</span><span class="se">\n</span><span class="s">SEARCH CLOSE</span><span class="se">\n</span><span class="s">Pregnancy</span><span class="se">\n</span><span class="s">See All Trying Birth After</span><span class="se">\n</span><span class="s">Raising Kids</span><span class="se">\n</span><span class="s">See All Baby Toddler Little Kid Big Kid</span><span class="se">\n</span><span class="s">You</span><span class="se">\n</span><span class="s">See All Sex &amp; Relationships Wellness Style</span><span class="se">\n</span><span class="s">Life</span><span class="se">\n</span><span class="s">See All Food Home Entertainment Politics Shopping</span><span class="se">\n</span><span class="s">Health</span><span class="se">\n</span><span class="s">About Archive Terms Privacy Newsletter Archive Advertise Masthead Editorial Standards</span><span class="se">\n</span><span class="s">© 2021 Bustle Digital Group. All rights reserved.'</span>
<span class="p">}</span>
</code></pre></div></div>

<h3 id="input-format-segments-2">Input Format (Segments)</h3>

<p>MS MARCO v2.1 segment collection as JSONL: &lt;<code class="language-plaintext highlighter-rouge">msmarco_v2.1_doc_segmented_XX.json.gz</code>&gt;, each document is present in the JSON format on each line. The fields present for each document are:</p>
<ul>
  <li>docid (string): The segment ID for the MS MARCO v2.1 segment (Note: ID before “#” is the mapped document ID)</li>
  <li>url (string): The url of the segment available on the webpage (same as the document)</li>
  <li>title (string): The title of the segment or chunk (same as the document)</li>
  <li>headings (string): The headings available in the segment or chunk (same as the document)</li>
  <li>segment (string): The complete text of the segment or chunk</li>
  <li>start_char (integer): The start character of the segment or chunk in the mapped document</li>
  <li>end_char (integer): The end character of the segment or chunk in the mapped document</li>
</ul>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1"># Example of `msmarco_v2.1_doc_segmented_XX.json.gz`
</span><span class="p">...</span>
<span class="p">{</span>
    <span class="s">"docid"</span><span class="p">:</span> <span class="s">"msmarco_v2.1_doc_51_766815931#2_1606878413"</span><span class="p">,</span> 
    <span class="s">"url"</span><span class="p">:</span> <span class="s">"https://www.romper.com/p/how-often-should-i-take-my-toddler-to-the-potty-there-are-some-guidelines-to-follow-71586"</span><span class="p">,</span> 
    <span class="s">"title"</span><span class="p">:</span> <span class="s">"How Often Should I Take My Toddler To The Potty? There Are Some Guidelines To Follow"</span><span class="p">,</span> 
    <span class="s">"headings"</span><span class="p">:</span> <span class="s">"How Often Should I Take My Toddler To The Potty? There Are Some Guidelines To Follow</span><span class="se">\n</span><span class="s">How Often Should I Take My Toddler To The Potty? There Are Some Guidelines To Follow"</span><span class="p">,</span> 
    <span class="s">"segment"</span><span class="p">:</span> <span class="s">"Self-esteem can be fragile at this time, so it's important to toilet train gently, letting your child lead the way. Additionally, it's unwise to begin potty training unless your child is truly ready. Take this potty training readiness quiz featured in Parents before you begin. Elizabeth Pantley, author of The No-Cry Potty Training Solution, explained in an excerpt on Child Development Info that most toddlers pee four to eight times per day. On top of that, toddlers have one or two bowel movements a day. But every toddler is an individual. Some will go more often than that, and others will last a couple days without having a bowel movement at all. In terms of actually getting your toddler to the potty, Pantley suggested setting up a potty routine. Potty first thing in the morning, after eating, and before other activities, like riding in the car or going to sleep. Of course, you can adapt this routine to your lifestyle, and you still must be on the lookout for signs your toddler has to go ahead of schedule."</span><span class="p">,</span> 
    <span class="s">"start_char"</span><span class="p">:</span> <span class="mi">1445</span><span class="p">,</span> 
    <span class="s">"end_char"</span><span class="p">:</span> <span class="mi">2466</span>
<span class="p">},</span>
<span class="p">{</span>
    <span class="s">"docid"</span><span class="p">:</span> <span class="s">"msmarco_v2.1_doc_37_463237391#10_984448281"</span><span class="p">,</span> 
    <span class="s">"url"</span><span class="p">:</span> <span class="s">"https://www.curejoy.com/content/how-to-potty-train-your-kid/"</span><span class="p">,</span>
    <span class="s">"title"</span><span class="p">:</span> <span class="s">"How To Potty Train Your Kid: Toilet Training Tips For Toddlers | CureJoy"</span><span class="p">,</span> 
    <span class="s">"headings"</span><span class="p">:</span> <span class="s">"How To Potty Train Your Kid: Toilet Training Tips For Toddlers</span><span class="se">\n</span><span class="s">How To Potty Train Your Kid: Toilet Training Tips For Toddlers</span><span class="se">\n</span><span class="s">1. Start Potty Training At “The Right Time”</span><span class="se">\n</span><span class="s">2. Watch For Cues From Your Child</span><span class="se">\n</span><span class="s">3. Understand Your Child’s Temperament</span><span class="se">\n</span><span class="s">4. Create a Potty Training Plan</span><span class="se">\n</span><span class="s">Read To Your Child</span><span class="se">\n</span><span class="s">Buy A Good Potty Chair Or Seat</span><span class="se">\n</span><span class="s">Let Your Toddler Become Comfortable</span><span class="se">\n</span><span class="s">Create A Schedule</span><span class="se">\n</span><span class="s">Praise, Praise, Praise</span><span class="se">\n</span><span class="s">Patience Is A Virtue!</span><span class="se">\n</span><span class="s">5. Stick To These Potty Training Dos</span><span class="se">\n</span><span class="s">6. And Steer Clear Of These Don’ts!</span><span class="se">\n</span><span class="s">"</span><span class="p">,</span> 
    <span class="s">"segment"</span><span class="p">:</span> <span class="s">"Take your child to the potty about 3 times a day – first thing in the morning, after mealtimes, and again before bedtime. It should become part of their daily routine. About 30 minutes after a meal is a good time to try. Also watch for facial expressions or poses that may signal that they need to “go.” If you take your toddler to the potty and they are reluctant to use it, don’t force them. But if they agree to get</span><span class="se">\n</span><span class="s">Advertisements</span><span class="se">\n</span><span class="s">on it, lavish praise on them and give a small reward even if they don’t actually poop or pee. Over time, your child will get the hang of what they’re supposed to do. It takes about 3–6 months to reliably potty train your toddler, so patience is key. Most kids still wear diapers overnight until age 5, because nighttime control is more difficult to attain. 6</span><span class="se">\n</span><span class="s">Praise, Praise, Praise</span><span class="se">\n</span><span class="s">This is the most crucial part of the plan!"</span><span class="p">,</span> 
    <span class="s">"start_char"</span><span class="p">:</span> <span class="mi">4551</span><span class="p">,</span> 
    <span class="s">"end_char"</span><span class="p">:</span> <span class="mi">5409</span>
<span class="p">},</span>
<span class="p">...</span>
</code></pre></div></div>

<h3 id="output-format-rag-output">Output Format (RAG Output)</h3>
<p>Output containing the following JSON information as &lt;<code class="language-plaintext highlighter-rouge">rag_output_trec_rag_2024.jsonl</code>&gt;. You can feel free to use the document collection with your own segmentation choice of yours, however, to make this collection reusable, we require the participant to map their custom chunked segments with segments available from MS MARCO V2.1 segment collection. Each line of this JSONL file contains the following entries:</p>

<ul>
  <li>run_id (string) containing your run tag (e.g. “h2oloo-e2e-ragnarok”)</li>
  <li>topic_id (string) from the topic_id taken from <code class="language-plaintext highlighter-rouge">trec_rag_2024_queries.tsv</code></li>
  <li>topic (string) the sentence-level description of the topic taken from <code class="language-plaintext highlighter-rouge">trec_rag_2024_queries.tsv</code></li>
  <li>references (array) containing the ranked list of top-k segment IDs from the retrieval stage (a maximum of only 20 segments is allowed)</li>
  <li>response_length (integer) containing the total words present in the overall RAG response.</li>
  <li>answer (array) containing the list of sentences and citations from the <code class="language-plaintext highlighter-rouge">references</code> list. The <code class="language-plaintext highlighter-rouge">text</code> field contains the response and <code class="language-plaintext highlighter-rouge">citations</code> field contains the (zero-indexed) reference of the segment from the <code class="language-plaintext highlighter-rouge">references</code> list.</li>
</ul>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span>
    <span class="s">"run_id"</span><span class="p">:</span> <span class="s">"my-awesome-team-name"</span><span class="p">,</span>
    <span class="s">"topic_id"</span><span class="p">:</span> <span class="s">"2027497"</span><span class="p">,</span> <span class="c1"># query_id
</span>    <span class="s">"topic"</span><span class="p">:</span> <span class="s">"how often should you take your toddler to the potty when potty training"</span><span class="p">,</span> <span class="c1"># query
</span>    <span class="s">"references"</span><span class="p">:</span> <span class="p">[</span> <span class="c1"># top-k segments returned used from the retrieval step. We have k equals to 20 segments for this example.
</span>        <span class="s">"msmarco_v2.1_doc_51_766815931#2_1606878413"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_51_766815931#1_1606876582"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_51_766815931#5_1606882767"</span><span class="p">,</span> 
        <span class="s">"msmarco_v2.1_doc_51_766815931#6_1606884302"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_51_766815931#3_1606879951"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_51_766815931#4_1606881348"</span><span class="p">,</span> 
        <span class="s">"msmarco_v2.1_doc_37_463237391#10_984448281"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_51_766815931#0_1606874600"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_37_463237391#9_984446615"</span><span class="p">,</span> 
        <span class="s">"msmarco_v2.1_doc_28_472446307#22_1012988885"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_51_766815931#7_1606885873"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_28_472446307#21_1012986800"</span><span class="p">,</span> 
        <span class="s">"msmarco_v2.1_doc_29_562342450#23_1356565296"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_29_562342450#17_1356555947"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_49_418787959#7_861728734"</span><span class="p">,</span> 
        <span class="s">"msmarco_v2.1_doc_49_418787959#6_861726964"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_26_680625866#7_1289507527"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_10_1346272776#19_2165266355"</span><span class="p">,</span> 
        <span class="s">"msmarco_v2.1_doc_56_1491300640#3_3012150696"</span><span class="p">,</span> <span class="s">"msmarco_v2.1_doc_10_672519892#5_1260010758"</span><span class="p">],</span> 
    <span class="s">"response_length"</span><span class="p">:</span> <span class="mi">192</span><span class="p">,</span> 
    <span class="s">"answer"</span><span class="p">:</span> <span class="p">[</span> <span class="c1"># RAG answer broken into sentences with each answer sentence grounding information from the index mentioned in references.
</span>            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"The frequency with which you should take your toddler to the potty depends on their readiness for potty training."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">12</span><span class="p">,</span> <span class="mi">13</span><span class="p">,</span> <span class="mi">19</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"Some sources suggest that toddlers should be taken to the potty about three times a day: first thing in the morning, after mealtimes, and again before bedtime."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">4</span><span class="p">,</span> <span class="mi">6</span><span class="p">,</span> <span class="mi">8</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"It is recommended that you watch for facial expressions or poses that may signal that they need to </span><span class="se">\"</span><span class="s">go</span><span class="se">\"</span><span class="s">."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">6</span><span class="p">,</span> <span class="mi">8</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"If they are reluctant to use the potty, don't force them."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">6</span><span class="p">,</span> <span class="mi">8</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"Other sources suggest that toddlers should be taken to the potty every two hours, whether they have to go or not."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">14</span><span class="p">,</span> <span class="mi">15</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"This includes first thing in the morning, before leaving the house, and before naps and bedtime."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">14</span><span class="p">,</span> <span class="mi">15</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"Some sources recommend taking toddlers to the potty every 30 minutes to an hour."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">9</span><span class="p">,</span> <span class="mi">11</span><span class="p">,</span> <span class="mi">17</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"This is to increase the chances of them peeing in the potty instead of on the floor."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">9</span><span class="p">,</span> <span class="mi">11</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"It is important to keep in mind that every toddler is different, and their potty training journey will be unique to them."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">4</span><span class="p">]},</span> 
            <span class="p">{</span><span class="s">"text"</span><span class="p">:</span> <span class="s">"It is recommended that you let your toddler lead the way and be gentle throughout the process, as their self-esteem can be fragile during this time."</span><span class="p">,</span> <span class="s">"citations"</span><span class="p">:</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">1</span><span class="p">]}</span>
        <span class="p">]</span>
<span class="p">}</span>
</code></pre></div></div>

<p>You can find baseline end-to-end RAG systems for the development sets leveraging Anserini, RankLLM, and Ragnarök <a href="https://github.com/castorini/ragnarok/blob/main/docs/rag24.md">here</a>!</p>

<h2 id="next-steps">Next Steps</h2>

<p>We encourage participants to start encoding the MS MARCO V2.1 segment corpus (120+ million) using their favourite retrieval system.
We will soon release the test topics and once released would give a week or two to submit their participating runs.</p>

<p>We encourage the community to provide us with constructive feedback regarding any task, or require us to further clarify any task.
Please feel free to reach out to us via Twitter!</p>

<p><em>The TREC RAG Organizers Send Their Regards.</em></p>]]></content><author><name>RAG</name></author><category term="Annoucements" /><category term="Guidelines" /><category term="Evaluation" /><category term="TREC 2024" /><category term="Tasks" /><summary type="html"><![CDATA[Version 1.0. Last Updated: July 19, 2024]]></summary></entry></feed>