[Paper Review] Efficient Inference Without Trading-off Regret in Bandits: An Allocation Probability Test for Thompson Sampling
This paper proposes the Allocation Probability Test (AP-test), a novel hypothesis testing method for multi-armed bandit data that uses Thompson Sampling's allocation probabilities to enable valid inference without sacrificing regret performance. The method maintains high statistical power in small samples and controls type-I error without restricting the bandit's exploitative behavior or requiring large sample sizes.
Using bandit algorithms to conduct adaptive randomised experiments can minimise regret, but it poses major challenges for statistical inference (e.g., biased estimators, inflated type-I error and reduced power). Recent attempts to address these challenges typically impose restrictions on the exploitative nature of the bandit algorithm$-$trading off regret$-$and require large sample sizes to ensure asymptotic guarantees. However, large experiments generally follow a successful pilot study, which is tightly constrained in its size or duration. Increasing power in such small pilot experiments, without limiting the adaptive nature of the algorithm, can allow promising interventions to reach a larger experimental phase. In this work we introduce a novel hypothesis test, uniquely based on the allocation probabilities of the bandit algorithm, and without constraining its exploitative nature or requiring a minimum experimental size. We characterise our $Allocation\\ Probability\\ Test$ when applied to $Thompson\\ Sampling$, presenting its asymptotic theoretical properties, and illustrating its finite-sample performances compared to state-of-the-art approaches. We demonstrate the regret and inferential advantages of our approach, particularly in small samples, in both extensive simulations and in a real-world experiment on mental health aspects.
Motivation & Objective
- To address the challenge of conducting valid statistical inference on data collected via regret-minimizing bandit algorithms like Thompson Sampling.
- To overcome the limitations of existing methods that either restrict the bandit's exploitation (increasing regret) or require large sample sizes for asymptotic validity.
- To develop a hypothesis test that maintains high statistical power in small-sample pilot studies while ensuring type-I error control.
- To provide a practical, non-asymptotic solution for applied researchers in fields like clinical trials and mobile health, where small, adaptive experiments are common.
Proposed method
- The AP-test is based on the proportion of time the experimental arm's allocation probability exceeds a threshold reflecting equal randomization (π^ER = 1/(K+1)).
- It defines the test statistic as the number of time steps T where the estimated allocation probability to the experimental arm exceeds π^ER.
- Monte Carlo simulations are used to estimate the allocation probabilities at each time step under Thompson Sampling, ensuring computational feasibility.
- The test uses the exact distribution of the test statistic under the null to compute critical values and control type-I error, avoiding reliance on asymptotic normality.
- Theoretical guarantees are established via convergence results: under the null, the test statistic remains stochastically bounded; under the alternative, it diverges to infinity as T increases.
- The method is designed to be agnostic to the underlying reward distribution and does not require batched or stratified data structures.
Experimental results
Research questions
- RQ1Can a hypothesis test be constructed that maintains valid type-I error control in small-sample bandit experiments without restricting the bandit's exploitative behavior?
- RQ2Does the AP-test achieve higher statistical power than existing methods like BOLS and AW-AIPW in small samples?
- RQ3How does the allocation probability of the experimental arm evolve under Thompson Sampling, and can this be leveraged for inference?
- RQ4Is the AP-test asymptotically valid under standard Thompson Sampling, and does it converge to rejecting the null when the experimental arm is superior?
Key findings
- The AP-test controls type-I error in small samples, unlike AW-AIPW, which inflates type-I error when sample size is small.
- The AP-test maintains high statistical power even with small batch sizes—unlike BOLS, which has power less than 0.1 for batch size 3.
- Under the alternative hypothesis, the AP-test statistic diverges to infinity as T increases, confirming its consistency.
- The allocation probability of the optimal arm under Thompson Sampling converges to 1 almost surely as time progresses, supporting the test's theoretical foundation.
- The method enables valid inference without constraining the bandit’s regret performance, allowing full exploitation of the best arm.
- Empirical results from simulations and a real-world mental health experiment confirm the AP-test’s superiority in small-sample settings over state-of-the-art alternatives.
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.