internalsGet Pro

Module 18 · Lesson 6 of 15Pro

Search relevance models

Level
Advanced
Topic
Applied ML problems
Reading time
17 min

When you finish this page you can

  1. Explain why clicks measure how attractive a product is as well as whether it answers the query, and when graded human judgements are worth their cost.
  2. Recognize where word matching and meaning matching each fail on product queries, and combine both as ranking features.
  3. Choose between a bi-encoder, a cross-encoder and a gradient-boosted re-ranker for a search stage, given its latency budget.
  4. Evaluate a relevance model offline with NDCG on judged queries and online with search conversion, and explain why the two can disagree.
  1. Ranking metrics: NDCG, MAP and recall at k16 min
  2. Two-tower models for fast retrieval18 min
  3. Candidate generation and ranking: the two-stage design17 min
  4. Learning to rank18 min

Video lesson · coming soon

The phone outranks its own charger

is our example online store. It now serves 5 million customers a day from 20 million products. In this lesson’s scenario, those customers type about 12 million searches a day. For each one, a model decides which products appear first.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan