Adaptive Experimentation at Scale: A Computational Framework for Flexible Batches

Ethan Che, Hongseok NamkoongarXiv 2023

TL;DR

This paper introduces a computational framework for adaptive experimentation that works with flexible batch sizes and a limited number of reallocation opportunities. By leveraging Gaussian approximations of aggregate rewards, the authors transform a complex bandit problem into a differentiable dynamic program, leading to a simple yet powerful algorithm called Residual Horizon Optimization (RHO) that consistently outperforms standard methods in real-world, low-signal settings.

What Problem Does This Paper Address?

Most multi-armed bandit (MAB) theory assumes "unit-level continual reallocation"—the ability to change your sampling strategy after every single observation. In practice, this is almost never possible. Whether in clinical trials or large-scale A/B testing at tech companies, data is collected in batches, and there are only a handful of opportunities (epochs) to change the allocation.

Furthermore, modern experiments often deal with many treatment arms and very small effect sizes (low signal-to-noise ratio). Standard adaptive methods often struggle here, either requiring full knowledge of reward distributions or failing to account for the fixed, short time horizon of the experiment. The authors aim to bridge the gap between theoretical bandit algorithms and the operational realities of experimentation at scale.

Methods

The core innovation is the Gaussian sequential experiment. The authors observe that while individual rewards might be complex, the aggregate rewards over a large batch are approximately Gaussian due to the Central Limit Theorem (CLT).

  1. Gaussian Approximation: They formulate a Markov Decision Process (MDP) where the state is the experimenter’s belief (mean and variance) about the rewards.
  2. Differentiable Planning: Because the Gaussian model is smooth, the experiment's sample paths become fully differentiable with respect to the sampling probabilities. This allows the use of modern auto-differentiation tools (like PyTorch or TensorFlow) to optimize the experimental design.
  3. Residual Horizon Optimization (RHO): This is the flagship algorithm. It works like Model Predictive Control (MPC): at each epoch, it solves an open-loop planning problem to find the best allocation for the remaining budget, implements it for the current batch, and then re-plans once new data arrives.
  4. Reinforcement Learning & ADP: The framework also supports more complex methods like Pathwise Policy Gradient and Policy Iteration, though the simpler RHO often proved more robust.
Figure 1. Gaussian sequential experiment with T = 3 reallocation epochs. Bar visualizes sampling allocations at each epoch and bell curves depict normal approximations of the aggregated reward (sample mean) distribution.

Datasets

The authors evaluated their framework using extensive empirical benchmarking across 640 problem instances. Rather than static datasets, they used two primary data-generating environments:

  • Beta-Bernoulli Experiment: Rewards are 0/1 (Bernoulli) with Beta priors. This is the standard model for A/B tests (e.g., click-through rates).
  • Gamma-Gumbel Experiment: Rewards follow a Gumbel distribution with Gamma priors. This tests the framework's robustness to non-Gaussian, skewed reward distributions where the experimenter doesn't know the true reward model.

Key Insights and Ideas

  • The "Admissible Regime": The authors focus on the most difficult cases where the difference between arms scales as $1/\sqrt{n}$ (where $n$ is batch size). If the signal is much stronger, any method works; if it's much weaker, no method can beat uniform sampling.
  • CLT as a Design Tool: Usually, the CLT is used for inference (calculating p-values after the fact). This paper shows it can be a powerful guide for designing the algorithm itself.
  • Horizon Calibration: RHO naturally "calibrates" its behavior. When the remaining horizon is long, it explores more aggressively; as the experiment winds down, it focuses on the most promising arms.
  • Robustness to Scale: Surprisingly, the Gaussian approximation holds up even for very small batch sizes (e.g., batch size equal to the number of arms), making the framework widely applicable.
Figure 3. Histograms showing that the performance (simple regret) of the policy in finite-batch settings (blue/red) closely matches the theoretical Gaussian limit (green), even for small batches.

Key Results

  • Dominant Performance: RHO achieved the best performance in 493 out of 640 (77%) tested settings.
  • Power Gains: RHO significantly reduced "simple regret" (the gap between the chosen arm and the true best arm) compared to uniform allocation and standard baselines like Successive Elimination.
  • Beating the Oracle: In many cases, RHO outperformed "oracle" Bayesian algorithms (like Thompson Sampling) that had full knowledge of the reward distributions, simply because RHO was better at planning for the specific batch structure and horizon.
Figure 2. Relative gains over the uniform allocation as measured by the Bayes simple regret for the finite batch problem with K = 100 treatment arms. Individual rewards are Bernoulli with a Beta prior. Despite relying on normal approximation of aggregate rewards over a batch, RHO delivers substantial performance gains even over oracle algorithms that know the true reward model. These gains persist even for small batch sizes in Figure 2a where batch size is equal to the number of arms.

Limitations and Future Work

  • Fixed Epochs: The framework assumes the number of reallocation epochs $T$ and their sizes $b_t$ are known in advance. Extending this to purely asynchronous or unpredictable feedback remains an open challenge.
  • Computational Overhead: Solving the planning problem via stochastic gradient descent at each step is more expensive than simple heuristics, though the authors suggest "distilling" these policies into neural networks to speed up real-time deployment.
  • Objective Functions: While the paper focuses on "simple regret" (finding the single best arm), future work could adapt the framework for "cumulative regret" (maximizing total rewards during the experiment) or identifying the top-$k$ arms.

Summary updated

BibTeX
@misc{che2023adaptive,
  author = {Ethan Che and Hongseok Namkoong},
  title = {{Adaptive Experimentation at Scale: A Computational Framework for Flexible Batches}},
  year = {2023},
  eprint = {2303.11582},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.11582},
}
Figure