[Paper Review] On the Complexity of A/B Testing
This paper establishes distribution-dependent lower bounds for A/B testing in two-armed bandit models, showing that fixed-confidence and fixed-budget settings have equivalent complexity under Gaussian outcomes with equal variances, where uniform sampling is optimal. For Bernoulli outcomes, the fixed-budget complexity is lower than fixed-confidence, and uniform sampling remains practical with proper stopping rules.
A/B testing refers to the task of determining the best option among two alternatives that yield random outcomes. We provide distribution-dependent lower bounds for the performance of A/B testing that improve over the results currently available both in the fixed-confidence (or delta-PAC) and fixed-budget settings. When the distribution of the outcomes are Gaussian, we prove that the complexity of the fixed-confidence and fixed-budget settings are equivalent, and that uniform sampling of both alternatives is optimal only in the case of equal variances. In the common variance case, we also provide a stopping rule that terminates faster than existing fixed-confidence algorithms. In the case of Bernoulli distributions, we show that the complexity of fixed-budget setting is smaller than that of fixed-confidence setting and that uniform sampling of both alternatives -though not optimal- is advisable in practice when combined with an appropriate stopping criterion.
Motivation & Objective
- To derive tight, distribution-dependent lower bounds for best-arm identification in A/B testing under both fixed-confidence and fixed-budget settings.
- To compare the intrinsic complexity of fixed-confidence and fixed-budget A/B testing, particularly for Gaussian and Bernoulli outcome distributions.
- To evaluate the optimality of uniform sampling (round-robin) in A/B testing and determine when it is sufficient versus when adaptive sampling is necessary.
- To propose a stopping rule that improves on existing fixed-confidence algorithms in the Gaussian case with equal variances.
- To provide practical guidance on when sequential testing with adaptive sampling offers advantages over fixed-sampling strategies.
Proposed method
- Derives information-theoretic lower bounds using KL divergence and likelihood ratio analysis to characterize the minimal sample complexity.
- Uses a deviation inequality (Lemma 6.2) to bound the probability of large sums of i.i.d. sub-Gaussian random variables, enabling confidence bounds for sequential testing.
- Applies the law of the iterated logarithm and concentration inequalities to establish a stopping rule with improved finite-sample performance.
- Compares the fixed-confidence and fixed-budget settings via the complexity measures $\kappa_C(\nu)$ and $\kappa_B(\nu)$, showing equivalence under Gaussian models with equal variances.
- Employs a change-of-measure argument to derive lower bounds on the error probability and sample complexity, optimizing over alternative models $\nu'$.
- Proposes a sequential stopping rule with an exploration rate of the form $\beta(t,\delta) = \log(1/\delta) + \frac{3}{4}\log\log(1/\delta) + \frac{3}{2}\log\log(et)$, proven to ensure $\delta$-PAC performance.
Experimental results
Research questions
- RQ1What is the fundamental sample complexity of best-arm identification in A/B testing under fixed-confidence and fixed-budget settings?
- RQ2How do the complexities $\kappa_C(\nu)$ and $\kappa_B(\nu)$ compare across different parametric distributions, such as Gaussian and Bernoulli?
- RQ3Under what conditions is uniform sampling (round-robin) optimal or near-optimal in A/B testing?
- RQ4Can a sequential stopping rule reduce expected sample size without prior knowledge of the problem complexity?
- RQ5What is the optimal exploration rate in sequential A/B testing that ensures $\delta$-PAC performance with minimal expected sample size?
Key findings
- For Gaussian distributions with equal variances, the complexities of the fixed-confidence and fixed-budget settings are equivalent, and uniform sampling is optimal.
- In the Gaussian case with equal variances, the proposed stopping rule achieves faster termination than existing fixed-confidence algorithms by using an optimized exploration rate.
- For Bernoulli outcomes, the fixed-budget complexity $\kappa_B(\nu)$ is strictly smaller than the fixed-confidence complexity $\kappa_C(\nu)$, indicating that fixed-budget strategies are inherently more efficient.
- Uniform sampling remains advisable in practice for Bernoulli outcomes when paired with an appropriate stopping criterion, despite not being optimal.
- The lower bounds derived are tight and match the performance of proposed algorithms, confirming the theoretical limits of A/B testing in these settings.
- The analysis shows that sequential testing with adaptive sampling does not reduce expected sample size compared to uniform sampling when the problem complexity is known, but is valuable when complexity is unknown.
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.