Robust Sequential Experimental Design for A/B Testing

Qianglin Wen, Xiangkun Wu, Chengchun Shi, Ting Li, Niansheng Tang, Yingying Zhang, Hongtu Zhu

Reference: Wen, Q., Wu, X., Shi, C., Li, T., Tang, N., Zhang, Y., & Zhu, H. (2026). Robust Sequential Experimental Design for A/B Testing. Proceedings of the 43rd International Conference on Machine Learning (ICML).

Abstract

Experimental design has emerged as a powerful approach for improving the sample efficiency of A/B testing, yet existing designs rely critically on correctly specified models. This paper studies robust sequential experimental design under model misspecification and develops a unified framework covering both contextual bandit and dynamic settings. By combining orthogonalization techniques with hierarchical Reinforcement Learning (RL) and Dynamic Programming (DP), the proposed Robust Sequential Design (RSD) minimizes the worst-case estimation error of treatment effects in real-time. Theoretical proofs and empirical evaluations on synthetic and real-world ride-sharing datasets demonstrate the framework's effectiveness.

1. The Challenge: Covariate Imbalance and Model Misspecification

In an ideal scenario, A/B testing relies on simple random assignment to balance treatment and control groups. In practice, however, finite sample sizes often lead to covariate imbalance. By pure chance, a treatment group might receive a disproportionate number of "power users," making it difficult to isolate the true lift of a new feature from statistical noise.

To combat this, advanced experimental designs utilize "working models" (typically linear) to balance covariates dynamically. However, this introduces a critical vulnerability: model misspecification. If the true relationship between user behavior and the outcome is complex and non-linear, relying on a flawed linear model can actually degrade the accuracy of the treatment effect estimate.

Furthermore, existing sequential designs are often myopic. They focus on balancing the current batch of users without considering how today's assignments impact the future user pool. They also frequently fail to account for carryover effects—scenarios common in industries like ride-sharing, where a treatment applied in the morning (e.g., a driver promotion) alters the system's state and availability later in the day.

2. Methodology: Robust Sequential Design (RSD)

To address these limitations, the authors propose Robust Sequential Design (RSD), a finite-sample-aware framework built on three core pillars:

Robust Orthogonalization

Acknowledging that linear working models are likely approximations of complex realities, the authors employ a "sieve representation." They derive a robust upper bound on the Mean Squared Error (MSE) of the treatment effect. This bound is mathematically "orthogonal" to unknown non-linear components, effectively shielding the estimate from the bias of a poorly fitted model. Instead of attempting to find the "true" model, RSD focuses on estimating the "least-false" parameter—the best linear approximation—while strictly bounding the error caused by the model's blind spots.

Dynamic Programming for Long-Term Optimization

Rather than myopically balancing current users, RSD utilizes Dynamic Programming (DP) to optimize a long-term objective: minimizing the total MSE over the entire duration of the experiment. Because the state space of sequential assignments is massive, Deep Neural Networks (DNNs) are used to approximate the Value Function (the expected future error).

Hierarchical RL/DP for Dynamic Settings

To handle carryover effects without succumbing to the curse of dimensionality, the framework splits the temporal problem into a hierarchy:

  • Across-day DP: Manages macro-level, day-to-day dependencies.
  • Within-day RL: Manages micro-level, interval-to-interval decisions. This separation makes complex temporal dependencies computationally tractable for experiments lasting weeks with hundreds of decision points.

3. Empirical Evaluation and Results

The authors rigorously evaluated RSD against several baselines, including random assignment (RND), switchback designs (SBD), and non-robust sequential designs (NRD). The evaluation utilized three primary data environments:

  1. Synthetic Contextual Bandit Data: Simulated environments with additive and interactive treatment effects, explicitly designed with non-linear misspecification.
  2. Synthetic Dynamic Data: Simulated Markov Decision Processes (MDPs) featuring varying levels of non-linearity and carryover effects.
  3. Real-World Ride-Sharing Data: A simulation environment calibrated on proprietary data from a leading technology company, involving daily order requests and driver online time.

Key Findings

  • Consistency and Sample Efficiency: RSD consistently achieved the lowest empirical MSE across all tested scenarios. Its advantage was most pronounced in small-sample settings, where traditional randomization is highly prone to covariate imbalance.
  • Robustness to Model Error: In simulations where non-linearity (the "wrongness" of the working model) was artificially increased, RSD remained highly stable. In contrast, non-robust methods experienced severe spikes in error rates.
  • Production Readiness: In the real-world ride-sharing simulation, RSD outperformed all baselines, demonstrating its viability for deployment in complex, high-stakes technology environments.

4. Limitations and Future Directions

While highly effective, the RSD framework introduces notable computational overhead. Training the DNNs for the value function and the RL agents for within-day policies requires significant offline computation and historical data. Additionally, while the method is robust to misspecification, it still relies on an initial linear working model; if the true data-generating process is exceptionally chaotic, the robust bound may become too loose to be practically useful.

Future research directions proposed by the authors include extending the framework to handle heteroskedastic errors (where noise levels fluctuate over time) and treatment-dependent misspecification (where the degree of model error differs between the treatment and control groups).

Summary updated

BibTeX
@inproceedings{wen2026robust,
  author = {Qianglin Wen and Xiangkun Wu and Chengchun Shi and Ting Li and Niansheng Tang and Yingying Zhang and Hongtu Zhu},
  title = {{Robust Sequential Experimental Design for A/B Testing}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=Q7lEZjtDKO},
}
Figure