Abstract
We introduce data-driven decision-making algorithms that achieve state-of-the-art dynamic regret bounds for non-stationary bandit settings. These settings capture applications such as advertisement allocation, dynamic pricing, and traffic network routing in changing environments. We show how the difficulty posed by the (unknown a priori and possibly adversarial) non-stationarity can be overcome by an unconventional marriage between stochastic and adversarial bandit learning algorithms. Our main contribution is a general algorithmic recipe for a wide variety of non-stationary bandit problems. Specifically, we design and analyze the sliding window-upper confidence bound algorithm that achieves the optimal dynamic regret bound for each of the settings when we know the respective underlying variation budget, which quantifies the total amount of temporal variation of the latent environments. Boosted by the novel bandit-over-bandit framework that adapts to the latent changes, we can further enjoy the (nearly) optimal dynamic regret bounds in a (surprisingly) parameter-free manner. In addition to the classical exploration-exploitation trade-off, our algorithms leverage the power of the "forgetting principle" in the learning processes, which is vital in changing environments. Our extensive numerical experiments on both synthetic and real world online auto-loan datasets show that our proposed algorithms achieve superior empirical performance compared to existing algorithms.
Introduction: The Non-Stationarity Trilemma
In the classic Multi-Armed Bandit (MAB) problem, a decision-maker seeks to maximize rewards by choosing actions with unknown reward distributions. While standard algorithms assume static distributions, real-world applications—such as dynamic pricing, ad placement, or traffic routing—operate in non-stationary environments where the optimal choice shifts over time.
This introduces a "trilemma": the decision-maker must balance exploration (trying new actions), exploitation (choosing known high-reward actions), and adaptation (discarding obsolete data). Previous solutions often required prior knowledge of the "variation budget" ($B_T$), a measure of environmental change, to tune parameters. However, $B_T$ is rarely known in practice. This work addresses the challenge of achieving optimal "dynamic regret" (the difference between the algorithm's performance and the optimal sequence of actions) without knowing the variation budget beforehand.
Methodology: The Bandit-over-Bandit (BOB) Framework
The authors propose a hierarchical two-layered approach to handle unknown non-stationarity:
- Base Algorithm (SW-UCB): The Sliding Window Upper Confidence Bound algorithm implements a "forgetting principle," utilizing only a fixed window of recent observations to estimate rewards. While SW-UCB is optimal when the window size is tuned to the variation budget, its performance degrades significantly with a poorly chosen window.
- The BOB Framework: To eliminate the need for manual tuning, the choice of window size is treated as a separate "meta" bandit problem. The time horizon is divided into blocks. An Upper Bandit (utilizing the EXP3 algorithm for adversarial settings) selects a window size from a candidate set at the start of each block. A Lower Bandit (the SW-UCB) then runs for the duration of that block using the selected window size before restarting. The rewards earned by the lower bandit provide feedback for the upper bandit to refine future window selections.
This "marriage" of stochastic and adversarial learning allows the system to hedge against unknown drifts. By forcing the lower bandit to restart every block, the authors decouple learning instances, enabling a proof of convergence to the optimal window size.
Theoretical and Empirical Results
The research establishes a minimax lower bound for dynamic regret in linear bandits and proves that SW-UCB matches this bound when $B_T$ is known. Crucially, the BOB framework is shown to be nearly optimal when $B_T$ is unknown, outperforming previous state-of-the-art methods in several regimes.
The algorithms were evaluated using both synthetic and real-world datasets:
- Synthetic Benchmarks: Simulations of 2-armed and linear bandit environments with sinusoidal and piecewise-linear rewards demonstrated the algorithms' ability to track both gradual and abrupt changes.
- Real-World Case Study (CPRM-12-001): Using an online auto-lending dataset from 2002–2004 (encompassing the SARS epidemic volatility), the researchers simulated dynamic pricing. The BOB algorithm achieved 24% less dynamic regret than obliviously tuned standard algorithms and 32% less than the company's historical decisions.
Conclusion and Future Directions
The paper demonstrates that the "forgetting principle" is mandatory in drifting environments; disposing of old observations at a specific rate is necessary for optimal dynamic regret. The hierarchical BOB framework provides a robust, parameter-free tool for managing this adaptation.
While the framework is highly effective, a small theoretical gap ($O(T^{1/12})$) remains between the BOB upper bound and the lower bound in environments with minimal drift. Future work may explore closing this gap or extending the "Bandit-over-Bandit" meta-learning approach to more complex scenarios, such as Reinforcement Learning (RL) in non-stationary environments.
Summary updated