Lune

ICML2021Top-tier venue

Tightening the Dependence on Horizon in the Sample Complexity of Q-Learning

Gen Li, Changxiao Cai, Yuxin Chen, Yuantao Gu, Yuting Wei, Yuejie Chi

Abstract

Q-learning, which seeks to learn the optimal Q-function of a Markov decision process (MDP) in a model-free fashion, lies at the heart of reinforcement learning. Focusing on the synchronous setting (such that independent samples for all state-action pairs are queried via a generative model in each iteration), substantial progress has been made recently towards understanding the sample efficiency of Q-learning. To yield an entrywise ε\varepsilon-accurate estimate of the optimal Q-function, state-of-the-art theory requires at least an order of ∣S∣∣A∣(1−γ)5ε2\frac{|S||A|}{(1-\gamma)^5\varepsilon^{2}} samples in the infinite-horizon γ\gamma-discounted setting. In this work, we sharpen the sample complexity of synchronous Q-learning to the order of ∣S∣∣A∣(1−γ)4ε2\frac{|S||A|}{(1-\gamma)^4\varepsilon^2} (up to some logarithmic factor) for any 0<ε<10<\varepsilon <1, leading to an order-wise improvement in 11−γ\frac{1}{1-\gamma}. Analogous results are derived for finite-horizon MDPs as well. Notably, our sample complexity analysis unveils the effectiveness of vanilla Q-learning, which matches that of speedy Q-learning without requiring extra computation and storage. Our result is obtained by identifying novel error decompositions and recursion relations, which might shed light on how to study other variants of Q-learning.

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.

6 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

  • Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model cites Sample Complexity of Asynchronous Q-Learning: Sharper Analysis and Variance Reduction
  • Sample Complexity of Asynchronous Q-Learning: Sharper Analysis and Variance Reduction cites Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model
  • Sample Complexity of Asynchronous Q-Learning: Sharper Analysis and Variance Reduction cites Q-learning with UCB Exploration is Sample Efficient for Infinite-Horizon MDP
  • Almost Optimal Model-Free Reinforcement Learningvia Reference-Advantage Decomposition cites Q-learning with UCB Exploration is Sample Efficient for Infinite-Horizon MDP
  • A General-Purpose Theorem for High-Probability Bounds of Stochastic Approximation with Polyak Averaging cites Sample Complexity of Asynchronous Q-Learning: Sharper Analysis and Variance Reduction
  • Non-Asymptotic Guarantees for Average-Reward Q-Learning with Adaptive Stepsizes cites Sample Complexity of Asynchronous Q-Learning: Sharper Analysis and Variance Reduction
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative ModelGen Li, Yuting Wei, Yuejie Chi, Yuantao Gu et al.NeurIPS 2020 · 159 citations
  2. Sample Complexity of Asynchronous Q-Learning: Sharper Analysis and Variance ReductionGen Li, Yuting Wei, Yuejie Chi, Yuantao Gu et al.NeurIPS 2020 · 149 citations
  3. Achieving Zero Constraint Violation for Constrained Reinforcement Learning via Primal-Dual ApproachQinbo Bai, Amrit Singh Bedi, Mridul Agarwal, Alec Koppel et al.AAAI 2022 · 69 citations
  4. Non-Asymptotic Guarantees for Average-Reward Q-Learning with Adaptive StepsizesZaiwei ChenNeurIPS 2025 · 6 citations
  5. A General-Purpose Theorem for High-Probability Bounds of Stochastic Approximation with Polyak AveragingSajad Khodadadian, Martin ZubeldiaNeurIPS 2025 · 4 citations

Builds on13

  1. A Finite-Time Analysis of Two Time-Scale Actor-Critic MethodsYue Wu, Weitong Zhang, Pan Xu, Quanquan GuNeurIPS 2020 · 189 citations
  2. Almost Optimal Model-Free Reinforcement Learningvia Reference-Advantage DecompositionZihan Zhang, Yuan Zhou, Xiangyang JiNeurIPS 2020 · 183 citations
  3. Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative ModelGen Li, Yuting Wei, Yuejie Chi, Yuantao Gu et al.NeurIPS 2020 · 159 citations
  4. Sample Complexity of Asynchronous Q-Learning: Sharper Analysis and Variance ReductionGen Li, Yuting Wei, Yuejie Chi, Yuantao Gu et al.NeurIPS 2020 · 149 citations
  5. Q-learning with UCB Exploration is Sample Efficient for Infinite-Horizon MDPYuanhao Wang, Kefan Dong, Xiaoyu Chen, Liwei WangICLR 2020 · 107 citations

Related papers

  1. Quantum algorithms for reinforcement learning with a generative modelDaochen Wang, Aarthi Sundaram, Robin Kothari, Ashish Kapoor et al.ICML 2021 · 38 citations
  2. Span-Based Optimal Sample Complexity for Weakly Communicating and General Average Reward MDPsMatthew Zurek, Yudong ChenNeurIPS 2024 · 20 citations
  3. The Sample-Communication Complexity Trade-off in Federated Q-LearningSudeep Salgia, Yuejie ChiNeurIPS 2024 · 10 citations
  4. Model-Free Reinforcement Learning: from Clipped Pseudo-Regret to Sample ComplexityZihan Zhang, Yuan Zhou, Xiangyang JiICML 2021 · 39 citations
  5. Finite-Time Analysis for Double Q-learningHuaqing Xiong, Lin Zhao, Yingbin Liang, Wei ZhangNeurIPS 2020 · 33 citations
Dusk over the sea between two cliffs drawn in fine vertical lines