[Paper Review] Anytime-Valid Inference for Multinomial Count Data
This paper introduces an anytime-valid inference framework for multinomial count data using confidence sequences and sequential tests that maintain Type I error control under optional stopping and continuous monitoring. It enables real-time hypothesis testing and estimation for inhomogeneous Bernoulli and Poisson processes—critical for online experiments—by constructing confidence sequences for probability vectors, log-probability contrasts, and intensity ratios, with demonstrated applications in conversion rate testing and software canary monitoring.
Many experiments are concerned with the comparison of counts between treatment groups. Examples include the number of successful signups in conversion rate experiments, or the number of errors produced by software versions in canary experiments. Observations typically arrive in data streams and practitioners wish to continuously monitor their experiments, sequentially testing hypotheses while maintaining Type I error probabilities under optional stopping and continuation. These goals are frequently complicated in practice by non-stationary time dynamics. We provide practical solutions through sequential tests of multinomial hypotheses, hypotheses about many inhomogeneous Bernoulli processes and hypotheses about many time-inhomogeneous Poisson counting processes. For estimation, we further provide confidence sequences for multinomial probability vectors, all contrasts among probabilities of inhomogeneous Bernoulli processes and all contrasts among intensities of time-inhomogeneous Poisson counting processes. Together, these provide an "anytime-valid" inference framework for a wide variety of experiments dealing with count outcomes, which we illustrate with a number of industry applications.
Motivation & Objective
- Address the challenge of maintaining valid statistical inference in online experiments with count data under non-stationary, time-varying conditions.
- Overcome limitations of fixed-sample-size testing by enabling continuous monitoring and data-dependent stopping without inflating Type I error rates.
- Provide practical sequential inference tools for multinomial, inhomogeneous Bernoulli, and time-inhomogeneous Poisson processes common in A/B testing and system monitoring.
- Develop confidence sequences for probability vectors and contrasts in log-probabilities and log-intensities to support flexible, real-time hypothesis testing.
- Demonstrate the framework’s utility in real-world applications such as sample ratio mismatch detection, conversion rate optimization, and software canary testing.
Proposed method
- Construct confidence sequences for multinomial probability vectors using a mixture martingale approach to ensure anytime-valid coverage.
- Derive sequential tests for equality of multiple inhomogeneous Bernoulli processes based solely on observed success counts, without requiring failure observations.
- Extend the framework to time-inhomogeneous Poisson processes by constructing confidence sequences for intensity ratios and contrasts in log-intensities.
- Use the multinomial confidence sequence as a foundation to build simultaneous confidence sequences for all pairwise and general contrasts among arms.
- Develop sequential p-values via likelihood ratio statistics that remain valid under optional stopping and continuation.
- Apply convex optimization to compute confidence sequences efficiently, enabling real-time implementation in streaming data environments.
Experimental results
Research questions
- RQ1How can valid statistical inference be maintained in online experiments with count data when observations arrive sequentially and success probabilities vary over time?
- RQ2Can confidence sequences be constructed for multinomial parameters and contrasts in log-probabilities that remain valid under optional stopping and continuous monitoring?
- RQ3To what extent can sequential tests for inhomogeneous Bernoulli processes be applied in practice when only success events are observed and failure events are unobserved?
- RQ4How can confidence sequences for intensity ratios in time-inhomogeneous Poisson processes be used to detect anomalies in real-time system monitoring?
- RQ5Can the proposed framework be applied to real-world online experimentation scenarios such as conversion rate optimization and software canary testing with minimal assumptions on data stationarity?
Key findings
- The confidence sequences for multinomial probability vectors maintain valid coverage at any stopping time, enabling anytime-valid inference without Type I error inflation.
- The sequential test for inhomogeneous Bernoulli processes detects differences in conversion rates even when success probabilities vary over time, without requiring observation of failures.
- In software canary testing, the confidence sequence for the intensity ratio $\lambda_1(t)/\lambda_0(t)$ fell below 1.0 in under one second, enabling rapid detection of a critical bug.
- The framework supports simultaneous inference on all contrasts among arms without multiple testing corrections, due to the joint confidence sequence construction.
- The sequential p-values remain valid under optional stopping and continuation, allowing automated, human-free experiment termination with statistical guarantees.
- The method enables dramatic reductions in experiment duration and resource usage compared to fixed-sample-size approaches, increasing the pace of experimentation and innovation.
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.