BM25

Also known as: Okapi BM25, Best Matching 25

Quick definition

A probabilistic ranking formula that scores documents using query-term frequency and document length.

A probabilistic ranking formula that scores documents using query-term frequency and document length.

BM25 is a strong lexical baseline and often complements embedding search in hybrid retrieval systems.

Example: A search engine ranks documents that mention an exact product code.

Common use cases: Search engines and document retrieval.

Examples

  • A search engine ranks documents that mention an exact product code.

Use cases

  • Search engines and document retrieval.

Frequently asked questions

What is BM25?

A probabilistic ranking formula that scores documents using query-term frequency and document length.

What should I know about BM25?

BM25 is a strong lexical baseline and often complements embedding search in hybrid retrieval systems.

Categories and tags