Simulation-Based Inference for Adaptive Experiments

Brian M Cho, Aurelien Bibaut, Nathan Kallus

Introduction

In modern data science and clinical research, adaptive experiments—often implemented as multi-arm bandits—have become a gold standard for efficiency. Unlike traditional randomized controlled trials that split participants evenly across all groups, adaptive algorithms learn in real-time, funneling more participants toward high-performing "arms" to maximize success. While this approach is ethically and economically superior, it presents a significant challenge for statistical inference. Because the data collection process depends on previous results, observations are no longer independent, causing standard statistical tools like the classic "Bell Curve" (asymptotic normality) to fail.

Researchers from Cornell and Netflix have addressed this gap by developing a new simulation-based method to calculate accurate confidence intervals for adaptive experiments. Their approach, termed "simulation with optimism," provides statistical guarantees that are significantly more precise than current methods, particularly for the "losing" options that adaptive algorithms typically stop testing early.

The Statistical Challenge of Adaptive Sampling

In a standard experiment, the distribution of the sample mean is predictable. However, in an adaptive setting, the algorithm’s tendency to abandon low-performing arms creates a nightmare for statisticians. If an arm is sampled only a few times before being discarded, the resulting data is highly biased.

Existing "safe" alternatives, such as "Anytime Valid" inference, often suffer from being "underpowered." These methods produce confidence intervals so wide they are practically useless for understanding the arms the algorithm decided to stop testing. Practitioners are often left with a clear winner but no precise understanding of why the other options failed or exactly how much worse they were.

Methodology: Simulation with Optimism

The authors propose a generative approach: rather than relying on complex mathematical formulas to describe the distribution of results, they simulate the entire experiment thousands of times under a specific "null hypothesis."

The core innovation of this paper is the concept of Simulation with Optimism. To conduct a hypothesis test on a specific arm (e.g., Arm 1), researchers must estimate "nuisance parameters"—the true means of all the other arms. The authors' method follows a specific logic:

  1. The Twist: Instead of using the raw observed averages for the other arms in the simulation, they add a small, calculated amount of positive bias, or "optimism."
  2. The Logic: By making the other arms look slightly better in the simulation than they actually are, the simulated bandit algorithm is less likely to pull the arm being tested. This creates a conservative "null distribution" that accounts for the bias inherent in adaptive sampling.
  3. The Result: This allows for valid p-values and confidence intervals across a wide range of popular bandit algorithms, including Explore-Then-Commit (ETC) and Upper Confidence Bound (UCB).

This method effectively bypasses the need for "conditional positivity," a restrictive mathematical assumption in many existing proofs that requires every arm to have a non-zero chance of being picked at every step. This simulation approach remains robust even when those assumptions break down.

Evaluation and Key Results

The researchers evaluated their method using both synthetic simulations and real-world data.

Synthetic Bernoulli Bandits

Using controlled simulations with three arms where the ground truth was known, the authors measured how often their confidence intervals "covered" the true mean. The simulation-based method successfully maintained the "nominal" error rate (e.g., a 90% confidence interval contained the truth 90% of the time), whereas standard "plug-in" methods often led to false positives.

Real-World Political Science Survey

The method was applied to a 1000-participant experiment on Amazon MTurk regarding "Right to Work" laws. The original experiment used Thompson Sampling to test different wordings for ballot measures. The simulation-based method produced the narrowest confidence intervals for the majority of treatment arms, providing clearer insights into why certain wordings failed compared to previous statistical baselines.

The "Worst Arm" Advantage

One of the most striking findings was that the biggest gains in precision occurred in the "worst" arms. Because bandits quickly stop sampling poor performers, data on these arms is usually scarce. This method reduced the uncertainty (interval width) for these undersampled arms by up to 50%, allowing researchers to draw much firmer conclusions about suboptimal choices.

Conclusion and Future Work

While the simulation-based approach is more computationally intensive than using a simple formula—requiring thousands of simulations for every point on a grid—it is still computationally tractable on a standard laptop. It offers a path forward for rigorous inference in complex, real-world adaptive designs where traditional mathematical assumptions fail.

Future work remains to be done in developing a "universal theory" that covers every possible adaptive algorithm, as the current proofs are tailored to several major classes (UCB, ETC, etc.). Additionally, while the method is robust for moderate to large datasets, the authors advise caution with very small sample sizes where asymptotic guarantees may not yet hold.

Summary updated

BibTeX
@inproceedings{cho2025simulation,
  author = {Brian M Cho and Aurelien Bibaut and Nathan Kallus},
  title = {{Simulation-Based Inference for Adaptive Experiments}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=lGUzCAdYoq},
}
Figure