BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Models

Nandan Thakur, Nils Reimers, Andreas Rücklé, Abhishek Srivastava, Iryna Gurevych
4/17/2021
cs.IRcs.AIcs.CL

Official code: beir-cellar/beir (2,307 stars, Apache-2.0, PyTorch, last commit 2025-10-16).

Abstract

Existing neural information retrieval (IR) models have often been studied in homogeneous and narrow settings, which has considerably limited insights into their out-of-distribution (OOD) generalization capabilities. To address this, and to facilitate researchers to broadly evaluate the effectiveness of their models, we introduce Benchmarking-IR (BEIR), a robust and heterogeneous evaluation benchmark for information retrieval. We leverage a careful selection of 18 publicly available datasets from diverse text retrieval tasks and domains and evaluate 10 state-of-the-art retrieval systems including lexical, sparse, dense, late-interaction and re-ranking architectures on the BEIR benchmark. Our results show BM25 is a robust baseline and re-ranking and late-interaction-based models on average achieve the best zero-shot performances, however, at high computational costs. In contrast, dense and sparse-retrieval models are computationally more efficient but often underperform other approaches, highlighting the considerable room for improvement in their generalization capabilities. We hope this framework allows us to better evaluate and understand existing retrieval systems, and contributes to accelerating progress towards better robust and generalizable systems in the future. BEIR is publicly available at https://github.com/UKPLab/beir.

View on arXivView PDF

Code Implementations(1)

beir-cellar/beirOfficial100%
PyTorchApache-2.0

A Heterogeneous Benchmark for Information Retrieval. Easy to use, evaluate your models across 15+ diverse IR datasets.

2,307254PythonJan 18, 20211 years agoApache-2.0
benchmarkbertcolbertdatasetdeep-learning+14 more

Similar Papers

Cite this paper

@article{thakur2021beir,
  title  = {BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Models},
  author = {Nandan Thakur and Nils Reimers and Andreas Rücklé and Abhishek Srivastava and Iryna Gurevych},
  year   = {2021},
  eprint = {2104.08663},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.08663}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.08663.svg)](https://codeofpaper.com/paper/2104.08663)

Discussion