Introduction
YEAST (Yet Another Sequential Test) introduces a novel statistical framework for continuous A/B test monitoring. It allows researchers to "peek" at experimental results as often as they like without inflating false positive rates. By inverting classical maximal inequalities, the authors have developed a sequential test that is computationally simpler and significantly more powerful than current state-of-the-art methods like mSPRT or GAVI.
The Problem with "Peeking"
In the world of online A/B testing, continuously monitoring or "peeking" at data is a cardinal sin of frequentist statistics. If a standard Student’s t-test is used and results are checked daily—stopping as soon as $p < 0.05$—the actual false positive rate will be substantially higher than the nominal 5%.
To solve this, researchers rely on sequential tests. However, existing solutions come with significant trade-offs:
- Discrete tests (e.g., Group Sequential Tests): These limit researchers to a fixed, predetermined number of check-ins (e.g., once a week).
- Continuous tests (e.g., mSPRT or GAVI): These allow unlimited peeking but often suffer from low "statistical power." They take a long time to detect a real effect, or they might miss small effects entirely.
YEAST was designed to offer the best of both worlds: the freedom of continuous, real-time monitoring combined with the high statistical power of traditional, non-sequential tests.
Methodology
The core innovation of YEAST lies in its mathematical derivation. While most sequential tests rely on complex "martingale" methods or "alpha-spending" functions that require numerical integration, YEAST takes a different approach.
The authors inverted the (generalized) Levy inequalities. This mathematical maneuver allowed them to define a constant alerting boundary ($b^*$) based on the total expected number of events ($N$) and the estimated variance at the end of the experiment ($V_N$).
The YEAST Algorithm in Practice: * Pre-calculate: Estimate the total number of events $N$ and the variance $V_N$ using historical data. * Set the Bar: Calculate a fixed threshold $b^*$ using a standard normal quantile. * Monitor: As data flows in, track the running sum of the difference between groups ($S_n$).
- Trigger: If the absolute value of the running sum ($|S_n|$) ever crosses $b^*$, flag the result as significant and stop the experiment.
Unlike competing methods that must recalculate and adjust the threshold at every single "look," YEAST keeps the threshold constant. This makes it computationally trivial to implement in large-scale production systems.
Experimental Validation
The authors validated YEAST using a semi-synthetic simulation approach based on the "Online Retail" dataset from the UCI Machine Learning Repository.
To assess Type-I error (false positives), they randomly assigned users to control and treatment groups 100,000 times without applying any actual treatment. To assess statistical power, they artificially injected treatment effects (reducing order values by 5-20%) to measure how quickly and reliably each test could detect the change.
Key Insights
- Minimizing the "Peeking Tax": The most striking insight is that YEAST achieves statistical power nearly identical to a standard t-test applied at the end of an experiment. Typically, researchers "pay" for the ability to peek by losing power; YEAST effectively minimizes this penalty.
- Robust Variance is Non-Negotiable: In real-world data, events from the same user are often correlated. The paper highlights that using a "non-robust" variance estimator causes the false positive rate to skyrocket (from 5% to 16% in their tests). A clustered (robust) variance estimator is essential for sequential testing to function correctly in practice.
- Simplicity Wins: By utilizing a constant boundary derived from the full-period variance—rather than a moving boundary based on observed information—YEAST avoids the mathematical complexity of Group Sequential Methods while remaining highly flexible.
Key Results
- Type-I Error Control: When paired with a robust variance estimator, YEAST successfully maintained a false positive rate of 4.4% (closely aligning with the nominal 5% target). In contrast, other methods were often overly conservative, detecting far fewer than 5%.
- Superior Power: In simulations with a 10% effect size, YEAST achieved 25% power, whereas competing methods like mSPRT and GAVI hovered between 0.7% and 3.8%. This indicates that YEAST is significantly faster and more reliable at catching real changes.
- Efficiency: YEAST produced higher "sample savings" than most competitors, allowing experiments to terminate earlier on average when a genuine effect was present.
Limitations and Future Work
While highly effective, YEAST does have limitations:
- Parameter Sensitivity: The test requires an upfront estimate of the total number of events ($N$) and the variance ($V_N$). While these are usually predictable from historical data, the test's accuracy heavily depends on these estimates being reasonably correct.
- Undesirable Sensitivity to Variance: Because YEAST monitors the sum of differences, it can be sensitive to changes in the variance of the data, even if the mean remains unchanged. For instance, if a treatment makes user spending more volatile without changing the average spend, YEAST might still trigger a "significant" result.
Future research directions include exploring mitigation strategies for scenarios where the distribution of increments converges slowly to a normal distribution, particularly near the very end of the monitoring period.
Summary updated