BM25: Why is the word frequency saturated and why is the length being normalized
The keyword search access problem coincides with the word or word in the document.
Learning objectives and first steps2 objectives . 1 first fix
Try to do it after reading
- Explain BM25: Why the word frequency saturates and why the length is the mechanism and premise of the standardization
- Positioning the mechanism ' s fault limits with fixed examples
Suggested first
- Reverse Indexes and Words Frequency
Issues and mechanisms
The keyword search access problem coincides with the word or word in the document. BM25 combines word differentiation, frequency in the document and length factors to avoid a word being repeated 100 times the linear gain. It is a reliable and important baseline, particularly suitable for numbering, terminology and precision, but rewording and cross-linguistic matching may require other signals.
The saturation function is often used for the word frequency segment, and the frequency number continues to increase while marginal gains are reduced; Normalization of the length avoids that the long text is superior to the system merely because it contains more words. The frequency of reverse documents depends on language statistics, with different agreements for smoothing and negative values being achieved. The numeric changes of words, decoupled words, case and document block cuts, so that BM25 is not a fixed fraction from the index protocol.
A concrete example
Only the Saturation of the teaching is f divided by f plus two, the word one, two, ten corresponds to one third, one half and five sixth. Frequency gains ranged from 1 to 2 from approximately 0.167 to from 9 to 10 to only about 0.015, reflecting a decrease. This simple ignores the actual length to reverse document frequency and cannot be considered a complete BM25; A complete comparison requires a fixed average document length, parametric smoothing rules.
Borders and checks
Two documents of similar length can be constructed to check whether the length entry is effective as configured; Check the distinction with a common word and a rare number. If the fractions in different index versions change, first check the number of documents and the numeric count instead of the fractions being the absolute probability of relevance.
The evaluation uses the same candidate units and labels as the dense search, with particular attention to numbers, abbreviations and negative conditions. The key word score is high and does not guarantee support for the answer, and the same word is probably only a background paragraph and still needs to be verified.
A method of verification
For the research library, the compatibility of word-sharing and word-counting can be checked by checking old, new and complete acronyms of the same method. Negative conditions often contain very general terms, and no word processing can be deleted without inspection. If the slice becomes shorter and the average document length and word frequency distribution changes, the baseline should be re-established; The change in the number of candidates could not be explained in its entirety as a change in the quality of the new information after the old score threshold was not maintained.
Check understanding
Ten-to-one word frequency. Do you score ten times?
No, it's not. Saturation and length factors weaken linear growth, with specific ratios dependent on complete formulae and index statistics.
How many points do BM25 have directly related to the score?
Can't. It is a sorting score, and cross-issues may differ from the scale of the index version, requiring independent calibration to be interpreted as a given probability.
Sources and reconciliations
Definitions, methods and interfaces are available.
- Robertson and Zaragoza — The Probabilistic Relevance Framework BM25 and Beyond
- BEIR — A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Models
Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.