Regret Minimization in Heavy-Tailed Bandits

Shubhada Agrawal, Sandeep Juneja, Wouter M. Koolen

TL;DR

This paper introduces the first asymptotically optimal algorithm for the multi-armed bandit problem when reward distributions are "heavy-tailed" (possessing only a bounded $(1+\epsilon)$-th moment). By utilizing a novel index based on the $KL_{inf}$ functional and a geometric batching strategy, the authors match theoretical lower bounds for regret while providing a tunable trade-off between statistical precision and computational efficiency.

What Problem Does This Paper Address?

In the classic stochastic multi-armed bandit (MAB) problem, an agent chooses between $K$ different actions ("arms"), each providing a random reward from an unknown distribution. The goal is to maximize cumulative rewards, or equivalently, minimize regret—the difference between the rewards obtained and those from the best possible arm.

Most existing MAB research assumes rewards are well-behaved, such as being bounded (e.g., between 0 and 1) or belonging to light-tailed families like Gaussians. However, real-world applications in finance or network routing often involve heavy-tailed distributions, where extreme values are more common and the variance might even be infinite. In these cases, standard tools like the Moment Generating Function (MGF) don't exist, and traditional algorithms like UCB1 fail.

Prior work on heavy-tailed bandits achieved "order-optimal" regret (matching the scaling of the lower bound), but none matched the constant factor of the lower bound exactly. This paper closes that gap.

Methods

The authors propose $KL_{inf}$-UCB, an index-based algorithm following the Upper Confidence Bound (UCB) template.

  1. The $KL_{inf}$ Index: Instead of using simple empirical means or robust estimators (like truncated means), the algorithm calculates an index for each arm based on the $KL_{inf}$ functional. This functional essentially asks: "What is the smallest possible information-theoretic distance (KL divergence) between my observed data and a hypothetical distribution that has a higher mean?"
  2. Moment Constraints: The authors assume a very weak condition: the $(1+\epsilon)$-th moment of the rewards is bounded by a known constant $B$. This allows the algorithm to handle distributions with much heavier tails than previously possible.
  3. Geometric Batching: Calculating the $KL_{inf}$ index is computationally expensive, scaling quadratically with the number of samples. To solve this, the authors process samples in batches that grow geometrically. This reduces the computational complexity from $O(n^2)$ to $O(n \log \log n)$ at the cost of a small, controllable increase in regret.
  4. Dual Formulation: To make the index computable, the authors derive a dual optimization problem, turning a complex search over probability measures into a manageable 2D convex optimization problem.

Datasets

The paper evaluates the algorithm using synthetic experiments rather than real-world datasets. They use the Generalized Pareto (GenPar) distribution, a standard benchmark for heavy-tailed modeling.

  • Easy Problem: Arm 1 (optimal) and Arm 2 (sub-optimal) both have shape parameters $\zeta = 0.2$ and $\epsilon = 0.7$.
  • Difficult Problem: Arm 1 has $\zeta = 0.5$ and Arm 2 has $\zeta = 0.71$, with $\epsilon = 0.1$. Higher $\zeta$ values indicate heavier tails, making the "Difficult Problem" significantly harder to learn.

Key Insights and Ideas

  • "Letting the Lower Bound Speak": The authors didn't just try to build a better estimator; they built an index that directly mirrors the mathematical structure of the theoretical regret lower bound. This is why they achieve exact first-order optimality.
  • Dominance over Robust Estimators: A major "aha" moment is the proof that their $KL_{inf}$-based confidence intervals are strictly tighter than those derived from popular robust mean estimators like truncated or trimmed means.
  • Information vs. Computation: The geometric batching parameter $\tilde{\eta}$ acts as a dial. Set it to 0, and you get perfect statistical optimality but slow code. Increase it, and the code runs much faster while the regret only increases by a factor of $(1+\tilde{\eta})$.

Key Results

  • Asymptotic Optimality: The algorithm matches the Burnetas-Katehakis lower bound exactly in the first-order term as the number of trials $T \to \infty$.
  • Finite-Time Bounds: The paper provides a rigorous finite-time analysis (Theorem 1), proving that the regret grows logarithmically with time, even for heavy-tailed rewards.
  • Empirical Performance: In simulations, $KL_{inf}$-UCB significantly outperformed the state-of-the-art "Robust-UCB" algorithm. In the "easy" Pareto case, Robust-UCB suffered 40 times more regret than the proposed algorithm. In the "difficult" case, it suffered 19 times more regret.

Limitations and Future Work

  • Threshold Sensitivity: The authors note that their theoretically derived thresholds are quite conservative. In practice, using a more "aggressive" threshold (like $\log t$) yields much better results, though it is harder to prove guarantees for.
  • Uncentered Moments: The current work assumes a bound on the uncentered $(1+\epsilon)$-th moment. Extending this to centered moments (variance-like constraints) remains an open problem.
  • Prior Knowledge: The algorithm requires knowing the constants $B$ and $\epsilon$ beforehand. Making the algorithm adaptive to unknown moment bounds would be a significant next step.

Summary updated

Abstract

We revisit the classic regret-minimization problem in the stochastic multi-armed bandit setting when the arm-distributions are allowed to be heavy-tailed. Regret minimization has been well studied in simpler settings of either bounded support reward distributions or distributions that belong to a single parameter exponential family. We work under the much weaker assumption that the moments of order $(1+ε)$ are uniformly bounded by a known constant B, for some given $ε> 0$. We propose an optimal algorithm that matches the lower bound exactly in the first-order term. We also give a finite-time bound on its regret. We show that our index concentrates faster than the well known truncated or trimmed empirical mean estimators for the mean of heavy-tailed distributions. Computing our index can be computationally demanding. To address this, we develop a batch-based algorithm that is optimal up to a multiplicative constant depending on the batch size. We hence provide a controlled trade-off between statistical optimality and computational cost.
BibTeX
@inproceedings{agrawal2021regret,
  author = {Shubhada Agrawal and Sandeep Juneja and Wouter M. Koolen},
  title = {{Regret Minimization in Heavy-Tailed Bandits}},
  booktitle = {Conference on Learning Theory},
  year = {2021},
  url = {https://openreview.net/forum?id=jgsiQDec05j},
}
Figure