PrepCity

Explore and exploit: give new products a fair try

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 10 pages · about 9 min

Explore and exploit: give new products a fair try

A recommender that always shows what it already knows is best never learns about anything new. Bandit policies (epsilon-greedy, UCB, Thompson sampling, a fresh-item boost) spend a few showings on products they are unsure about, and the run shows what that costs today and pays later.

What it is
Exploring means showing something you are unsure about to learn how good it is; exploiting means showing what you already believe is best. A bandit policy decides, visit by visit, how much of each.
What it is for
Every showing is both a sale chance now and the only way to learn. A policy that never explores locks onto what it saw first and never finds a better product.
Use it when
Whenever new items keep arriving and the system learns only from what it shows: shop rows, feeds, ads, news, notifications. With a fixed small catalogue tested once, a plain A/B test is enough.

Words you’ll learn

  • Row
  • Impression log
  • Cold start
  • Epsilon-greedy
  • UCB
  • Thompson sampling
  • Burst
  • Re-ranker

Page by page