Lune

NeurIPS2024Top-tier venue

How Does Variance Shape the Regret in Contextual Bandits?

Zeyu Jia, Jian Qian, Alexander Rakhlin, Chen-Yu Wei

Abstract

We consider realizable contextual bandits with general function approximation, investigating how small reward variance can lead to better-than-minimax regret bounds. Unlike in minimax bounds, we show that the eluder dimension d_\text{elu}$$-a complexity measure of the function class−-plays a crucial role in variance-dependent bounds. We consider two types of adversary: (1) Weak adversary: The adversary sets the reward variance before observing the learner's action. In this setting, we prove that a regret of Ω(min⁡{A,delu}Λ+delu)\Omega(\sqrt{\min\{A,d_\text{elu}\}\Lambda}+d_\text{elu}) is unavoidable when delu≤ATd_{\text{elu}}\leq\sqrt{AT}, where AA is the number of actions, TT is the total number of rounds, and Λ\Lambda is the total variance over TT rounds. For the A≤deluA\leq d_\text{elu} regime, we derive a nearly matching upper bound O~(AΛ+delu)\tilde{O}(\sqrt{A\Lambda}+d_\text{elu}) for the special case where the variance is revealed at the beginning of each round. (2) Strong adversary: The adversary sets the reward variance after observing the learner's action. We show that a regret of Ω(deluΛ+delu)\Omega(\sqrt{d_\text{elu}\Lambda}+d_\text{elu}) is unavoidable when deluΛ+delu≤AT\sqrt{d_\text{elu}\Lambda}+d_\text{elu}\leq\sqrt{AT}. In this setting, we provide an upper bound of order O~(deluΛ+delu)\tilde{O}(d_\text{elu}\sqrt{\Lambda}+d_\text{elu}). Furthermore, we examine the setting where the function class additionally provides distributional information of the reward, as studied by Wang et al. (2024). We demonstrate that the regret bound O~(deluΛ+delu)\tilde{O}(\sqrt{d_\text{elu}\Lambda}+d_\text{elu}) established in their work is unimprovable when deluΛ+delu≤AT\sqrt{d_{\text{elu}}\Lambda}+d_\text{elu}\leq\sqrt{AT}. However, with a slightly different definition of the total variance and with the assumption that the reward follows a Gaussian distribution, one can achieve a regret of O~(AΛ+delu)\tilde{O}(\sqrt{A\Lambda}+d_\text{elu}).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Corruption-Robust Algorithms with Uncertainty Weighting for Nonlinear Contextual Bandits and Markov Decision Processes cites Nearly Optimal Algorithms for Linear Contextual Bandits with Adversarial Corruptions
  • Efficient First-Order Contextual Bandits: Prediction, Allocation, and Triangular Discrimination cites Beyond UCB: Optimal and Efficient Contextual Bandits with Regression Oracles
  • Breaking the Total Variance Barrier: Sharp Sample Complexity for Linear Heteroscedastic Bandits with Fixed Action Set cites Improved Regret Analysis for Variance-Adaptive Linear Bandits and Horizon-Free Linear Mixture MDPs
  • Breaking the Total Variance Barrier: Sharp Sample Complexity for Linear Heteroscedastic Bandits with Fixed Action Set cites Second Order Bounds for Contextual Bandits with Function Approximation
  • Variance-Aware Feel-Good Thompson Sampling for Contextual Bandits cites Improved Regret Analysis for Variance-Adaptive Linear Bandits and Horizon-Free Linear Mixture MDPs
  • Second Order Bounds for Contextual Bandits with Function Approximation cites Beyond UCB: Optimal and Efficient Contextual Bandits with Regression Oracles
  • Second Order Bounds for Contextual Bandits with Function Approximation cites Improved Regret Analysis for Variance-Adaptive Linear Bandits and Horizon-Free Linear Mixture MDPs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Variance-Aware Feel-Good Thompson Sampling for Contextual BanditsXuheng Li, Quanquan GuNeurIPS 2025 · 2 citations
  2. Breaking the Total Variance Barrier: Sharp Sample Complexity for Linear Heteroscedastic Bandits with Fixed Action SetHeyang Zhao, Tianyuan Jin, Weixin Wang, Vincent Y. F. Tan et al.ICLR 2026 · 1 citation
  3. Second Order Bounds for Contextual Bandits with Function ApproximationAldo PacchianoICLR 2025

Builds on11

  1. Beyond UCB: Optimal and Efficient Contextual Bandits with Regression OraclesDylan J. Foster, Alexander RakhlinICML 2020 · 241 citations
  2. Nearly Optimal Algorithms for Linear Contextual Bandits with Adversarial CorruptionsJiafan He, Dongruo Zhou, Tong Zhang, Quanquan GuNeurIPS 2022 · 66 citations
  3. Efficient First-Order Contextual Bandits: Prediction, Allocation, and Triangular DiscriminationDylan J. Foster, Akshay KrishnamurthyNeurIPS 2021 · 62 citations
  4. Improved Regret Analysis for Variance-Adaptive Linear Bandits and Horizon-Free Linear Mixture MDPsYeoneung Kim, Insoon Yang, Kwang-Sung JunNeurIPS 2022 · 46 citations
  5. Corruption-Robust Algorithms with Uncertainty Weighting for Nonlinear Contextual Bandits and Markov Decision ProcessesChenlu Ye, Wei Xiong, Quanquan Gu, Tong ZhangICML 2023 · 40 citations

Related papers

  1. Variance-Dependent Regret Lower Bounds for Contextual BanditsJiafan He, Quanquan GuICLR 2026 · 5 citations
  2. Catoni Contextual Bandits are Robust to Heavy-tailed RewardsChenlu Ye, Yujia Jin, Alekh Agarwal, Tong ZhangICML 2025
  3. Understanding the Eluder DimensionGene Li, Pritish Kamath, Dylan J. Foster, Nati SrebroNeurIPS 2022 · 22 citations
  4. Contextual Bandits and Imitation Learning with Preference-Based Active QueriesAyush Sekhari, Karthik Sridharan, Wen Sun, Runzhe WuNeurIPS 2023 · 18 citations
  5. Optimal Online Generalized Linear Regression with Stochastic Noise and Its Application to Heteroscedastic BanditsHeyang Zhao, Dongruo Zhou, Jiafan He, Quanquan GuICML 2023 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines