internalsGet Pro

Module 16 · Lesson 11 of 15Pro

Exploration and bandits

Level
Advanced
Topic
Recommendation and ranking systems
Reading time
18 min

When you finish this page you can

  1. Explain why always showing the product with the best tap rate so far can lock a recommender onto the wrong product.
  2. Compare an even split, epsilon-greedy, UCB and Thompson sampling by where they spend exploration and how they cope with hourly updates.
  3. Implement Thompson sampling with Beta counts and measure regret in a seeded simulation.
  4. Place exploration inside a recommendation request and log the probability of every choice for later evaluation.
  1. Bayesian thinking: priors and posteriors16 min
  2. Feedback loops and delayed labels18 min
  3. Candidate generation and ranking: the two-stage design17 min
  4. Learning to rank18 min

Video lesson · coming soon

The knife set got one hour

is our example online store. It serves 5 million customers a day from 20 million products, and its recommendation models are retrained daily. This lesson works with one prediction: which product a tile should show so that it gets tapped.

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