Almost Sure Convergence Rates of Stochastic Approximation and Reinforcement Learning via a Poisson-Moreau Drift

Xinyu Liu, Zixuan Xie, Shangtong ZhangNeurIPS 2026

TL;DR

When reinforcement learning agents learn from a continuous stream of experience, we know their estimates eventually settle on the right answer, and we know how fast they improve on average across parallel universes. What has been missing is a sharp speedometer for a single, real-world run. By fusing two classic mathematical tools into a new "Poisson-Moreau drift," the authors prove the sharpest trajectory-wise convergence rates to date for a wide family of RL and stochastic approximation algorithms.

What Problem Does This Paper Address?

Imagine training a robot using $Q$-learning or Temporal Difference (TD) learning. At every step $n$, you nudge your parameters $\theta_n$ using noisy data: $\theta_{n+1} = \theta_n + \alpha_n F(\theta_n, Y_n)$.

Most theoretical guarantees tell you how the error shrinks in expectation (averaging across infinitely many hypothetical runs). Far stronger—and much harder to prove—is almost sure convergence, which guarantees what happens on the single sample path you actually run in the lab. Classical tools (like the ODE method) prove that your single trajectory will eventually hit the target, but they don't tell you how fast.

Getting an explicit speed limit for a single trajectory is especially thorny in modern RL because of two simultaneous headaches:

  1. Markovian noise: Data arrives from a single unfolding trajectory, meaning step $n$ is correlated with step $n-1$ (unlike clean, independent coin flips).
  2. Non-Euclidean contractions: Many RL updates (like $Q$-learning) only shrink errors reliably when measured in "pointy" geometries like the $\ell_\infty$ max-norm, where standard calculus breaks down because the norm isn't smooth.
Comparison of stochastic approximation works establishing almost sure convergence rates.

Until recently, only one paper (Qian et al., 2024) managed to derive almost sure convergence rates under both conditions—and its bounds left significant room for improvement, especially for standard $1/n$ learning rates.

Methods

To measure whether an algorithm is making progress, theorists build a Lyapunov (or drift) function—think of it as a bowl-shaped energy landscape where rolling downhill means getting closer to the true answer $\theta_*$.

The authors combine two established techniques into a novel Lyapunov function called the Poisson-Moreau drift:

  • The Standard Smoothers (Moreau Envelopes): Because norms like $\ell_\infty$ have sharp corners, you can't take derivatives to track downhill progress. Following prior work, the authors wrap the error norm in a Moreau envelope ($M_\xi$), which sands down the corners into a smooth, differentiable proxy bowl while preserving the contraction property.
  • The Standard Noise-Canceler (Poisson Equation): To handle correlated Markovian noise, theorists often use a Poisson equation to split the messy Markovian bias into a well-behaved zero-mean noise term plus a "telescoping" difference between consecutive steps. Usually, researchers take an average over all trajectories so those consecutive terms cancel out neatly—destroying single-path guarantees in the process.
  • What's New (Putting the Correction Inside the Bowl): Instead of averaging across runs, the authors bake a Poisson-equation correction term directly into the energy function itself, alongside a tiny quadratic buffer $K\alpha_n^2$ to keep the energy strictly non-negative: $$V_n^\xi = M_\xi(e_n) + \alpha_n \langle \nabla M_\xi(e_n), H_{\theta_n}(Y_n) \rangle + K\alpha_n^2$$ This clever algebraic shift cancels the leading Markovian bias step-by-step along a single trajectory, turning the energy into an "almost-supermartingale" (a process that reliably trends downward despite random bumps) and unlocking sharp pathwise convergence theorems.

Datasets

Not discussed in the paper. This is a foundational theoretical work; while the authors mention a numerical illustration in the appendix, no external benchmarks or empirical datasets are used in the main text.

Key Insights and Ideas

  • Don't sub-sample time; shift the energy: Prior work (Qian et al., 2024) coped with Markovian correlations by only analyzing "skeleton iterates" (checking the algorithm at spaced-out time steps so the Markov chain has time to forget its past), which degraded their rate bounds. Baking the Poisson correction directly into the drift lets you analyze every single time step without throwing away rate sharpness.
  • Mixing speed doesn't bottleneck the asymptotic exponent: As long as the underlying Markov chain mixes geometrically fast, the exact mixing rate $\mu$ only affects hidden constants—it does not slow down the polynomial exponent $n^{-\zeta}$ of your convergence rate.
  • Mean-square convergence without square-summable step sizes: As a neat side product, taking the standard expectation of their drift yields $L^2$ (mean-square) convergence rates across the entire learning rate spectrum $\eta \in (0, 1]$, bypassing the traditional requirement that step sizes must be square-summable ($\eta > 1/2$).

Key Results

For step sizes decaying as $\alpha_n = \alpha / (n+1)^\eta$, the authors track how fast the squared error $\|\theta_n - \theta_*\|^2$ vanishes along almost every trajectory:

Comparison of squared-error almost sure convergence rates against prior state-of-the-art.
  • Wider step-size coverage ($1/2 < \eta \le 2/3$): Previous work couldn't provide guarantees here; this paper proves squared-error rates arbitrarily close to $o(n^{-(2\eta-1)})$.
  • Faster power-law rates ($2/3 < \eta < 1$): Improves the squared-error exponent from prior work's $o(n^{-(1.5\eta - 1)})$ to arbitrarily close to $o(n^{-(2\eta - 1)})$.
  • Breaking the subpolynomial barrier ($\eta = 1$): For harmonic step sizes $\alpha/(n+1)$, prior guarantees decayed slower than any polynomial. This work achieves $o(n^{-\zeta})$ for any $\zeta < \min\{1, 2(1-\kappa)\alpha\}$ (where $\kappa$ is the contraction factor). If $\alpha$ is chosen large enough so $2(1-\kappa)\alpha \ge 1$, you get rates arbitrarily close to $o(n^{-1})$—knocking right on the door of the classical $O(n^{-1}\log\log n)$ theoretical speed limit from the Law of the Iterated Logarithm.
  • Unified RL Applications: The authors apply this machinery to prove the first pathwise convergence rates for a broad, single-trajectory generalized TD-learning family—covering on/off-policy $n$-step TD, $Q^\pi(\lambda)$, Retrace, Tree-Backup, and $Q$-trace—without needing artificial projection steps to keep parameters bounded.

Limitations and Future Work

  • Slowly decaying step sizes ($\eta \le 1/2$): While their framework yields average ($L^2$) rates for $\eta \in (0, 1/2]$, the almost sure proof still requires $\sum \alpha_n^2 < \infty$ ($\eta > 1/2$) to keep accumulated noise residuals finite. Extending single-path rates to $\eta \le 1/2$ remains open.
  • Closing the final $\log\log n$ gap: Getting arbitrarily close to $o(n^{-1})$ is a huge leap over subpolynomial bounds, but it still falls Hair-thin short of matching the exact $O(n^{-1}\log\log n)$ Law of the Iterated Logarithm benchmark.
  • High-probability tail bounds: Prior skeleton-iterate analyses also provided finite-time concentration bounds with exponentially decaying error tails. Whether the Poisson-Moreau drift can be sharpened to yield similar exponential tail guarantees is left for future work.

Summary updated

Abstract

Establishing almost sure convergence rates for stochastic approximation and reinforcement learning under Markovian noise is a fundamental theoretical challenge. We make progress towards this challenge for a class of stochastic approximation algorithms whose expected updates are contractive, a setting that arises in many reinforcement learning algorithms such as $Q$-learning and linear temporal difference learning. Specifically, for a power-law learning rate $\mathcal{O}(n^{-\eta})$ with $\eta \in (1/2, 1)$, we obtain an almost sure convergence rate arbitrarily close to $o(n^{1 - 2\eta})$. For the harmonic learning rate $\alpha_n=\alpha/(n+1)$, the almost sure squared-error rate is $o(n^{-\zeta})$ for every $\zeta<\min\{1,2(1-\kappa)\alpha\}$, where $\kappa$ is the contraction factor. Thus exponents arbitrarily close to one are available when $2(1-\kappa)\alpha\geq1$. This approaches the $n^{-1}$ polynomial exponent of classical law-of-the-iterated-logarithm benchmarks. Key to our analysis is a novel Lyapunov drift construction that applies a Poisson-equation based correction for Markovian noise to the well-established Moreau-envelope smoothing for the contractive mapping.
BibTeX
@inproceedings{liu2026almost,
  author = {Xinyu Liu and Zixuan Xie and Shangtong Zhang},
  title = {{Almost Sure Convergence Rates of Stochastic Approximation and Reinforcement Learning via a Poisson-Moreau Drift}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=brmKAqSWd0},
}
Figure