BEIR
by UKP Lab & collaborators
What is BEIR? BEIR is a rag & retrieval eval made by UKP Lab & collaborators. A collection of retrieval datasets for testing how well search and embedding models work on domains they were not trained on.
Editor note
A collection of retrieval datasets for testing how well search and embedding models work on domains they were not trained on.
- What it tests
- Zero-shot retrieval across diverse domains.
- Original source
- github.com/beir-cellar/beir
- Last updated
- Repo last commit 2025-10-16
- License
- Apache-2.0
When to use BEIR
- You want to know how a retrieval or embedding model does zero-shot on domains it was not trained on, across 18 public datasets.
- You are comparing retrieval families (lexical, sparse, dense, late-interaction and re-ranking) and their speed/quality trade-off.
Limitations
- It measures retrieval only, not whether a generated answer is correct; pair it with an answer-level RAG eval.
How to run it
- Install the beir package.
- Download a dataset, load it with GenericDataLoader, and evaluate a retriever (e.g. dense exact search) with EvaluateRetrieval.
pip install beirNotable results
- In the paper, BM25 was a strong baseline; re-ranking and late-interaction models did best zero-shot on average but at high compute cost, while dense and sparse models were cheaper but often scored lower. [Paper (arXiv)]
Sources
Compare BEIR
Related rag & retrieval evals
- Ragas — Faithfulness, relevance and retrieval quality of your own RAG system.
- MTEB Leaderboard — Embedding model quality for search and RAG.
- CRAG — End-to-end RAG answer correctness and hallucination.
- FRAMES — Multi-hop retrieval-augmented answering.
Discussion
No one has discussed BEIR yet. Have you run it? Share what it caught, what it missed or how you set it up.