Skip to main content
QUICK REVIEW

[Paper Review] Machine Learning for Variance Reduction in Online Experiments

Yongyi Guo, Dominic Coey|arXiv (Cornell University)|Jun 14, 2021
Advanced Causal Inference TechniquesMathematics28 references9 citations
TL;DR

This paper proposes MLRATE, a machine learning regression-adjusted treatment effect estimator that uses cross-fitting and robust linear regression to reduce variance in online A/B tests. By leveraging predictive models of outcomes from covariates, MLRATE achieves up to 70% lower variance than difference-in-means and 19% lower than univariate pre-treatment adjustment, with asymptotic validity even under poor ML predictions.

ABSTRACT

We consider the problem of variance reduction in randomized controlled trials, through the use of covariates correlated with the outcome but independent of the treatment. We propose a machine learning regression-adjusted treatment effect estimator, which we call MLRATE. MLRATE uses machine learning predictors of the outcome to reduce estimator variance. It employs cross-fitting to avoid overfitting biases, and we prove consistency and asymptotic normality under general conditions. MLRATE is robust to poor predictions from the machine learning step: if the predictions are uncorrelated with the outcomes, the estimator performs asymptotically no worse than the standard difference-in-means estimator, while if predictions are highly correlated with outcomes, the efficiency gains are large. In A/A tests, for a set of 48 outcome metrics commonly monitored in Facebook experiments the estimator has over 70% lower variance than the simple difference-in-means estimator, and about 19% lower variance than the common univariate procedure which adjusts only for pre-experiment values of the outcome.

Motivation & Objective

  • To develop a practical, scalable method for variance reduction in online experiments using machine learning predictors.
  • To ensure the estimator remains robust even when machine learning predictions are uncorrelated with outcomes.
  • To prove asymptotic normality and validity of naive confidence intervals under general conditions.
  • To demonstrate significant variance reduction in real-world A/A tests across 48 Facebook metrics.
  • To address scalability and computational challenges in deploying ML-based adjustment at scale.

Proposed method

  • MLRATE uses cross-fitting to train machine learning models on disjoint data subsets, ensuring predictions are independent of the estimation sample.
  • It includes the ML-predicted outcome as a covariate in a subsequent linear regression model to adjust for treatment effects.
  • The method ensures asymptotic normality and validity of naive confidence intervals by controlling for estimation bias from the ML step.
  • It is model-agnostic and does not assume the ML model converges to the true conditional mean or that the outcome relationship is linear.
  • The estimator is robust: if ML predictions are uncorrelated with outcomes, variance is no worse than difference-in-means.
  • It uses a Neumann series expansion and high-probability bounds to establish asymptotic distributional properties under weak regularity conditions.

Experimental results

Research questions

  • RQ1Can machine learning models be used to reduce variance in online experiment estimators without introducing bias?
  • RQ2How can cross-fitting be leveraged to ensure asymptotic validity of confidence intervals when using complex ML predictors?
  • RQ3What is the worst-case performance of the estimator if ML predictions are uncorrelated with the outcome?
  • RQ4How much variance reduction can be achieved in practice using multivariate, nonlinear ML predictors compared to univariate pre-treatment adjustment?
  • RQ5Can the method be scaled efficiently for production use in large-scale online experimentation platforms?

Key findings

  • In A/A tests across 48 common Facebook metrics, MLRATE reduced variance by over 70% compared to the standard difference-in-means estimator.
  • MLRATE achieved approximately 19% lower variance than univariate regression adjustment using only pre-experiment outcome values.
  • For some metrics, variance reduction exceeded 50%, significantly improving statistical power.
  • The estimator maintains asymptotic validity of naive confidence intervals even when ML predictions are uncorrelated with outcomes.
  • Theoretical analysis confirms consistency and asymptotic normality under general conditions, with robustness to poor ML performance.
  • Computational scalability is feasible through pre-computed predictions and efficient cross-fitting procedures.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.