stat.MLFeb 23, 2026

Understanding Gap-Dependent Regret for Optimism-Based Reinforcement Learning with Linear Function Approximation

Authors: Haochen Zhang, Zhong Zheng, Lingzhou Xue

Organizations: Department of Statistics, The Pennsylvania State University · Department of Applied and Computational Mathematics and Statistics, University of Notre Dame

Abstract

We study gap-dependent regret for reinforcement learning with linear function approximation. While prior works have established gap-dependent guarantees in this setting, existing analyses do not apply to algorithms that achieve the nearly minimax-optimal worst-case regret bound O~(dH3K)\tilde{O}(d\sqrt{H^3K}), where dd is the feature dimension, HH is the horizon length, and KK is the number of episodes. We bridge this gap by establishing the first gap-dependent regret bound for the nearly minimax-optimal algorithm LSVI-UCB++ (He et al., 2023), with an expected regret bound O~(d2H3/Δmin⁡+d6H5)\tilde{O}(d^2H^3/Δ_{\min}+d^6H^5), improving the dependence on both dd and HH in the leading gap-dependent term compared with previous results. To understand the exploration cost induced by optimism, we establish a structural lower bound Ω(d2H3/Δmin⁡)Ω(d^2H^3/Δ_{\min}) for a broad class of algorithms based on persistent ellipsoidal optimism. When specialized to LSVI-UCB++, this result shows that the leading dependence of our upper bound on dd, HH, and Δmin⁡Δ_{\min} is tight up to logarithmic factors. Beyond this algorithmic class, we establish a general gap-dependent lower bound Ω(dH3log⁡K/Δmin⁡)Ω(dH^3\log K/Δ_{\min}) for arbitrary learning algorithms, showing that the logarithmic dependence on KK and the cubic dependence on HH are intrinsic to gap-dependent expected regret in linear MDPs. Together, our results substantially narrow the gap between upper and lower bounds and provide a sharper characterization of gap-dependent learning and optimism-based exploration with linear function approximation.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Oct 3, 2026

Variance-Aware Fine-Grained Gap-Dependent Bounds for Online Reinforcement Learning

We study model-free online reinforcement learning (RL) for episodic tabular Markov decision processes, focusing on both gap-dependent regret and policy switching cost. While fine-grained gap-dependent analysis has been established for model-free RL algorithms using Hoeffding-type exploration bonuses, such results for model-free algorithms with variance-based exploration bonuses remain unknown, despite their superior worst-case and coarse-grained gap-dependent guarantees. In this paper, we resolve this open problem by establishing the first fine-grained gap-dependent regret upper bound for UCB-Bernstein+, a refined UCB-Bernstein algorithm, in variance-aware model-free online RL. Moreover, by integrating a stage-wise policy update design into our fine-grained framework and using refined variance-based bonuses, we achieve the best-known gap-dependent local switching cost to date. In addition, our analysis yields improved worst-case guarantees for both regret and local switching cost over the original UCB-Bernstein algorithm. Numerical experiments further demonstrate that UCB-Bernstein+ achieves favorable empirical performance in both regret and local switching cost.
Mar 25, 2026

Optimal Variance-Dependent Regret Bounds for Infinite-Horizon MDPs

Online reinforcement learning in infinite-horizon Markov decision processes (MDPs) remains less theoretically and algorithmically developed than its episodic counterpart, with many algorithms suffering from high ``burn-in'' costs and failing to adapt to benign instance-specific complexity. In this work, we address these shortcomings for two infinite-horizon objectives: the classical average-reward regret and the γγ-regret. We develop a single tractable UCB-style algorithm applicable to both settings, which achieves the first optimal variance-dependent regret guarantees. Our regret bounds in both settings take the form O~(SA Var+lower-order terms)\tilde{O}( \sqrt{SA\,\text{Var}} + \text{lower-order terms}), where S,AS,A are the state and action space sizes, and Var\text{Var} captures cumulative transition variance. This implies minimax-optimal average-reward and γγ-regret bounds in the worst case but also adapts to easier problem instances, for example yielding nearly constant regret in deterministic MDPs. Furthermore, our algorithm enjoys significantly improved lower-order terms for the average-reward setting. With prior knowledge of the optimal bias span ∥h⋆∥sp\Vert h^\star\Vert_\text{sp}, our algorithm obtains lower-order terms scaling as ∥h⋆∥spS2A\Vert h^\star\Vert_\text{sp} S^2 A, which we prove is optimal in both ∥h⋆∥sp\Vert h^\star\Vert_\text{sp} and AA. Without prior knowledge, we prove that no algorithm can have lower-order terms smaller than ∥h⋆∥sp2SA\Vert h^\star \Vert_\text{sp}^2 S A, and we provide a prior-free algorithm whose lower-order terms scale as ∥h⋆∥sp2S3A\Vert h^\star\Vert_\text{sp}^2 S^3 A, nearly matching this lower bound. Taken together, these results completely characterize the optimal dependence on ∥h⋆∥sp\Vert h^\star\Vert_\text{sp} in both leading and lower-order terms, and reveal a fundamental gap in what is achievable with and without prior knowledge.
Oct 5, 2026

Bellman-Centric Learning: Near-Optimal Regret for Linear Bandits with Memory

We study linear bandits with memory, where past actions induce endogenous nonstationarity through an arbitrary known, bounded matrix-valued memory map. To trade off exploration and exploitation while accounting for the memory dynamics, we develop RSM-LinUCB, a Bellman-centric algorithm that learns as in linear bandits and plans as in reinforcement learning. This design admits a novel regret decomposition which separates the memory-induced error from the cumulative reward estimation error along the learner's trajectory. We prove a high-probability regret bound of O~(dRS(M+1)+σdT)\widetilde O\big(dRS(M+1)+σd\sqrt T\big), where TT is the learning horizon, dd is the parameter dimension, MM is the memory length, RR and SS bound the memory-map operator norm and reward-parameter norm, respectively, and σσ is the sub-Gaussian noise scale. Our results reveal that the multiplicative memory-horizon coupling in prior bounds is not intrinsic: memory only contributes an additive cost, up to logarithmic factors. We also prove a matching minimax lower bound, establishing near-optimality. We further extend the algorithm to generalized linear rewards, preserving this separation with near-optimal memory and leading statistical dependence. Our algorithms outperform the baselines in numerical experiments on synthetic instances and semi-synthetic KV- and semantic-cache tasks.