Choosing a Proxy Metric from Past Experiments

Nilesh Tripuraneni, Lee Richardson, Alexander D'Amour, Jacopo Soriano, Steve Yadlowsky14 Sep 2023

Problem

The long-term metric a team cares about (retention, lifetime value) is slow and noisy, so a short A/B test cannot measure its treatment effect. Teams track short-term proxy metrics instead and hope they move together with the long-term one. A hand-picked proxy can be either well aligned but too noisy to detect anything, or sensitive but weakly aligned. So shipping decisions can disagree with the long-term outcome.

Example from the article: an industrial recommendation system with a corpus of 307 past A/B tests, where three auxiliary short-term metrics are the candidate proxies for a long-term metric.

Solution in brief

Treat the proxy as a weighted sum of short-term treatment effects and choose the weights to maximize its correlation with the true long-term effect. This is a portfolio (Sharpe-ratio) problem. The inputs are latent effect covariances. They are estimated by denoising effects observed in past experiments. Because noise shrinks with sample size, the best weights depend on how large the new experiment will be.

Questions this case answers
  • How to combine several noisy short-term outcomes into one index that predicts a slow, noisy long-term outcome in a new randomized experiment, given many past experiments
  • How to make the weights of a composite proxy depend on the sample size of the experiment it will be used in
  • How to build one proxy metric from several short-term metrics that tracks a long-term outcome?
  • How to choose proxy weights when the experiment is small and the metrics are noisy?

Tools and methods

  • Hierarchical Bayesian model — denoises observed treatment effects to estimate the latent covariance across experiments
  • Convex quadratic program (CVXPY) — solves for non-negative proxy weights
  • NumPyro (NUTS) — fits the hierarchical model
  • Sample-splitting estimator — simpler, unbiased alternative for the latent covariance
Continue reading — it's free

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