Efficient Algorithms for Generalized Linear Bandits with Heavy-tailed Rewards

Bo Xue, Yimu Wang, Yuanyu Wan, Jinfeng Yi, Lijun Zhang

Introduction

In sequential decision-making, the Multi-Armed Bandit (MAB) framework serves as a cornerstone for balancing exploration and exploitation. Generalized Linear Bandits (GLB) extend this framework by incorporating contextual information—such as user demographics or historical behavior—and utilizing a link function (e.g., logistic regression) to model the relationship between contexts and rewards. While GLB models are powerful, their standard implementations typically rely on the assumption that rewards follow a "well-behaved" sub-Gaussian distribution.

In many real-world applications, such as financial market modeling or web advertising, this assumption is frequently violated. Rewards in these domains often exhibit "heavy-tailed" behavior, where extreme outliers occur far more often than a normal distribution would suggest. Existing algorithms designed for heavy-tailed rewards have historically suffered from significant drawbacks: they were often limited to simple linear models, required $O(T^2)$ computational complexity, or necessitated storing the entire history of observations. This paper introduces two novel algorithms, CRTM and CRMM, which provide robust, computationally efficient solutions for the GLB setting.

The Challenge of Heavy-Tailed Rewards

Standard GLB algorithms are highly sensitive to outliers. A single extreme reward can disproportionately bias the parameter estimation, leading to poor decision-making in subsequent rounds. While robust estimators like truncation or "Mean of Medians" exist, applying them to the GLB setting in an online fashion is non-trivial. Previous state-of-the-art methods often required re-processing the entire dataset at every time step to maintain robustness, making them impractical for high-frequency or long-horizon applications.

Proposed Methodology

The authors propose two distinct strategies to address these challenges, focusing on both statistical robustness and computational efficiency.

1. CRTM: Confidence Region with Truncated Mean

CRTM employs a truncation strategy where rewards exceeding a specific threshold ($\Gamma$) are ignored. The core innovation of CRTM lies in its integration with a variant of the Online Newton Step (ONS).

Unlike previous truncation-based methods that required $O(T^2)$ time complexity due to full-history reprocessing, CRTM updates its parameters incrementally. This allows the algorithm to achieve $O(T)$ time complexity, enabling true online learning. By embedding the truncation directly into the gradient update of the ONS, the algorithm maintains robustness without the overhead of storing reward histories.

2. CRMM: Confidence Region with Mean of Medians

CRMM utilizes a robust estimation strategy based on the "Mean of Medians" principle. In this approach, an arm is played multiple times within a block, and the median of the resulting rewards is used to neutralize the impact of outliers.

Traditional median-based bandit algorithms often require maintaining $O(\log T)$ separate estimators to ensure convergence. CRMM simplifies this significantly by maintaining only a single estimator per epoch. This reduction in memory and computational requirements makes it a much more viable candidate for real-world deployment compared to its predecessors.

Empirical Evaluation and Results

The algorithms were evaluated using synthetic datasets designed to simulate heavy-tailed noise, specifically utilizing Student’s t-distributions (symmetric) and Pareto distributions (asymmetric).

Theoretical Optimality

Both CRTM and CRMM achieve a regret bound of $\tilde{O}(dT^{\frac{1}{1+\epsilon}})$, where $d$ is the dimensionality and $\epsilon$ relates to the moments of the reward distribution. This bound is nearly optimal relative to known theoretical lower bounds. For cases with finite variance ($\epsilon = 1$), these algorithms offer a logarithmic improvement over previous state-of-the-art methods.

Computational Performance

The most striking result is the gain in efficiency. In runtime comparisons, CRTM demonstrated a 1,700x speedup over TOFU (a leading truncation-based competitor) on a horizon of $T=10^4$. Similarly, CRMM proved to be the fastest among median-based approaches. In terms of cumulative regret, both algorithms consistently outperformed standard GLB models that lacked robust mechanisms, as well as earlier heavy-tail-specific methods.

Discussion and Limitations

While the proposed algorithms represent a significant step forward, the authors note specific trade-offs:

  • Symmetry Requirements: CRMM currently requires the reward distribution to be symmetric to avoid estimation bias. If the noise is skewed (as with Pareto distributions), the median may not accurately reflect the mean.
  • Versatility of CRTM: CRTM does not share this symmetry constraint, making it more effective for asymmetric heavy-tailed data.
  • Hyperparameter Tuning: Both methods require careful selection of parameters, such as the truncation threshold for CRTM or the number of median groups for CRMM, which can influence performance in practice.

Conclusion

By combining robust statistical estimators with efficient online optimization techniques, CRTM and CRMM bridge the gap between theoretical robustness and practical utility in Generalized Linear Bandits. These algorithms allow for effective learning in environments plagued by extreme outliers while maintaining the computational efficiency required for modern, large-scale online systems.

Summary updated

BibTeX
@inproceedings{xue2023efficient,
  author = {Bo Xue and Yimu Wang and Yuanyu Wan and Jinfeng Yi and Lijun Zhang},
  title = {{Efficient Algorithms for Generalized Linear Bandits with Heavy-tailed Rewards}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=Vbm5UCaYeh},
}
Figure