Meta-Learning Adversarial Bandits

Maria-Florina Balcan, Keegan Harris, Mikhail Khodak, Zhiwei Steven Wu · DOI

Abstract

While meta-learning has significantly advanced stochastic bandit problems, its application to adversarial settings has remained largely unexplored due to technical challenges involving boundary conditions in optimization. This paper introduces the first unified meta-learning framework for adversarial bandits. By automatically tuning initialization and hyperparameters across a sequence of tasks, the proposed meta-algorithm achieves regret bounds that scale with task similarity rather than the total complexity of the action space. Specifically, in multi-armed bandit settings, the framework can bypass standard single-task lower bounds when tasks share a common subset of optimal actions.

Introduction

In the standard multi-armed bandit (MAB) problem, a learner must repeatedly choose an action and receive a reward, with the goal of minimizing "regret"—the difference between their cumulative reward and that of the best fixed action in hindsight. While traditional algorithms are optimized for single-task performance, real-world applications—such as web optimization or route planning—often involve a sequence of related tasks.

Meta-learning, or "learning to learn," seeks to exploit this task similarity to accelerate learning. However, extending meta-learning to adversarial bandits—where rewards are chosen by a potentially malicious adversary rather than a fixed distribution—presents a significant hurdle. Standard bandit tools, such as Online Mirror Descent (OMD), utilize regularizers that become unstable near the boundaries of the action space. This paper provides a theoretical breakthrough by designing a meta-algorithm that manages these instabilities while effectively learning task-specific initializations and hyperparameters.

Methodology

The authors propose a hierarchical meta-algorithm that serves as a "manager" for a base bandit learner. The framework is built upon several key components:

1. Base Learner: Online Mirror Descent (OMD)

The base learner utilizes OMD, a generalization of gradient descent. The performance of OMD is highly sensitive to its initialization point and its regularization function. The meta-algorithm's primary role is to optimize these parameters based on historical task performance.

2. Meta-Level Optimization

The meta-algorithm simultaneously learns three critical components across a sequence of $N$ tasks:

  • Initialization: It determines the optimal starting point for OMD on a new task using a "Follow-the-Leader" approach over Bregman divergences.
  • Step-size ($\eta$): It adaptively tunes the learning rate to balance exploration and exploitation.
  • Regularization Parameters: It optimizes the Tsallis entropy parameter ($\beta$) for discrete actions or the boundary offset ($\epsilon$) for linear optimization problems.

3. Overcoming Boundary Instability

A major technical contribution of this work is the handling of the "blow up" effect, where regularizers approach infinity at the edges of the search space. The authors implement a strategy that forces the meta-algorithm to initialize slightly away from these boundaries. They rigorously prove that the resulting approximation error is negligible compared to the overall regret, allowing for stable meta-learning in adversarial environments.

Theoretical Results and Task Similarity

The paper evaluates the framework across three primary problem structures: Multi-Armed Bandits (MAB), Bandit Linear Optimization (BLO), and Bandit Shortest-Path problems.

Multi-Armed Bandits (MAB)

The authors define task similarity using the Tsallis entropy of optimal actions across the task sequence. If the tasks are "similar"—meaning only a small subset $s$ of the total $d$ arms are ever optimal—the meta-learner achieves a task-averaged regret of $O(\sqrt{sm \log d})$. This is a landmark result because it beats the standard single-task lower bound of $\Omega(\sqrt{dm})$ when $s \ll d$.

Bandit Linear Optimization (BLO)

For continuous action spaces, the authors introduce "barrier-divergence" as a similarity metric. This metric quantifies how close the optimal solutions of different tasks are to the constraints of the problem. The framework provides the first meta-learning guarantees for BLO using self-concordant barriers.

Learning Non-Convex Functions

From a theoretical standpoint, the paper demonstrates that the meta-algorithm can successfully learn a sequence of functions that are both non-smooth and non-convex (specifically affine functions of Bregman divergences). This addresses a previously open question regarding the feasibility of online learning in such complex parameter spaces.

Discussion and Limitations

While the framework provides a robust theoretical foundation for meta-learning in adversarial settings, several areas remain for future exploration:

  • Similarity Definitions: Currently, task similarity is measured based on the estimated optima found by the algorithm. Defining similarity through the true underlying optima would be more intuitive but remains mathematically challenging to prove.
  • Computational Overhead: The meta-algorithm relies on maintaining a discrete grid of hyperparameters. As the number of parameters to tune increases, the computational cost of this grid search may become significant.
  • Expansion of Scope: The current work focuses on adversarial bandits. Future research could extend these initialization-learning techniques to contextual bandits or Lipschitz bandits in continuous action spaces.

Conclusion

This paper establishes a unified framework for meta-learning in adversarial bandits, proving that it is possible to "learn to learn" even when an adversary controls the environment. By effectively tuning initializations and regularizers, the proposed algorithm can significantly outperform standard learners on sequences of related tasks, providing a theoretical bridge between meta-learning and robust online optimization.

Summary updated

BibTeX
@misc{balcan2022meta,
  author = {Maria-Florina Balcan and Keegan Harris and Mikhail Khodak and Zhiwei Steven Wu},
  title = {{Meta-Learning Adversarial Bandits}},
  year = {2022},
  eprint = {2205.14128},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.14128},
}
Figure