Abstract
Adaptive sampling algorithms, such as the Linear Upper Confidence Bound (LinUCB) algorithm, are widely used in recommendation systems and clinical trials to maximize cumulative rewards. However, the adaptive nature of these algorithms introduces dependencies that violate the assumptions of classical statistical inference. This paper provides the first formal proof that LinUCB is "stable" enough to permit valid statistical inference. We establish a Central Limit Theorem (CLT) showing that parameter estimates are asymptotically normal, albeit at a slower $T^{-1/4}$ convergence rate compared to the standard $T^{-1/2}$ rate in non-adaptive settings.
Introduction
In modern data science, data is frequently collected adaptively. For instance, a bandit algorithm might decide which advertisement to display based on the performance of previous ads. While effective for minimizing regret, this creates significant challenges for statisticians. Traditional tools like Ordinary Least Squares (OLS) confidence intervals and p-values assume independent data or fixed experimental designs. In adaptive sampling, the "design" depends on the noise of previous samples, introducing biases and making estimator distributions non-normal. While recent research has addressed this for simple Multi-Armed Bandits (MAB), the Linear Bandit setting—where actions are vectors and rewards are linear functions—has remained an open challenge for formal asymptotic inference.
Theoretical Framework and Stability
The core contribution of this work is a rigorous characterization of the spectral evolution of the feature covariance matrix, $\Lambda_t$, under the LinUCB algorithm. To prove that the estimator $\hat{\theta}_T$ becomes asymptotically normal, we demonstrate that the algorithm satisfies a specific "stability condition." This involves analyzing how the eigenvalues and eigenvectors of the covariance matrix behave across four distinct phases:
- Initial Exploration: All directions are explored linearly.
- Transition: The algorithm begins to "lock onto" the optimal direction.
- Refined Concentration: The top eigenvector aligns tightly with the true parameter $\theta^*$.
- Isotropic Bulk Growth: The remaining eigenvalues (suboptimal directions) grow at a predictable $\sqrt{T}$ rate.
By proving the covariance matrix stabilizes to a deterministic limit after proper rescaling, we can apply a Multivariate Martingale Lindeberg CLT.
Results and Empirical Validation
Our theoretical analysis yields several key insights. Most notably, we identify a $T^{-1/4}$ convergence rate. In standard i.i.d. linear regression, the error shrinks at a $1/\sqrt{T}$ rate. In LinUCB, because the algorithm aggressively exploits the "best" direction, it spends less time exploring the "bulk" of the space, leading to this slower rate for the projected parameter estimate. We also introduce the concept of "effective sample size" ($n_{eff}$), which for LinUCB on a unit ball is approximately $\sqrt{T}$.
As shown in the figure above, numerical simulations on a unit ball action set corroborate these findings. As the time horizon $T$ increases from 50 to 30,000, the distribution of the estimation error (after rescaling) increasingly aligns with the theoretical Gaussian curve (yellow line). The p-values for normality tests generally increase with $T$, reaching values like 0.968 at $T=10,000$, indicating that the distribution is statistically indistinguishable from a normal distribution at large $T$.
Furthermore, we provide a practical formula for a spherical Wald-type confidence set $C_\delta$ using $\chi^2$ distribution quantiles. These sets are asymptotically tighter than the well-known non-asymptotic bounds from Abbasi-Yadkori et al. (2011) by a factor of roughly $\sqrt{\log T}$.
Discussion and Limitations
While this work provides a foundation for inference in linear bandits, several avenues for future research remain. Our main proof assumes the action set is a unit ball. If the action set is finite or has "pointy" boundaries, the minimum eigenvalue might grow faster (e.g., at a rate of $T$), potentially restoring the faster $T^{-1/2}$ convergence rate. Additionally, our analysis assumes fixed or unconstrained contexts. Extending these results to contextual bandits with changing features and non-linear models, such as Neural Bandits or reinforcement learning environments, represents a logical next step in this research program.
Summary updated