Understanding inverse document frequency: on theoretical arguments for IDF
The DOI matches its Crossref record; 24 of the 24 references it cites were found in a registry or an index.
Abstract
The term weighting function known as IDF was proposed in 1972, and has since been extremely widely used, usually as part of a TF*IDF function. It is often described as a heuristic, and many papers have been written (some based on Shannon’s Information Theory) seeking to establish some theoretical basis for it. Some of these attempts are reviewed, and it is shown that the Information Theory approaches are problematic, but that there are good theoretical justifications of both IDF and TF*IDF in traditional probabilistic model of information retrieval.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
A Mathematical Theory of Communication
Shannon, C. E. (1948) · Bell System Technical Journal · doi:10.1002/j.1538-7305.1948.tb01338.x · Cited by 88,486
A STATISTICAL INTERPRETATION OF TERM SPECIFICITY AND ITS APPLICATION IN RETRIEVAL
SPARCK JONES, K. (1972) · Journal of Documentation · doi:10.1108/eb026526 · Cited by 4,505
A Language Modeling Approach to Information Retrieval
Ponte, J. M., & Croft, W. B. (2017) · ACM SIGIR Forum · doi:10.1145/3130348.3130368 · Cited by 2,503
Relevance weighting of search terms
Robertson, S. E., & Jones, K. S. (1976) · Journal of the American Society for Information Science · doi:10.1002/asi.4630270302 · Cited by 2,081
Self-citationEntropy and Information Theory
Gray, R. M. (2011) · Springer eBooks · doi:10.1007/978-1-4419-7970-4 · Cited by 1,803
Some Simple Effective Approximations to the 2-Poisson Model for Probabilistic Weighted Retrieval
Robertson, S. E., & Walker, S. (1994) · SIGIR ’94 · doi:10.1007/978-1-4471-2099-5_24 · Cited by 1,477
Self-citationRelevance-Based Language Models
Lavrenko, V., & Croft, W. B. (2017) · ACM SIGIR Forum · doi:10.1145/3130348.3130376 · Cited by 1,422
An information-theoretic perspective of tf–idf measures
Aizawa, A. (2003) · Information Processing & Management · doi:10.1016/s0306-4573(02)00021-3 · Cited by 1,419
A Probabilistic Analysis of the Rocchio Algorithm with TFIDF for Text Categorization
Joachims, T. (1997) · Cited by 1,262
THE PROBABILITY RANKING PRINCIPLE IN IR
ROBERTSON, S. E. (1977) · Journal of Documentation · doi:10.1108/eb026647 · Cited by 1,103 · cited 1×
“The weighting function known as Okapi BM25 (it was developed as part of the Okapi experimental system (Robertson, 1997), and was one of a series of Best Match functions) is probably the best-known and most widely used such extension.”
BackgroundSelf-citation
Cited by
CIDEr: Consensus-based image description evaluation
Vedantam, R., Zitnick, C. L., & Parikh, D. (2015) · 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2015.7299087 · Cited by 4,845
Unified rational protein engineering with sequence-based deep representation learning
Alley, E. C., Khimulya, G., Biswas, S., AlQuraishi, M., & Church, G. M. (2019) · Nature Methods · doi:10.1038/s41592-019-0598-1 · Cited by 1,131
A Comprehensive Survey of Deep Learning for Image Captioning
Hossain, M. Z., Sohel, F., Shiratuddin, M. F., & Laga, H. (2019) · ACM Computing Surveys · doi:10.1145/3295748 · Cited by 879
“However, CIDEr achieves human consensus using term frequency-inverse document frequency (TF-IDF) [121].”
BackgroundInterpreting TF-IDF term weights as making relevance decisions
Wu, H. C., Luk, R. W. P., Wong, K. F., & Kwok, K. L. (2008) · ACM Transactions on Information Systems · doi:10.1145/1361684.1361686 · Cited by 821
A comparative study of TF*IDF, LSI and multi-words for text classification
Zhang, W., Yoshida, T., & Tang, X. (2011) · Expert Systems with Applications · doi:10.1016/j.eswa.2010.08.066 · Cited by 676
Location-based and preference-aware recommendation using sparse geo-social networking data
Bao, J., Zheng, Y., & Mokbel, M. F. (2012) · Proceedings of the 20th International Conference on Advances in Geographic Information Systems · doi:10.1145/2424321.2424348 · Cited by 671
IDTAXA: a novel approach for accurate taxonomic classification of microbiome sequences
Murali, A., Bhargava, A., & Wright, E. S. (2018) · Microbiome · doi:10.1186/s40168-018-0521-5 · Cited by 597
Supervised and Traditional Term Weighting Methods for Automatic Text Categorization
Lan, M., Tan, C. L., Su, J., & Lu, Y. (2009) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2008.110 · Cited by 562
Comparing BERT against traditional machine learning text classification
González-Carvajal, S., & Garrido-Merchán, E. C. (2020) · arXiv · doi:10.48550/arxiv.2005.13012 · Cited by 466
“On the other hand, given a term t i , we denote by tf i the frequency of the term t i in the document under consideration [20].”
BackgroundShifting the refugee narrative? An automated frame analysis of Europe’s 2015 refugee crisis
Greussing, E., & Boomgaarden, H. G. (2017) · Journal of Ethnic and Migration Studies · doi:10.1080/1369183x.2017.1282813 · Cited by 464
A Survey of App Store Analysis for Software Engineering
Martin, W., Sarro, F., Jia, Y., Zhang, Y., & Harman, M. (2017) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2016.2630689 · Cited by 459
“They trained the classifier using a support vector machine for each of 50 classes, and used the BM25 weighting scheme [190] on the features.”
MethodOpcode sequences as representation of executables for data-mining-based unknown malware detection
Santos, I., Brezo, F., Ugarte-Pedrero, X., & Bringas, P. G. (2013) · Information Sciences · doi:10.1016/j.ins.2011.08.020 · Cited by 442
Kim, D., Seo, D., Cho, S., & Kang, P. (2019) · Information Sciences · doi:10.1016/j.ins.2018.10.006 · Cited by 426
Shrestha, Y. R., Krishna, V., & von Krogh, G. (2021) · Journal of Business Research · doi:10.1016/j.jbusres.2020.09.068 · Cited by 331
Query expansion techniques for information retrieval: a survey
Azad, H. K., & Deepak, A. (2019) · Information Processing & Management · doi:10.1016/j.ipm.2019.05.009 · Cited by 313
“For evaluating document language models, it uses the context information on the relevant or irrelevant document to obtain weight count (using BM25 weights [226,223]) of the individual query terms.”
Real-Time Visual SLAM for Autonomous Underwater Hull Inspection Using Visual Saliency
Kim, A., & Eustice, R. M. (2013) · IEEE Transactions on Robotics · doi:10.1109/tro.2012.2235699 · Cited by 263
“To tackle this problem, we were motivated by a metric called idf, which is a classic and widely used metric in information retrieval [64]–[66], and has a higher value for words seen less”
MethodReview of automatic text summarization techniques & methods
Widyassari, A. P., Rustad, S., Shidik, G. F., Noersasongko, E., Syukur, A., Affandy, A., & Setiadi, D. R. I. M. (2022) · Journal of King Saud University - Computer and Information Sciences · doi:10.1016/j.jksuci.2020.05.006 · Cited by 239
“The concept is to calculate the TF value and IDF value (Robertson, 2004).”
Sentiment Analysis and Topic Modeling on Tweets about Online Education during COVID-19
Mujahid, M., Lee, E., Rustam, F., Washington, P. B., Ullah, S., Reshi, A. A., & Ashraf, I. (2021) · Applied Sciences · doi:10.3390/app11188438 · Cited by 235
“IDF of a term indicates how important it is in the whole corpus [40], and it can be calculated as: where D is total number of documents in the corpus, whereas n d is the number of documents where the term t appears.”
BackgroundDense Text Retrieval Based on Pretrained Language Models: A Survey
Zhao, W. X., Liu, J., Ren, R., & Wen, J.-R. (2024) · ACM Transactions on Information Systems · doi:10.1145/3637870 · Cited by 211
“To construct sparse vector representations, various term weighting methods have been designed and implemented, including the classic tf-idf method [11]–[13].”
MethodVideo Description: A Survey of Methods, Datasets, and Evaluation Metrics
Aafaq, N., Mian, A., Liu, W., Gilani, S. Z., & Shah, M. (2020) · ACM Computing Surveys · doi:10.1145/3355390 · Cited by 211
Rezaii, N., Walker, E., & Wolff, P. (2019) · npj Schizophrenia · doi:10.1038/s41537-019-0077-9 · Cited by 203
“Distinctive content words were identi fi ed using the tf-idf (term frequency-inverse document frequency) weighting algorithm, 30 which is a method that weighs the values in a matrix to better specify their diagnostic importance.”
MethodSWIFT-Review: a text-mining workbench for systematic review
Howard, B. E., Phillips, J., Miller, K., Tandon, A., Mav, D., Shah, M. R., Holmgren, S., Pelch, K. E., Walker, V., Rooney, A. A., et al. (2016) · Systematic Reviews · doi:10.1186/s13643-016-0263-z · Cited by 196
“Raw word counts in each document are converted to length-normalized term frequency-inverse document frequency (TF-IDF) scores [8].”
MethodLanguage as a biomarker for psychosis: a natural language processing approach
Corcoran, C. M., Mittal, V. A., Bearden, C. E., E. Gur, R., Hitczenko, K., Bilgrami, Z., Savic, A., Cecchi, G. A., & Wolff, P. (2020) · Schizophrenia Research · doi:10.1016/j.schres.2020.04.032 · Cited by 186
“Cells in the matrix are filled with frequency counts (the number of times a word appears in a given context) weighted by the relative importance of each frequency, as specified in the tf-idf algorithm (Robertson, 2004).”
Havrlant, L., & Kreinovich, V. (2017) · International Journal of General Systems · doi:10.1080/03081079.2017.1291635 · Cited by 175
“There have been several attempts to provide a theoretical explanation for the success of tf-idf (Heimstra 2000; Jones 1972;Manning,Raghavan, andSchütze 2008;Roberston2004), but the resulting explanations are somewhat over-complicated and not very convincing.”
BackgroundKim, H. K., Kim, H., & Cho, S. (2017) · Neurocomputing · doi:10.1016/j.neucom.2017.05.046 · Cited by 173
Explainable Deep Learning Methods in Medical Image Classification: A Survey
Patrício, C., Neves, J. C., & Teixeira, L. F. (2024) · ACM Computing Surveys · doi:10.1145/3625287 · Cited by 161
Improving Document Ranking with Dual Word Embeddings
Nalisnick, E., Mitra, B., Craswell, N., & Caruana, R. (2016) · Proceedings of the 25th International Conference Companion on World Wide Web - WWW '16 Companion · doi:10.1145/2872518.2889361 · Cited by 161
“However, as previously noted [5], the probabilistic model of IR can also consider additional terms that correlate with relevance.”
BackgroundIntegrating cloud computing in supply chain processes: A comprehensive literature review
Jede, A., & Teuteberg, F. (2015) · Journal of Enterprise Information Management · doi:10.1108/jeim-08-2014-0085 · Cited by 65
Off the Beaten Path: Let's Replace Term-Based Retrieval with k-NN Search
Boytsov, L., Novak, D., Malkov, Y., & Nyberg, E. (2016) · Proceedings of the 25th ACM International on Conference on Information and Knowledge Management · doi:10.1145/2983323.2983815 · Cited by 50
“In the case of Lucene, we index lemmatized terms and use BM25 as a similarity model [57].”
BackgroundMethodInfluentialShen, J., Yang, B., Dudley, J. J., & Kristensson, P. O. (2022) · 27th International Conference on Intelligent User Interfaces · doi:10.1145/3490099.3511145 · Cited by 48
Clay, B., Bergman, H. I., Salim, S., Pergola, G., Shalhoub, J., & Davies, A. H. (2025) · Computers in Biology and Medicine · doi:10.1016/j.compbiomed.2025.109808 · Cited by 41
Online grooming detection: A comprehensive survey of child exploitation in chat logs
Borj, P. R., Raja, K., & Bours, P. (2023) · Knowledge-Based Systems · doi:10.1016/j.knosys.2022.110039 · Cited by 38
Advanced analytics for the automation of medical systematic reviews
Timsina, P., Liu, J., & El-Gayar, O. (2016) · Information Systems Frontiers · doi:10.1007/s10796-015-9589-7 · Cited by 33
“Following (Bekhuis and Demner-Fushman 2012), we used the method TF-IDF(term frequency/inverse document frequency) (Robertson 2004) to create the weights.”
MethodCyberbullying Detection using LSTM-CNN architecture and its applications
Gada, M., Damania, K., & Sankhe, S. (2021) · 2021 International Conference on Computer Communication and Informatics (ICCCI) · doi:10.1109/iccci50826.2021.9402412 · Cited by 33
“We used TF - IDF (Term Frequency - Inverse Document Frequency) [13] to vectorize the input.”
BackgroundMinot, J. R., Cheney, N., Maier, M., Elbers, D. C., Danforth, C. M., & Dodds, P. S. (2022) · ACM Transactions on Computing for Healthcare · doi:10.1145/3524887 · Cited by 23
Critical Search: A Procedure for Guided Reading in Large-Scale Textual Corpora
Guldi, J. (2018) · Journal of Cultural Analytics · doi:10.22148/16.030 · Cited by 23
Learning Invariant Representations of Social Media Users
Andrews, N., & Bishop, M. (2019) · Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP) · doi:10.18653/v1/d19-1178 · Cited by 19
“As a representative approach, we use TFIDF with cosine distance (Robertson, 2004).”
MethodPredatory Conversation Detection
Borj, P. R., & Bours, P. (2019) · 2019 International Conference on Cyber Security for Emerging Technologies (CSET) · doi:10.1109/cset.2019.8904885 · Cited by 19
“The formula of TF-IDF is defined as below [13]: wi,j = tfi,j × log( N dfi ) where wi,j is the weight for term i in document j, N is the number of documents in the collection, tfi,j is the term frequency of term i in document j and dfi is the document frequency of term i in the collection [13].”
BackgroundInfluential(2016) · doi:10.1145/2876034.2876052 · Cited by 14
LEGO-GraphRAG: Modularizing Graph-Based Retrieval-Augmented Generation for Design Space Exploration
Cao, Y., Gao, Z., Li, Z., Xie, X., Zhou, S. K., & Xu, J. (2025) · Proceedings of the VLDB Endowment · doi:10.14778/3748191.3748194 · Cited by 35
On preprocessing the data for improving sexual predator detection: Anonymous for review
Borj, P. R., Raja, K., & Bours, P. (2020) · 2020 15th International Workshop on Semantic and Social Media Adaptation and Personalization (SMA · doi:10.1109/smap49528.2020.9248461 · Cited by 8
A knowledge construction methodology to automate case‐based learning using clinical documents
Ali, M., Hussain, J., Lee, S., Kang, B. H., & Sattar, K. (2020) · Expert Systems · doi:10.1111/exsy.12401 · Cited by 4
“I t i s t h e m o s t c o mm on l y u s e d ke y w o r d e x t r a c t i on a l g o r i t h m c u rr e n t l y i n u s e ( R o b e r t s on , 2004 ) w h e n a d o c u m e n t c o r p u s i s a v a il a b l e .”
Background
Metadata
- Authors
- Robertson, S.
- Venue
- Journal of Documentation
- Publisher
- Emerald
- Published
- 2004-10
- Volume
- 60
- Issue
- 5
- Pages
- 503-520
- ISSN
- 0022-0418 (ISSN-L)
- OpenAlex
- W2024932032
- Cited by
- 1,541
- References
- 24
- FWCI
- 42.72
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.