arXiv:2611.07676cs.LGNov 2026

Manuscript Offprint

arXiv:2611.07676

O(1/n)O(1/n) Convergence Rate for RVI QQ-Learning

Avik Kar, Siddharth Chandak, Rahul Singh, Shalabh Bhatnagar

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We establish finite-time convergence guarantee for synchronous relative value iteration (RVI) QQ-learning for finite weakly communicating Markov decision processes (MDPs). For stochastic Krasnosel'skï–Mann iterations driven by a non-expansive, linearly regular map on a finite-dimensional normed space, we establish last-iterate mean-squared residual bounds under martingale-difference noise whose conditional second moment grows at most linearly with the squared residual. Suitable polynomial stepsizes of order n−an^{-a} yield an O(n−a)O(n^{-a}) rate for 0<a≤10 < a \leq 1. We verify linear regularity and the noise condition for the centered Bellman operator for finite weakly communicating MDPs. Applying the general result gives an O(n−1)O(n^{-1}) bound on the mean-squared Bellman span residual of RVI QQ-learning iterates when a suitable stepsize sequence is used. The positive gap between optimal and suboptimal stationary deterministic policies then yields an O(n−1)O(n^{-1}) bound on the expected suboptimality of the greedy policy. Consequently, O(ϵ−1)O(\epsilon^{-1}) synchronous iterations suffice for an ϵ\epsilon-optimal policy in expectation. These guarantees are instance-dependent, with constants that depend on the hitting-time parameters and the suboptimality gap of the second-best policy.

Keywords: average-reward Markov decision processes; relative value iteration QQ-learning; stochastic approximation; finite-time bounds.

1 Introduction

Average-reward reinforcement learning (RL), in which the learning agent aims to maximize the long-run average reward, provides a natural model for sequential decision-making problems in systems where steady-state performance is crucial, and there is no prescribed terminal time, such as queueing networks, inventory control, robotics, power-grid management, and communication networks [16]. In contrast, discounted RL assigns geometrically decaying weights to future rewards and therefore does not directly capture the long-run steady-state performance of a policy. Discounting, however, offers a key analytical advantage. The value function is the unique fixed point of the Bellman operator, which is a contraction [16, Chapter 6]. Similar properties hold in undiscounted problems when the state process reaches a terminal state almost surely under every policy [4]. This contractive structure underlies much of the finite-time theory for value-based RL algorithms such as QQ-learning and TD-learning [7, 9, 15, 18, 19]. Average-reward RL is inherently more challenging from this perspective. In the absence of discounting, the Bellman operator and related maps, such as the RVI map, are generally only non-expansive. Moreover, solutions to the average-reward optimality equation (1), i.e., the fixed points of the centered Bellman operator (33), are never unique. For unichain MDPs, the solution set has one degree of freedom [16, Chapter 8], whereas for the weakly communicating MDPs studied here, the solution set is, in general, higher dimensional [17, 21].

RVI Q-learning, introduced by Abounadi et al. [1], is one of the earliest provably convergent model-free value-based algorithms for average-reward RL. It updates the estimate of the optimal Q-function with a sampled Bellman step after subtracting an iterate-dependent normalization term from it (5). The normalization term removes the undetermined additive component of the Q-function and stabilizes the iterates. Under certain regularity conditions on the normalization functional and standard choices of the stepsize sequence, Abounadi et al. [1] established almost-sure convergence of both synchronous and asynchronous RVI Q-iterates for unichain MDPs with a common state recurrent under every stationary policy. Their result is asymptotic and does not quantify the number of iterations required for obtaining a Q-iterate that nearly solves the average reward optimality equation (1), or for obtaining a nearly optimal policy. The goal of the current work is to provide such a finite-time characterization for synchronous RVI Q-learning by studying the fixed-point residual, which upper bounds the suboptimality of the greedy policy induced by the current Q-iterate.

Due to the non-expansive nature of the relevant operators, the finite-time analysis available for contractive settings cannot be applied here. Although the average-reward Bellman operator is non-expansive under the sup-norm, the RVI map is non-expansive only under the span seminorm. A standard approach is to analyze an auxiliary iteration driven by the centered Bellman operator, in which the constant optimal average reward replaces the iterate-dependent normalization term in RVI Q-learning. The operator is non-expansive under the sup-norm, and the iterates, when run with the same samples, have the same Bellman span residuals as the RVI iterates. Hence, obtaining finite-time guarantees for RVI Q-learning reduces to analyzing stochastic Krasnosel'skiï-Mann (KM) iterations with non-expansive operators under an arbitrary norm.

The following two lines of work address finite-time guarantees for average-reward Q-learning. Analyses via the theory of stochastic KM iterations assume nothing beyond non-expansiveness. Bravo and Cominetti [6] obtain an expected residual of order O~(n−1/6)\widetilde{O}(n^{-1/6}) after nn iterations for uniformly bounded noise variance, where O~\widetilde{O} hides logarithmic factors. This rate degrades to O(n−1/10+ϵ)O(n^{-1/10+\epsilon}), for any ϵ∈(0,1/10)\epsilon \in (0,1/10), once the iterate-dependence of the RVI sampling noise is accounted for. On the other hand, a body of work assumes a contraction property and obtains the faster rate O(n−1/2)O(n^{-1/2}). Chen et al. [10] assume a seminorm contraction and obtain O(n−1/2)O(n^{-1/2}); Chen [8] obtain last-iterate guarantees under a span-contraction assumption with adaptive stepsizes; and Chen et al. [11] construct an instance-dependent seminorm after a lazy transformation of the dynamics and obtain an O~(ϵ−2)\widetilde{O}(\epsilon^{-2}) sample complexity under a reachability condition.

Instead of exploiting only the non-expansive property of the RVI Q-learning operator, or imposing any contractive structure, the current work shows that a third property, called linear regularity [2], holds for the centered Bellman operator if the MDP is weakly communicating.

Definition 1 (Linearly regular operator). Let (X,∥⋅∥)(\mathcal{X}, \|\cdot\|) be a normed space, and let T:X→XT: \mathcal{X} \to \mathcal{X} be an operator with a non-empty set of fixed points Fix(T):={x∈X:Tx=x}\mathrm{Fix}(T) := \{x \in \mathcal{X} : Tx = x\}. TT is linearly regular if there exists a constant κ>0\kappa > 0 such that

inf⁡x⋆∈Fix(T)∥x−x⋆∥≤κ∥x−Tx∥,∀x∈X.\inf_{x^{\star}\in\mathrm{Fix}(T)}\left\|x-x^{\star}\right\|\leq\kappa\left\|x-Tx\right\|,\forall x\in\mathcal{X}.

Further, we show that the conditional second moment of the RVI sampling noise is at most a constant times one plus the squared residual of the current iterate. Using these two properties of the operator and the noise, the current work shows that the mean-squared residuals of the stochastic KM iterates decay at a rate of O(n−1)O(n^{-1}). The same rate holds for the expected suboptimality of the policy greedy with respect to the RVI Q-iterates.

Contributions. Our main results are summarized in the following three points.

(i) For the stochastic KM iteration xn=(1−αn)xn−1+αn(Txn−1+Mn)x_{n} = (1 - \alpha_{n})x_{n-1} + \alpha_{n}(Tx_{n-1} + M_{n}) driven by a non-expansive, linearly regular map T with linear regularity constant κ\kappa on an arbitrary finite-dimensional normed space, with stepsizes αn\alpha_{n} and martingale-difference noise MnM_{n} whose conditional second moment is bounded by

σ2(1+∥xn−1−Txn−1∥2)\sigma^2(1 + \|x_{n-1} - Tx_{n-1}\|^2), we prove a last-iterate bound on the mean-squared residual (Theorem 2). Polynomial stepsizes c(n+K0)−ac(n+K_0)^{-a} with a fixed a∈(0,1]a \in (0,1] attain the rate of O(n−a)O(n^{-a}).

(ii) We prove that the centered Bellman operator Hˉ\bar{H} (33) for every finite weakly communicating MDP is linearly regular with the explicit constant KK, defined in (8) (Proposition 1). We also prove that the conditional second moment of its sampling noise is bounded by a constant times one plus the squared residual (Proposition 2).

(iii) Combining (i) and (ii), we obtain an O(n−1)O(n^{-1}) bound on the mean-squared Bellman span residual of the RVI QQ-iterates, with a prefactor of order K6(1+D)2log⁡(2∣S∣∣A∣)K^6(1+D)^2 \log(2|S||\mathcal{A}|) (Theorem 1). The residual-to-policy relation (7) gives the same rate for expected suboptimality of the greedy policy, with the additional factor 1/Δpol1/\Delta_{\mathrm{pol}} in its prefactor. Thus, O(ϵ−1)O(\epsilon^{-1}) synchronous iterations suffice for the greedy policy to be ϵ\epsilon-optimal in expectation (Corollary 1).

Overview of the argument. To prove (i), we first consider the iteration without sampling noise. Because of linear regularity, over a sufficiently large number of iterations, called a block, the distance to the nearest fixed point decreases by a fraction. We then compare the noisy and noiseless iterations starting from the same point. The comparison shows a similar decrease in the mean-squared distance, with an additional error proportional to the step size at the start of the block. In the next block, the accumulated error is reduced again, while new noise contributes another error term. The stepsize conditions ensure that this repeated reduction suppresses the errors introduced in earlier blocks. Consequently, the mean-squared distance, and hence the mean-squared residual, is bounded by a constant times the current stepsize plus a decaying contribution from the initial distance.

For (ii), we first obtain a preliminary bound on the distance to the solution set in terms of the residual, along with an additive constant. Whenever the residual is above a strictly positive threshold, the additive constant can be absorbed into the residual term at the expense of a larger constant. We set the threshold to be the policy gap, which is the smallest non-zero loss in average reward among stationary deterministic policies. Wherever the residual is smaller than the policy gap, the corresponding greedy policy must be optimal. We use this property to construct a nearby solution. Given a QQ-function, let the value of a state be the largest QQ-value over actions at that state. We show that these values can be raised by an amount proportional to the residual so that subsequent Bellman updates, with the optimal average reward subtracted, only decrease them. The updated values remain bounded below, so they converge to an exact state-value solution. To bound its distance from the original values, we use the closed groups of states in which the greedy policy eventually remains, called its recurrent classes. On these classes, optimality forces the Bellman updates to leave the raised values unchanged. For other states, summing Bellman errors until one of these classes is reached bounds how far the limiting values lie below the original values. The expected hitting times make this bound proportional to the residual. Together with the bound on the initial upward adjustment, this shows that the limiting state values differ from the original values by an amount proportional to the residual. Converting this state-value solution back to a QQ-function gives the nearby exact solution needed for linear regularity. Separately, we bound the spread of state values across states in terms of the residual. This controls the sampling noise, which comes from the bounded reward and the value of the sampled next state.

For (iii), we run the auxiliary and RVI iterations using the same sampled transitions. Their iterates differ only by a constant added to every entry, which leaves the Bellman span residual unchanged. The bound from (i) therefore gives a mean-squared residual bound for RVI. For each sample outcome, the greedy policy's loss is at most the Bellman span residual and is either zero or at least the policy gap. These two facts bound the loss by the squared residual divided by the gap. Taking expectations gives the claimed O(n−1)O(n^{-1}) rate for the stated stepsizes of order 1/n1/n, with constants depending on the fixed MDP.

Related work. Abounadi et al. [1] establish convergence of RVI Q-learning for unichain MDPs with a common state recurrent under every stationary policy, and Wan et al. [21] extend this result to weakly communicating MDPs. Wan et al. [20] introduce differential Q-learning, which avoids a normalization functional, and prove its asymptotic convergence. For finite-time guarantees, Zhang et al. [22] analyze tabular average-reward Q-learning under span-seminorm contraction. Chen et al. [10] develop a seminorm Lyapunov framework yielding an O(n−1/2)O(n^{-1/2}) expected span-seminorm error bound. Chen [8] obtain asynchronous last-iterate guarantees with adaptive stepsizes under span contraction. Chen et al. [11] construct an instance-dependent seminorm after a lazy transformation and obtain O~(ϵ−2)\widetilde{O}(\epsilon^{-2}) sample complexity under a reachability condition. For weakly communicating MDPs with a generative model, Zurek and Chen [23] use a discounted reduction to obtain the minimax-optimal sample complexity O~(∣S∣∣A∣H/ϵ2)\widetilde{O}(|\mathcal{S}||\mathcal{A}|\mathsf{H}/\epsilon^2), where H\mathsf{H} is the span of the optimal value function. Our O(ϵ−1)O(\epsilon^{-1}) iteration bound has instance-dependent constants, so it does not imply an improvement over this minimax benchmark.

Bravo and Cominetti [6] analyze stochastic KM iterations on arbitrary normed spaces, obtaining an expected residual rate of O~(n−1/6)\widetilde{O}(n^{-1/6}) under uniformly bounded noise variance. For RVI Q-learning, iterate-dependent noise yields the slower rate O(n−1/10+η)O(n^{-1/10+\eta}) for any η∈(0,1/10)\eta \in (0,1/10). Blaser and Zhang [5] study nonexpansive stochastic approximation with Markovian noise and apply their results to average-reward TD learning. Our analysis instead exploits linear regularity and residual-dependent martingale noise to obtain an O(n−1)O(n^{-1}) bound on the mean-squared residual.

Alternative algorithms include the adaptive-discount Q-learning method of Jin et al. [13], which provides finite-sample guarantees without prior knowledge of problem parameters. Lee et al. [14] combine Halpern's anchored iteration with recursive sampling to obtain an ϵ\epsilon-optimal policy using O~(∣S∣∣A∣H2/ϵ2)\widetilde{O}(|\mathcal{S}||\mathcal{A}|\mathsf{H}^2/\epsilon^2) samples without requiring prior knowledge of H\mathsf{H}.

Organization. Section 2 introduces the problem and algorithm and states the main results. Section 3 develops a general convergence bound for stochastic KM iterations. Section 4 applies this bound to RVI Q-learning, establishes the required linear regularity and noise growth condition, and proves the convergence and sample complexity guarantees. Section 5 concludes. Appendices A–C contain supporting lemmas, a martingale inequality, and stepsize estimates, respectively.

References (20)