Finite-time Analysis of Globally Nonstationary Multi-Armed Bandits

Junpei Komiyama, Edouard Fouché, Junya Honda

TL;DR

This paper introduces the Adaptive Resetting Bandit (ADR-bandit) algorithm, a novel approach for multi-armed bandit problems where arm rewards change over time. ADR-bandit effectively handles both abrupt and gradual changes by leveraging adaptive windowing techniques, achieving near-optimal performance without requiring forced exploration, even in stationary environments.

What Problem Does This Paper Address?

The multi-armed bandit (MAB) problem is a fundamental framework for sequential decision-making, balancing exploration (trying different options) and exploitation (sticking with the best-known option) to maximize cumulative rewards. Traditional MAB algorithms assume stationary reward distributions. However, in many real-world scenarios, such as online advertising or predictive maintenance, the underlying reward distributions can change over time, a phenomenon known as nonstationarity. Existing nonstationary MAB (NS-MAB) algorithms often struggle with this, requiring costly "forced exploration" or making strong assumptions about the nature and timing of changes. This paper addresses the challenge of developing a single, unified algorithm that can efficiently adapt to various types of nonstationary environments (abrupt and gradual changes) while maintaining optimal performance in stationary settings, without the need for extensive forced exploration.

Methods

The core contribution is the Adaptive Resetting Bandit (ADR-bandit) algorithm. It combines two key ideas:

  • Adaptive Windowing (ADWIN): The paper first provides a theoretical analysis of adaptive windowing techniques, specifically ADWIN, which dynamically adjusts its memory of past observations. This analysis offers new guarantees on the accuracy of estimators derived from these windows, which is a valuable contribution in itself.
  • Adaptive Resetting: ADR-bandit uses ADWIN to detect changes in the reward streams. Crucially, upon detecting a change, instead of just shrinking the window (as in standard ADWIN), ADR-bandit resets the entire learning process. This reset mechanism, combined with a "monitoring arm" strategy (which ensures at least one arm is consistently sampled), allows the algorithm to adapt to changes without compromising performance in stationary settings or requiring forced exploration.

The paper also introduces ADS-bandit, a simpler variant that uses adaptive shrinking without resetting, and analyzes its properties. The theoretical analysis focuses on finite-time regret bounds for both abrupt and gradual changes, under the assumption of "global changes" where all arms change in a coordinated manner.

Datasets

The paper uses the following datasets for evaluation:

  • Synthetic Environments:
    • Stationary
    • Gradual
    • Abrupt
    • Abrupt Local (violates global change assumption)
  • Real-World Datasets:
    • Bioliq: A dataset from a power plant monitoring system, involving 190 arms representing sensor correlations. Rewards are binary (1 if correlation exceeds a threshold, 0 otherwise). Arms tend to change periodically together.
  • Zozo: A dataset from an e-commerce ad recommender system. Rewards are binary (1 if a user clicks on a presented ad, 0 otherwise).

Key Insights and Ideas

  • Global Changes are Key: The paper highlights that when changes in arm rewards are "global" (i.e., coordinated across arms), it's possible to avoid forced exploration and achieve near-optimal performance. This is a significant simplification compared to algorithms that must account for arbitrary, uncoordinated changes.
  • Resetting is Powerful: The ADR-bandit's "resetting" mechanism upon change detection is a novel approach that allows it to effectively "forget" old, potentially outdated information and adapt quickly to new reward distributions. This is a key differentiator from algorithms that only shrink their windows.
  • Stationary Performance is Preserved: A major advantage of ADR-bandit is its ability to perform as well as standard stationary bandit algorithms in stationary environments. This is achieved by only resetting when a change is detected, thus not disrupting the learning process when rewards are stable.
  • Adaptive Windowing Guarantees: The theoretical analysis of ADWIN itself provides new, independent insights into the accuracy of estimators derived from adaptive windows, which is valuable for stream learning in general.

Key Results

  • Theoretical Guarantees: The paper provides finite-time regret bounds for ADR-bandit in stationary, abruptly changing, and gradually changing environments.
  • Stationary: Optimal logarithmic regret, matching standard MAB algorithms.
  • Abrupt Global Changes: Regret bound of $\tilde{O}(\sqrt{MKT})$, where M is the number of changes.
  • Gradual Global Changes: Regret bound of $\tilde{O}(\sqrt{KT^{1-d/3}})$, where d relates to the speed of change.
  • Empirical Performance: Experiments on synthetic and real-world datasets demonstrate that ADR-bandit (specifically ADR-TS and ADR-KL-UCB) consistently outperforms existing nonstationary bandit algorithms, including those that rely on forced exploration.
  • Robustness: The ADR-bandit algorithm shows good performance across different types of environments and is not overly sensitive to hyperparameter choices, particularly the confidence level $\delta$.

Limitations and Future Work

  • Global Change Assumption: The theoretical guarantees for ADR-bandit are derived under the assumption of "global changes," where all arms change in a coordinated manner. The paper acknowledges that the "abrupt local" environment (where only a subset of arms change) violates this assumption, and ADR-TS exhibits linear regret in such cases, though it still outperforms some competitors.
  • Detectability: For abrupt changes, the theoretical analysis relies on the "detectability" of changes, meaning the magnitude of the change must be sufficiently large.
  • Future Work: The authors suggest that their ADR-bandit framework could be extended to handle more general nonstationary settings beyond global changes. Further exploration of the theoretical properties of adaptive windowing techniques and their application in bandit settings is also implied.

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