AI GLOSSARY

BM25, Sparse Search, and Hybrid Retrieval

Good retrieval uses the signals that match the task rather than assuming one method wins everywhere.

Simple explanation

Dense retrieval is good at paraphrases and meaning; sparse methods such as BM25 are strong for exact terms, identifiers, and rare keywords. Hybrid search combines both signals before reranking.

Technical explanation

Dense retrieval is good at paraphrases and meaning; sparse methods such as BM25 are strong for exact terms, identifiers, and rare keywords. Hybrid search combines both signals before reranking.

Example

Trace how Query becomes Better candidates through sparse + dense.

Related lesson

BM25, Sparse Search, and Hybrid Retrieval: visual lesson →

Browse all glossary terms →