Manuscript Offprint
arXiv:2611.07676Convergence Rate for RVI -Learning
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) -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 yield an rate for . We verify linear regularity and the noise condition for the centered Bellman operator for finite weakly communicating MDPs. Applying the general result gives an bound on the mean-squared Bellman span residual of RVI -learning iterates when a suitable stepsize sequence is used. The positive gap between optimal and suboptimal stationary deterministic policies then yields an bound on the expected suboptimality of the greedy policy. Consequently, synchronous iterations suffice for an -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 -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 -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 after iterations for uniformly bounded noise variance, where hides logarithmic factors. This rate degrades to , for any , 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 . Chen et al. [10] assume a seminorm contraction and obtain ; 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 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 be a normed space, and let be an operator with a non-empty set of fixed points . is linearly regular if there exists a constant such that
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 . 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 driven by a non-expansive, linearly regular map T with linear regularity constant on an arbitrary finite-dimensional normed space, with stepsizes and martingale-difference noise whose conditional second moment is bounded by
, we prove a last-iterate bound on the mean-squared residual (Theorem 2). Polynomial stepsizes with a fixed attain the rate of .
(ii) We prove that the centered Bellman operator (33) for every finite weakly communicating MDP is linearly regular with the explicit constant , 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 bound on the mean-squared Bellman span residual of the RVI -iterates, with a prefactor of order (Theorem 1). The residual-to-policy relation (7) gives the same rate for expected suboptimality of the greedy policy, with the additional factor in its prefactor. Thus, synchronous iterations suffice for the greedy policy to be -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 -function, let the value of a state be the largest -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 -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 rate for the stated stepsizes of order , 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 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 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 , where is the span of the optimal value function. Our 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 under uniformly bounded noise variance. For RVI Q-learning, iterate-dependent noise yields the slower rate for any . 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 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 -optimal policy using samples without requiring prior knowledge of .
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.
2.1 Average-Reward MDPs
Notation. For a finite dimensional vector , denotes the span seminorm. For a finite set , is the probability simplex on .
Let be an MDP, where and are finite state and action spaces, respectively, governs the state transitions and is the reward function. For a stationary policy , we write for the probability that chooses action in state . Its average reward starting from state is
where and denote the state and the action at time , and denotes expectation under the conditions that and for every . The MDP satisfies the following assumption.
Assumption 1 (Weakly communicating). The state space admits a partition , where is closed, i.e., for every and , every state of is accessible from every other state of under some stationary deterministic policy, and every state of the possibly empty set is transient under every stationary policy.
The class of weakly communicating MDPs contains the families of ergodic, unichain, and communicating MDPs; see Puterman [16, Section 8.3]. Under the above assumption, the optimal average reward is independent of the initial state and we denote the scalar value by . The average-reward optimality equation (AROE) is
where . Assumption 1 is sufficient for the existence of such that satisfies the AROE. In that case, also satisfies the AROE for every , where denotes the -dimensional all-ones vector. These shifts need not exhaust the solution set. The AROE of a weakly communicating MDP may admit solutions that do not differ by a constant vector [17, 21]. A policy that chooses an action from in each state is optimal. See Puterman [16] for more details on average reward MDPs.
Useful MDP parameters. Let be the set of stationary deterministic policies, and let and . Define the following complexity measure of weakly communicating MDPs,
with the convention that the maximum of an empty set is 0. The first term is the diameter of the closed communicating set, and the second is the worst-case expected time to reach the closed communicating set from any transient state. The policy gap is the smallest non-zero sub-optimality of stationary deterministic policies,
with if every is optimal from every state. Since the policy set is finite and rewards lie in , we have . Thus, a stationary deterministic policy whose sub-optimality is less than from every state is optimal from every state. Let denote the probability conditioned by and for every . Define
Thus, is the largest expected hitting time among stationary deterministic policies that are optimal from every state, initial states, and target sets for which the target is reached almost surely. This maximum is finite. Indeed, if , then every state reachable from before hitting has a path to of at most transitions with positive probability under policy . Hence, conditionally on not yet hitting , the probability of reaching within the next steps is bounded below by a positive number, so has a geometric tail and a finite expectation. is finite because there are only finitely many triplets .
2.2 Synchronous RVI Q-Learning
Abounadi et al. [1] introduced the synchronous and asynchronous RVI Q-learning algorithms for learning a solution to the AROE. Synchronous RVI Q-learning updates the estimate of as follows: for all
,
where, for each , the random variables are independent, with , and are independent of , . , denotes the natural filtration associated with the iterates. denotes the stepsize sequence, and is a continuous normalization functional. A few candidate s are , , for some fixed , and .
Abounadi et al. [1] showed that for unichain MDPs, , almost surely converges to a unique solution of (1), such that if the functional satisfies certain regularity conditions and if the stepsizes satisfy
Define the Bellman operator as
write for the expected one-step reward, and define the RVI map such that . The synchronous RVI Q-learning update (5) can alternatively be written as
where
Note that a solution of the AROE with is a fixed point of .
The goal is to learn an optimal or near-optimal policy. Fix a deterministic tie-breaking rule, and let be the resulting policy greedy with respect to Q. We measure performance by the suboptimality of the greedy policy,
For every , . See Lee et al. [14, Proposition 2.1] for a proof. Moreover, is a constant vector, so . Thus, . However, since either or , . Thus,
We bound the latter among the above two upperbounds of in order to bound .
2.3 Convergence Rates and Sample Complexity
We now state the convergence rates and the sample complexity of synchronous RVI Q-learning. Recall , and from (2)-(4). Set
Theorem 1. Let Assumption 1 hold, let , and let be generated by (5) from a fixed with the sampling model of Section 2.2 and stepsizes , where , , and the integer satisfies
where . Then, for every ,
where . By (7), for every ,
In particular:
(i) If , then (9) holds for every sufficiently large , and for every , where depends only on the MDP, , , , and .
(ii) If and , then, with ,
Theorem 1 improves on the expected residual rate obtained for this algorithm by applying the iterate-dependent noise bound of Bravo and Cominetti [6], for any . For , we obtain a convergence rate of for each fixed MDP, with a prefactor of order . The constants and make the dependence on the MDP explicit. The proof is given in Section 4. The following corollary converts the rate into a sample complexity result.
Corollary 1 (Sample complexity). Under the hypotheses of Theorem 1(ii), let be the smallest integer satisfying (9), so that . There is a universal constant such that, for every , the greedy policy satisfies whenever
where .
3 Stochastic KM Iterations for Linearly Regular Maps
This section studies stochastic KM iterations under two hypotheses: linear regularity and a residual-dependent growth of the noise. Throughout, is a finite-dimensional real normed vector space and is a non-expansive map on it. We define its fixed-point set, residual, and fixed-point distance below. Section 4 verifies the hypotheses for the centered Bellman operator by taking with the sup-norm and .
3.1 Setup and Assumptions
Let be a -dimensional real normed vector space. Throughout this section, we consider the operator that satisfies the following assumption.
Assumption 2 (Non-expansive and linearly regular). (i) be non-expansive, that is, for all .
(ii) The set of fixed points
is non-empty and is linearly regular (Definition 1), that is, there exists such that
For convenience, we denote . Fix is closed, since is continuous, but it need not be either convex or a singleton. The reverse inequality of linear regularity is always true by non-expansiveness. Fix arbitrarily. For , non-expansiveness gives . Taking the infimum over ,
Linear regularity is a weaker property than contraction. To see this, suppose that is a -contraction, , with unique fixed point . Then, . Thus, every contractive operator is linearly regular with .
However, not all linearly regular operators are contractive. Consider the reflection operator on . Since , it is non-expansive and not a contraction. Its fixed-point set is , and while , so is linearly regular with . The following example shows that linear regularity is not a consequence of non-expansiveness either.
Example 1. On consider the piecewise affine map
Each piece has slope 0 or 1, and the pieces agree at the breakpoints, so is continuous and non-expansive, and . For , the residual is while . So, there exists no finite such that for all .
We study the stochastic KM iteration
where and the stepsizes are deterministic and is adapted to a filtration with being -measurable. The noise is allowed to grow with the current residual .
Assumption 3 (Martingale difference noise with residual-dependent variance). There is a constant such that, almost surely, for every ,
We verify Assumption 3 for RVI Q-learning in Section 4.3. Let be any finite constant such that
for every finite -valued martingale difference sequence . Such a constant exists by equivalence with a Euclidean norm. Lemma 6 provides the admissible choice for the sup-norm on when (and suffices when ).
We consider polynomial stepsize sequences, formalized in the following assumption.
Assumption 4 (Stepsizes). The stepsizes are given by
for every . Also,
For convenience, we write .
3.2 The Residual Bound
Theorem 2 (Mean-squared residual bound). Let the operator satisfy Assumption 2, and consider (13) under Assumptions 3 and 4. Then, for every ,
The first term of (17) is the initial error, reduced by at least a factor of four once per block of iterations whose stepsizes sum to , so that it is damped by a factor determined by the accumulated stepsize . The second term is the noise accumulated over the single most recent such block. The noise of every earlier block has a negligible effect due to exponential decay.
Remark 1 (Second term dominates). For , by (46) in Lemma 7,
Hence, for every , decays faster than . For a = 1, by (47) in Lemma 7,
If , the residual is zero at every point. Otherwise, (12) and linear regularity imply , and hence . The preceding bound and then give , so the exponential term decays faster than . Thus the mean-squared residual is for .
Remark 2 (Removing the offset condition). For , the exponent for the mean-squared residual also holds for every fixed and integer with , without imposing (16). For , the same holds provided . For the proof, choose a deterministic for which satisfies (16), and apply Theorem 2 from time onward. The proof uses the initial point only through the second moment of its distance to Fix(T), so it applies verbatim to the random point with replaced by and by . This second moment is finite. To see this, fix with . (13), (12) and Minkowski's inequality give , from which we obtain
The rate for the mean-squared residual therefore holds for any such fixed offset, with a possibly large transient constant.
3.3 Proof of the Residual Bound
3.3.1 Contraction over a Block
Define deterministic block endpoints by and
Since , every tail sum diverges, so the endpoints in (18) are finite. By (16), for each , .
Lemma 1. Let satisfy Assumption 2. For any integer and any , consider the noiseless KM iteration
where the stepsizes satisfy the hypotheses of Theorem 2. Its distance to the fixed-point set is non-increasing, i.e.,
Moreover, if m = t_{j}, then
Proof. Fix , , and , and set . If , then for every , so the residual bound is immediate. Suppose and define . This is a non-empty, bounded, closed convex subset of the normed space , with and . For every , non-expansiveness and give
Thus , and the restriction is non-expansive. Since , convexity of and induction in (19) show that for every .
To apply Cominetti et al. [12, Theorem 1], set for and for . Then and
These are precisely the KM iterates of a non-expansive self-map of the bounded convex set , with relaxation parameters , as required by that theorem. For any integer , applying it at yields
The denominator is positive and independent of . Taking the infimum over , we have that
For every and , the triangle inequality and non-expansiveness give
Taking the infimum over , and iterating proves (20).
For and , minimality of gives . Together with , this proves the asserted block-sum bounds. Also,
Finally, linear regularity, (22), and (23) imply
This proves (21).
3.3.2 Tracking a Block with Martingale Noise
Lemma 2 (Block estimate). Let and , and put . If , then
Bound (24) also holds with b replaced by any n with .
Proof. First, note that . Fix . By Assumption 3 and (12), . So, implies by (13). Since is deterministic, induction gives for every . Thus, , and .
Run the noiseless comparison iteration (19) from the random point , and reset, on this block only, the averaged noise process
Write , where is the identity map on . The map is non-expansive as a convex combination of non-expansive maps, and the noise cancels in :
so is an inexact KM iteration with per-step error at most . Since and is non-expansive, , and therefore, pathwise,
(26)
Unrolling the recursion for from gives with the deterministic weights . Since the stepsizes are non-increasing and at most , induction on gives
The induction starts with an empty sum at ; the second inequality follows from . The sequence is a martingale difference sequence, so (14) applies. Combining it with (27), Assumption 3, the tower property of conditional expectation and (12),
since each index lies in . Applying weighted Cauchy–Schwarz to (26) gives
Since , we obtain
The distance to a non-empty set is 1-Lipschitz, so . By (20) and , weighted Cauchy–Schwarz and (28) give
The right-hand side does not depend on , so ; this rearrangement is legitimate because is finite. Since gives , we obtain
which is (24). At the block endpoint, (21) gives pathwise. Using weighted Cauchy–Schwarz with coefficients 5 and 5/4, and substituting the first bound on above into (28), yields
We used and . This is (25), and the same argument for (24) applies to any partial block. This completes the proof.
3.3.3 Completing the Proof
Proof of Theorem 2. We first verify the hypothesis of Lemma 2. By (16), for every ,
Next, we show that the blocks at most double on the shifted clock . Applying (48) in Lemma 7 with , the stepsizes indexed by already sum to at least , so by the minimality in (18),
This uses the first condition in (16), and it is a statement about the stepsize sequence alone, so it is valid for every j. By (49) in Lemma 7 together with (30),
Set and . Thus, . By (29), Lemma 2 applies to every block and gives , from which we obtain
Iterating (30) gives for , so
and, substituting ,
Here . Thus, the contributions of earlier blocks form a convergent geometric sum, and . For , bound (24) together with (31) gives
We used . It remains to express in terms of the accumulated stepsize. Every completed block contributes at most and the current partial block contributes less than , so , that is, , and therefore
Multiplying (32) by 4 and using (12), 129536/2883 < 45, and proves (17). For the claim is immediate from .
4 Proofs of the Main Results
This section proves Theorem 1 and Corollary 1. We begin by introducing an auxiliary iteration governed by the centered Bellman operator, which is non-expansive in the sup-norm. Then, we show that analyzing the auxiliary iteration is sufficient to establish the convergence rate of RVI Q-learning. Subsequently, this section verifies the two hypotheses needed to apply Theorem 2 to the auxiliary iteration, i.e., linear regularity and residual-dependent growth of the sampling noise. We then complete the proofs.
4.1 The Centered Bellman Operator and Its Equivalence to the RVI Map
H is non-expansive in the span seminorm, which is not a norm, and in general, H is not non-expansive with respect to the sup-norm, because the normalization term depends on Q. The obstruction disappears once that term is replaced by a constant. To this end, define the centered Bellman operator as
where is the Bellman operator (6). is non-expansive with respect to the sup-norm, and the set of fixed points of , denoted by , is exactly the set of solutions of the AROE (1). Define the following auxiliary iteration:
where . The auxiliary iterates are constructed on the same probability space and use the same samples as (5). The value is not known to the agent. Hence, this iteration cannot be used to learn and will be used only for analysis. It turns out that , which is the next lemma.
Lemma 3. For every , .
Proof. We first show that using induction. The base case holds due to equality. Assume the induction hypothesis, , for some . Then,
Since does not depend on , the claim follows.
Note that , which differs from by a multiple of . Hence . The proof is then complete due to the fact that .
Hence, it suffices to analyze (34) in order to study the convergence behavior of , and hence of the policy suboptimality .
4.2 Linear Regularity
Our goal is to show that is linearly regular in the sup-norm (Definition 1), namely, to find a finite constant such that
where is the distance to . We first bound the span of a -function by its residual. By Lemma 4 in Appendix A, every satisfies
and in particular for every . Shift invariance of allows to be expressed using the span of . For every , centering its range gives . Hence,
(35)
The next proposition removes the additive constant from the above upperbound, with the explicit regularity constant K of (8).
Proposition 1 (Linear regularity). Let Assumption 1 hold. Then is linearly regular in the sup-norm with constant K, that is,
Proof. Fix . We consider two cases, corresponding to the two terms in (8).
Case 1: . Then , so (35) gives
Case 2: . For and , define
where and . Here, denotes the all-ones vector in , and vector inequalities are coordinatewise. The maps , and are monotone and commute with constant shifts.
Since , , , and every entry of lies in , we have
Taking expectations under and summing the second inequality in (36) over k steps gives
Since is bounded, letting yields for every . Hence (3) shows that is optimal from every state.
Since , (36) implies . Thus Lemma 5 in Appendix A applies with and , and gives such that
Let be the union of all recurrent classes of . Fix one recurrent class, and let be its stationary distribution, extended by zero outside that class, so that . For in that class, the averages converge to as , so , which equals because is optimal. Using and , we get
The strict positivity of on its class implies on that class. As the class was arbitrary, on , and then gives on .
Define and . By monotonicity and , this sequence is non-increasing. It is bounded below by a sufficiently low constant shift of a fixed point of : such a fixed point exists because for any . Thus converges to a finite vector , and continuity gives and . Moreover, on for every . Indeed, if this holds at step , closure of under and give, on ,
Consequently, on .
Set . By (36) and ,
The chain under reaches almost surely from every state. Since is optimal from every state, (4) gives . Iterating the preceding inequality up to gives
Since is bounded and has finite mean, letting yields
Together with (37) and , this proves
that is, .
Finally, set . Then , so . Since ,
This completes the proof in both cases.
4.3 Sampling Noise
We next verify Assumption 3.
Proposition 2. Let Assumption 1 hold. For every and every -measurable with , almost surely,
Proof. Conditional sampling gives for every -measurable . For each coordinate,
where follows from Lemma 4, follows from the fact that , and follows from . This pathwise bound implies the conditional second-moment bound.
4.4 Proofs of the Rates and Sample Complexity
We now apply Theorem 2 using Propositions 1 and 2. By the discussion after (7) and Lemma 3,
Thus, a mean-squared sup-norm residual bound for the auxiliary iteration gives an expected policy guarantee from every initial state.
Proof of Theorem 1. Apply Theorem 2 on with and . The map is non-expansive and has a non-empty fixed-point set by Section 4.1, and (34) is the required KM iteration. By Proposition 1, the map is linearly regular with constant . Proposition 2 verifies Assumption 3 with noise constant , and the sup-norm martingale constant stated in Section 3.1 gives (14) with constant . Substituting these three constants into (16) yields (9) and also gives
Since , the initial distance in Theorem 2 is . Multiplying (17) by 4 and using Lemma 3 gives
Dividing by and using the preceding policy-loss bound and proves (10).
For part (i), let . In (9), increases to infinity with and decreases to zero, so both inequalities hold for every sufficiently large . Since is decreasing,
Thus, the transient in (10) decays faster than every negative power of , while its last term is a constant multiple of . Hence times the right-hand side of (10) is bounded over , and its supremum is an admissible .
For part (ii), let and . The same integral comparison gives , so the first term of (10) is at most . Moreover, . Substituting both into (10) gives (11). Since increases with , we have .
Proof of Corollary 1. By (11), whenever both of its terms are at most , that is, whenever
The first term of the maximum is . Since , , so the second term is . This proves the sufficient condition on .
With and , the first inequality in (9) holds for every , and the second, in which , holds if
Hence the smallest admissible is . The initial-distance estimate follows from (35), and each synchronous iteration uses transition samples.
5 Conclusion
For each fixed finite weakly communicating MDP, we show that the expected suboptimality of the greedy policy produced by synchronous RVI Q-learning decreases at a rate of . The analysis exploits the linear regularity property of the relevant operator to obtain the convergence rate of for the mean-squared residual, and the positive policy gap of finite MDPs enables the same rate for the suboptimality of the greedy policy with respect to the current Q iterate.
Sharpening the current parameter dependence or proving that the dependence is unimprovable remains unaddressed. Extending the analysis to high-probability guarantees would further broaden the scope of the results. The convergence rate of asynchronous RVI Q-learning remains an open direction for future work.
Disclosure of AI Use
The authors independently formulated the noise condition under which the conditional second moment grows with the squared residual and established that RVI Q-learning satisfies this condition (Proposition 2). Subsequently, GPT-6 Astra (OpenAI) suggested the linear regularity condition and provided preliminary proofs supporting the improved convergence rate. AI tools were also used to assist with writing and editing the manuscript. The authors have independently verified all results, proofs, and references and take full responsibility for the content of the paper.
A Supporting Lemmas
This appendix proves the two lemmas used in Section 4.2. Lemma 4 bounds the span of a Q-function by its residual, and Lemma 5 constructs the vector w used in the proof of Proposition 1. We use the maps , F and and the transition matrices defined in that proof.
Lemma 4. Let Assumption 1 hold. For every ,
In particular, for every .
Proof. Decompose the residual into a scalar and a small part,
where is the midpoint of the range of . The greedy policy of Section 2.2 satisfies . Evaluating (38) at and using (6) gives the Poisson equation with zero gain
where denotes the transition matrix induced by . Let be a stationary distribution corresponds to . Multiplying (39) by gives , that is, . Since and ,
Furthermore, for every , so (38) also yields the family of inequalities
(41) and by (40). Unlike (39), which holds only for the greedy policy, (41) holds for every policy, so the policy used to travel between two states of may be chosen freely.
Let and attain the minimum and the maximum of over . If = the range over is zero. Otherwise pick attaining , which is at most by (2), and apply optional stopping to (41) at :
so that . For , apply optional stopping to the equality (39) at under , whose expectation is at most by (2):
Since , the expectation on the left lies between the minimum and the maximum of over , whence . Both stopping arguments are justified by first stopping at the hitting time truncated at and letting : is finite, so , and are bounded, and the hitting times used have finite means under Assumption 1.
Finally, by (6) the range of is at most the range of , which is at most 1, plus the range of , so
For we have by the fixed-point identity , so .
For the next lemma and its proof, we call a vector a super-solution if , equivalently, , with inequalities understood coordinatewise.
Lemma 5 (Minimal super-solution). Let Assumption 1 hold, and let satisfy for some . Then there is a smallest super-solution , and
Proof. Step 1: If , then , hence . Set
(a) is non-decreasing: , and if , then .
(b) is bounded above: fix , which is non-empty by Assumption 1, and set , , and . Then , and since ,
Thus , and implies .
By (a) and (b), each is non-decreasing in and bounded above by , so for some . Since is continuous,
Hence and . If is a super-solution, then and implies so . Thus is the smallest super-solution above .
Step 2: Let , and call active at if . If , then , so (43) gives , and has an active action. Let be the directed graph on with an edge if for some active at . We claim that every state has a path to in . Suppose not, and let be the set of states with no such path. Then , and
since an edge from s to a state outside U would give s a path to . Choose such that
The first inequality is possible because , and the second inequality is possible because and is not active. Let . Then and , so, using (44) in the second line,
Hence is a super-solution above with on , which contradicts the minimality of .
Step 3: Let be the number of edges of a shortest path from to in , so that on and otherwise. For , pick an edge with , and let be an action active at with . On , choose . Then and, with ,
By the Markov property, for . Hence .
To apply (4), we show that is optimal from every state. Outside , its actions are active, so . On , monotonicity and give
Thus on all of . Telescoping this inequality along trajectories under , dividing by the horizon, and using boundedness of yields
By (3), is optimal from every state. Consequently, (4) gives
Step 4: Write , , and , so that because . Since is active at , and for all ,
Fix . For , the event depends only on , and on it. By the Markov property,
Summing over , the left-hand sides telescope:
Let . The sums are bounded in absolute value by , which is integrable by (45), and are bounded, and almost surely. By dominated convergence, and since because ,
Subtracting and using (45) gives . Together with from Step 1, this proves (42).
B A Martingale Inequality in the Sup-Norm
Condition (14) holds on any finite-dimensional normed space, with a constant obtained from equivalence with a Euclidean norm. For the sup-norm, that yields . The following lemma establishes that , which is used in Theorem 1. It is the sup-norm form of the smooth- estimate used by Chen et al. [9].
Lemma 6 (Martingale constant in the sup-norm). Let , let be equipped with , and let be a finite -valued martingale difference sequence. Then,
Proof. Let . The function is convex and -smooth with respect to [3], so the descent lemma applied along the partial sums, followed by conditioning and telescoping, gives the standard estimate
Combining it with yields
Choose . If then and the prefactor is ; if , that is , the prefactor is . In either case , which proves the claim.
C Stepsize Estimates
The following elementary estimates are the only properties of the stepsize sequence (15) used in Section 3. Bounds (46) and (47) convert the accumulated stepsize into an explicit rate; bounds (48) and (49) are what keep the blocks of (18) from growing by more than a factor two on the shifted clock .
Lemma 7 (Stepsize sums and block growth). Let the stepsizes satisfy Assumption 4. If , then for every ,
while if , then for every ,
If in addition the first inequality in (16) holds, then for every integer ,
Finally, for all integers ,
Proof. Since is decreasing, , and summing over gives
which is (46) for and (47) for .
For (48), the indices satisfy , so each of these stepsizes is at least and
using together with , and .
For (49), the hypothesis gives , hence
References
[1] Jinane Abounadi, Dimitri B. Bertsekas, and Vivek S Borkar. Learning algorithms for Markov decision processes with average cost. SIAM Journal on Control and Optimization, 40(3):681–698, 2001.
[2] Heinz H Bauschke, Dominikus Noll, and Hung M Phan. Linear and strong convergence of algorithms involving averaged nonexpansive operators. Journal of Mathematical Analysis and Applications, 421(1):1–20, 2015.
[3] Amir Beck. First-order methods in optimization. SIAM, 2017.
[4] Dimitri P. Bertsekas and John N. Tsitsiklis. An analysis of stochastic shortest path problems. Mathematics of Operations Research, 16(3):580–595, 1991.
[5] Ethan Blaser and Shangtong Zhang. Asymptotic and finite sample analysis of nonexpansive stochastic approximations with Markovian noise. Proceedings of the AAAI Conference on Artificial Intelligence, 2026.
[6] Mario Bravo and Roberto Cominetti. Stochastic fixed-point iterations for nonexpansive maps: Convergence and error bounds. SIAM Journal on Control and Optimization, 62(1):191–219, 2024.
[7] Siddharth Chandak, Vivek S. Borkar, and Parth Dodhia. Concentration of contractive stochastic approximation and reinforcement learning. Stochastic Systems, 12(4):411–430, 2022.
[8] Zaiwei Chen. Non-asymptotic guarantees for average-reward q-learning with adaptive stepsizes. Advances in Neural Information Processing Systems, 38:147194–147249, 2026.
[9] Zaiwei Chen, Siva Theja Maguluri, Sanjay Shakkottai, and Karthikeyan Shanmugam. Finite-sample analysis of contractive stochastic approximation using smooth convex envelopes. Advances in Neural Information Processing Systems, 33:8223–8234, 2020.
[10] Zaiwei Chen, Sheng Zhang, Jimmy Zhang, Shaan Ul Haque, and Siva Theja Maguluri. A nonasymptotic theory of seminorm lyapunov stability: From deterministic to stochastic iterative algorithms. Mathematics of Operations Research, 2026. doi: 10.1287/moor.2025.0920.
[11] Zijun Chen, Zaiwei Chen, Nian Si, and Shengbo Wang. Achieving dependence for average-reward Q-learning with a new contraction principle. arXiv preprint arXiv:2601.21301, 2026.
[12] Roberto Cominetti, José A. Soto, and José Vaisman. On the rate of convergence of Krasnosel'skï–Mann iterations and their connection with sums of Bernoulli random variables. Israel Journal of Mathematics, 199(2):757–772, 2014.
[13] Ying Jin, Ramki Gummadi, Zhengyuan Zhou, and Jose Blanchet. Feasible Q-learning for average reward reinforcement learning. In Proceedings of the 27th International Conference on Artificial Intelligence and Statistics, volume 238 of Proceedings of Machine Learning Research, pages 1630–1638. PMLR, 2024.
[14] Jongmin Lee, Mario Bravo, and Roberto Cominetti. Near-optimal sample complexity for MDPs via anchoring. In Proceedings of the 42nd International Conference on Machine Learning, volume 267, pages 32907–32929. PMLR, 2025.
[15] Gen Li, Changxiao Cai, Yuxin Chen, Yuting Wei, and Yuejie Chi. Is Q-learning minimax optimal? a tight sample complexity analysis. Operations Research, 72(1):222–236, 2024.
[16] Martin L Puterman. Markov decision processes: discrete stochastic dynamic programming. John Wiley & Sons, 2014.
[17] Paul J Schweitzer and Awi Federgruen. The functional equations of undiscounted Markov renewal programming. Mathematics of Operations Research, 3(4):308–321, 1978.
[18] R. Srikant and Lei Ying. Finite-time error bounds for linear stochastic approximation and TD learning. In Proceedings of the Thirty-Second Conference on Learning Theory, volume 99 of Proceedings of Machine Learning Research, pages 2803–2830. PMLR, 2019.
[19] Martin J. Wainwright. Stochastic approximation with cone-contractive operators: Sharp -bounds for Q-learning. arXiv preprint arXiv:1905.06265, 2019.
[20] Yi Wan, Abhishek Naik, and Richard S. Sutton. Learning and planning in average-reward Markov decision processes. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 10653–10662. PMLR, 2021.
[21] Yi Wan, Huizhen Yu, and Richard S. Sutton. On convergence of average-reward Q-learning in weakly communicating Markov decision processes. arXiv preprint arXiv:2408.16262, 2024.
[22] Sheng Zhang, Zhe Zhang, and Siva Theja Maguluri. Finite sample analysis of average-reward TD learning and Q-learning. In Advances in Neural Information Processing Systems, volume 34, pages 1230–1242, 2021.
[23] Matthew Zurek and Yudong Chen. Span-based optimal sample complexity for weakly communicating and general average reward MDPs. Advances in Neural Information Processing Systems, 37, 2024.