Linear $Q$-Learning Does Not Diverge in $L^2$: Convergence Rates to a Bounded Set
Xinyu Liu, Zixuan Xie, Shangtong Zhang
TL;DR
This paper proves new nonasymptotic $L^2$ convergence rates for linear and tabular $Q$-learning with unmodified algorithms, under an $ε$-softmax behavior policy with adaptive temperature and minimal assumptions. The core technical contribution is a general stochastic approximation framework that handles time-inhomogeneous Markov noise with fast-changing transitions, enabling explicit rates toward a bounded set for the linear case and convergence to $q_*$ for the tabular case. A key technical device is the pseudo-contraction property of the weighted Bellman operator in the tabular setting and a corresponding Lyapunov function constructed via Moreau envelopes. The results bridge a gap between asymptotic boundedness and finite-sample convergence, with practical impact for understanding the reliability of linear and tabular $Q$-learning in non-ideal, off-policy, Markovian settings.
Abstract
$Q$-learning is one of the most fundamental reinforcement learning algorithms. It is widely believed that $Q$-learning with linear function approximation (i.e., linear $Q$-learning) suffers from possible divergence until the recent work Meyn (2024) which establishes the ultimate almost sure boundedness of the iterates of linear $Q$-learning. Building on this success, this paper further establishes the first $L^2$ convergence rate of linear $Q$-learning iterates (to a bounded set). Similar to Meyn (2024), we do not make any modification to the original linear $Q$-learning algorithm, do not make any Bellman completeness assumption, and do not make any near-optimality assumption on the behavior policy. All we need is an $ε$-softmax behavior policy with an adaptive temperature. The key to our analysis is the general result of stochastic approximations under Markovian noise with fast-changing transition functions. As a side product, we also use this general result to establish the $L^2$ convergence rate of tabular $Q$-learning with an $ε$-softmax behavior policy, for which we rely on a novel pseudo-contraction property of the weighted Bellman optimality operator.
