Abstract
We study two randomized algorithms for generalized linear bandits. The first, GLM-TSL, samples a generalized linear model (GLM) from the Laplace approximation to the posterior distribution. The second, GLM-FPL, is a perturbation-based approach that adds random noise to the history of observed rewards. We provide a new theoretical regret bound of $\tilde{O}(d\sqrt{n} \log K)$ and demonstrate the effectiveness of these algorithms on synthetic and real-world datasets, including deep learning benchmarks.
Introduction
The exploration-exploitation trade-off is central to online learning, particularly in the contextual multi-armed bandit setting. Generalized Linear Bandits (GLBs) extend this framework by modeling rewards as a non-linear function of the context and unknown parameters. While Upper Confidence Bound (UCB) algorithms offer strong theoretical guarantees, they are often computationally intensive and difficult to scale to complex models like neural networks. Randomized exploration strategies, such as Thompson Sampling, are popular in practice but have historically lacked rigorous theoretical analysis in the GLB setting. This paper addresses this gap by introducing and analyzing two efficient randomized algorithms: GLM-TSL and GLM-FPL.
Methodology
The authors propose two distinct randomized strategies for exploration:
- GLM-TSL (Thompson Sampling Laplace): This algorithm approximates the posterior distribution of the parameters using a Laplace approximation. It samples parameter vectors from a Gaussian distribution centered at the Maximum Likelihood Estimate (MLE), with a covariance matrix derived from the inverse Hessian of the log-likelihood.
- GLM-FPL (Follow-the-Perturbed-Leader): A perturbation-based approach that adds random Gaussian noise to the observed reward history. A new MLE is then computed based on this perturbed history, effectively inducing exploration without the need for explicit posterior sampling.
Both algorithms utilize an initial "pure exploration" phase to establish baseline estimates before transitioning to randomized greedy actions.
Theoretical Contributions
A key contribution of this work is the derivation of a new regret bound of $\tilde{O}(d\sqrt{n} \log K)$. For GLM-TSL, this represents a significant improvement over prior results, specifically by a factor of $\sqrt{d/\log K}$ in finite-arm settings. This theoretical advancement helps bridge the gap between the practical success of randomized algorithms and their mathematical foundations.
Empirical Evaluation
The performance of the proposed algorithms was evaluated across synthetic and real-world datasets.
Synthetic Logistic Bandits
In controlled experiments using logistic rewards, both GLM-TSL and GLM-FPL demonstrated sublinear regret. As shown in Figure 1, these randomized approaches significantly outperform traditional UCB-based methods across various feature dimensions ($d=5, 10, 20$).
Deep Bandit Benchmarks
The scalability of GLM-FPL was tested by extending it to deep neural networks (DeepFPL) on the MNIST and Fashion MNIST datasets. In these tasks, the agent must learn to classify images to receive rewards.
The results indicate that DeepFPL consistently outperforms DeepFL (a version without exploration noise), achieving average rewards close to the theoretical optimum. This success suggests that interleaving representation learning with randomized perturbation is a highly effective strategy for deep contextual bandits.
Conclusion
This paper demonstrates that randomized exploration via Laplace approximation or reward perturbation provides a powerful and theoretically grounded alternative to UCB in generalized linear bandits. The simplicity and scalability of GLM-FPL, in particular, make it an attractive choice for complex, high-dimensional problems like those found in deep learning. Future work will focus on relaxing theoretical assumptions for FPL and exploring its application in even more diverse architectures.
Summary updated