Nonstationary Stochastic Multiarmed Bandits: UCB Policies and Minimax Regret

Lai Wei, Vaibhav Srivastava

Abstract

We study the nonstationary stochastic Multi-Armed Bandit (MAB) problem where reward distributions vary over time within a total variation budget $V_T$. We propose and analyze three UCB-based policies—periodic resetting, sliding observation window, and discount factor—demonstrating their order-optimality with respect to minimax regret. Furthermore, we introduce robust versions of these policies to handle heavy-tailed reward distributions, maintaining performance guarantees without the standard sub-Gaussian assumption.

Introduction

In many real-world machine learning applications, such as financial modeling and robotic foraging, the environment is nonstationary. The classic Multi-Armed Bandit (MAB) framework, which assumes stationary reward distributions, is often too restrictive. Conversely, adversarial MAB models can be overly pessimistic. This research bridges the gap by focusing on the Nonstationary Stochastic MAB problem. Here, rewards are stochastic, but their means evolve over time, constrained by a variation budget $V_T$. The objective is to minimize the "strong" regret against an optimal dynamic oracle.

Proposed Algorithms and Methodology

The authors introduce three primary strategies to manage the trade-off between utilizing historical data and adapting to new information:

  1. Resetting MOSS (R-MOSS): This algorithm periodically restarts the Minimax Optimal Strategy in the Stochastic case (MOSS) policy. By wiping its memory at fixed intervals, it prevents stale data from biasing future decisions.
  2. Sliding-Window MOSS (SW-MOSS): Instead of discrete resets, this policy maintains a moving window of the most recent $\tau$ observations to compute upper confidence bounds.
  3. Discounted UCB (D-UCB): This method employs a discount factor $\gamma$ to exponentially decay the influence of older observations, offering a memory-efficient alternative to sliding windows.
Algorithm 1: R-MOSS periodically restarts the MOSS policy to adapt to nonstationary environments.

A key contribution is the use of MOSS as a base, which allows these algorithms to achieve the minimax regret order of $O((KV_T)^{1/3} T^{2/3})$ without the additional logarithmic factors typically found in UCB1-based approaches.

Robustness to Heavy-Tailed Noise

Standard bandit algorithms often fail when rewards exhibit heavy-tailed distributions (e.g., infinite variance). To address this, the authors develop Robust R-MOSS and Robust SW-MOSS. These variants utilize a "saturated empirical mean" technique, which effectively truncates extreme outliers. Theoretically, these robust versions achieve the same order of regret as their sub-Gaussian counterparts, providing a significant advantage in "noisy" real-world environments like social networks or financial markets.

Experimental Results

The proposed policies were evaluated against synthetic environments featuring Brownian motion and sinusoidal reward mean shifts. Key findings include:

  • Order Optimality: R-MOSS and SW-MOSS matched the theoretical lower bounds for minimax regret.
  • Performance Advantage: The UCB-based policies significantly outperformed adversarial benchmarks like Rexp3 and Exp3.S in stochastic settings.
  • Robustness: In heavy-tailed scenarios, the robust variants (e.g., R-RMOSS) exhibited much lower variance in regret compared to standard MOSS, demonstrating superior stability against extreme outliers.

Conclusion and Future Directions

This work provides a rigorous foundation for nonstationary MAB problems. While the proposed algorithms are order-optimal, they currently require prior knowledge of the variation budget $V_T$. Future research directions include developing "active" policies that detect change-points automatically and improving the memory efficiency of robust estimators for heavy-tailed rewards.

Summary updated

BibTeX
@misc{wei2021nonstationary,
  author = {Lai Wei and Vaibhav Srivastava},
  title = {{Nonstationary Stochastic Multiarmed Bandits: UCB Policies and Minimax Regret}},
  year = {2021},
  eprint = {2101.08980},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.08980},
}
Figure