Why Rare Terms Can Carry More Retrieval Evidence
An inverse document frequency factor can give less influence to terms occurring in many documents and more to selective ones.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Trace a simple model
In 100 documents, a term present in five can receive \(\log(100/5)\) under one simple formula. A term present in all 100 gets \(\log(1)=0\). Document frequency supplies the denominator.
Check zero and common cases
Real implementations can smooth extreme values or handle out-of-vocabulary terms separately. State the chosen formula before interpreting exact scores. Record absence is distinct from a term with positive count in some documents.[1]
Compare two terms using one declared toy weighting formula
In a corpus of one hundred documents, a term appearing in ten has unsmoothed weight \(\log(100/10)=\log 10\). A term in all one hundred has weight zero under this formula. Such weights describe prevalence, not correctness or importance by themselves. See term and document frequency.
df=10 → ln(10) ≈ 2.303
df=50 → ln(2) ≈ .693
df=100 → ln(1) = 0
State how unseen terms and small collections behave
The simple formula is undefined at zero frequency. A retrieval implementation can use smoothing and term-availability rules. Evaluate rare misspellings or noise separately from informative rare terms.