ML-assisted Randomization Tests for A/B Experiments
Wenxuan Guo, JungHo Lee, Panos Toulis
NeurIPS page · Open on the map
Category: Causality, Privacy & Learning Theory › Adaptive Treatment Allocation · Type: new method · Keywords: randomization test, A/B experiments, treatment effect detection, machine learning models, statistical power, sample splitting
Summary
The paper introduces a randomization-based test that measures the out-of-sample predictive gain from including treatment in a flexible ML model, providing finite-sample validity and improved power for detecting heterogeneous treatment effects in A/B experiments.
Explained to a 5-year-old
In online experiments, people test new ideas to see which works better. Sometimes the effect is tiny and hard to notice. The researchers created a new way to check if a new idea really helps by looking at how much better a computer model predicts results when it knows about the new idea. This method works well even when the effect varies for different people. It helps make better choices in experiments.
Explained to a 5-year-old, longer
Online experiments are like contests where you try a new change and see if it helps. Usually you measure results and look for differences. Sometimes the difference is so small you can't see it. The researchers noticed that the usual way of using computers to predict results loses power when the effect is not the same for everyone. They invented a new test that checks how much better the computer gets when you tell it about the new change. This test uses the random way the experiment was set up to be safe. It splits the data into parts to make sure the test is honest. The test works even if the model is any kind of computer program. It also has a guarantee that it will find real effects when they exist. In simulations and real experiments, the new test found more useful changes than before. This helps companies make better decisions faster. It also works for many kinds of experiments, not just one type. Overall, the new method makes experiments more reliable and powerful.
For a technical reader
The paper addresses the low statistical power of standard ML-based residualization approaches for detecting small, heterogeneous treatment effects in randomized A/B tests. It proposes a randomization-based test that quantifies the out-of-sample predictive gain from adding the treatment variable to a flexible ML model, using sample splitting to guarantee finite-sample validity for any model and loss function. Theoretical analysis provides power guarantees under heterogeneous effects, and empirical evaluations on simulations and large-scale experiments demonstrate substantial improvements over classical t-tests on residualized outcomes. The method requires only standard ML pipelines and randomization, making it easy to integrate into existing experimentation infrastructure. This yields more reliable detection of subtle treatment effects, enabling better decision-making in online experiments.
Problem
Detecting treatment effects in randomized A/B experiments when effects are small, complex, and heterogeneous is challenging because standard ML residualization combined with classical t-tests can lose substantial statistical power.
Method
The approach leverages experimental randomization and sample splitting to construct a test statistic that quantifies the out-of-sample predictive improvement when the treatment variable is added to a flexible ML model, ensuring finite-sample validity for any model and loss function.
Results
The approach provides theoretical power guarantees and shows substantial empirical gains in both simulated and real large-scale A/B experiments.
Contributions
It introduces a randomization-based test that measures predictive gain from treatment inclusion, offers finite-sample validity for arbitrary models, and provides both theoretical power guarantees and empirical improvements over existing residualization-based tests.
Practical relevance
Enables more reliable detection of subtle treatment effects in large-scale online experiments, improving decision-making for product and policy interventions.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction