Finite-time Analysis of Globally Nonstationary Multi-Armed Bandits

Junpei Komiyama, Edouard Fouché, Junya Honda

Abstract

Multi-armed bandit (MAB) problems are often complicated by nonstationary environments where reward distributions change over time. Traditional nonstationary MAB (NS-MAB) algorithms rely on "forced exploration," which degrades performance in stationary settings. This paper introduces the Adaptive Resetting bandit (ADR-bandit), which utilizes the ADWIN change detection algorithm to achieve near-optimal regret in both stationary and nonstationary environments under a "global change" assumption. We provide the first finite-time analysis of ADWIN for both abrupt and gradual drifts and demonstrate the empirical superiority of ADR-bandit on synthetic and real-world datasets.

Introduction

The Multi-Armed Bandit (MAB) framework is essential for decision-making under uncertainty, balancing the exploration of new options with the exploitation of known high-reward arms. While standard algorithms like Thompson Sampling assume a stationary environment, real-world applications—such as ad recommendation or sensor monitoring—are frequently nonstationary.

Existing NS-MAB algorithms typically employ forced exploration, pulling suboptimal arms at fixed intervals to detect changes. This approach leads to a regret of $O(\sqrt{T})$, which is significantly worse than the $O(\log T)$ regret achievable in stationary environments. This paper addresses the challenge of designing an algorithm that is robust to nonstationarity without sacrificing optimal performance in stationary cases.

Problem Formulation: Types of Nonstationarity

Nonstationarity can manifest in various forms, generally categorized by the speed and frequency of changes. The authors focus on environments exhibiting "global changes," where a shift in the environment affects the reward distributions of all arms simultaneously.

Classification of concept drifts in nonstationary environments, including abrupt, recurring, gradual, and incremental changes.

This global assumption allows the algorithm to detect drifts by monitoring a single arm, eliminating the need for exhaustive forced exploration across the entire arm space.

The ADR-bandit Algorithm

The proposed Adaptive Resetting bandit (ADR-bandit) integrates a base bandit algorithm (such as Thompson Sampling or KL-UCB) with the ADWIN (Adaptive Windowing) change detector.

Key Components:

  • Finite-time ADWIN Analysis: The authors provide a rigorous proof of ADWIN’s ability to estimate means accurately in data streams with both abrupt and gradual drifts, without requiring prior knowledge of the drift scale.
  • Monitoring Mechanism: To avoid missing global changes during exploitation, ADR-bandit designates a "monitoring arm" pulled at a calculated frequency. This ensures the algorithm consistently tracks the environment's state.
  • Adaptive Resetting: When ADWIN detects a significant change in the monitoring arm's reward distribution, the algorithm resets its history, allowing it to adapt to the new environment state immediately.

Theoretical and Empirical Results

The core contribution of this work is the "best of both worlds" guarantee. ADR-bandit matches the optimal $O(\log T)$ regret in stationary settings while remaining competitive in nonstationary ones.

Comparison of regret bounds between ADR-bandit, existing NS-MAB methods, and stationary MAB algorithms across different environment types.

As shown in the table above, ADR-bandit is the only algorithm that achieves logarithmic regret in stationary environments while maintaining sublinear regret in the presence of abrupt and gradual changes.

Experimental Validation

The algorithm was tested on synthetic data and real-world datasets, including Bioliq (sensor measurements from a power plant) and Zozo (e-commerce click data). In all cases, ADR-bandit (specifically ADR-TS) outperformed passive and active baselines like Discounted UCB (D-UCB) and Sliding Window Thompson Sampling (SW-TS).

Conclusion

ADR-bandit represents a significant step forward in nonstationary bandit research by removing the requirement for forced exploration under the global change assumption. While the algorithm is vulnerable to purely "local" changes, its ability to provide optimal stationary performance alongside robust adaptation to global shifts makes it highly practical for real-world systems. Future work will focus on tightening theoretical bounds and extending the framework to more complex local change scenarios.

Summary updated

BibTeX
@article{komiyama2024finite,
  author = {Junpei Komiyama and Edouard Fouché and Junya Honda},
  title = {{Finite-time Analysis of Globally Nonstationary Multi-Armed Bandits}},
  journal = {J. Mach. Learn. Res.},
  year = {2024},
  url = {https://openreview.net/forum?id=HkwAYt3OmQ},
}
Figure