TF-IDF and BM25 Are Exact KL Divergences
Abstract
TF-IDF and BM25 are two of the most widely used methods for scoring query-document relevance, yet neither has a standard probabilistic derivation that justifies it as a statistical method within a unified framework. We address this gap by showing that both scoring methods admit an exact interpretation as Kullback-Leibler divergences between two probability models. We treat the BM25 variant that includes the plus 1 correction in the IDF term, which is the one used in practice, and also discuss the original BM25 formulation without that correction. The resulting framework provides a common theoretical basis for TF-IDF and BM25, clarifies what they measure, and allows them to be compared theoretically with other information retrieval methods rather than only experimentally.
Create a lesson
Metadata
- Categories
- cs.IR, cs.CL
- Comments
- 5 pages
Related papers
From Visual Similarity to Exact Match: Joint Mining of Product and User Interactions for VLM Ranking in E-commerce Multimodal Search
Shared title terminologycs.IRQing Liu, Lianyu Du, Qiuyu Zhao et al.
The abc index: Exact Retrieval for Learned Sparse Representations
Shared title terminologycs.IRRossano Venturini
Scoring With the Engine: Retrieval Exposure, Cross-Engine Divergence, and the Limits of Engine-Agnostic GEO Scores
Shared title terminologycs.IRBenjamin Tannenbaum
Beyond Benchmark Scores: How Synthetic and Authentic Query Distributions Diverge in RAG Evaluation
Shared title terminologycs.IRFilip J. Kucia, Barbara M. Gawlik