PrepCity

Evaluating a ranker without shipping it

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 · 9 pages · about 8 min

Evaluating a ranker without shipping it

Every A/B test costs weeks and real shoppers. Off-policy evaluation estimates how a new ranker would do from the live ranker’s logs, by reweighting each logged visit by one over the chance it was shown. Run on the shop’s seeded shoppers: right on average, wobbly, and blind where the old ranker never looked.

What it is
Off-policy evaluation estimates a new ranker’s result from logs another ranker made. Inverse propensity scoring is the basic method: count each matching logged visit one over its logged chance times.
What it is for
An A/B test per idea is slow and costs shoppers a worse row. Estimating from logs screens many ideas for free and sends only the promising ones to a test.
Use it when
When the live ranker picks with some randomness and logs the chance of each pick. Without logged chances, or for products it never shows, the logs cannot answer.

Words you’ll learn

  • A/B test
  • Row
  • Off-policy evaluation
  • Impression log
  • Propensity
  • Inverse propensity scoring
  • Shuffle

Page by page