Introduction
Bayesian bandit algorithms, such as Thompson Sampling, are central to sequential decision-making under uncertainty. They balance exploration and exploitation by maintaining a posterior distribution over model parameters. However, a significant gap exists: while theory often assumes exact posterior sampling, practical implementations—especially in high-dimensional or complex settings—rely on approximate inference (e.g., Variational Inference or MCMC). This paper bridges that gap by providing the first theoretical guarantees for Bayesian bandit algorithms under approximate inference in stochastic linear environments.
The Problem with Approximation
In contextual linear bandits, rewards depend on a feature vector (context). Previous theoretical work suggested that even minor errors in posterior approximation could lead to "linear regret," where the algorithm fails to converge to the optimal strategy. This creates a "frustrating" discrepancy between the strong empirical performance of approximate methods and the pessimistic theoretical outlook. The authors aim to reconcile this by identifying the specific conditions under which approximate inference remains effective.
A Two-Sided Theoretical Framework
The authors identify that bounding a single measure of error (like a single $\alpha$-divergence) is insufficient. They prove (Theorems 3.7 and 3.8) that an adversary can exploit one-sided errors to cause exploration failure, leading to linear regret. To solve this, they propose a framework requiring the approximation error to be bounded by two different $\alpha$-divergences: one with $\alpha > 1$ and one with $\alpha < 0$. This "two-sided" constraint ensures the approximate distribution remains sufficiently close to the true posterior, preventing it from collapsing or drifting in ways that would break the exploration mechanism.
Algorithm Analysis: LinTS and LinBUCB
The study focuses on two primary algorithms in the linear bandit setting:
- Linear Thompson Sampling (LinTS): This algorithm samples parameters from the posterior and acts optimally according to that sample. The authors prove that with bounded approximate inference, LinTS maintains its standard regret rate, only incurring a penalty in constant factors.
- Linear Bayesian Upper Confidence Bound (LinBUCB): Instead of sampling, this uses posterior quantiles to create an optimistic reward estimate. By introducing a new definition of "well-behaved" distributions, the authors show that LinBUCB can achieve the minimax optimal regret rate of $\tilde{O}(d\sqrt{T})$, outperforming the $\tilde{O}(d^{3/2}\sqrt{T})$ rate typically associated with LinTS.
Empirical Validation and Scalability
The theoretical findings were validated through synthetic experiments across various environments (P1, P2, and P3), testing different parameter vector distributions. The results showed that approximate versions of LinTS and LinBUCB tracked the performance of exact versions almost perfectly, confirming that the theoretical "constant factor" penalty is negligible in practice.
Crucially, the authors demonstrated the computational advantages of their approach in high-dimensional settings. In tests with dimensions up to $d=30,000$, using a diagonal matrix approximation for the covariance resulted in a 145x computational speedup compared to exact methods, while maintaining nearly identical regret performance.
Conclusion and Future Work
This work provides a rigorous foundation for using approximate inference in Bayesian bandits. By showing that regret rates are preserved under specific divergence bounds, it justifies the use of efficient, approximate methods in large-scale applications. While the current framework is limited to linear reward functions and assumes certain distributional constants are known, it paves the way for extending these guarantees to non-linear models, such as deep neural networks.
Summary updated