Introduction
In sequential decision-making, standard bandit algorithms like Thompson Sampling (TS) often treat tasks in isolation. However, in many real-world scenarios—such as recommender systems or clinical trials—we solve a sequence of similar problems. For instance, different users in a movie recommendation app share underlying preference patterns. Treating each user as a completely new problem is inefficient.
The challenge is to "meta-learn" this shared structure—the task prior—while maintaining effective exploration within each task. Previous meta-learning bandit approaches often lacked strong theoretical guarantees or suffered from high variance. This paper introduces AdaTS (Adaptive Thompson Sampling), a fully-Bayesian algorithm that learns the underlying task distribution as it interacts with a sequence of tasks, achieving a significantly tighter regret bound of $O(\sqrt{mn})$.
The AdaTS Framework
AdaTS employs a hierarchical Bayesian approach to model the relationship between tasks. Instead of assuming a fixed prior for the arm rewards, it maintains a distribution over the parameters of the task prior, known as the "meta-parameter."
As shown in the graphical model above, the algorithm tracks uncertainty at two levels:
- Meta-level: Learning the shared distribution $\mu_*$ across $m$ tasks.
- Task-level: Learning the specific parameters $\theta_{s,*}$ for each task $s$ over $n$ rounds.
Key Innovations
- Marginalization over Meta-Parameters: Unlike methods that pick a single point estimate for the prior at the start of a task, AdaTS marginalizes out the uncertainty in the meta-parameters to create an uncertainty-adjusted task prior. This ensures the agent remains sufficiently exploratory when the prior is not yet well-known.
- Fully Bayesian Integration: By staying true to the Bayesian framework, AdaTS naturally balances the "exploration-exploitation" trade-off both across tasks (learning the prior) and within tasks (learning arm rewards).
Algorithm Implementation
The core logic of AdaTS is summarized in Algorithm 1. It iteratively updates a meta-posterior $Q_s$ after each task $s$, which then informs the task-specific prior $P_s$ for the subsequent task.
The paper provides computationally efficient implementations for Multi-Armed Bandits (MAB), Linear Bandits, and Combinatorial Semi-Bandits, specifically focusing on Gaussian reward models and conjugate priors.
Theoretical Analysis: The "No-Regret" Property
A major contribution of this work is the information-theoretic analysis of the Bayes regret. The authors prove that the total regret can be decomposed into the cost of learning the meta-parameter and the cost of solving individual tasks.
The resulting bound is $O(\sqrt{mn})$, which is a significant improvement over the previous state-of-the-art $O(\sqrt{mn^2})$. This result implies that the "price" of not knowing the prior upfront becomes negligible as the number of tasks $m$ increases. Essentially, the algorithm learns the prior "for free" in the long run, achieving the same scaling as an oracle that knows the true prior from the start.
Empirical Evaluation
The authors evaluated AdaTS across synthetic and real-world benchmarks:
- Synthetic Bandits: In linear bandit simulations, AdaTS achieved over 3x lower regret than MetaTS, demonstrating the stability gained from marginalization over sampling.
- MNIST & Omniglot: Framed as multi-task linear bandit problems, these experiments showed rapid adaptation. In the Omniglot "few-shot" character recognition task, AdaTS learned near-perfect meta-parameters almost instantly, matching Oracle performance by the second task.
Conclusion
AdaTS provides a robust, theoretically grounded framework for meta-learning in bandits. By marginalizing over meta-uncertainty, it avoids the high variance of previous sampling-based methods and achieves optimal regret scaling. While currently optimized for Gaussian-conjugate settings, future work may extend these principles to broader exponential families and high-dimensional meta-parameters using approximate inference techniques.
Summary updated