Corralling a Band of Bandit Algorithms

Alekh Agarwal, Haipeng Luo, Behnam Neyshabur, Robert E. Schapire

Introduction

In the field of online learning, practitioners often encounter a variety of algorithms tailored for specific environments. Some algorithms are optimized for independent and identically distributed (i.i.d.) data, while others are designed to be robust against adversarial attacks. Ideally, one would want a "master" algorithm capable of aggregating these specialized "base" learners, automatically identifying and performing as well as the best-performing base algorithm for any given environment. This paper introduces CORRAL, a framework designed to achieve this goal in the challenging bandit setting.

The Challenge: Partial Feedback and Starvation

The primary obstacle in combining bandit algorithms is the nature of partial feedback. In a full-information setting, every algorithm in an ensemble observes the outcome of every round. However, in a bandit setting, a base algorithm only receives feedback if the master algorithm selects its suggested action.

This leads to the "starvation" problem: if a master algorithm (such as the standard EXP3) prematurely discounts a base learner due to initial poor performance, that learner stops receiving the data it needs to improve. Unlike static "arms" in a multi-armed bandit problem, base algorithms are stateful; their future performance depends on the feedback they have received. If a master algorithm ignores a base learner too early, that learner may never reach its high-performance regime, even if it is the optimal choice for the environment in the long run.

The CORRAL Framework

To address the starvation problem, the authors propose CORRAL, which is built upon the Online Mirror Descent (OMD) framework. CORRAL introduces two key innovations to maintain a delicate balance between exploration and exploitation:

  1. Log-Barrier Mirror Map: Traditional bandit algorithms often use an entropic mirror map, which leads to exponential weights. While efficient, exponential weighting can be too aggressive, causing selection probabilities to decay too quickly. CORRAL instead employs a log-barrier mirror map: $\psi(p) = -\sum \ln p_i$. This choice ensures that the probability of selecting any base algorithm remains high enough to provide a robust level of exploration, preventing any single algorithm from being permanently sidelined.
  2. Dynamic Learning Rate Schedule: Rather than using a single global learning rate, CORRAL maintains a separate, time-varying learning rate $\eta_{t,i}$ for each base algorithm. If a base algorithm's selection probability drops below a specific threshold, its learning rate is increased. This "negative regret" mechanism compensates the base algorithm for the lack of feedback, allowing it to remain competitive even after periods of infrequent selection.

Theoretical Foundations and Stability

To provide rigorous guarantees, the authors introduce a new property called $(\alpha, R)$-stability. This property characterizes how well a base algorithm can handle "importance-weighted" losses—the standard technique used to account for the fact that feedback is only observed sporadically. By focusing on stable base algorithms, the authors prove that CORRAL can achieve sublinear regret.

Key Results and Applications

CORRAL represents a significant advancement in bandit aggregation, with several notable outcomes:

  • Optimal Regret Bounds: While previous attempts at this problem often resulted in regret scaling as $O(T^{2/3})$, CORRAL achieves $O(\sqrt{T})$ regret in many settings, matching the optimal rate for individual bandit algorithms.
  • Versatility across Domains: The framework is applicable to multi-armed bandits, contextual bandits, and convex bandits. For instance, it can be used to combine different Thompson Sampling priors or to merge a computationally efficient but suboptimal algorithm with a slower, optimal one.
  • Best-of-Both-Worlds Robustness: CORRAL allows for the creation of algorithms that are both robust in the worst case and highly performant in "easy" environments by automatically selecting the most appropriate base strategy.

Limitations and Future Work

Despite its strengths, CORRAL has some limitations. Its regret bound scales linearly with the number of base algorithms ($M$), whereas a logarithmic scaling ($O(\ln M)$) would be ideal. Additionally, the master algorithm's initial learning rate requires tuning based on the expected regret of the base algorithms. Finally, there is a computational cost associated with running all $M$ base algorithms in parallel, which may be significant if the base learners are complex. Future research aims to address these scaling and tuning challenges to make bandit aggregation even more efficient.

Summary updated

BibTeX
@inproceedings{agarwal2017corralling,
  author = {Alekh Agarwal and Haipeng Luo and Behnam Neyshabur and Robert E. Schapire},
  title = {{Corralling a Band of Bandit Algorithms}},
  booktitle = {Conference on Learning Theory},
  year = {2017},
  url = {https://openreview.net/forum?id=1h-AznA-85},
}
Figure