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 $\gamma$-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}{ \mu _{\min}(1-\gamma)^{5}\varepsilon ^{2}}+ \frac { t_{\text{mix}}}{ \mu _{\min}(1-\gamma)}$ up to some logarithmic factor, provided that a proper constant learning rate is adopted. Here, $t_{\text{mix}}$ and $\mu _{\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 by a factor of at least $|\mathcal {S}||\mathcal {A}|$ for all scenarios, and by a factor of at least $t_{\text{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-\gamma }$ can be improved by means of variance reduction.
Introduction
Q-learning is a fundamental algorithm in reinforcement learning (RL) used to estimate optimal action-value functions without a prior model of the environment. While the theoretical properties of synchronous Q-learning—where samples are drawn independently from a generative model—are well-established, the asynchronous setting remains more challenging. In asynchronous Q-learning, an agent learns from a single, continuous trajectory of Markovian samples. This dependency between consecutive samples complicates the analysis, and previous bounds often suggested that asynchronous learning was significantly less efficient than its synchronous counterpart. This work addresses whether this efficiency gap is inherent or a result of sub-optimal analytical techniques.
Methodology
The authors refine the analysis of asynchronous Q-learning through two primary innovations: sharper Markovian analysis and variance reduction.
Sharper Analysis of Classical Q-Learning
By utilizing an epoch-based framework and concentration inequalities tailored for Markov chains, the researchers demonstrate that the mixing time ($t_{\text{mix}}$) of the trajectory only contributes an additive term to the sample complexity. This "burn-in" cost becomes negligible as the total number of samples increases, effectively amortizing the cost of reaching a steady state. This insight corrects previous works that often treated mixing time as a multiplicative factor.
Variance-Reduced Q-Learning
To improve the algorithm's scaling with the effective horizon $(1-\gamma)^{-1}$, the authors introduce a variance-reduced variant. This approach divides the learning process into epochs. At the start of each epoch, a "reference" Q-function is frozen, and subsequent updates within the epoch use this reference to stabilize the learning process and reduce the variance of the stochastic updates.
Key Results
The refined analysis yields significantly tighter sample complexity bounds compared to previous literature. For classical asynchronous Q-learning, the new bound represents an improvement of at least $|S||A|$ over prior state-of-the-art results.
Furthermore, the variance-reduced variant achieves a sample complexity of $\tilde{O}\left(\frac{1}{\mu_{\min}(1-\gamma)^3\epsilon^2} + \frac{t_{\text{mix}}}{\mu_{\min}(1-\gamma)}\right)$. This result is particularly significant as it matches the minimax-optimal scaling with respect to the effective horizon $(1-\gamma)^{-3}$ observed in synchronous RL settings, proving that model-free asynchronous methods can be highly efficient.
Discussion and Future Work
This work bridges the gap between synchronous and asynchronous Q-learning theory. By showing that the Markovian nature of the data does not fundamentally bottleneck the learning rate beyond an initial mixing period, it provides a stronger theoretical foundation for real-world RL applications.
However, several avenues for future research remain. While variance-reduced Q-learning achieves optimal horizon scaling, the bound for "vanilla" Q-learning still lags slightly behind the best known synchronous results ($(1-\gamma)^{-4}$). Additionally, extending these sharp analyses from tabular settings to function approximation (e.g., deep Q-networks) and exploring the trade-offs between model-free and model-based methods in high-accuracy regimes are important next steps.
Summary updated