Common TF-IDF variants arise as key components in the test statistic of a penalized likelihood-ratio test for word burstiness

Zeyad Ahmed, Paul Sheridan, Michael McIsaac, Aitazaz A. Farooque
4/1/2026
cs.CLcs.IRmath.ST

No official code found. Best implementation: Sheridan-Stable/tfidf-lrt (2 stars, MIT, last commit 2026-04-18).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

Official repository for the research paper "Common TF–IDF variants arise as key components in the test statistic of a penalized likelihood-ratio test for word burstiness".

20PythonJul 30, 20256 months agoMIT

Similar Papers

Cite this paper

@article{ahmed2026common,
  title  = {Common TF-IDF variants arise as key components in the test statistic of a penalized likelihood-ratio test for word burstiness},
  author = {Zeyad Ahmed and Paul Sheridan and Michael McIsaac and Aitazaz A. Farooque},
  year   = {2026},
  eprint = {2604.00672},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.00672v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.00672.svg)](https://codeofpaper.com/paper/2604.00672)

Discussion