Scoring Adverts Quickly but Fairly

Tom Armitage, Mahmoud Oshagh28 Oct 2022

Problem

A classifieds marketplace wants a quality score for every advert, to rank adverts and fill slots such as the Promoted position. The score compares an advert's response with the response expected for its contexts. With few views this ratio is erratic. The original Auto Trader model scored only adverts with enough observations, which covered about 80% of car adverts. Adverts in non-car channels often never got a score. The fixed seven-day window keeps the score current but worsens the data shortage.

Example from the article: an advert's first view is at the top of the page for an engaged user and gets no response. Observed response is zero, expected response is high, so one view makes the ratio look extremely bad.

Solution in brief

Put a prior, taken from the site-wide response distribution, on the observed response. Every advert starts at a typical value and moves toward its own data as views accumulate, so no hard cut-off is needed. A second prior on the final score, weighted by an effective sample size, removes the extremes that remain because the expected response is also unstable.

Questions this case answers
  • How to score an item by its observed-to-expected response from the first impressions, when raw ratios are erratic and a minimum-views threshold leaves part of the catalog unscored
  • How to keep a context-adjusted response score stable at low volume when both the observed rate and the expected rate are noisy
  • How to score a new item from its first few impressions without waiting for a minimum number of views
  • How to keep a response-based quality score from jumping around when an item has very little data

Tools and methods

  • Beta prior on response — site-wide distribution, updated as views arrive
  • Prior-weighted score — average of prior mean and raw score, weighted by effective sample size
  • Score vs observations plot ("the fish") — shows unstable scores at low volume
Continue reading — it's free

Google or a one-time email code. No password.