← All parts of this equation

Equation 2 · Part 1 · What Actually Happens Between a Query and an Answer in RAG

Symbol b

bb
bb

What this part means

b is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.

Its job in the formula

b is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.

The passage around this formula

Robertson and Zaragoza’s account of the probabilistic relevance framework behind this formula is worth reading past the equation for one design choice it exposes: the term-frequency component saturates rather than growing linearly, so a document repeating a query term fifty times is scored only marginally higher than one repeating it five times, and the length-normalisation term b trades off penalising long documents against rewarding genuinely comprehensive ones [ 1 ] . BM25 has no notion of meaning. A query for “cannot authenticate” and a document about “login failure” share no terms and score zero, regardless of how obviously related a person would find them.

Read this part in the article →

Learn the underlying idea

A variable is a named place for a value. Its letter is a local label: x can mean position in one formula and a data point in another.

Open the illustrated variables: a letter stands for a value guide →

See this notation across published equations →

Sources cited in the surrounding passage

These citations provide research context; check each source for the exact claim it supports.