NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

repro_eval: A Python Interface to Reproducibility Measures of System-oriented IR Experiments

Timo Breuer, Nicola Ferro, Maria Maistro, Philipp SchaerarXiv 2022 · DOI

Here is a concise, blog-style summary of the paper.

TL;DR

repro_eval is a new Python tool designed to help Information Retrieval (IR) researchers rigorously evaluate how well they have reproduced or replicated a retrieval system. By looking beyond simple average performance scores, it provides a hierarchical suite of measures to analyze rank orderings, score distributions, and experimental effects.

What Problem Does This Paper Address?

Like many computational fields, Information Retrieval (IR) faces a reproducibility crisis. Often, researchers must reimplement a baseline system based solely on a paper's text description because the original source code isn't available.

To determine if their reimplementation is accurate, researchers typically compare the Average Retrieval Performance (ARP). However, ARP is a deceptive metric: two systems can achieve the exact same average score while producing completely different document rankings or topic score distributions. Until now, the community lacked standardized, easy-to-use tools to measure the exactness of a reproduced system's output (or "run") against the original reference data.

Methods

The authors introduce repro_eval, an open-source Python package that provides a toolbox for "reactive" reproducibility studies (evaluating a system based on its outputs). The tool organizes reproducibility and replicability measures into a clear hierarchy of specificity, moving from general statistical trends to exact document matches:

  1. Statistical Comparisons (Most General): Uses paired and unpaired t-tests to check if the overall topic score distributions match.
  2. Overall Effects: Uses Effect Ratio (ER) and Delta Relative Improvement (DeltaRI) to measure how accurately the performance gap between a baseline system and an advanced system is maintained in the reproduction.
  3. Effectiveness: Uses Root Mean Square Error (RMSE) to evaluate the closeness of the topic score distributions.
  4. Ordering of Documents (Most Specific): Uses Kendall’s $\tau$ and Rank Biased Overlap (RBO) to determine if the system ranks the exact same documents in the exact same order.

repro_eval builds on top of standard Python scientific libraries (numpy, scipy) and interfaces directly with pytrec_eval (the Python interface for the standard TREC evaluation tool). It can be run via a traditional command-line interface or imported directly into Jupyter/Google Colab notebooks for visual analytics.

Datasets

The paper does not introduce a new dataset benchmark. Instead, it leverages archived experimental data and system runs from established IR evaluation campaigns like TREC (Text REtrieval Conference) and CLEF (Conference and Labs of the Evaluation Forum). The authors provide a Google Colab interactive demonstration featuring example data that mimics a real-world reimplementation use case.

Key Insights and Ideas

  • Don't Trust the Average: Relying solely on average retrieval performance can mask critical failures in system reproduction. Multi-level evaluation is required to prove a system behaves identically to the original.
  • The Specificity Hierarchy: Evaluating a reproduction isn't a binary "pass/fail." By structuring measures hierarchically, researchers can pinpoint exactly where their implementation diverges (e.g., maybe the statistical effects are replicated, but the exact document ordering is wrong).
  • Reproducibility vs. Replicability: Aligned with ACM standards, the tool distinguishes between using the same test collection (reproducibility) and a different test collection (replicability). It automatically restricts certain metrics—like document ordering—which are invalid if the underlying dataset changes.

Key Results

The primary result is the tool itself, which is publicly available on GitHub. The authors demonstrate its utility through a Colab-based visual analysis workflow. Instead of parsing dense text tables, researchers can generate:

  • Bar plots comparing conventional ARP.
  • Line plots showing how RMSE and Kendall’s $\tau$ change across different cut-off ranks.
  • Scatter plots that visually map out which implementation variants closest resemble the original system in terms of standard IR metrics like P@10, AP, and nDCG.

Limitations and Future Work

The authors note a fundamental limitation inherent to the metrics: high-specificity evaluations (like document ordering) are strictly limited to reproduced experiments using the exact same test collection. If a researcher is testing a system on a new dataset (replicability), they must rely on more general, lower-specificity metrics like ER and DeltaRI.

While the authors emphasize that repro_eval features an easily extensible interface to encourage community adoption, specific future features or technical expansions are not discussed in this short paper.

Summary updated

BibTeX
@misc{breuer2022repro,
  author = {Timo Breuer and Nicola Ferro and Maria Maistro and Philipp Schaer},
  title = {{repro\_eval: A Python Interface to Reproducibility Measures of System-oriented IR Experiments}},
  year = {2022},
  eprint = {2201.07599},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.07599},
}
Figure