KatInterview

Validating a New Ad Ranking Model Through an Online Test

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentsab-testingexperiment-designguardrail-metrics

Last updated

Plan an online experiment for a new ad-ranking model, choose metrics, judge a CTR gain, investigate a surprising segment result, and decide whether a combined CTR and revenue gain justifies a global launch.

Scenario

An advertising platform has a new machine-learning model that ranks ads. The team that built it says it beats the model currently in production. You have been asked to decide whether that claim holds up and whether the model should ship.

Questions

Answer each part as you would in a live discussion, stating your assumptions.

  1. Experiment design. How would you set up an experiment to test the new ranking model? Cover any work before the live test, the unit of randomization, how you would size and time the test, and the checks that confirm the setup is sound. Consider that advertisers share budgets across both arms.
  2. Metrics. Which primary metric(s) and which guardrail metrics would you track, and why?
  3. Practical significance. The test reports a 5% relative increase in click-through rate (CTR) that is statistically significant. How do you decide whether that gain matters in practice?
  4. Surprising segment. In a breakdown, CTR for men aged 18-55 in India has doubled. What might explain this, and what would you do next?
  5. Launch decision. Suppose the overall result is +5% CTR and +5% revenue. Would you launch worldwide? Walk through how you would reach your decision.

Your answer should discuss randomization, sample size, heterogeneous effects, business trade-offs, and ethical or fairness checks.

Hints

Hint 1

Ad auctions rank roughly by bid times predicted CTR, and advertisers draw from shared budgets. Think about how that makes the two arms interfere with each other, and what you would randomize on besides users.

Hint 2

Separate proxy metrics from value metrics. Ask whether the extra clicks lead to conversions and advertiser return, and whether any user or advertiser guardrail got worse.

Hint 3

For an extreme result in one segment, rule out explanations in this order: logging or assignment bugs, invalid traffic, multiple-comparison noise. Only after that consider real heterogeneity or a fairness problem, and confirm with a fresh pre-registered test.