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 used here as a lexical retrieval method for selecting relevant tool definitions.
- Newsletter mentions tie BM25 to both score calibration questions and practical normalization techniques.
- A reported Claude Design workflow used a BM25-powered Tool Search Tool to reduce context-window usage.
- For AI PMs, BM25 is especially relevant when designing agentic systems that must choose among many tools.
BM25
Overview
BM25 is a lexical retrieval ranking function used to identify the most relevant documents or definitions based on keyword matching. In the context provided here, it powers retrieval of relevant tool definitions so systems only load the subset of tools most likely to matter for a given task.For AI Product Managers, BM25 matters because it is a practical retrieval primitive that can improve tool-selection accuracy while reducing unnecessary context-window usage. It is especially relevant in PM tooling and agent workflows where sending every tool definition to a model is inefficient, expensive, and can degrade performance.
Key Developments
- 2026-03-07 — Doug Turnbull’s note “Can BM25 be a probability?” explored BM25 scores as odds versus probabilities and introduced a Bayesian framing, with implications for calibrating hybrid search systems.
- 2026-03-10 — Doug Turnbull’s “Ugly hack to force BM25 to 0-1” described a pragmatic way to normalize BM25 lexical scores into a 0–1 range, making them easier to compare.
- 2026-04-20 — In Colin Matthews’ coverage of Claude Design’s export-to-Canva feature, the Tool Search Tool was described as using BM25 to load only relevant tool definitions, reducing context-window bloat and improving tool-selection accuracy.
Relevance to AI PMs
- Improve retrieval precision in tool-using systems: BM25 can help rank and select the most relevant tool definitions before they are passed to an LLM, improving downstream tool choice.
- Reduce context-window waste and cost: Instead of stuffing all tool metadata into prompts, PMs can use BM25-based preselection to keep prompts smaller and more focused.
- Support hybrid search design: The newsletter mentions around normalization and probabilistic interpretation are useful for PMs working on systems that combine lexical retrieval with other ranking signals.
Related
- Doug Turnbull — Mentioned in connection with technical explorations of BM25 scoring, including normalization and probabilistic interpretation.
- Hybrid search — Closely related because BM25 often serves as the lexical component when combined with other retrieval or ranking approaches.
- Tool Search Tool — A concrete application where BM25 is used to retrieve only relevant tool definitions.
- Claude Design — Referenced as a product context where BM25-backed tool retrieval improved export-to-Canva workflow efficiency.
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 used here as a lexical retrieval method for selecting relevant tool definitions. Newsletter mentions tie BM25 to both score calibration questions and practical normalization techniques. A reported Claude Design workflow used a BM25-powered Tool Search Tool to reduce context-window usage.
Explore this topic
Newsletter Mentions (3)
“#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
“#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.
“#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.
Related
Stay updated on BM25
Get curated AI PM insights delivered daily — covering this and 1,000+ other sources.
Subscribe Free