35 · Needs, graded judgments, and evaluation
Define user needs, graded relevance, disagreement, and incomplete-judgment sensitivity.
19 LESSONS · ONE CONNECTED PATH
Connect user queries to document retrieval, relevance judgments and ranking.
Before you begin: Start with 31–34, then needs and relevance before queries, retrieval and ranking.
THE LEARNING PATH
S01–S02: tasks, satisfaction, graded judgments, disagreement, pooling and real qrels. Start with Foundations 31–34.
Define user needs, graded relevance, disagreement, and incomplete-judgment sensitivity.
Define real search data contracts and calculate query-level relevance metrics.
S03–S06: normalization, Chinese tokenization, term and field weights, intent rejection, spelling and semantic drift. Constructed examples make the mechanisms visible.
Compare Chinese dictionary segmentation directions and distinguish words from subwords.
Separate soft query-term/field weights from hard eligibility constraints.
Define topic and action labels, audit rule-based intent, and provide abstention fallback.
Inspect spelling correction, false retrieval, constraint preservation, and rewrite fallback.
S07–S11: positional / Boolean indexing → BM25 → frozen semantic representations → coarse-cluster candidate budgets → cache consistency. Chapter 28 is not HNSW.
Check Boolean and positional indexes against a brute-force oracle and index generations.
Inspect postings, BM25 term saturation, length normalization, and zero-score queries.
Inspect tokenization, masked pooling, vector geometry, and truncation in real retrieval.
Measure approximate-index error separately from task recall and end-to-end latency.
Explore candidate-cache TTL, generation checks, stale data, and explicit failure fallback.
S12–S15: BERT pair inputs and small-budget fine-tuning → ranking losses → real-data fusion → quality and diversity. Training workshops report teaching selection metrics.
Inspect pair inference and run bounded, actual TinyBERT fine-tuning without claiming gains.
Optimize three ranking objectives and test score-shift invariants on constructed labels.
Train query-isolated linear rerankers and inspect frozen cross-encoder candidate ceilings.
Explore relevance, quality filtering, topic coverage, and constructed exposure bias.
S16–S18: constructed query sessions → traceable requests and fallbacks → error diagnosis in the real-data service.
Separate prefix completion, related-query suggestions, and next-query transitions.
Trace query processing through candidates and cache to ranking and explicit degradation.
Diagnose per-query failures and verify served document rankings against offline results.
The original SciFact experiment after the core sequence. Original models and previously inspected test results remain unchanged.
Compare BM25, frozen neural retrieval, fusion, and reranking on SciFact.
No lessons match. Try another concept or clear the search.
TRACE THE IDEAS
Follow the original material alongside the Lab. Source scope, original language and the boundaries of each teaching unit are explicit.
Pinned six-module syllabus with nine linked PDFs. Query processing, retrieval, ranking and suggestions are primarily outlines; Lab experiments are independent teaching implementations.
Supplementary indexing, query processing, retrieval and evaluation. The original host closed connections during this network check; Wang’s lecture links remain available.
Architecture, inputs and pre-training background. This Lab does not reproduce BERT pre-training.
Reference for query–passage cross-encoder scoring. The small TinyBERT workshop is not a reproduction of the paper’s benchmark.
Distinguish the user’s information need from an offline metric.
Boundary: Artificial sessions do not measure real satisfaction; NDCG is an offline proxy.
Calculate graded gains and inspect disagreement and incomplete judgments.
Boundary: Constructed graded judgments; SciFact keeps binary and incomplete qrels.
Compare dictionary segmentations and explain ambiguity and out-of-vocabulary terms.
Boundary: Artificial word examples, bidirectional dictionary matching and candidate counts; no trained neural Chinese tokenizer.
Change a field or term weight and inspect both retrieval gains and false matches.
Boundary: A four-document linear field mechanism, not BM25F or production term-weight learning.
Define intent labels and let uncertain rules reject rather than force a class.
Boundary: Manually labeled topics/actions and rule-based rejection; no real intent-accuracy claim.
Compare original and rewritten queries, including a fallback on semantic drift.
Boundary: Fixed correction and synonym rules, including deliberate failures; no generative-model gain.
Build positional postings and verify Boolean/phrase results against exhaustive scans.
Boundary: A four-document positional index, exhaustive checks and rebuild generations; not a distributed incremental engine.
Inspect BM25 terms and compare rankings on real queries.
Boundary: The original real-data BM25 experiment in 26. Previously inspected test results are diagnostic.
Trace tokenized text through frozen embeddings to nearest documents.
Boundary: Frozen MiniLM in chapter 27; no retrieval-encoder training.
Measure the recall–candidate-budget tradeoff against an exact oracle.
Boundary: A 12-cluster teaching index in 28, not an implementation of HNSW or FAISS.
Invalidate cached candidates correctly when queries or index generations change.
Boundary: A logical clock and loader-call cost, not measured production cache gains.
Inspect pair inputs, truncation, batching and cross-encoder scoring.
Boundary: Real TinyBERT pair inputs with truncation, batching and budget comparisons in 42 use the training partition. Chapter 29 also retains diagnostics on previously inspected test queries.
Fine-tune a small relevance model with separated fit and selection queries.
Boundary: 32 fit / 8 selection queries, 128 weakly supervised pairs and 2 epochs; no blind-test or improvement claim.
Compare pointwise, pairwise and listwise objectives and score fusion.
Boundary: Actual optimization of three losses on constructed graded labels; real fusion retains the weak negatives of 29.
Separate relevance from quality and topic diversity under explicit constraints.
Boundary: Artificial quality/topics and known-propensity mechanisms; no online gain or real IPS result.
Generate and rank suggestions from sessions; expose leakage and template overlap.
Boundary: Constructed sessions with disclosed template overlap; reciprocal rank and prefix precision/recall illustrate mechanisms.
Trace a request through candidates, scores, fallback and latency diagnosis.
Boundary: An explicitly constructed trace API; the original real-data API and performance diagnosis remain in 30.
Explain an end-to-end search result and identify what the evidence cannot establish.
Boundary: Semantic sequence, sources, prerequisites and evidence. Industrial scale and advanced extensions remain outside the core.
These links open the original author or publisher material, in its original language and under its own terms.
01_Basics_01.pdf · Chinese
Original Chinese author PDF; Lab teaching text is independently authored.
01_Basics_02.pdf · Chinese
Original Chinese author PDF; Lab teaching text is independently authored.
01_Basics_03.pdf · Chinese
Original Chinese author PDF; Lab teaching text is independently authored.
01_Basics_04.pdf · Chinese
Original Chinese author PDF; Lab teaching text is independently authored.
02_Rel_01.pdf · Chinese
Original Chinese author PDF; Lab teaching text is independently authored.
02_Rel_02.pdf · Chinese
Original Chinese author PDF; Lab teaching text is independently authored.
02_Rel_03.pdf · Chinese
Original Chinese author PDF; Lab teaching text is independently authored.
02_Rel_04.pdf · Chinese
Original Chinese author PDF; Lab teaching text is independently authored.
02_Rel_05.pdf · Chinese
Original Chinese author PDF; Lab teaching text is independently authored.