Abstract
This work synthesizes the contributions of Auer et al. (2019) and Chen et al. (2019), addressing the fundamental challenge of non-stationarity in multi-armed and contextual bandits. We present algorithms—ADSWITCH and ADA-ILTCB+—that achieve optimal dynamic regret without requiring prior knowledge of the environment's non-stationarity parameters, such as the number of changes ($S$) or total variation ($V$). By employing strategic consecutive exploration and gap-dependent detection principles, these methods provide a robust, parameter-free solution to a long-standing open problem in online learning.
Introduction
In the classical multi-armed bandit (MAB) framework, a learner aims to maximize cumulative rewards from $K$ actions under the assumption of stationary reward distributions. However, real-world applications like recommendation systems and online advertising are inherently non-stationary. To quantify performance in such environments, we utilize dynamic regret, which compares the learner's performance against the optimal sequence of actions in hindsight.
Historically, achieving optimal dynamic regret required the learner to know the "non-stationarity budget" (e.g., $S$ or $V$) in advance. This requirement is often impractical. This paper explores how to achieve optimality in a "parameter-free" manner, where the algorithm adapts to the environment's volatility on the fly.
Algorithmic Framework
The proposed solutions rely on a core philosophy of strategic, consecutive exploration.
ADSWITCH for Multi-armed Bandits
ADSWITCH manages "sampling obligations" for arms perceived as sub-optimal. Instead of random exploration, it schedules blocks of consecutive pulls. This approach facilitates the use of statistical concentration inequalities to detect shifts in reward distributions. The algorithm balances the cost of detection: large changes are easy to detect with few samples, while small changes, though harder to detect, result in lower regret if missed.
ADA-ILTCB+ for Contextual Bandits
Extending this logic to contextual settings, ADA-ILTCB+ incorporates "replay phases" into the ILOVETOCONBANDITS framework. These phases reuse historical policy distributions to determine if the environment has drifted significantly. This mechanism allows the algorithm to maintain optimality even when the context-reward relationship changes over time.
Key Insights: The Gap-Dependent Detection Principle
A critical insight of this work is that not all changes in reward distributions need to be detected with equal urgency. The "Gap-Dependent Detection Principle" posits that a learner only needs to detect changes larger than the current "gap" (the difference between an arm's reward and the optimal arm's reward).
- Small changes: Require many samples to detect but contribute minimally to regret.
- Large changes: Are costly in terms of regret but can be detected rapidly with fewer samples.
By balancing these factors through randomized scheduling, the algorithms effectively "search" for the appropriate level of non-stationarity without explicit parameters.
Theoretical Results
The primary contribution of these works is the derivation of optimal regret bounds that do not depend on prior knowledge of $S$ or $V$. This is a purely theoretical advancement, providing mathematical proofs of performance across any possible sequence of reward distributions.
- Multi-armed Bandits: ADSWITCH achieves an expected regret of $\tilde{O}(\sqrt{KST})$, matching the theoretical lower bound.
- Contextual Bandits: ADA-ILTCB+ achieves a regret of $\tilde{O}(\min\{\sqrt{KST}, (KV)^{1/3}T^{2/3} + \sqrt{KT}\})$. This result effectively subsumes the MAB case and provides a robust bound for contextual scenarios.
Furthermore, the contextual bandit algorithm is "oracle-efficient," meaning its implementation is feasible given a sub-routine for solving standard Empirical Risk Minimization (ERM) problems.
Discussion and Future Work
While these algorithms provide a theoretical breakthrough, practical implementation faces challenges. The constants in the regret bounds for the contextual setting are significantly larger than those in the MAB setting. Additionally, the reliance on an ERM oracle may be computationally prohibitive for complex policy spaces where ERM is NP-hard. Future research may focus on refining these constants and extending parameter-free optimality to high-dimensional linear bandits.
Summary updated