Skip to main content
QUICK REVIEW

[Paper Review] Sample Complexity of Asynchronous Q-Learning: Sharper Analysis and Variance Reduction

Gen Li, Yuting Wei|arXiv (Cornell University)|Jun 4, 2020
Age of Information OptimizationComputer Science5 citations
TL;DR

This paper provides a sharper analysis of asynchronous Q-learning on a single Markovian trajectory, establishing sample complexity bounds that improve upon prior work by at least $| olimits\mathcal{S}|\!|\mathcal{A}|$ and $t_{\text{mix}}|\mathcal{S}|\!|\mathcal{A}|$ for small $\varepsilon$. It further introduces a variance-reduced variant that improves scaling with the effective horizon $1/(1-\gamma)$, achieving tighter convergence rates under standard assumptions on mixing time and state-action occupancy.

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 $γ$-discounted MDP with state space $\mathcal{S}$ and action space $\mathcal{A}$, we demonstrate that the $\ell_{\infty}$-based sample complexity of classical asynchronous Q-learning --- namely, the number of samples needed to yield an entrywise $\varepsilon$-accurate estimate of the Q-function --- is at most on the order of $\frac{1}{μ_{\min}(1-γ)^5\varepsilon^2}+ \frac{t_{mix}}{μ_{\min}(1-γ)}$ up to some logarithmic factor, provided that a proper constant learning rate is adopted. Here, $t_{mix}$ and $μ_{\min}$ 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 \cite{qu2020finite} by a factor of at least $|\mathcal{S}||\mathcal{A}|$ for all scenarios, and by a factor of at least $t_{mix}|\mathcal{S}||\mathcal{A}|$ for any sufficiently small accuracy level $\varepsilon$. Further, we demonstrate that the scaling on the effective horizon $\frac{1}{1-γ}$ can be improved by means of variance reduction.

Motivation & Objective

  • To close the gap in sample complexity analysis for asynchronous Q-learning under Markovian sampling.
  • To provide tighter bounds on the number of samples required for $\varepsilon$-accurate estimation of the optimal Q-function.
  • To improve the dependence on the effective horizon $1/(1-\gamma)$ via variance reduction techniques.
  • To analyze the impact of mixing time $t_{\text{mix}}$ and minimum occupancy probability $\mu_{\text{min}}$ on convergence.
  • To establish bounds that are competitive with synchronous Q-learning while accounting for the non-i.i.d. nature of Markovian trajectories.

Proposed method

  • Derives an $\ell_\infty$-based sample complexity bound for classical asynchronous Q-learning, decomposing error into bias and variance components.
  • Uses a recursive analysis of the Q-value update dynamics under constant learning rates, leveraging concentration inequalities for Markov chains.
  • Introduces a cover-time-based analysis to bound the time until all state-action pairs are sufficiently visited, linking it to the mixing time $t_{\text{mix}}$.
  • Proposes a variance-reduced Q-learning variant that uses periodic averaging over epochs to reduce estimation variance.
  • Employs a two-phase analysis: one for large error regime ($\|\overline{\bm{Q}} - \bm{Q}^\star\|_\infty > 1/\sqrt{1-\gamma}$) and one for small error regime.
  • Applies Hoeffding-type inequalities and union bounds over state-action pairs to control empirical distribution error, with high-probability concentration results.

Experimental results

Research questions

  • RQ1What is the tightest possible sample complexity bound for asynchronous Q-learning on a single Markovian trajectory?
  • RQ2How does the mixing time $t_{\text{mix}}$ and minimum occupancy probability $\mu_{\text{min}}$ affect convergence in asynchronous Q-learning?
  • RQ3Can variance reduction techniques improve the dependence on the effective horizon $1/(1-\gamma)$ in asynchronous Q-learning?
  • RQ4How does the sample complexity of asynchronous Q-learning compare to that of synchronous Q-learning with i.i.d. samples?
  • RQ5What is the role of the initial burn-in phase in Markovian sampling, and how can it be amortized over time?

Key findings

  • The sample complexity of classical asynchronous Q-learning is bounded by $O\left(\frac{1}{\mu_{\text{min}}(1-\gamma)^5\varepsilon^2} + \frac{t_{\text{mix}}}{\mu_{\text{min}}(1-\gamma)}\right)$, up to logarithmic factors.
  • The first term matches the sample complexity of synchronous Q-learning with i.i.d. samples from the stationary distribution.
  • The second term captures the cost of initial non-stationarity and is amortized over time as the empirical distribution converges.
  • The bound improves upon Qu and Wierman (2020) by a factor of at least $|\mathcal{S}||\mathcal{A}|$ in all cases and by $t_{\text{mix}}|\mathcal{S}||\mathcal{A}|$ for small $\varepsilon$.
  • Variance reduction reduces the scaling with $1/(1-\gamma)$, improving the effective horizon dependence.
  • High-probability concentration bounds for empirical distributions of Markov chains are used to control estimation error, with explicit dependence on $K_N(s,a)$, the number of visits to each state-action pair.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.