BEIR

Overview

BEIR (Benchmarking-IR) is a heterogeneous zero-shot retrieval benchmark spanning 9 task types — fact checking, question answering, bio-medical IR, argument retrieval, duplicate question detection, citation prediction, entity retrieval, news retrieval, and tweet retrieval. Models are trained elsewhere (usually on MS MARCO) and evaluated on the suite without further tuning.

On “18 datasets”: that is the figure the paper and repository headline, but the repository’s own table enumerates 19 corpus names. MS MARCO is the discrepancy — it is distributed with the suite yet normally serves as the training corpus rather than a zero-shot target, so it is usually excluded from the count and from reported averages. Worth knowing before reconciling two papers’ dataset tallies.

Where MS MARCO answers “how good is this model on web-search passages”, BEIR answers “how much of that survives contact with a different domain” — which is why it became the default proof of generality for a retrieval model, and why it appears in nearly every model announcement in this vault.

nDCG@10 is the canonical reported metric (see NDCG Variants — BEIR’s convention is one of the per-library variants that make cross-paper NDCG comparison hazardous).

Constituent Datasets

The full list: MS MARCO, TREC-COVID, NFCorpus, BioASQ, Natural Questions, HotpotQA, FiQA-2018, Signal-1M, TREC-NEWS, Robust04, ArguAna, Touché-2020, CQADupStack, Quora, DBPedia-entity, SCIDOCS, FEVER, Climate-FEVER, SciFact.

Four — BioASQ, Signal-1M, TREC-NEWS, Robust04 — are licence-restricted and not publicly downloadable; the repo ships reproduction instructions instead. Published “BEIR average” figures therefore often cover 12–15 datasets rather than the full suite, which is the first thing to check before comparing two papers’ averages.

Scale varies by three orders of magnitude, from NFCorpus (~3.6K documents) to MS MARCO (~8.8M), which is what makes the suite useful for efficiency claims as well as quality ones.

Why It Recurs

  • Zero-shot by construction. The headline finding of the original paper was that BM25 is a formidable out-of-domain baseline, and that dense retrievers trained on MS MARCO frequently lose to it on unfamiliar domains. Much subsequent work — Learned Sparse Retrieval, Late Interaction, hybrid schemes — is a response to that result.
  • Domain diversity as a stress test. A model can only score well across BEIR by generalising, not by fitting one query distribution.
  • Comparability. Ubiquitous enough that a BEIR number is instantly legible, subject to the subset caveat above.

Known Limitations

  • Shallow judgments. Most subsets carry sparse, largely binary qrels; unjudged-but-relevant documents are common, so recall-oriented conclusions understate real quality — the same problem as MS MARCO, inherited across the suite.
  • Small query sets. Several subsets have only a few hundred test queries, so per-dataset differences of a point or two are not obviously meaningful.
  • Averaging hides variance. A model can win on average while losing badly on specific domains — the per-dataset table is where the information is.
  • Not a substitute for your data. Strong BEIR generalisation says nothing about a product catalog; see E-commerce Search and the domain-transfer failures in Fine-Tuning Sparse Embeddings for E-Commerce Search.

Comparison with Other Datasets

DatasetDomainScalePurpose
BEIR9 tasks, 18 zero-shot corpora3.6K–8.8M docsZero-shot generalisation
MS MARCOWeb search (Bing)~8.8M passagesIn-domain training + eval
TREC-COVIDBiomedical (COVID-19 papers)~171K docs, 50 queriesDeeply judged BEIR subset
Natural QuestionsWikipedia QA~2.68M docs, 4,352 queriesShallowly judged BEIR subset
Amazon ESCI DatasetGeneral e-commerceVery largeGraded product relevance
WANDS DatasetHome goods~42K pairsE-commerce relevance judgments

In This Vault

BEIR is the shared yardstick across the retrieval-model notes:

  • MTEB — absorbed BEIR as its retrieval component; BEIR scores are now reported inside MTEB
  • RTEB — the private-data answer to the contamination BEIR increasingly suffers from
  • BRIGHT — reasoning-intensive retrieval, where BEIR-strong models collapse
  • MIRACL — the multilingual counterpart BEIR lacks
  • LoTTE — long-tail topic stratification rather than heterogeneity
  • Retrieval Benchmarks and Leaderboards — how these fit together, and how to use them without being misled

Source

  • Repository and leaderboard: https://github.com/beir-cellar/beir
  • Paper: BEIR: A Heterogeneous Benchmark for Zero-shot Evaluation of Information Retrieval Models — Thakur, Reimers, Rücklé, Srivastava, Gurevych (NeurIPS 2021 Datasets & Benchmarks), arXiv:2104.08663