Common TF–IDF variants arise as key components in the test statistic of a penalized likelihood-ratio test for word burstiness
TF–IDF is a classical formula that is widely used for identifying important terms within documents. We show that TF–IDF-like scores arise naturally from the test statistic of a penalized likelihood-ratio test setup capturing word burstiness (also known as word over-dispersion). In our framework, the alternative hypothesis captures word burstiness by modeling a collection of documents according to a family of beta-binomial distributions with a gamma penalty term on the precision parameter. In contrast, the null hypothesis assumes that words are binomially distributed in collection documents, a modeling approach that fails to account for word burstiness. We find that a term-weighting scheme given rise to by this test statistic performs comparably to TF–IDF on document classification tasks. This paper provides insights into TF–IDF from a statistical perspective and underscores the potential of hypothesis testing frameworks for advancing term-weighting scheme development.
Authors
- Zeyad Ahmed
- Michael McIsaac
- Aitazaz A. Farooque
- Paul Sheridan
Institutions
- University of Prince Edward Island (CA)
Publication Details
- Journal
- Discover Computing
- Published
- 2026-05-18
- DOI
- https://doi.org/10.1007/s10791-026-10090-4
- Primary Topic
- Text and Document Classification Technologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Natural Sciences and Engineering Research Council of Canada