Bandit algorithms: Letting go of logarithmic regret for statistical robustness

Kumar Ashutosh, Jayakrishnan Nair, Anmol Kagrecha, Krishna Jagannathan

TL;DR

This paper reveals a fundamental trade-off in multi-armed bandits: you can have logarithmic regret, or you can have statistical robustness, but you can't have both. The authors prove that any algorithm achieving the "gold standard" logarithmic regret is inherently fragile to parameter mismatches, and they propose new "distribution oblivious" algorithms that achieve near-logarithmic regret while remaining robust across broad classes of reward distributions.

What Problem Does This Paper Address?

In the stochastic multi-armed bandit (MAB) problem, the goal is to minimize regret—the cumulative loss incurred by pulling sub-optimal arms. Traditionally, the best algorithms (like UCB) achieve regret that grows logarithmically with time ($\log n$). However, these guarantees usually rely on "baking in" specific parameters of the reward distributions, such as the support bound $b$ for bounded rewards or the variance proxy $\sigma$ for sub-Gaussian rewards.

The authors identify a critical gap: what happens if these parameters are unknown or estimated incorrectly? In practice, if you use a UCB algorithm designed for $\sigma$-subGaussian arms on an instance where the actual variance is $\sigma' > \sigma$, the regret can explode from logarithmic to a power-law scaling ($n^a$), making the algorithm inconsistent. This paper formalizes this fragility and asks if we can design algorithms that are "statistically robust"—meaning they maintain consistency (sub-polynomial regret) across broad distribution classes without needing prior knowledge of their parameters.

Methods

The authors establish an impossibility result and then provide a constructive solution.

  1. The Impossibility Result: They prove that for broad classes of distributions (bounded, sub-Gaussian, sub-exponential, and general heavy-tailed), any algorithm that is consistent over the entire class must suffer super-logarithmic regret.
  2. Robust Algorithms: To overcome this, they introduce three "distribution oblivious" algorithms that don't require prior knowledge of distribution parameters:
  3. R-UCB (Robust UCB): Designed for light-tailed (sub-exponential) distributions. It modifies the standard UCB by scaling the confidence width with a "slow growing function" $f(t)$ (e.g., $\log(\log t)$ or $\log^{1.6} t$).
  4. R-UCB-G: A "truly robust" version for general distributions (including heavy-tailed). It uses a truncated mean estimator where the truncation threshold is also scaled by the slow-growing function $f(t)$.
  5. R-UCB-G-MoM: Uses a Median of Means (MoM) estimator to handle extreme variability in heavy-tailed data more effectively than simple truncation.
The R-UCB-G algorithm uses a truncated mean and a robustly scaled confidence bound to handle heavy-tailed distributions without prior parameter knowledge.

Datasets

The paper relies on synthetic numerical experiments to validate the theoretical findings. They specifically use:

  • Gaussian instances: Two-armed bandits with rewards following $\mathcal{N}(\mu, \sigma)$ to test R-UCB and R-UCB-G.
  • Mismatched parameters: Scenarios where the algorithm is given "noisy" prior information (e.g., assuming $\sigma \approx 8$ when the actual parameters differ) to demonstrate how prior knowledge can be safely incorporated into the scaling function $f(t)$ to improve short-term performance without sacrificing long-term robustness.

Key Insights and Ideas

  • The Fragility of Log-Regret: The "aha moment" is the proof that for standard distribution classes, the smallest perturbation in relative entropy that makes a sub-optimal arm appear optimal is zero ($d_i = 0$). This implies that any algorithm pushing for the absolute limit of logarithmic regret is standing on a "statistical cliff-edge."
  • Slow-Growing Functions as a Buffer: By replacing fixed parameters with a function $f(t)$ that grows to infinity but slower than any power law, the algorithm effectively "learns" the necessary scale of the distribution over time.
  • Trading Asymptotics for Robustness: You can get regret arbitrarily close to logarithmic (e.g., $\log(n) \cdot f(n)$) while ensuring that even if your initial assumptions about the data are wrong, you won't fall into the trap of power-law regret.
  • Safe Use of Priors: If you have a guess about the variance, you can add it as a constant to your scaling function (e.g., $f(t) = 512 + \log t$). If you're right, short-term performance is great; if you're wrong, the $\log t$ term eventually dominates, ensuring robustness.
Incorporating noisy prior information into the scaling function $f(t)$ significantly reduces short-horizon regret compared to a completely oblivious choice.

Key Results

  • Theorem 1: Formally establishes that consistency over broad classes implies $\lim_{n \to \infty} \frac{R_n}{\log n} = \infty$.
  • Regret Bounds: The authors provide explicit upper bounds for their algorithms. For R-UCB on sub-Gaussian arms, regret scales as $O(f(n) \log n / \Delta_i)$.
  • Experimental Validation: Numerical results show that while faster-growing scaling functions $f(t)$ lead to higher asymptotic regret, they can sometimes perform better in the short term by being less susceptible to noise.
Comparison of different scaling functions for R-UCB. While $f_2(t) = \log^2(t)$ grows faster than $f_1(t) = \log^{1.6}(t)$, it leads to higher cumulative regret, illustrating the trade-off.

Limitations and Future Work

  • Loose Bounds: The authors acknowledge that their theoretical regret bounds are somewhat loose, as seen in experiments where actual regret is much lower than the predicted upper bounds.
  • Short-Horizon vs. Asymptotics: There is a clear trade-off: tuning for the best possible long-term regret (slower $f(t)$) can lead to a higher "threshold time" $t_{min}$ before the robust guarantees kick in.
  • Scope: This work focuses on the simplest MAB setting. Extending these robustness results to more complex environments like Linear Bandits, Combinatorial Bandits, or Markov Decision Processes (MDPs) remains an open and important challenge.

Summary updated

BibTeX
@inproceedings{ashutosh2021bandit,
  author = {Kumar Ashutosh and Jayakrishnan Nair and Anmol Kagrecha and Krishna Jagannathan},
  title = {{Bandit algorithms: Letting go of logarithmic regret for statistical robustness}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2021},
  url = {https://openreview.net/forum?id=WQjz3QQs2b},
}
Figure