SAFFRON: an Adaptive Algorithm for Online Control of the False Discovery Rate

Aaditya Ramdas, Tijana Zrnic, Martin J. Wainwright, Michael I. Jordan

Introduction

In the era of large-scale digital experimentation, platforms often conduct thousands of simultaneous A/B tests. This continuous stream of hypotheses presents a significant statistical challenge: the multiple testing problem. If enough tests are performed, random noise will inevitably produce "discoveries" that are actually false positives. To mitigate this, researchers typically control the False Discovery Rate (FDR)—the expected proportion of false rejections among all rejections.

The primary difficulty lies in the online nature of modern experimentation. Unlike traditional "offline" settings where all data is available simultaneously, online settings require p-values to be processed sequentially. A decision to reject a null hypothesis must be made immediately, without knowledge of future results. Previous state-of-the-art methods, such as LORD, often proved overly conservative, assuming a worst-case scenario where nearly all hypotheses are null. This conservatism results in low statistical power, meaning real signals frequently go undetected.

The SAFFRON Algorithm

The authors propose SAFFRON (Serial estimate of the Alpha Fraction that is Futilely Rationed On true Null hypotheses), an adaptive algorithm designed to boost power while maintaining strict FDR control. SAFFRON operates on the principle of alpha-wealth: the algorithm begins with an initial error budget ($\alpha$) and "spends" it on successive tests. Successful discoveries "earn back" wealth, which can then be allocated to future tests.

Key Innovations

  • Adaptivity through Candidacy: SAFFRON introduces a "candidacy" threshold ($\lambda$). P-values exceeding $\lambda$ are used to estimate the proportion of true null hypotheses in real-time. This allows the algorithm to avoid wasting its budget on likely nulls and instead concentrate resources on potential discoveries.
  • Monotone Update Rule: A critical theoretical contribution is the derivation of a monotone update rule. This ensures that stronger evidence for a discovery never decreases the likelihood of rejection, a property essential for proving strict FDR control.
  • Unified Framework: SAFFRON serves as an online analogue to the offline Storey-BH procedure. Furthermore, the authors demonstrate that a specific version of SAFFRON recovers a more stable, monotone version of the classic Alpha-Investing (AI) algorithm.
Performance and threshold stability comparison between SAFFRON Alpha-investing and the original Alpha-investing algorithm.

Experimental Evaluation

The performance of SAFFRON was evaluated through extensive numerical simulations, which allow for controlled testing across diverse signal environments. These included Gaussian observations for standard A/B testing scenarios and Beta alternatives to model varying signal-to-noise ratios. Researchers varied the fraction of non-null hypotheses ($\pi_1$) from 0 to 1 to assess how the algorithm adapts to both sparse and rich signal environments.

Results and Discussion

SAFFRON consistently demonstrates superior performance compared to existing methods like LORD and the original Alpha-Investing algorithm.

Statistical Power and Error Control

As shown in the comparative analysis, SAFFRON achieves significantly higher statistical power, particularly as the proportion of real signals ($\pi_1$) increases. Despite this increased sensitivity, the algorithm maintains strict control over the FDR at the pre-specified level (e.g., $\alpha = 0.05$), confirming its theoretical reliability.

Comparison of Power and FDR across different signal densities ($\pi_1$) for SAFFRON, LORD, and Alpha-investing.

Stability and Efficiency

The monotone version of SAFFRON-AI exhibits much more stable threshold allocations ($\alpha_j$) compared to the original AI algorithm, which can display erratic behavior. SAFFRON's efficiency stems from its ability to preserve wealth; while older methods lose budget at every step, SAFFRON only incurs significant costs when testing non-candidates, making it exceptionally effective in signal-rich environments.

Conclusion

SAFFRON represents a significant advancement in online multiple testing. By intelligently adapting to the underlying signal density, it provides a substantial boost in statistical power without compromising error control. While future work may explore optimal parameter tuning and complex dependency structures, SAFFRON currently offers a robust and powerful framework for continuous experimentation platforms.

Summary updated

BibTeX
@inproceedings{ramdas2018saffron,
  author = {Aaditya Ramdas and Tijana Zrnic and Martin J. Wainwright and Michael I. Jordan},
  title = {{SAFFRON: an Adaptive Algorithm for Online Control of the False Discovery Rate}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
}
Figure