GenAI PM
concept3 mentions· Updated Apr 20, 2026

BM25

A lexical retrieval ranking function used here to select relevant tool definitions. In PM tooling, it helps improve retrieval accuracy and reduce context-window bloat.

Key Highlights

  • BM25 is a lexical ranking method that helps AI systems retrieve the most relevant documents or tool definitions before invoking an LLM.
  • For AI PMs, BM25 is valuable because it can improve retrieval precision while reducing context-window bloat and token costs.
  • Newsletter coverage linked BM25 to hybrid search calibration, score normalization, and production tool-selection workflows.
  • A Claude Design example showed BM25 powering the Tool Search Tool to load only relevant tool definitions and improve accuracy.

BM25

Overview

BM25 is a classic lexical retrieval ranking function used to score how relevant a document is to a query based on term frequency, document frequency, and document length. In AI product systems, it is often used to retrieve the most relevant items from a corpus before an LLM sees them—such as tool definitions, knowledge snippets, or internal documentation.

For AI Product Managers, BM25 matters because it offers a practical, fast, and interpretable way to improve retrieval quality without requiring embeddings alone. In PM tooling, it can reduce context-window bloat by loading only the most relevant information, which improves tool selection, lowers token costs, and can increase reliability in agentic workflows. It also plays an important role in hybrid search systems, where lexical matching is combined with semantic retrieval or probabilistic scoring.

Key Developments

  • 2026-03-07 — Doug Turnbull’s note Can BM25 be a probability? explored whether BM25 scores can be interpreted as odds or probabilities, introducing a Bayesian framing relevant to hybrid search calibration.
  • 2026-03-10 — Doug Turnbull’s Ugly hack to force BM25 to 0-1 described a pragmatic normalization technique for converting BM25 lexical scores into a 0–1 range, making them easier to compare with other retrieval signals.
  • 2026-04-20 — In Claude Design’s export-to-Canva feature, the Tool Search Tool used BM25 to load only relevant tool definitions, reducing context-window usage and improving tool-selection accuracy.

Relevance to AI PMs

  • Improve retrieval accuracy in agent workflows: BM25 helps rank exact-match and keyword-relevant documents, which is especially useful when an assistant must choose among many tools, APIs, or internal actions.
  • Reduce token usage and context bloat: By retrieving only the most relevant definitions or documents before passing them to an LLM, BM25 can lower inference costs and improve model focus.
  • Support hybrid search design: PMs working on RAG, copilots, or tool routers can use BM25 alongside embeddings to balance precision, recall, explainability, and score calibration.

Related

  • Doug Turnbull — Frequently referenced in connection with BM25 scoring, normalization, and probabilistic interpretations relevant to search system design.
  • Hybrid search — BM25 is commonly paired with vector search in hybrid retrieval systems to combine lexical precision with semantic recall.
  • Tool Search Tool — An example application where BM25 powers retrieval of relevant tool definitions before they are loaded into model context.
  • Claude Design — Product example where BM25-backed tool retrieval improved export workflow efficiency and tool-selection accuracy.

Frequently asked questions

What is BM25?

A lexical retrieval ranking function used here to select relevant tool definitions. In PM tooling, it helps improve retrieval accuracy and reduce context-window bloat.

What should AI product managers know about BM25?

BM25 is a lexical ranking method that helps AI systems retrieve the most relevant documents or tool definitions before invoking an LLM. For AI PMs, BM25 is valuable because it can improve retrieval precision while reducing context-window bloat and token costs. Newsletter coverage linked BM25 to hybrid search calibration, score normalization, and production tool-selection workflows.

Explore this topic

Newsletter Mentions (3)

2026-04-20
“#11 in Colin Matthews discovered Claude Design’s export-to-Canva feature now uses the Tool Search Tool (powered by BM25) to load only relevant tool definitions, cutting down context-window usage and boosting tool-selection accuracy.”

#11 in Colin Matthews discovered Claude Design’s export-to-Canva feature now uses the Tool Search Tool (powered by BM25) to load only relevant tool definitions, cutting down context-window usage and boosting tool-selection accuracy. Also covered by: @Peter Yang

2026-03-10
“#14 📝 Doug Turnbull Ugly hack to force BM25 to 0-1 - Describes a practical technique to normalize BM25 lexical scores into a 0–1 range.”

BM25 appears in a technical note about search scoring. The newsletter presents a pragmatic workaround for making retrieval scores easier to compare.

2026-03-07
“#20 📝 Doug Turnbull Can BM25 be a probability? - Explores the relationship between BM25 scores framed as odds versus probabilities and introduces a Bayesian view of BM25.”

GenAI PM Daily March 07, 2026 GenAI PM Daily 🎧 Listen to this brief 3 min listen Today's top 25 insights for PM Builders, ranked by relevance from LinkedIn, YouTube, X, and Blogs. #20 📝 Doug Turnbull Can BM25 be a probability? - Explores the relationship between BM25 scores framed as odds versus probabilities and introduces a Bayesian view of BM25. Discusses implications for calibrating hybrid search systems when combining lexical and probabilistic signals.

Stay updated on BM25

Get curated AI PM insights delivered daily — covering this and 1,000+ other sources.

Subscribe Free