Towards optimal experimentation in online systems

Chris Haulk23 Apr 2024

Problem

A large online system has tuning parameters, such as the weight given to Likes in a video recommender, and many outcome metrics. The usual routine changes one or two parameters at a time, picks the best arm and repeats. This is slow and misses interactions, and it cannot find an improvement that exists only when several parameters move together. Metrics also trade off, and decision-makers reject a large loss in one metric even for a big gain in another.

Example from the article: YouTube varied 12 parameters of its Discovery System in one suite of 290 experiments and fitted a model to find a better operating point.

Solution in brief

Treat the experiments as training data for a regression of metric lift on parameter changes. Choose experiment arms with a central composite design so the model is estimated precisely. Then solve a quadratically constrained quadratic program (QCQP) that maximizes a weighted sum of predicted metric lifts, caps the loss in each metric, and limits sensitivity to noise and model choice.

Questions this case answers
  • How to find the best operating point of a system with many tunable parameters and several competing metrics using only randomized experiments
  • How to design a set of simultaneous experiments so a response-surface model is estimated with minimum variance
  • How to turn a fitted response model into a decision that respects per-metric loss limits and estimation uncertainty
  • How to tune many system parameters at once with live experiments instead of one-parameter-at-a-time A/B tests?

Tools and methods

  • Central composite design with fractional factorial part — spreads experiment arms over the parameter space.
  • D-optimal design — theory for why spread-out designs minimize worst-case prediction variance.
  • Quadratic regression on relative lift — one model per metric, with linear, squared and pairwise terms.
  • QCQP — chooses parameter changes with loss limits per metric.
  • Jackknife and LASSO — uncertainty and model robustness.
Continue reading — it's free

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