Log inStart free
LESSON 22.C1 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Retrieval compared on the same queries

Watch four retrievers rank the same 12 pages for the same 3 queries.


Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 22.C1 · SEARCH BAYBM25 · TOP 3: 2 OF 3 RELEVANT · 0 MODEL CALLS
01
Stage 1 of 5 · Keyword list
BM25 ranks pages by shared rare words. D3 gets into the top 3 on the word fast alone.
Explain it simply

The query box holds the query, and the page key marks the pages that answer it. The first list is BM25, the keyword search of lesson 22.06. It scores a page only when the page shares a word with the query. In this list, 2 of 3 relevant pages make the top 3.

BM25 list for “battery drains fast”: D1, D3, D2 lead; 2 of 3 relevant pages are in the top 3.

pages, querycandidates, filter, model callswrong or missed pageranks, scores, relevant page
keyword list“battery drainsfast”no product filterD10 (printer) stayspages, ■ relevantD1battery drainsD2battery tipsD3charges fastD430% left postD5E42: batteryD6fix error E42D7overheatingD8feels warmD9screen flickerD10printer E42D11hot keysD12keys stickBM25 · 22.06keywords1D15.342D31.723D21.354D50.905D60.866D40.60top 3: 2 of 3 relevantkeyword list“battery drainsfast”no product filterD10 (printer) stayspages, ■ relevantD1battery drainsD2battery tipsD3charges fastD430% left postD5E42: batteryD6fix error E42D7overheatingD8feels warmD9screen flickerD10printer E42D11hot keysD12keys stickBM25 · 22.06keywords1D15.342D31.723D21.354D50.905D60.866D40.60top 3: 2 of 3 relevant
Toy: 12 help-centre pages, 3 queries; hand-set word tables, not trained
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
s(q,d)=∑w∈qidf(w)⋅f (k1+1)f+k1(1−b+b ∣d∣/∣d∣‾)\sy{s}{out}{s}(q, d) = \sum_{w \in q} \mathrm{idf}(w) \cdot \frac{\sy{tf}{data}{f}\,(k_1 + 1)}{\sy{tf}{data}{f} + k_1 (1 - b + b\,|d| / \overline{|d|})}
s(D1)=5.34s(D1) = 5.34

Each shared word adds its rarity, and repeats level off.

Common mix-ups

MYTHKeyword or dense search alone is best for every query.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01For “computer gets too hot”, which list has both heat pages in its top 3?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
  • 4 more stages and 3 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.