[Paper Review] Continuous Monitoring of A/B Tests without Pain: Optional Stopping in Bayesian Testing
This paper establishes the theoretical validity of continuous monitoring in Bayesian A/B testing using proper stopping rules, proving that posterior probabilities remain unbiased even when experiments are stopped early. It demonstrates that Bayesian methods naturally control the False Discovery Rate (FDR), making optional stopping both statistically sound and practically advantageous over frequentist NHST in real-time settings.
A/B testing is one of the most successful applications of statistical theory in modern Internet age. One problem of Null Hypothesis Statistical Testing (NHST), the backbone of A/B testing methodology, is that experimenters are not allowed to continuously monitor the result and make decision in real time. Many people see this restriction as a setback against the trend in the technology toward real time data analytics. Recently, Bayesian Hypothesis Testing, which intuitively is more suitable for real time decision making, attracted growing interest as an alternative to NHST. While corrections of NHST for the continuous monitoring setting are well established in the existing literature and known in A/B testing community, the debate over the issue of whether continuous monitoring is a proper practice in Bayesian testing exists among both academic researchers and general practitioners. In this paper, we formally prove the validity of Bayesian testing with continuous monitoring when proper stopping rules are used, and illustrate the theoretical results with concrete simulation illustrations. We point out common bad practices where stopping rules are not proper and also compare our methodology to NHST corrections. General guidelines for researchers and practitioners are also provided.
Motivation & Objective
- To resolve the longstanding debate on whether continuous monitoring (optional stopping) is valid in Bayesian A/B testing.
- To formally prove that Bayesian posterior probabilities remain unbiased when using proper stopping rules in sequential testing.
- To contrast Bayesian methods with frequentist NHST, which suffer from inflated Type-I error under continuous monitoring.
- To provide practical guidelines for researchers and practitioners on implementing continuous monitoring in Bayesian A/B testing.
- To demonstrate through simulations that improper stopping rules lead to biased results, while proper ones maintain statistical validity.
Proposed method
- Uses a stopping time τ defined by a proper stopping rule that depends only on observed data up to time t, ensuring the stopping time is adapted to the filtration.
- Applies Bayes' theorem to update prior odds using the Bayes Factor (BF), computing posterior odds as PostOdds_t = Prior Odds × BF_t.
- Defines the stopping rule as the first time the posterior probability P(H₀|Data) falls below a threshold r, i.e., P(H₀|Data) < r.
- Employs a rigorous measure-theoretic framework to prove that the posterior odds remain unbiased under optional stopping, even with infinite horizon.
- Compares Bayesian results to frequentist corrections (e.g., alpha-spending functions) and shows that Bayesian methods inherently control FDR without additional adjustments.
- Uses simulation illustrations to demonstrate the robustness of Bayesian inference under continuous monitoring and to highlight pitfalls of improper stopping rules.
Experimental results
Research questions
- RQ1Is continuous monitoring (optional stopping) valid in Bayesian A/B testing when proper stopping rules are used?
- RQ2How does the Bayesian posterior probability behave under optional stopping, and is it biased?
- RQ3Can Bayesian testing control the False Discovery Rate (FDR) under continuous monitoring, and how does it compare to frequentist approaches?
- RQ4What are the practical implications of using continuous monitoring in real-time online experiments?
- RQ5Why do common misconceptions about Bayesian inference under optional stopping persist, and how can they be corrected?
Key findings
- The paper proves that Bayesian posterior probabilities remain unbiased under any proper stopping rule, validating continuous monitoring in Bayesian A/B testing.
- Proper stopping rules ensure that the posterior odds are not distorted, even when the experiment is stopped early based on interim results.
- The Bayesian framework naturally controls the False Discovery Rate (FDR), which is more appropriate than Type-I error control in large-scale A/B testing.
- Simulations show that improper stopping rules—such as stopping when p-value < 0.05 without correction—can lead to biased results, even in Bayesian settings.
- Unlike frequentist NHST, which requires complex corrections (e.g., alpha-spending) for continuous monitoring, Bayesian methods are inherently robust to optional stopping.
- The study justifies the use of Thompson sampling and multi-armed bandit strategies in online experimentation, as they rely on Bayesian posterior updates and optional stopping.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.