BEIR, short for Benchmarking IR, is a heterogeneous benchmark that evaluates information retrieval models in a zero-shot setting across 18 datasets and nine task types, from fact checking to biomedical search. In artificial intelligence, and particularly in the retrieval and knowledge stack behind search engines and RAG systems, it became the reference test for asking whether a retriever generalizes beyond the data it was trained on.
BEIR was released in 2021 by researchers from the Technical University of Darmstadt and collaborators. Its central finding was uncomfortable for the field: many dense retrieval models that beat BM25 on their training domain fell behind the lexical baseline when tested on unfamiliar collections.
How the BEIR benchmark is built
BEIR combines existing public datasets into one uniform evaluation format so that any retriever can be scored on all of them with the same code. Each dataset provides a corpus of documents, a set of queries and relevance judgments, often called qrels, that mark which documents answer each query.
The protocol is deliberately zero-shot: models are typically trained on MS MARCO passage ranking or another general source and then applied to BEIR without any fine-tuning on the target datasets. This mirrors a realistic deployment where an organization has no labeled data for its own documents.
The table below groups the BEIR datasets by task type, which shows how deliberately the benchmark mixes domains, query styles and document lengths.
| Task type | Datasets | What the query looks like |
|---|---|---|
| Fact checking | FEVER, Climate-FEVER, SciFact | A claim to be supported or refuted |
| Question answering | Natural Questions, HotpotQA, FiQA-2018 | A natural-language question |
| Biomedical retrieval | TREC-COVID, NFCorpus, BioASQ | A clinical or scientific information need |
| Duplicate questions | Quora, CQADupStack | A question that may already exist |
| Argument retrieval | ArguAna, Touche-2020 | An argument seeking counterarguments |
| Entity retrieval | DBPedia-Entity | A short entity-focused query |
| Citation prediction | SCIDOCS | A paper title seeking cited work |
| News and tweets | TREC-NEWS, Robust04, Signal-1M | A news topic or headline |
Four collections, namely BioASQ, Signal-1M, TREC-NEWS and Robust04, require separate licenses, so many published results cover only the 14 freely available datasets. Comparing scores without checking which subset was used is a frequent source of confusion.
Metrics used to score retrievers
The headline BEIR metric is nDCG@10, normalized discounted cumulative gain over the top ten results, because it rewards relevant documents near the top and handles graded relevance labels. Results are usually reported per dataset and as an unweighted average across datasets.
| Metric | What it measures | Typical use |
|---|---|---|
| nDCG@10 | Ranking quality of the top ten results | Primary leaderboard score |
| Recall@100 | Share of relevant documents in the top 100 | Judging first-stage retrievers before reranking |
| MAP@k | Precision averaged over relevant positions | Secondary comparison |
| MRR@k | Position of the first relevant result | Tasks with one main answer |
Corpus sizes vary from a few thousand documents in NFCorpus and SciFact to several million passages in FEVER, Climate-FEVER and HotpotQA. The large collections test indexing efficiency and latency as much as ranking quality.
What BEIR revealed about retrieval models
The original BEIR study showed that BM25 remains a robust baseline across domains, while early dense bi-encoders such as DPR and ANCE generalized poorly. The best average quality came from BM25 followed by a cross-encoder reranker, at a much higher computational cost per query.
The comparison below summarizes the broad pattern reported in the original paper and confirmed by later work. It describes relative behavior, not exact scores, which differ by model version.
| Architecture | Zero-shot behavior | Cost profile |
|---|---|---|
| Lexical (BM25) | Strong, stable baseline across domains | Very cheap; inverted index |
| Dense bi-encoder | Often below BM25 on unfamiliar domains | Cheap queries; large vector index |
| Learned sparse (SPLADE-style) | Competitive with or better than BM25 | Moderate; inverted index |
| Late interaction (ColBERT) | Strong generalization | Large multi-vector index |
| BM25 plus cross-encoder | Best average in the original study | Slow; reranks each candidate |
These findings pushed research toward contrastive pretraining at scale, synthetic query generation for domain adaptation and hybrid search. Modern embedding models trained on large, diverse pair collections now clearly surpass BM25 on the BEIR average, which is why the benchmark remains a useful yardstick of generalization.
BEIR in relation to MTEB and other benchmarks
BEIR focuses only on retrieval, whereas MTEB, the Massive Text Embedding Benchmark, evaluates embeddings across retrieval, classification, clustering, reranking and other tasks. The MTEB retrieval track reuses most BEIR datasets, so a strong BEIR score and a strong MTEB retrieval score are closely linked.
MS MARCO, by contrast, is mainly an in-domain benchmark and a training source. A model that excels on MS MARCO but drops sharply on BEIR has likely overfit to web-search question style, which is exactly the gap BEIR was designed to expose.
Using BEIR well and its limitations
BEIR is valuable for shortlisting retrievers, but it cannot replace evaluation on an organization’s own data. Practitioners should read per-dataset scores for the domains that resemble their use case rather than relying on the single average.
| Pitfall | Why it misleads | Better practice |
|---|---|---|
| Comparing different subsets | Averages over 14 and 18 datasets differ | Confirm the exact dataset list |
| Ignoring training contamination | Some models train on BEIR-related data | Check training data disclosures |
| Trusting the average alone | Large datasets can hide domain weaknesses | Inspect the relevant domains |
| Overlooking incomplete labels | Unjudged relevant documents count as misses | Spot-check top results manually |
Further limitations include English-only content, relevance judgments built with older retrieval systems that may penalize novel models, and the absence of latency or cost measurements. Teams typically pair BEIR results with a small in-house test set of 50 to 200 annotated queries before choosing a production retriever.
The idea in brief
A search model can look excellent on the material it practiced on. The real question is how it does on topics it has never seen. BEIR is a test made of 18 different exams, covering medicine, finance, science, news and everyday questions.
A model that scores well across all of them is more likely to work on new documents. It is like a student who passes tests in many subjects, not only in the one they studied for. BEIR helps engineers pick a good starting point, but they still need to test on their own documents.
A practical scenario
A healthcare software company plans a RAG assistant over clinical guidelines and must choose an embedding model. The team has no labeled queries yet, so it shortlists five candidate models by their BEIR results on TREC-COVID, NFCorpus and SciFact, the datasets closest to its domain, instead of the overall average.
The team then writes 120 realistic test questions and marks the correct guideline passages. Two models that ranked similarly on the BEIR average differ clearly on this set, and a hybrid of BM25 and the best embedding model gives the highest Recall@20. The company ships that configuration, and BEIR has reduced weeks of testing to a few days.