Design-Based Confidence Sequences: A General Approach to Risk Mitigation in Online Experimentation

Dae-Woong Ham, Michael Lindon, Martin P. Tingley, Iavor Bojinov

TL;DR

This paper introduces "design-based confidence sequences," a statistical framework that allows experimenters to safely "peek" at data in real-time without inflating false-positive rates. By focusing on the actual participants in a study rather than a hypothetical infinite population, the authors provide a robust tool for stopping harmful experiments early—potentially saving thousands of users from a bad experience within the first few hours of a test.

What Problem Does This Paper Address?

In the world of online experimentation (A/B testing), "peeking" is a cardinal sin. Standard statistical tests assume you will collect a fixed amount of data and look at the results exactly once at the end. However, managers are human; they want to monitor experiments to ensure a new feature isn't "breaking" the product.

If you calculate a standard p-value every time a new user arrives, you are almost guaranteed to see a "statistically significant" result eventually, even if there is no real effect. This leads to uncontrolled Type-1 errors (false positives). While "anytime-valid" inference exists to solve this, most current methods rely on "super-population" assumptions—the idea that users are independent and identically distributed (i.i.d.) draws from an infinite pool. In reality, users who arrive on a Monday might be very different from those on a Friday, and adaptive experiments (like multi-arm bandits) break the independence assumption entirely.

Methods

The authors propose a design-based approach to confidence sequences. Unlike model-based approaches that make assumptions about the data-generating process, design-based inference treats the potential outcomes of the users as fixed and leverages the known randomness of the treatment assignment itself.

Key technical components include:

  • Confidence Sequences: Unlike traditional confidence intervals, these are sequences of sets that maintain a uniform error guarantee over all time points simultaneously.
  • Martingale Constructions: They use Ville’s Maximal Inequality to build supermartingales that provide the "anytime-valid" property.
  • Asymptotic Sequences: While they provide an "exact" non-asymptotic version, they highlight an improved asymptotic version that doesn't require knowing the absolute maximum possible value of an outcome (which is often unknown in practice).
  • Variance Reduction: They introduce a "proxy outcome" technique. By using historical covariates (like a user's past engagement) to predict current behavior, they can "subtract" the noise, shrinking the confidence bands and allowing for even faster detection of effects.

Datasets

The paper evaluates the method using:

  1. Synthetic Simulations: Linear and non-linear models used to verify Type-1 error control and the speedup provided by variance reduction.
  2. Netflix Sign-up Page Experiments: Real-world data from two experiments ("Credit Card Assistance" and "Prepaid Card") involving tens of thousands of potential subscribers.
  3. Netflix Messaging Treatment: A panel data experiment involving push notifications sent to 2,000 members over seven days.

Key Insights and Ideas

  • Finite-Sample Estimands: The authors focus on the effect on the actual people in the study. This is a crucial shift for risk mitigation. If a company is losing money on an experiment, they care about the loss incurred by the 10,000 people currently in the test, not a theoretical "average" user.
  • Assumption-Light: Because the method is design-based, it works for complex settings where standard stats fail, such as Multi-arm Bandits (where assignment probabilities change over time) and Switchback Experiments (where treatments are toggled for entire regions over time).
  • The Power of Real-Time Stopping: The "aha moment" is the sheer efficiency of the method. In one Netflix case study, a harmful bug was detected and could have been stopped after just 70 users, despite the original plan to run the test on 30,000.

Key Results

  • Risk Mitigation: In a Netflix sign-up page experiment with a strong negative effect, the proposed confidence sequence reached statistical significance on the first day, before even 100 observations were collected.
  • Efficiency Gains: Using the variance reduction (proxy outcome) technique, the authors demonstrated a 7x reduction in the time required to detect a significant treatment effect compared to the standard approach.
  • Robustness: Simulations showed that even when the predictive models used for variance reduction were "misspecified" (wrong), the method still maintained its error guarantees and provided a 15% speedup.

Limitations and Future Work

The primary limitation acknowledged is the no-interference assumption (SUTVA). The current framework assumes that assigning Treatment A to User 1 does not affect the outcome of User 2. In social networks or marketplaces (like Uber or Airbnb), this assumption is often violated because users compete for the same resources.

The authors suggest that extending these design-based confidence sequences to handle interference and "spillover effects" is a promising and necessary direction for future research. Additionally, while the asymptotic sequences perform well in simulations, they technically only guarantee coverage for "sufficiently large" samples, though the authors' conservative variance estimates seem to protect against early-time errors.

Summary updated

BibTeX
@misc{ham2022design,
  author = {Dae-Woong Ham and Michael Lindon and Martin P. Tingley and Iavor Bojinov},
  title = {{Design-Based Confidence Sequences: A General Approach to Risk Mitigation in Online Experimentation}},
  year = {2022},
  eprint = {2210.08639},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.08639},
}
Figure