Lune

NeurIPS2020Top-tier venue

Sample Complexity of Asynchronous Q-Learning: Sharper Analysis and Variance Reduction

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

Abstract

Asynchronous Q-learning aims to learn the optimal action-value function (or Q-function) of a Markov decision process (MDP), based on a single trajectory of Markovian samples induced by a behavior policy. Focusing on a <inline-formula> <tex-math notation="LaTeX">γ\gamma </tex-math></inline-formula>-discounted MDP with state space <inline-formula> <tex-math notation="LaTeX">S\mathcal {S} </tex-math></inline-formula> and action space <inline-formula> <tex-math notation="LaTeX">A\mathcal {A} </tex-math></inline-formula>, we demonstrate that the <inline-formula> <tex-math notation="LaTeX">ℓ∞\ell _{\infty } </tex-math></inline-formula>-based sample complexity of classical asynchronous Q-learning — namely, the number of samples needed to yield an entrywise <inline-formula> <tex-math notation="LaTeX">ε\varepsilon </tex-math></inline-formula>-accurate estimate of the Q-function — is at most on the order of <inline-formula> <tex-math notation="LaTeX">1μmin(1−γ)5ε2+tmixμmin(1−γ)\frac {1}{ \mu _{\mathsf {min}}(1-\gamma)^{5}\varepsilon ^{2}}+ \frac { t_{\mathsf {mix}}}{ \mu _{\mathsf {min}}(1-\gamma)} </tex-math></inline-formula> up to some logarithmic factor, provided that a proper constant learning rate is adopted. Here, <inline-formula> <tex-math notation="LaTeX">tmixt_{\mathsf {mix}} </tex-math></inline-formula> and <inline-formula> <tex-math notation="LaTeX">μmin\mu _{\mathsf {min}} </tex-math></inline-formula> denote respectively the mixing time and the minimum state-action occupancy probability of the sample trajectory. The first term of this bound matches the sample complexity in the synchronous case with independent samples drawn from the stationary distribution of the trajectory. The second term reflects the cost taken for the empirical distribution of the Markovian trajectory to reach a steady state, which is incurred at the very beginning and becomes amortized as the algorithm runs. Encouragingly, the above bound improves upon the state-of-the-art result by a factor of at least <inline-formula> <tex-math notation="LaTeX">∣S∣∣A∣|\mathcal {S}||\mathcal {A}| </tex-math></inline-formula> for all scenarios, and by a factor of at least <inline-formula> <tex-math notation="LaTeX">tmix∣S∣∣A∣t_{\mathsf {mix}}|\mathcal {S}||\mathcal {A}| </tex-math></inline-formula> for any sufficiently small accuracy level <inline-formula> <tex-math notation="LaTeX">ε\varepsilon </tex-math></inline-formula>. Further, we demonstrate that the scaling on the effective horizon <inline-formula> <tex-math notation="LaTeX">11−γ\frac {1}{1-\gamma } </tex-math></inline-formula> can be improved by means of variance reduction.

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.

41 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 A Finite-Time Analysis of Q-Learning with Neural Network Function Approximation
  • Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model cites Pessimistic Q-Learning for Offline Reinforcement Learning: Towards Optimal Sample Complexity
  • Pessimistic Q-Learning for Offline Reinforcement Learning: Towards Optimal Sample Complexity cites Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model
  • Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model cites Tightening the Dependence on Horizon in the Sample Complexity of Q-Learning
  • Tightening the Dependence on Horizon in the Sample Complexity of Q-Learning cites Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model
  • Pessimistic Q-Learning for Offline Reinforcement Learning: Towards Optimal Sample Complexity cites Is Pessimism Provably Efficient for Offline RL?
  • Pessimistic Q-Learning for Offline Reinforcement Learning: Towards Optimal Sample Complexity cites Q-learning with UCB Exploration is Sample Efficient for Infinite-Horizon MDP
  • Tightening the Dependence on Horizon in the Sample Complexity of Q-Learning cites A Finite-Time Analysis of Q-Learning with Neural Network Function Approximation
  • Tightening the Dependence on Horizon in the Sample Complexity of Q-Learning cites Q-learning with UCB Exploration is Sample Efficient for Infinite-Horizon MDP
  • Tightening the Dependence on Horizon in the Sample Complexity of Q-Learning cites Finite-Time Analysis for Double Q-learning
  • Finite-Time Analysis for Double Q-learning cites A Finite-Time Analysis of Q-Learning with Neural Network Function Approximation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers41

  1. Is Pessimism Provably Efficient for Offline RL?Ying Jin, Zhuoran Yang, Zhaoran WangICML 2021 · 419 citations
  2. 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
  3. Online Robust Reinforcement Learning with Model UncertaintyYue Wang, Shaofeng ZouNeurIPS 2021 · 157 citations
  4. Pessimistic Q-Learning for Offline Reinforcement Learning: Towards Optimal Sample ComplexityLaixi Shi, Gen Li, Yuting Wei, Yuxin Chen et al.ICML 2022 · 110 citations
  5. Fast Policy Extragradient Methods for Competitive Games with Entropy RegularizationShicong Cen, Yuting Wei, Yuejie ChiNeurIPS 2021 · 105 citations

Builds on5

  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. Q-learning with UCB Exploration is Sample Efficient for Infinite-Horizon MDPYuanhao Wang, Kefan Dong, Xiaoyu Chen, Liwei WangICLR 2020 · 107 citations
  3. A Finite-Time Analysis of Q-Learning with Neural Network Function ApproximationPan Xu, Quanquan GuICML 2020 · 79 citations
  4. Finite-Time Analysis for Double Q-learningHuaqing Xiong, Lin Zhao, Yingbin Liang, Wei ZhangNeurIPS 2020 · 33 citations
  5. Tightening the Dependence on Horizon in the Sample Complexity of Q-LearningGen Li, Changxiao Cai, Yuxin Chen, Yuantao Gu et al.ICML 2021 · 19 citations

Related papers

  1. The Blessing of Heterogeneity in Federated Q-Learning: Linear Speedup and BeyondJiin Woo, Gauri Joshi, Yuejie ChiICML 2023 · 36 citations
  2. Quantum algorithms for reinforcement learning with a generative modelDaochen Wang, Aarthi Sundaram, Robin Kothari, Ashish Kapoor et al.ICML 2021 · 38 citations
  3. The Sample-Communication Complexity Trade-off in Federated Q-LearningSudeep Salgia, Yuejie ChiNeurIPS 2024 · 10 citations
  4. Faster Non-asymptotic Convergence for Double Q-learningLin Zhao, Huaqing Xiong, Yingbin LiangNeurIPS 2021 · 10 citations
  5. Span-Based Optimal Sample Complexity for Weakly Communicating and General Average Reward MDPsMatthew Zurek, Yudong ChenNeurIPS 2024 · 20 citations
Dusk over the sea between two cliffs drawn in fine vertical lines