Papers › Ragnarök: A Reusable RAG Framework and Baselines for TREC 2024 Retrieval-Augmented...

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

24 Jun 2024arXiv:2406.16828archive 2025-07-28

Ronak Pradeep, Nandan Thakur, Sahel Sharifymoghaddam, Eric Zhang, Ryan Nguyen, Daniel Campos, Nick Craswell, Jimmy Lin

Did you try out the new Bing Search? Or maybe you fiddled around with Google AI~Overviews? These might sound familiar because the modern-day search stack has recently evolved to include retrieval-augmented generation (RAG) systems. They allow searching and incorporating real-time data into large language models (LLMs) to provide a well-informed, attributed, concise summary in contrast to the traditional search paradigm that relies on displaying a ranked list of documents. Therefore, given these recent advancements, it is crucial to have an arena to build, test, visualize, and systematically evaluate RAG-based search systems. With this in mind, we propose the TREC 2024 RAG Track to foster innovation in evaluating RAG systems. In our work, we lay out the steps we've made towards making this track a reality -- we describe the details of our reusable framework, Ragnar\"ok, explain the curation of the new MS MARCO V2.1 collection choice, release the development topics for the track, and standardize the I/O definitions which assist the end user. Next, using Ragnar\"ok, we identify and provide key industrial baselines such as OpenAI's GPT-4o or Cohere's Command R+. Further, we introduce a web-based user interface for an interactive arena allowing benchmarking pairwise RAG systems by crowdsourcing. We open-source our Ragnar\"ok framework and baselines to achieve a unified standard for future RAG systems.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.16828")

Code

Syntology Ran 9 of 23 code samples harvested from 2 repositories linked to this paper; 14 have no recorded run. Of those that ran: 9 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 9 ran; community (archive-listed): 11 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

castorini/ragnarok officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
castorini/nuggetizer mentioned on GitHubApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

23 samples harvested; 9 ran; 0 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

9ran
14unverified

Licence: 0 of the 23 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_elo castorini/ragnarok/src/ragnarok/api/elo.py official repository ran Apache-2.0 (permissive) · d76974dd615c64e1 · report
make_data_artifact castorini/ragnarok/src/ragnarok/cli/adapters.py official repository ran Apache-2.0 (permissive) · dd91db53416878f5 · report
make_file_artifact castorini/ragnarok/src/ragnarok/cli/adapters.py official repository ran fingerprinted Apache-2.0 (permissive) · 7544006c2fb2eb8d · report
prepare_output_path castorini/ragnarok/src/ragnarok/cli/dispatch.py official repository ran Apache-2.0 (permissive) · 4a89617557cd8d60 · report
read_direct_payload castorini/ragnarok/src/ragnarok/cli/dispatch.py official repository ran Apache-2.0 (permissive) · f3bfd9301b14fe26 · report
read_results_from_file castorini/ragnarok/src/ragnarok/data.py official repository ran Apache-2.0 (permissive) · e653a76dcbab5bab · report
resolve_write_policy castorini/ragnarok/src/ragnarok/cli/dispatch.py official repository ran Apache-2.0 (permissive) · 33cd494e3b5331cf · report
result_to_dict castorini/ragnarok/src/ragnarok/data.py official repository ran Apache-2.0 (permissive) · 4a11e6b65475e860 · report
wants_json castorini/ragnarok/src/ragnarok/cli/errors.py official repository ran fingerprinted Apache-2.0 (permissive) · c53a0ca89658e42c · report
detect_command castorini/ragnarok/src/ragnarok/cli/errors.py official repository unverified Apache-2.0 (permissive) · 258e9e13fcbf5b84 · report
validate_generate_batch_file castorini/ragnarok/src/ragnarok/cli/introspection.py official repository unverified Apache-2.0 (permissive) · 2016f3275f584d17 · report
validate_generate_payload castorini/ragnarok/src/ragnarok/cli/introspection.py official repository unverified Apache-2.0 (permissive) · 03080e064ef748c8 · report
build_assign_nuggetizer_kwargs castorini/nuggetizer/src/nuggetizer/cli/execution.py community (archive-listed) unverified Apache-2.0 (permissive) · b072bca5935fc26d · report
build_create_nuggetizer_kwargs castorini/nuggetizer/src/nuggetizer/cli/execution.py community (archive-listed) unverified Apache-2.0 (permissive) · c775437a8c8fe07d · report
collect_nonempty_reasoning_traces castorini/nuggetizer/src/nuggetizer/cli/adapters.py community (archive-listed) unverified Apache-2.0 (permissive) · 53b36b0cccd27107 · report
detect_command castorini/nuggetizer/src/nuggetizer/cli/main_support.py community (archive-listed) unverified Apache-2.0 (permissive) · 145f2c77b2912062 · report
get_processed_values castorini/nuggetizer/src/nuggetizer/cli/io.py community (archive-listed) unverified Apache-2.0 (permissive) · 7f2886141fa690bf · report
get_run_id castorini/nuggetizer/src/nuggetizer/cli/io.py community (archive-listed) unverified Apache-2.0 (permissive) · 8fa7a665d31a83dc · report
read_jsonl castorini/nuggetizer/src/nuggetizer/cli/io.py community (archive-listed) unverified Apache-2.0 (permissive) · 719779e74d1ac660 · report
setup_logging castorini/nuggetizer/src/nuggetizer/cli/logging_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · b74163bc3735c7ee · report
unwrap_direct_create_payload castorini/nuggetizer/src/nuggetizer/cli/normalize.py community (archive-listed) unverified Apache-2.0 (permissive) · 074a68a9b4bcba9f · report
unwrap_generation_record castorini/nuggetizer/src/nuggetizer/cli/normalize.py community (archive-listed) unverified Apache-2.0 (permissive) · 74873c74cd75260c · report
unwrap_nugget_record castorini/nuggetizer/src/nuggetizer/cli/normalize.py community (archive-listed) unverified Apache-2.0 (permissive) · fd5baa7869c054bc · report

Tasks

BenchmarkingRAGRetrievalRetrieval-augmented Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdamAttentionAttention DropoutBARTBERTBPEDense ConnectionsDropoutLayer NormalizationLinear LayerLinear Warmup With Linear DecayMulti-Head AttentionRAGResidual ConnectionSoftmaxWeight DecayWordPiece

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections