The BEIR (Benchmarking IR) Benchmark is a comprehensive, heterogeneous collection of 18 datasets across 9 distinct information retrieval tasks, including fact-checking, question answering, and biomedical search. It is designed to evaluate a model's zero-shot generalization capability by testing its performance on domains and tasks it was not explicitly trained on, providing a rigorous measure of real-world applicability beyond narrow benchmarks like MS MARCO. The benchmark standardizes evaluation using metrics like nDCG@10 and Recall@100.
Glossary
BEIR Benchmark

What is the BEIR Benchmark?
The BEIR Benchmark is the definitive, heterogeneous evaluation suite for measuring the zero-shot retrieval and reranking performance of neural search models across diverse, out-of-distribution tasks.
For cross-encoder reranking and retrieval systems, BEIR provides a critical stress test. It measures how well a model's semantic understanding transfers to specialized vocabularies and data distributions, such as scientific articles or legal documents. Performance on BEIR is a key indicator of a model's robustness and its suitability for enterprise Retrieval-Augmented Generation (RAG) pipelines, where reliable, out-of-domain factual grounding is essential. Leading models are ranked on a public leaderboard, driving progress in generalizable retrieval.
Core Datasets and Task Types in BEIR
The BEIR (Benchmarking IR) benchmark is a heterogeneous collection of 18 datasets designed to evaluate the zero-shot retrieval and reranking performance of models across diverse domains and tasks, measuring out-of-distribution generalization.
Task Types
BEIR evaluates models across several core information retrieval task types, each with distinct characteristics:
- Factoid Question Answering: Queries are short, fact-seeking questions (e.g., 'What is the capital of France?').
- Entity Retrieval: Queries seek information about a specific named entity (person, place, organization).
- Passage Retrieval: The corpus consists of short text passages, and queries seek relevant information within them.
- Document Retrieval: The corpus contains full-length documents (e.g., news articles, scientific papers).
- Argument Retrieval: Queries seek persuasive arguments or claims on a topic.
- Duplicate Question Retrieval: Queries find semantically equivalent questions in a Q&A forum.
- Tweet Retrieval: Queries retrieve relevant microblog posts from Twitter.
- Bio-Medical Retrieval: Specialized domain retrieval from scientific literature (e.g., TREC-COVID).
In-Domain vs. Zero-Shot
A core principle of BEIR is evaluating zero-shot generalization. Unlike traditional benchmarks where models are trained and tested on data from the same distribution, BEIR assesses models on datasets they were not explicitly trained on. This tests a model's ability to understand queries and documents from novel domains (e.g., biomedical, legal, web search) without task-specific fine-tuning. Performance is measured using standard IR metrics like nDCG@10, Recall@100, and MAP.
Representative Datasets
BEIR's 18 datasets are selected for diversity. Key examples include:
- MS MARCO: A large-scale web search and question answering dataset, often used for training but evaluated zero-shot in BEIR.
- TREC-COVID: A bio-medical retrieval benchmark for scientific literature on COVID-19.
- NFCorpus: A biomedical corpus for retrieving relevant scientific documents for complex queries.
- HotpotQA: A multi-hop reasoning dataset where answers require synthesifying information from multiple documents.
- FiQA-2018: A financial opinion question answering and retrieval dataset.
- ArguAna: A corpus for retrieving counter-arguments for a given argument.
- SCIDOCS: A dataset for retrieving cited papers given a scientific paper's title and abstract.
- Quora: A duplicate question retrieval dataset.
Dataset Statistics & Heterogeneity
BEIR datasets vary dramatically in scale and characteristics, challenging models to generalize:
- Corpus Size: Ranges from ~3k documents (ArguAna) to ~8.8M passages (MS MARCO).
- Query Length: Varies from keyword-style queries (Touché-2020) to full-sentence questions (HotpotQA).
- Document Length: Includes short tweets, Wikipedia paragraphs, and full scientific abstracts.
- Domain: Spans general web, biomedical research, finance, academic publishing, and social media.
- Relevance Judgments: Includes binary and graded (multi-level) relevance labels.
Relation to Reranking
BEIR is a critical benchmark for evaluating cross-encoder rerankers in a zero-shot setting. The standard evaluation pipeline is:
- First-Stage Retrieval: A fast retriever (e.g., BM25, Dense Passage Retriever) fetches the top-k (e.g., 100) candidate documents per query.
- Reranking: A computationally intensive cross-encoder model scores and reorders these candidates. BEIR measures how much the reranker improves metrics like nDCG@10 over the initial retrieval, testing its ability to understand nuanced relevance across unseen domains without fine-tuning.
Key Findings & Implications
BEIR's comprehensive evaluation has yielded several influential insights for retrieval system design:
- Sparse vs. Dense Retrievers: Traditional sparse methods like BM25 demonstrate strong, robust zero-shot performance, often outperforming early dense retrievers on out-of-domain tasks.
- Generalization Gap: Models achieving state-of-the-art on in-domain benchmarks (like MS MARCO) frequently see significant performance drops on BEIR, highlighting overfitting.
- The Role of Rerankers: Cross-encoder rerankers (e.g., based on BERT) consistently provide the largest gains in precision (nDCG@10) across nearly all BEIR datasets, validating their importance for high-quality retrieval.
- Importance of Hybrid Retrieval: Combining the recall of sparse methods with the precision of dense and cross-encoder methods often yields the best overall performance.
How BEIR Evaluation Works
The BEIR (Benchmarking IR) benchmark is a heterogeneous, zero-shot evaluation suite designed to measure the real-world generalization of retrieval and reranking models across diverse tasks and domains.
BEIR provides a standardized, zero-shot evaluation framework for neural retrieval models and cross-encoder rerankers. It aggregates 18 diverse datasets across tasks like fact-checking, question answering, and biomedical retrieval, requiring models to perform without task-specific fine-tuning. This tests a model's ability to generalize out-of-distribution, simulating real-world deployment where labeled data is scarce. Performance is measured using standard ranking metrics like nDCG@10 and Recall@100.
The benchmark's heterogeneity prevents overfitting to a single data distribution, making it the definitive test for retrieval-augmented generation (RAG) components. It evaluates both first-stage retrievers (e.g., dense vs. sparse methods) and reranking pipelines. By measuring performance across varied corpora and query types, BEIR answers a critical engineering question: will a retrieval system maintain accuracy when deployed on proprietary enterprise data it has never seen before?
Typical Model Performance on BEIR
This table compares the zero-shot retrieval effectiveness of various model architectures across the heterogeneous BEIR benchmark, measured by nDCG@10. It highlights the performance trade-offs between efficiency (bi-encoders) and accuracy (cross-encoders & late interaction models).
| Model Architecture | Avg. nDCG@10 | Inference Speed | Typical Use Case |
|---|---|---|---|
Sparse Lexical (BM25) | 0.423 | Fast (< 10 ms) | First-stage retrieval, high recall |
Dense Bi-Encoder (e.g., Contriever) | 0.441 | Fast (< 50 ms) | First-stage semantic retrieval |
Late Interaction (e.g., ColBERT) | 0.465 | Moderate (~100-200 ms) | Balanced retrieval & reranking |
Cross-Encoder Reranker (e.g., monoBERT) | 0.482 | Slow (> 500 ms) | Second-stage precision reranking |
Hybrid Dense-Sparse (e.g., SPLADE) | 0.455 | Moderate (~150 ms) | Unified first-stage retrieval |
Instruction-Tuned Embedder (e.g., E5) | 0.450 | Fast (< 50 ms) | Zero-shot semantic search |
Large Cross-Encoder (11B params) | 0.495 | Very Slow (> 2 sec) | Maximum accuracy reranking |
Why BEIR Matters for Engineering Teams
The BEIR (Benchmarking Information Retrieval) benchmark is a heterogeneous, zero-shot evaluation suite that measures a retrieval or reranking system's ability to generalize across diverse domains and tasks without task-specific fine-tuning.
Standardized Out-of-Distribution Testing
BEIR provides a standardized framework for evaluating zero-shot generalization, the ability of a model to perform well on tasks and domains it was not explicitly trained on. This is critical for production systems that encounter diverse, unpredictable queries.
- Heterogeneous Datasets: Combines 18 diverse tasks including fact-checking (FEVER), question answering (NQ, HotpotQA), bio-medical retrieval (TREC-COVID, BioASQ), and argument retrieval (ArguAna).
- Simulates Real-World Conditions: Tests models on data distributions different from their training data (e.g., MS MARCO), exposing overfitting and revealing true robustness.
- Engineering Value: Prevents the deployment of models that perform well only on narrow, in-distribution benchmarks but fail in production.
Holistic Evaluation Beyond Single Metrics
BEIR mandates reporting multiple retrieval metrics, providing a comprehensive performance profile that prevents gaming a single score and reveals system trade-offs.
- Key Metrics Tracked:
- nDCG@10: Measures ranking quality with graded relevance.
- Recall@100: Measures the retriever's ability to find all relevant documents (recall).
- MAP (Mean Average Precision): Summarizes precision across all recall levels.
- Identifies Weaknesses: A model may have high nDCG@10 but poor Recall@100, indicating it finds a few good documents but misses many others—a critical flaw for RAG systems requiring comprehensive context.
Informs Architecture & Model Selection
BEIR results provide data-driven guidance for selecting between dense, sparse, and hybrid retrieval architectures, and for choosing base embedding or reranking models.
- Dense vs. Sparse Performance: BEIR historically showed that classic lexical retrievers (BM25) were strong zero-shot baselines, challenging the assumption that dense retrievers always generalize better. This led to the rise of hybrid retrieval.
- Reranker Evaluation: BEIR scores for cross-encoder rerankers (like MonoT5) quantify the precision gain over first-stage retrievers, justifying their computational cost.
- Model Comparison: Engineers can compare public scores for models like Contriever, ANCE, SPLADE, and BGE embeddings to make informed infrastructure choices.
Drives Iteration on Data & Training Strategies
BEIR exposes how training data composition and contrastive learning techniques impact generalization, guiding better model development pipelines.
- Hard Negative Mining: Models trained with in-batch negatives often fail on BEIR, while those using hard negatives mined from diverse sources show significantly better zero-shot performance.
- Multi-Task Training: Success on BEIR is correlated with training on a mixture of datasets, not just large-scale single-source data like MS MARCO.
- Instruction Tuning for Retrieval: Newer models fine-tuned with retrieval instructions show improved BEIR performance, informing modern training protocols.
Benchmarks Efficiency & Cost-Accuracy Trade-offs
BEIR enables teams to measure the operational trade-off between retrieval accuracy, latency, and computational cost, which is essential for production deployment.
- Two-Stage Pipeline Analysis: You can evaluate the cost/benefit of applying a heavy cross-encoder reranker (high latency, high accuracy) to the top-k results from a fast bi-encoder or BM25.
- Embedding Model Selection: Smaller, faster embedding models can be compared on BEIR to larger, slower ones, quantifying the accuracy penalty for latency gains.
- Informs Caching & Scaling Decisions: Understanding performance across BEIR's varied query lengths and complexities helps forecast infrastructure needs.
Foundation for Internal Benchmarking
BEIR provides a public reference point and methodology for creating internal, domain-specific benchmarks to track progress on proprietary enterprise data.
- Blueprint for Internal Suites: Teams can mirror BEIR's construction by aggregating multiple internal use cases (e.g., HR document search, customer support retrieval, code search) into a single benchmark.
- Track Model Regression: As internal retrieval models are updated, their performance on a stable internal BEIR-like suite prevents regressions in specific sub-domains.
- Vendor Evaluation: Provides a common framework to evaluate commercial retrieval APIs or embedding services against open-source models.
Frequently Asked Questions
A definitive FAQ on the BEIR (Benchmarking Information Retrieval) benchmark, a heterogeneous suite for evaluating zero-shot retrieval and reranking models across diverse domains and tasks.
The BEIR (Benchmarking Information Retrieval) benchmark is a heterogeneous, multi-domain evaluation suite designed to measure the zero-shot retrieval and reranking performance of models across diverse tasks, assessing their ability to generalize to out-of-distribution data without task-specific fine-tuning.
It consolidates 18 distinct datasets spanning nine different information retrieval task types, including fact-checking (FEVER), question answering (Natural Questions, HotpotQA), bio-medical retrieval (TREC-COVID, BioASQ), and argument retrieval (Touché-2020). The core philosophy is to evaluate models in a zero-shot setting, where they are tested on datasets they were not explicitly trained on, providing a rigorous test of generalization. Performance is measured using standard ranking metrics like nDCG@10 and Recall@100, offering a single, comparable score (often averaged across all datasets) to rank different retrieval architectures.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
The BEIR Benchmark is part of a broader ecosystem of tools and methodologies for rigorously evaluating information retrieval and reranking systems. These related concepts define the standards, datasets, and metrics used to measure model performance and generalization.
Zero-Shot Retrieval
The ability of a retrieval or reranking model to perform effectively on a new task or domain without any task-specific training data. BEIR specifically measures this capability, testing a model's out-of-distribution generalization. A model trained on MS MARCO, for example, is evaluated on BEIR's biomedical or legal datasets without further fine-tuning.
Normalized Discounted Cumulative Gain (nDCG)
The primary metric reported by the BEIR Benchmark for evaluating ranking quality. nDCG measures the graded relevance of items in a ranked list, heavily penalizing systems that place highly relevant documents lower in the order. It is calculated as:
nDCG@k = DCG@k / IDCG@k
Where DCG (Discounted Cumulative Gain) sums the relevance scores of top-k results with a logarithmic discount based on rank, and IDCG is the ideal DCG achievable. BEIR uses nDCG@10 as its core metric.
Heterogeneous Benchmark
A benchmark comprising diverse datasets from multiple domains and task types. BEIR's heterogeneity is its defining feature, containing 18 datasets across:
- Domains: News, BioMedical, Legal, Finance, Wikipedia.
- Tasks: Fact-checking (FEVER), Question Answering (Natural Questions, HotpotQA), Argument Retrieval (Touché-2020), Duplicate Question Detection (Quora). This design prevents overfitting to a single data distribution and provides a robust measure of real-world applicability.
Out-of-Distribution (OOD) Generalization
The capability of a machine learning model to maintain performance when the test data distribution differs significantly from its training data distribution. BEIR is explicitly designed to stress-test this property in retrieval models. A model that excels on MS MARCO but fails on BEIR's scientific or legal tasks has poor OOD generalization, indicating it may have learned dataset-specific artifacts rather than fundamental retrieval semantics.
Multi-Stage Retrieval Pipeline
The production architecture where BEIR evaluation is most critical. This pipeline typically involves:
- First-Stage Retriever: A fast model (e.g., BM25, Dense Bi-Encoder) fetches a large candidate set (e.g., 1000 documents).
- Reranker: A computationally intensive model (e.g., Cross-Encoder) reorders the top candidates (e.g., 100 documents) for precision. BEIR evaluates the end-to-end performance of this pipeline in a zero-shot setting, ensuring both stages generalize to new domains.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us