Efficient-UCBV: An Almost Optimal Algorithm Using Variance Estimates

Subhojyoti Mukherjee, K. P. Naveen, Nandan Sudarsanam, Balaraman Ravindran

Abstract

We propose a novel variant of the UCB algorithm, referred to as Efficient-UCB-Variance (EUCBV), for minimizing cumulative regret in the stochastic multi-armed bandit (MAB) setting. EUCBV incorporates the arm elimination strategy proposed in UCB-Improved while taking into account variance estimates to compute arms' confidence bounds, similar to UCBV. Through theoretical analysis, we establish that EUCBV incurs a gap-dependent regret bound of $O\left( \frac{K\sigma^2_{\max} \log (T\Delta^2 /K)}{\Delta}\right)$ after $T$ trials, where $\Delta$ is the minimal gap between optimal and sub-optimal arms. This bound improves upon existing state-of-the-art UCB algorithms. Further, EUCBV incurs a gap-independent regret bound of $O(\sqrt{KT})$, which is minimax optimal. Extensive numerical studies show that EUCBV significantly outperforms popular UCB variants, Thompson sampling, and Bayes-UCB algorithms.

Introduction

In the classic Stochastic Multi-Armed Bandit (MAB) problem, a learner must choose between $K$ different actions (arms), each providing a random reward from an unknown distribution. The primary objective is to maximize the total reward over $T$ steps, which is equivalent to minimizing cumulative regret—the difference between the rewards the learner could have obtained by always selecting the optimal arm versus the rewards actually received.

The central challenge in MAB is the exploration-exploitation trade-off: deciding whether to pull the arm that has performed best so far (exploit) or to try other arms to gather more information (explore). While many Upper Confidence Bound (UCB) algorithms have been developed, they often suffer from two main drawbacks. First, many ignore the variance of the rewards, assuming a "worst-case" variance for all arms, which leads to over-exploration of stable, low-reward arms. Second, some elimination-based algorithms waste pulls by sampling all active arms equally within a round, even when some are clearly inferior.

The Efficient-UCB-Variance (EUCBV) Algorithm

EUCBV addresses these limitations by merging two powerful concepts:

  1. Variance-Aware Bounds: Unlike standard UCB1, which uses Chernoff-Hoeffding bounds, EUCBV utilizes empirical variance estimates to tighten confidence intervals. By employing Bernstein’s inequality, the algorithm becomes certain of an arm's value much faster if that arm exhibits low variance.
  2. Aggressive Arm Elimination with Greedy Sampling: Borrowing from the UCB-Improved framework, EUCBV operates in rounds, doubling the required precision to keep an arm in the "active" set at each stage. However, it introduces optimistic greedy sampling within these rounds. Instead of pulling all active arms equally, it pulls the arm with the highest current variance-aware UCB, significantly reducing practical regret.

Theoretical Regret Analysis

The theoretical contributions of EUCBV are significant. It achieves a gap-dependent regret of $O\left(\frac{K\sigma^2_{max} \log(T\Delta^2/K)}{\Delta}\right)$. This is a strict improvement over UCB1 and UCB-Improved because the regret scales with the actual maximum variance ($\sigma^2_{max}$) rather than a fixed constant.

Furthermore, its gap-independent regret (worst-case performance) is $O(\sqrt{KT})$. This matches the minimax optimal rate, improving upon the $O(\sqrt{KT \log K})$ bound of UCB-Improved and the performance of UCB1 and UCBV.

Experimental Evaluation

To validate the theoretical findings, EUCBV was tested against a suite of benchmarks, including UCB1, MOSS, Thompson Sampling (TS), and Bayes-UCB, across several synthetic environments:

  • Bernoulli Arms: A 20-arm setup with small gaps between means, typical of web advertising scenarios.
  • Gaussian Groups: A 100-arm environment divided into groups with varying means and variances to test the algorithm's scaling capabilities.
Performance of EUCBV in Bernoulli (Expt-1) and Group Mean (Expt-2) settings.

Results and Discussion

In simulations, EUCBV consistently outperformed popular UCB variants. A key finding was its robustness in "High-Variance Trap" scenarios. In these cases, the optimal arm has high variance, which often causes Bayesian methods like Thompson Sampling to converge slowly or fail to identify the best arm within the horizon.

Comparison of EUCBV against Thompson Sampling (Expt-3) and in high-variance scenarios (Expt-4).

As shown in the figures, EUCBV maintains low cumulative regret even when other algorithms' regret curves begin to climb steeply. The combination of variance sensitivity and greedy sampling within elimination rounds allows EUCBV to discard sub-optimal arms with high confidence and minimal wasted effort.

Conclusion

EUCBV represents a significant step forward in bandit algorithms, providing an "almost optimal" solution that bridges the gap between theoretical guarantees and practical performance. While it currently requires the time horizon $T$ as an input and a relatively large $T$ for its optimal bounds to hold, its distribution-free nature and variance awareness make it a robust choice for real-world applications where reward noise is non-uniform.

Summary updated

BibTeX
@inproceedings{mukherjee2018efficient,
  author = {Subhojyoti Mukherjee and K. P. Naveen and Nandan Sudarsanam and Balaraman Ravindran},
  title = {{Efficient-UCBV: An Almost Optimal Algorithm Using Variance Estimates}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  url = {https://openreview.net/forum?id=S1bKv6lO-H},
}
Figure