Finite-time Analysis of Globally Nonstationary Multi-Armed Bandits

Junpei Komiyama, Edouard Fouché, Junya Honda

TL;DR

The ADR-bandit (Adaptive Resetting Bandit) is a new framework that allows multi-armed bandit algorithms to adapt to changing environments without sacrificing performance in stable ones. By assuming that changes occur in a coordinated "global" manner across all options, the authors prove that forced exploration—a common but costly requirement in nonstationary bandits—is unnecessary, achieving nearly optimal regret bounds for both abrupt and gradual changes.

What Problem Does This Paper Address?

In the classic Multi-Armed Bandit (MAB) problem, a decision-maker tries to maximize rewards by choosing between multiple "arms" (options) with unknown reward distributions. Most standard algorithms assume these distributions are stationary (fixed over time). However, in real-world applications like online advertising or sensor monitoring, the "best" choice often changes due to seasonality, hardware degradation, or shifting user interests.

Existing "nonstationary" bandit algorithms typically rely on forced exploration: they periodically pull every arm to see if anything has changed. While this helps them adapt to shifts, it creates a major drawback: even if the environment is perfectly stable, the algorithm keeps wasting moves on bad arms, leading to high "regret" (lost potential reward). This paper seeks a "best of both worlds" approach: an algorithm that is as efficient as standard UCB or Thompson Sampling in stationary settings but can still pivot quickly when the environment shifts.

Methods

The authors introduce the ADR-bandit (Adaptive Resetting Bandit) class. Its core engine is ADWIN (Adaptive Windowing), an algorithm from data stream literature that maintains a sliding window of observations.

Key methodological components include:

  • Adaptive Windowing: ADWIN automatically grows its window of data when the environment is stable and "shrinks" or resets it when it detects a statistically significant change in the mean reward.
  • Global Change Assumption: The authors define a subclass of nonstationarity called "global changes." This assumes that if the reward distribution of one arm changes, the others change in a coordinated or proportional manner.
  • Forced Exploration-Free: Because of the global change assumption, the algorithm can detect shifts simply by monitoring the arms it is already pulling (the "best" ones). This removes the need for the $O(\sqrt{T})$ forced exploration used by competitors.
  • Monitoring Arms: To ensure theoretical consistency, the ADR-bandit (specifically Algorithm 5) uses a "monitoring arm" strategy, where a previously successful arm is occasionally sampled to verify if the system-wide state has shifted.
Four types of concept drift: abrupt, recurring, gradual, and incremental.

Datasets

The researchers evaluated their approach using both synthetic simulations and real-world datasets:

  • Synthetic Environments: Designed to test four scenarios: Stationary, Gradual (progressive change), Abrupt (sudden shifts), and Abrupt Local (where only some arms change, violating the global change assumption).
  • Bioliq Dataset: A real-world sensor dataset from a power plant. It tracks correlations between 20 sensors (190 "arms"). As seen in Figure 1, the rewards (correlations) tend to shift across many arms simultaneously, making it a perfect candidate for the global change model.
  • Zozo (Open Bandit Dataset): A large-scale dataset for multi-armed bandits in the context of fashion e-commerce ad recommendations.

Key Insights and Ideas

  • The Power of Coordination: The "aha moment" is realizing that in many physical or social systems, changes aren't isolated. If a factory's temperature rises, many sensors drift together. If a holiday starts, interests in many ad categories shift at once. Leveraging this "global" nature allows for much more efficient learning.
  • ADWIN is Versatile: While ADWIN was originally designed for data streams, the authors provide a new finite-time analysis showing it is robust enough to handle both sudden "abrupt" drifts and slow "gradual" drifts without needing to know the speed of the change in advance.
  • Optimal Stationary Performance: Unlike most nonstationary bandits that have a regret of $\tilde{O}(\sqrt{T})$ even when nothing changes, ADR-bandit achieves the optimal logarithmic regret $O(\log T)$ in stationary environments.

Key Results

The paper demonstrates that ADR-bandit matches or exceeds the performance of state-of-the-art algorithms across different environments:

Environment ADR-bandit Regret Existing NS-MAB Regret
Stationary $O(\log T / \Delta_{min})$ (Optimal) $\tilde{O}(\sqrt{T})$ (Suboptimal)
Abrupt (Global) $\tilde{O}(\sqrt{MKT})$ $\tilde{O}(\sqrt{MT})$
Gradual (Global) $\tilde{O}(T^{1-d/3})$ $\tilde{O}(T^{1-d/3})$
  • Empirical Superiority: In experiments, ADR-TS (ADR with Thompson Sampling) consistently outperformed passive methods (like Sliding Window UCB) and active methods (like CUSUM-UCB) in both global abrupt and gradual scenarios.
  • Real-World Success: On the Bioliq and Zozo datasets, the proposed algorithms achieved higher cumulative rewards than existing nonstationary approaches.
Cumulative regret comparison across stationary, abrupt, and gradual environments.

Limitations and Future Work

  • Local Changes: The primary limitation is the "Global Change" assumption. If only a single, suboptimal arm changes to become the new best arm while the current best arm remains stationary, ADR-bandit may fail to detect the change (resulting in linear regret). The authors acknowledge this in their "Abrupt Local" experiments.
  • Detectability: The theoretical guarantees for abrupt changes rely on the changes being "detectable" (large enough relative to the noise).
  • Future Directions: Extending the analysis to handle "local" changes without reverting to full $O(\sqrt{T})$ forced exploration remains an open challenge. Additionally, applying this framework to contextual bandits (where arms have associated features) is a promising next step.

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