Choosing a Proxy Metric from Past Experiments

Nilesh Tripuraneni, Lee Richardson, Alexander D'Amour, Jacopo Soriano, Steve Yadlowsky

TL;DR

Measuring long-term "North Star" metrics in A/B tests is often impossible due to high noise and long delays. This paper introduces a statistical framework that treats choosing a proxy metric as a portfolio optimization problem, using historical experiment data to build a composite proxy that automatically adapts to the sample size of your current experiment.

What Problem Does This Paper Address?

In the world of industrial A/B testing, we often care about long-term outcomes—like 6-month user retention or lifetime value. However, most experiments only run for a few weeks. To make decisions, teams rely on "proxy metrics" (e.g., 1-day click-through rate) that are expected to move in the same direction as the long-term goal.

The challenge is twofold:

  1. Selection: Which of the dozens of available short-term metrics actually predicts the long-term goal?
  2. Noise vs. Bias: A metric might be perfectly aligned with the long-term goal but so noisy that it's useless in a small experiment. Conversely, a very "stable" metric might be easy to measure but have no actual relationship with long-term success.

Current approaches often rely on rigid causal assumptions or simple heuristics that don't account for the varying noise levels across different experiments.

Methods

The authors propose a two-step framework:

  1. Denoising with Hierarchical Models: They treat a corpus of past experiments as a "meta-analysis." Using a hierarchical Bayesian model (implemented in NumPyro), they disentangle the "true" latent treatment effects from the experimental noise. This allows them to estimate the underlying covariance between short-term proxies and the long-term North Star metric.
  2. Optimal Composite Proxies via Portfolio Optimization: Instead of picking one proxy, they create a weighted "composite proxy." They define Proxy Quality as the correlation between the observed proxy effect and the latent long-term effect.
  3. The Sharpe Ratio Connection: They show that maximizing this quality is mathematically equivalent to maximizing a Sharpe Ratio in finance. Just as a portfolio manager balances return vs. risk, the framework balances a proxy's alignment with the North Star vs. its experimental variance.
  4. Adaptivity: Crucially, the optimal weights ($w$) are a function of the experiment's sample size ($n$).

Datasets

  • Synthetic Data: Used to demonstrate the effectiveness of the hierarchical model in recovering latent correlations from noisy observations.
  • Industrial Corpus: A real-world dataset consisting of 307 randomized experiments from an industrial recommendation system. This corpus includes three hand-selected "auxiliary" (proxy) metrics and one long-term "North Star" metric.

Key Insights and Ideas

  • The "Optimal" Proxy is Not Fixed: This is the paper's biggest "aha" moment. If you have a small experiment (low $n$), you should weight "stable," low-variance metrics more heavily. If you have a massive experiment (high $n$), you can afford to weight "sensitive" but noisier metrics that are more perfectly aligned with the long-term goal.
  • Experimental Noise is a Liar: Raw correlations between metrics in past experiments are often over-optimistic because the same "noise" (e.g., a specific group of users) affects both metrics simultaneously. The hierarchical denoising step is essential to see the "true" relationship.
  • Diversification Works: Just like in a stock portfolio, combining multiple proxies can cancel out independent noise, leading to a more reliable decision-making signal than any single metric could provide.

Key Results

The authors evaluated their "New Composite Proxy" against a baseline that optimized for "Proxy Score" (a common industry heuristic) and against individual metrics:

Metric Sensitivity Proxy Score Proxy Quality
New Composite Proxy 0.181 0.666 0.302
Baseline Composite 0.182 0.611 0.279
Best Single Proxy 0.062 0.611 0.174
  • Superior Alignment: The new method achieved the highest Proxy Quality (0.302) and Proxy Score (0.666), meaning it was the most reliable at predicting the "correct" decision for the long-term metric.
  • Efficiency: The composite proxy was significantly more sensitive than the best individual proxy, meaning it could detect smaller movements with more confidence.

Limitations and Future Work

  • Stationarity Assumption: The model assumes that the relationship between proxies and the North Star metric is stable across the entire corpus of experiments. In reality, a system might evolve (non-stationarity), making old experiments less relevant.
  • Homogeneity: It assumes all experiments are drawn from a similar distribution. If an experiment is fundamentally different from anything in the history (e.g., a brand-new UI paradigm), the historical weights might not apply.
  • Linearity: The current framework focuses on linear combinations of proxies. The authors suggest that exploring non-linear composite proxies (e.g., using neural networks) could be a promising future direction.

Summary updated

BibTeX
@inproceedings{tripuraneni2024choosing,
  author = {Nilesh Tripuraneni and Lee Richardson and Alexander D'Amour and Jacopo Soriano and Steve Yadlowsky},
  title = {{Choosing a Proxy Metric from Past Experiments}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
  doi = {10.1145/3637528.3671543},
}
Figure