Skip to content

Menu

WorksMathematics

Optimal Last-Iterate Bounds for Nonexpansive Stochastic Approximation

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_58u3h8gd. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

We establish last-iterate mean-square residual bounds for nonexpansive stochastic approximation (SA), or stochastic Krasnoselskii-Mann (KM) iterations. In particular, we consider fixed-point mappings that are nonexpansive with respect to the Euclidean norm, and focus on polynomially decaying stepsizes. We study three conditions on the conditional second moment of the noise, and obtain bounds that are optimal up to logarithmic factors in each case. When it scales linearly with the squared residual, the best rate is O(1/k1−ε)O(1/k^{1-ε}) for any ε>0ε>0. In this case, for all considered stepsizes, our bounds match those of the noiseless KM iteration. When it is bounded by a constant, the best rate is O(log⁡2k/k)O(\log^2 k/\sqrt{k}). When it scales affinely with the squared norm of the iterate, the best rate is O(1/k1/2−ε)O(1/k^{1/2-ε}), and the mean-square residual can diverge if the stepsizes are not square-summable. Thus, unlike for contractive SA, square-summable stepsizes are necessary for nonexpansive SA. We demonstrate how various algorithms with cocoercive maps, such as stochastic gradient descent, linear SA, and learning in cocoercive games, fit into our framework, and how the different noise conditions arise in each of them.

Introduction

Stochastic approximation (SA) is a class of iterative algorithms to find fixed points of an operator given its noisy realizations [28]. These algorithms have found applications in various areas, including optimization, reinforcement learning [33], communications and stochastic control [2]. Consider the SA iteration

xk+1=xk+βk(f(xk)−xk+Mk+1).x_{k+1}=x_k+\beta_k\left(f(x_k)-x_k+M_{k+1}\right).

Here, xk∈Rdx_k \in\mathbb{R}^d is the iterate, βk\beta_k is the stepsize, {Mk+1}\{M_{k+1}\} is a martingale difference noise sequence, and f:Rd→Rdf:\mathbb{R}^d \to\mathbb{R}^d is the mapping for which we wish to find a fixed point x⋆x^\star, i.e., a point satisfying f(x⋆)=x⋆f(x^\star)=x^\star.

Most finite-time analyses of SA assume that ff is a contraction [8, 9, 11, 32]. However, this assumption does not hold in many problems of interest, e.g., stochastic gradient descent (SGD) for convex functions that are not strongly convex, where the gradient step is only nonexpansive. In this work, we study SA where ff is nonexpansive with respect to the Euclidean norm. These iterations are also known as stochastic Krasnoselskii–Mann (KM) iterations [22, 26]. As nonexpansive mappings need not have a unique fixed point, we bound the last-iterate mean-square residual E[∥f(xk)−xk∥2]\mathbb{E}\left[\lVert f(x_k)-x_k\rVert^2\right] rather than the distance to a fixed point.

While there has been recent interest in stochastic fixed-point computation for nonexpansive mappings, existing works differ from ours in two ways. First, some works consider mappings that are nonexpansive with respect to general norms [1, 4]. Due to their more general scope, their bounds are weaker than what can be obtained in the Euclidean setting. Second, other works modify the iteration, either through Halpern-type anchoring [5, 6, 16, 31] or through modifications of the KM iteration such as minibatches or inertia [19, 35]. In contrast, we focus on the standard stochastic KM iteration with polynomially decaying stepsizes under the Euclidean norm.

We study three conditions on the conditional second moment of the noise. Under each condition, we obtain the first last-iterate mean-square residual bounds that are optimal up to logarithmic factors.

  • (R) Residual-dependent: bounded by a multiple of the squared residual ∥f(xk)−xk∥2\lVert f(x_k)-x_k\rVert^2.

    • Best rate: O(1/k1−ϵ)O(1/k^{1-\epsilon}), where ϵ>0\epsilon> 0 can be arbitrarily small.

  • (C) Bounded by a Constant.

    • Best rate: O~(1/k)\widetilde{O}(1/\sqrt{k}), where O~\widetilde{O} hides logarithmic factors.

  • (I) Iterate-dependent: bounded by an affine function of the squared norm of the iterate ∥xk∥2\lVert x_k\rVert^2.

    • Best rate: O(1/k1/2−ϵ)O(1/k^{1/2-\epsilon}), where ϵ>0\epsilon> 0 can be arbitrarily small.

While most finite-time guarantees for stochastic KM iterations are obtained under condition C [4, 5], condition I is the standard noise model in the SA literature [2]. We additionally include condition R for two reasons. First, it arises in applications, e.g., as the strong growth condition for SGD [30, 34]. Second, it shows that noise vanishing at the fixed points does not slow down convergence: under condition R, our bounds match those for the noiseless KM iteration for all polynomially decaying stepsizes, which is not the case under condition C or I. Moreover, under condition I, we show that square-summable stepsizes are necessary, as the mean-square residual can otherwise diverge. This requirement is absent for contractive SA, where convergence is achieved even for non-square-summable stepsizes [8, 11], and thus just moving from contractive to nonexpansive mappings brings it back. We explain the relevance of these conditions through three applications: SGD, linear SA, and learning in games.

Finally, we briefly outline our proof technique. Bounding the ergodic residual, i.e., a weighted average of past residuals, is well understood from the analysis of inexact KM iterations [15, 24]. To obtain the last-iterate bound, we compare the stochastic iterates with a noiseless auxiliary iteration restarted from an earlier stochastic iterate, and bound how far the two trajectories can drift apart.

Related Work

In recent years, stochastic KM iterations have been studied for mappings that are nonexpansive with respect to general norms. In this setting, almost sure convergence and finite-time last-iterate expected residual bounds were established in [4], and extended to Markovian noise in [1]. In contrast, we focus on the Euclidean norm, which allows us to obtain sharper bounds on the mean-square residual. Moreover, while the analyses in [1, 4] also rely on an auxiliary iteration, it is defined through an averaged noise sequence rather than a noiseless iteration.

Much of the remaining literature on nonexpansive mappings either modifies the KM iteration or studies variants of Halpern iterations. The former includes works using increasing batch sizes [19] and introducing inertia [35], and the latter includes Halpern iterations combined with minibatches [5, 20], variance reduction [6, 16, 17, 21], or tuned anchoring schedules [31].

Bounds on the convergence rates of two-time-scale SA with a nonexpansive mapping in the slower time-scale have also been obtained in [7, 29]. While the slower time-scale in this setting is also a stochastic inexact KM iteration, its rates are further limited by the time-scale separation.

Closest to our work, [14] studies stochastic KM iterations in Hilbert spaces. It assumes that each sampled function is nonexpansive and that the noise has finite variance at a fixed point, and establishes almost sure convergence and finite-time last-iterate mean-square residual bounds. In contrast, we require only the underlying function ff to be nonexpansive and impose moment conditions directly on the noise, without requiring it to arise from sampled nonexpansive functions. Moreover, our bounds improve on those of [14] for some stepsizes and match them for others.

Outline and Notation

The paper is organized as follows. Section § 2 sets up the problem and presents our upper bounds under each noise condition, followed by remarks on the choice of stepsizes and the optimality of the bounds. Section § 3 gives a proof sketch of the upper bounds. Section § 4 presents the lower bounds, which establish optimality, and the divergence result under condition I. Section § 5 discusses three applications and how our noise conditions arise in them. Finally, Section § 6 concludes the paper.

Throughout, ∥⋅∥\|\cdot\| and ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle denote the Euclidean norm and inner product on Rd\mathbb{R}^{d}. For sequences, O(⋅)O(\cdot) and Ω(⋅)\Omega(\cdot) denote the standard order notation, and O~(⋅)\widetilde{O}(\cdot) additionally hides logarithmic factors.

Problem Formulation and Main Results

Consider the following iteration.

xk+1=xk+βk(f(xk)−xk+Mk+1).(1)x_{k+1}=x_k+\beta_k\left(f(x_k)-x_k+M_{k+1}\right). \tag*{(1)}

Here, xk∈Rdx_k\in\mathbb{R}^{d} is the iterate and βk\beta_k is the stepsize at time k≥0k\ge0. The function f:Rd→Rdf:\mathbb{R}^{d}\to\mathbb{R}^{d} denotes the mapping whose fixed point we wish to find, and Mk+1M_{k+1} denotes the martingale difference noise sequence.

The first assumption states that the mapping ff is nonexpansive and has at least one fixed point.

Assumption 1. The function ff is nonexpansive, i.e., for all x1,x2∈Rdx_1,x_2\in\mathbb{R}^{d},

∥f(x1)−f(x2)∥≤∥x1−x2∥.\|f(x_1)-f(x_2)\|\le\|x_1-x_2\|.

Moreover, the set of fixed points X⋆={x∈Rd:f(x)=x}\mathcal{X}^{\star}=\{x\in\mathbb{R}^{d}:f(x)=x\} is nonempty.

Unlike a contraction, a nonexpansive mapping can have multiple fixed points. Hence, instead of the distance ∥xk−x⋆∥\|x_k-x^\star\| to a particular fixed point x⋆x^\star, we measure convergence through the residual ∥f(xk)−xk∥\|f(x_k)-x_k\|, which is the standard measure of convergence for nonexpansive SA and KM iterations. Our objective is to obtain finite-time bounds on the last-iterate mean-square residual E[∥f(xk)−xk∥2]\mathbb{E}[\|f(x_k)-x_k\|^2].

We next state the assumption on the noise sequence {Mk+1}\{M_{k+1}\}. We consider three different conditions on its conditional second moment, and obtain a separate bound under each of them.

Assumption 2. Define the family of σ\sigma-fields Fk=σ(x0,Mi,i≤k)\mathcal{F}_k=\sigma(x_0,M_i,i\le k). Then {Mk+1}\{M_{k+1}\} is a martingale difference sequence with respect to Fk\mathcal{F}_k, i.e., E[Mk+1∣Fk]=0\mathbb{E}[M_{k+1}\mid\mathcal{F}_k]=0. Moreover, for some constant σ>0\sigma>0, one of the following conditions holds for all k≥0k\ge0.

(R) Conditional second moment is Residual-dependent:

E[∥Mk+1∥2∣Fk]≤σ2∥f(xk)−xk∥2.\mathbb{E}\left[\|M_{k+1}\|^2\mid\mathcal{F}_k\right]\le\sigma^2\|f(x_k)-x_k\|^2.

(C) Conditional second moment is bounded by a Constant:

E[∥Mk+1∥2∣Fk]≤σ2.\mathbb{E}\left[\lVert M_{k+1}\rVert^2 \mid\mathcal{F}_k\right] \le\sigma^2.

(I) Conditional second moment is affinely bounded by the Iterate:

E[∥Mk+1∥2∣Fk]≤σ2(1+∥xk∥2).\mathbb{E}\left[\lVert M_{k+1}\rVert^2 \mid\mathcal{F}_k\right] \le\sigma^2\left(1+\lVert x_k\rVert^2\right).

Under condition R, the noise scales with the residual, and hence vanishes at the fixed points of ff. For example, for SGD iterations, noise whose conditional second moment scales with the squared norm of the gradient satisfies condition R [3, 30, 34]. Condition I is the most general of the three, and is the standard noise model in the SA literature [2, 23]. It clearly subsumes condition C, and also subsumes condition R, albeit with σ2\sigma^2 replaced by 8σ2max⁡{1,∥x⋆∥2}8\sigma^2\max\{1,\lVert x^\star\rVert^2\} for any x⋆∈X⋆x^\star\in\mathcal{X}^\star. However, the more restrictive conditions lead to better rates, and we therefore treat the three conditions separately.

Finally, we state the assumption on the stepsize sequence.

Assumption 3. The stepsize sequence is of the form

βk=β(k+K0)b,\beta_k = \frac{\beta}{(k+K_0)^b},

where b∈(0,1)b \in(0,1), 0<β≤1/20 < \beta\le1/2, and K0≥1K_0 \ge1. Moreover, under condition R in Assumption 2, (1+σ2)β0<1(1+\sigma^2)\beta_0 < 1.

The conditions β≤1/2\beta\le1/2 and K0≥1K_0 \ge1 ensure that βk≤1/2\beta_k \le1/2 for all k≥0k \ge0. The additional condition under noise condition R ensures that the stepsize is sufficiently small relative to the noise magnitude, starting from time k=0k=0. We do not consider stepsizes of the form βk=Θ(1/k)\beta_k = \Theta(1/k), as they lead to bounds of the form O(1/log⁡k)O(1/\log k), which are weaker than the bounds obtained for b<1b<1.

We now state our main results, one for each noise condition in Assumption 2. An outline of their proofs is presented in § 3, and the complete proofs are given in Appendix § 7. The lower bounds showing optimality of these results are presented in § 4. Each theorem is followed by a short discussion of the resulting rate and the choice of stepsize.

Theorem 1. Suppose Assumptions 1–3 hold, with noise condition R in Assumption 2. Then there exists a constant c1>0c_1 > 0 such that, for all k≥0k \ge0,

E[∥f(xk)−xk∥2]≤c1(k+1)1−b.\mathbb{E}\left[\lVert f(x_k)-x_k\rVert^2\right] \le\frac{c_1}{(k+1)^{1-b}}.

Moreover, this bound is optimal (see Remark 1).

Best rate. A slowly decreasing stepsize, i.e., a smaller bb, gives a better rate. In fact, we achieve the same rate as that achieved for noiseless KM iterations [13, 15]. The best rate is O(1/k1−ϵ)O(1/k^{1-\epsilon}), where ϵ>0\epsilon>0 can be arbitrarily small, and is achieved by choosing b=ϵb=\epsilon.

Theorem 2. Suppose Assumptions 1–3 hold, with noise condition C in Assumption 2. Then there exist constants c2,c3>0c_2,c_3>0 such that, for all k≥0k \ge0,

E[∥f(xk)−xk∥2]≤{c2log⁡2(k+2)(k+1)b,0<b≤12,c3(k+1)1−b,12<b<1.\mathbb{E}\left[\lVert f(x_k)-x_k\rVert^2\right] \le \begin{cases} \dfrac{c_2\log^2(k+2)}{(k+1)^b}, & 0<b\le\dfrac{1}{2},\\ \dfrac{c_3}{(k+1)^{1-b}}, & \dfrac{1}{2}<b<1. \end{cases}

Moreover, this bound is optimal up to a logarithmic factor (see Remark 1).

Non-monotone dependence on the stepsize. Unlike in Theorem 1, the rate is no longer monotone in bb. For b>1/2b > 1/2, a smaller bb gives a better rate, as before. For b<1/2b < 1/2, the noise dominates, and the bound decays only as (k+1)−b(k+1)^{-b}, up to logarithmic factors. Hence, the best rate of O~(1/k)\widetilde{O}(1/\sqrt{k}) is achieved by choosing b=1/2b=1/2.

References

  1. [1]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, 40(24):1964–1972, 2026.arxiv.org/abs/2409.19546
  2. [2]Vivek S. Borkar. Stochastic Approximation: A Dynamical Systems Viewpoint, volume 48 of Texts and Readings in Mathematics. Hindustan Book Agency, second edition, 2022.
  3. [3]Léon Bottou, Frank E. Curtis, and Jorge Nocedal. Optimization methods for large-scale machine learning. SIAM Review, 60(2):223–311, 2018.arxiv.org/abs/1606.04838
  4. [4]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.arxiv.org/abs/2208.04193
  5. [5]Mario Bravo and Juan Pablo Contreras. Stochastic Halpern iteration in normed spaces and applications to reinforcement learning. Mathematical Programming, 2026.arxiv.org/abs/2403.12338
  6. [6]Xufeng Cai, Chaobing Song, Cristóbal Guzmán, and Jelena Diakonikolas. Stochastic Halpern iteration with variance reduction for stochastic monotone inclusions. In Advances in Neural Information Processing Systems, volume 35, 2022.arxiv.org/abs/2203.09436
  7. [7]Siddharth Chandak. Nonexpansive mappings in two-time-scale stochastic approximation: Finite-time analysis. SIAM Journal on Control and Optimization, 64(4):3024–3049, 2026.DOI
  8. [8]Siddharth Chandak. Concentration and mean-square bounds for contractive stochastic approximation: A unified elementary approach, 2026. arXiv:2607.17595.arxiv.org/abs/2607.17595
  9. [9]Siddharth Chandak, Vivek S. Borkar, and Parth Doddhia. Concentration of contractive stochastic approximation and reinforcement learning. Stochastic Systems, 12(4):411–430, 2022.arxiv.org/abs/2106.14308
  10. [10]Siddharth Chandak, Ramanan Tamizholli, and Nicholas Bambos. Last-iterate guarantees for learning in co-coercive games, 2026. arXiv:2604.19065.arxiv.org/abs/2604.19065
  11. [11]Zaiwei Chen, Siva Theja Maguluri, Sanjay Shakkottai, and Karthikeyan Shanmugam. Finite-sample analysis of contractive stochastic approximation using smooth convex envelopes. In Advances in Neural Information Processing Systems, volume 33, 2020.
  12. [12]Zaiwei Chen, Siva Theja Maguluri, and Martin Zubeldia. Concentration of contractive stochastic approximation: Additive and multiplicative noise. The Annals of Applied Probability, 35(2):1298–1352, 2025.arxiv.org/abs/2303.15740
  13. [13]Roberto Cominetti, José A. Soto, and José Vaisman. On the rate of convergence of Krasnosel’skii–Mann iterations and their connection with sums of Bernoullis. Israel Journal of Mathematics, 199(2):757–772, 2014.DOI
  14. [14]Daniel Cortild, Coralia Cartis, and Juan Peypouquet. Stochastic Krasnoselskii–Mann iterations: Convergence without uniformly bounded variance, 2026. arXiv:2604.22581.arxiv.org/abs/2604.22581
  15. [15]Damek Davis and Wotao Yin. Convergence rate analysis of several splitting schemes. In Roland Glowinski, Stanley J. Osher, and Wotao Yin, editors, Splitting Methods in Communication, Imaging, Science, and Engineering, Scientific Computation, pages 115–163. Springer, 2016.arxiv.org/abs/1406.4834
  16. [16]Jelena Diakonikolas. Solving stochastic fixed-point equations with high probability, 2026. arXiv:2607.09097.arxiv.org/abs/2607.09097
  17. [17]Jelena Diakonikolas, Cristóbal Guzmán, and David Martínez-Rubio. Oracle complexity of stochastic fixed-point equations with nonexpansive maps, 2026. arXiv:2609.09524.arxiv.org/abs/2609.09524
  18. [18]Francisco Facchinei and Jong-Shi Pang. Finite-Dimensional Variational Inequalities and Complementarity Problems, volume I of Springer Series in Operations Research. Springer, 2003.
  19. [19]Hideaki Iiduka. Mini-batch stochastic Krasnosel’skii–Mann algorithm for nonexpansive fixed point problems, 2026. arXiv:2604.06909.
  20. [20]Hideaki Iiduka. Mini-batch stochastic Halpern algorithm for nonexpansive fixed point problems, 2026. arXiv:2604.21443.
  21. [21]Ege C. Kaya, Arda Fazla, M. Berk Sahin, and Abolfazl Hashemi. A Banach-space theory of Markovian Halpern iteration for non-expansive maps, 2026. arXiv:2608.15966.
  22. [22]Mark Aleksandrovich Krasnosel’skii. Two remarks on the method of successive approximations. Uspekhi Matematicheskikh Nauk, 10(1):123–127, 1955.
  23. [23]Harold J. Kushner and G. George Yin. Stochastic Approximation and Recursive Algorithms and Applications, volume 35 of Stochastic Modelling and Applied Probability. Springer, second edition, 2003.
  24. [24]Jingwei Liang, Jalal Fadili, and Gabriel Peyré. Convergence rates with inexact non-expansive operators. Mathematical Programming, 159(1–2):403–434, 2016.arxiv.org/abs/1404.4837
  25. [25]Tianyi Lin, Zhengyuan Zhou, Panayotis Mertikopoulos, and Michael I. Jordan. Finite-time last-iterate convergence for multi-agent learning in games. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 6161–6171, 2020.
  26. [26]W. Robert Mann. Mean value methods in iteration. Proceedings of the American Mathematical Society, 4(3):506–510, 1953.DOI
  27. [27]Yurii Nesterov. Lectures on Convex Optimization, volume 137 of Springer Optimization and Its Applications. Springer, 2018.DOI
  28. [28]Herbert Robbins and Sutton Monro. A stochastic approximation method. The Annals of Mathematical Statistics, 22(3):400–407, 1951.
  29. [29]Dhruv Sarkar and Vaneet Aggarwal. Non-expansive two-time-scale stochastic approximation: A fixed-schedule one-quarter barrier and bias-corrected acceleration, 2026. arXiv:2607.13414.
  30. [30]Mark Schmidt and Nicolas Le Roux. Fast convergence of stochastic gradient descent under a strong growth condition, 2013. arXiv:1308.6370.
  31. [31]Yekini Shehu. Adaptivity, anchoring, and the exact oracle complexity of stochastic fixed-point iterations, 2026. arXiv:2610.00295.
  32. [32]R. Srikanth and Lei Ying. Finite-time error bounds for linear stochastic approximation and TD learning. In Proceedings of the 32nd Conference on Learning Theory, volume 99 of Proceedings of Machine Learning Research, pages 2803–2830. PMLR, 2019.
  33. [33]Richard S. Sutton and Andrew G. Barto. Reinforcement Learning: An Introduction. MIT Press, second edition, 2018.
  34. [34]Sharan Vaswani, Francis Bach, and Mark Schmidt. Fast and faster convergence of SGD for over-parameterized models and an accelerated perceptron. In Proceedings of the 22nd International Conference on Artificial Intelligence and Statistics, volume 89 of Proceedings of Machine Learning Research, pages 1195–1204, 2019.arxiv.org/abs/1810.07288
  35. [35]Tong Yang, Tao Jiang, Yuejie Chi, Ashok Cutkosky, and Lin Xiao. Stochastic inertial Krasnosel’skii–Mann iteration achieves near-optimal sample complexity, 2026. arXiv:2609.28543.arxiv.org/abs/2609.28543

AI tools statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Pick where to look, or just type