Identifying the Best Arm in the Presence of Global Environment Shifts

Phurinut Srisawad, Juergen Branke, Long Tran-Thanh

TL;DR

This paper introduces a new challenge in multi-armed bandits: identifying the best action (arm) when all actions' rewards are shifted by the same global factor due to environmental changes. They propose a novel algorithm, LinLUCB, that effectively estimates these global shifts and uses them to make better decisions, outperforming existing methods in simulations.

What Problem Does This Paper Address?

Imagine you're running an online service and want to find the best feature to offer users. You're using a multi-armed bandit (MAB) approach, where each "arm" is a different feature, and you observe user engagement (rewards) to figure out which feature is best. The challenge is that user behavior can change over time due to external factors – think of a holiday season, a major news event, or even just the weather. This paper focuses on a specific type of change: a global shift where all features' rewards are affected similarly. For example, if a new popular social media trend emerges, it might boost engagement across all your features, but it doesn't change which feature is inherently the best. Existing MAB algorithms, especially those designed for adversarial or corrupted environments, often struggle because they don't leverage this global shift information, leading to suboptimal performance. The goal here is to identify the true best arm, independent of these global shifts, with a fixed budget of observations.

Methods

The core of the paper's contribution lies in two main areas:

  • Problem Formulation: They formally define "Best-Arm Identification in the Presence of Global Environment Shifts." The reward for arm i in environment j is modeled as $r_{ij} = \mu_i + s_j + \epsilon$, where $\mu_i$ is the true, environment-independent quality of arm i, $s_j$ is the global shift for environment j, and $\epsilon$ is random noise. The key is that $s_j$ affects all arms equally.
  • LinLUCB Algorithm: To tackle this, they propose a novel allocation policy called LinLUCB. It builds upon the idea of using Ordinary Least Squares (OLS) regression to estimate both the true arm means ($\mu_i$) and the global shifts ($s_j$).
  • OLS Estimation: They formulate the problem as a linear regression where the observed rewards are a function of arm and environment parameters. By fitting this model, they can estimate $\mu_i$ and $s_j$.
  • Confidence Bounds: Crucially, LinLUCB doesn't just use the estimated means. It incorporates the uncertainty from the OLS estimation (specifically, the covariance of the estimated means and shifts) into Upper Confidence Bounds (UCBs). This allows the algorithm to explore more intelligently, balancing exploitation of known good arms with exploration of arms whose true quality is still uncertain due to environmental shifts.
  • Adaptive Allocation: The algorithm adaptively samples arms, prioritizing the "greedy" arm (highest estimated mean) and the "most potentially best" arm from the remaining ones, while ensuring that at least two distinct arms are sampled when an environment changes to avoid biased shift estimation.

Datasets

The paper does not use real-world datasets. Instead, they conduct extensive numerical experiments using simulated data based on configurations from prior work ([16]). They define two main configurations:

  • Monotone Decreasing Means (MDM): Arms have decreasing true qualities.
  • Slippage Configuration (SC): One arm has a slightly higher true quality than others.

These configurations are tested under various scenarios of environment length (e.g., "Worst-case," "Cannot-sample-all-arms," "General") and with different numbers of arms (5 and 10).

Key Insights and Ideas

  • Global Shifts are a Distinct Problem: Existing methods for adversarial or corrupted bandits, while theoretically applicable, don't exploit the specific structure of global shifts, leading to practical inefficiencies.
  • OLS for Shift Estimation is Powerful: Using linear regression to simultaneously estimate true arm means and global shifts is a key enabler for robust decision-making in this setting.
  • Uncertainty Matters: Simply using point estimates of means and shifts isn't enough. Incorporating the uncertainty of these estimates (via confidence bounds derived from OLS covariance) is critical for effective exploration and identification.
  • Environment Length is Crucial: The duration of each environment significantly impacts the performance of estimation and, consequently, the overall algorithm's effectiveness. Shorter environments pose a greater challenge.
  • Sample Mean is Misleading: The paper empirically and theoretically shows that simple sample means become biased in the presence of global shifts, making them unreliable for both allocation and final selection.

Key Results

  • LinLUCB Outperforms: In all simulated scenarios (MDM and SC configurations, across various environment length settings), the proposed LinLUCB algorithm consistently achieved lower Probability of Incorrect Selection (PICS) compared to benchmark algorithms like Round-Robin, 0-11, and SER3.
  • Significant Improvement: The PICS values for LinLUCB were substantially lower, indicating a much higher success rate in identifying the true best arm. For instance, in some "Cannot-sample-all-arms" scenarios, LinLUCB showed a marked advantage.
  • Robustness: LinLUCB demonstrated robustness across different environment lengths, performing well even in challenging short-environment scenarios.
  • Benefit of Shift Estimation: Comparing LinLUCB with a "Reduce-to-MAB" strategy (which subtracts estimated shifts but doesn't use shift uncertainty in UCBs) showed that LinLUCB's approach of incorporating shift uncertainty into UCBs provided a small but noticeable advantage, especially at lower budgets.

Limitations and Future Work

  • Strong Assumption of Global Shift: The paper's core assumption is that shifts are perfectly global and affect all arms identically. Relaxing this to allow for more complex or heterogeneous environmental influences is a natural next step.
  • Piecewise Stationary Environments: The current model assumes abrupt changes between environments. Real-world environmental changes are often continuous and smooth, making change-point detection more challenging.
  • Heterogeneous Noise: The current model assumes Gaussian noise with a common variance. Extending the framework to handle different noise distributions or variances across arms and environments would increase its applicability.
  • Theoretical Guarantees: While empirical results are strong, further theoretical analysis on the consistency of the OLS estimator and the convergence rates of LinLUCB under various conditions would be valuable.

Summary updated

Abstract

This paper formulates a new Best-Arm Identification problem in the non-stationary stochastic bandits setting, where the means of all arms are shifted in the same way due to a global influence of the environment. The aim is to identify the unique best arm across environmental change given a fixed total budget. While this setting can be regarded as a special case of Adversarial Bandits or Corrupted Bandits, we demonstrate that existing solutions tailored to those settings do not fully utilise the nature of this global influence, and thus, do not work well in practice (despite their theoretical guarantees). To overcome this issue, in this paper we develop a novel selection policy that is consistent and robust in dealing with global environmental shifts. We then propose an allocation policy, LinLUCB, which exploits information about global shifts across all arms in each environment. Empirical tests depict a significant improvement in our policies against other existing methods.
BibTeX
@inproceedings{srisawad2024identifying,
  author = {Phurinut Srisawad and Juergen Branke and Long Tran-Thanh},
  title = {{Identifying the Best Arm in the Presence of Global Environment Shifts}},
  booktitle = {ECAI},
  year = {2024},
  url = {https://openreview.net/forum?id=YnrG0REaPe},
}
Figure