Prelimit Coupling and Steady-State Convergence of Constant-stepsize Nonsmooth Contractive SA

Yixuan Zhang, Dongyan Lucy Huo, Yudong Chen, Qiaomin Xie

Abstract

Stochastic Approximation (SA) is a cornerstone of modern reinforcement learning and optimization. While the behavior of smooth SA under constant stepsizes is well-documented, nonsmooth operators—such as the max function in Q-learning—introduce complexities that standard analytical tools cannot resolve. This paper establishes that constant-stepsize nonsmooth SA converges to a unique stationary distribution. Crucially, we demonstrate that the asymptotic bias in these systems scales with the square root of the stepsize ($\sqrt{\alpha}$), a significant departure from the linear bias observed in smooth settings. This theoretical insight allows for the application of Richardson-Romberg extrapolation to effectively reduce estimation errors in nonsmooth algorithms.

Introduction

Stochastic Approximation (SA) provides a robust framework for finding fixed points of functions using noisy observations. In practical applications, researchers frequently employ a constant stepsize ($\alpha$) to ensure rapid convergence and the ability to track non-stationary environments. However, this approach introduces an inherent trade-off: the algorithm does not converge to a single point but instead oscillates within a stationary distribution, creating an asymptotic bias.

For differentiable (smooth) problems, this bias is typically proportional to the stepsize $\alpha$. However, many critical algorithms, most notably Q-learning, utilize nonsmooth operators. The lack of differentiability at solution points prevents the use of standard Taylor expansions, leaving the steady-state behavior of such systems largely uncharacterized until now.

Methodology

To analyze the convergence of nonsmooth SA, we introduce a novel theoretical framework termed Prelimit Coupling. This framework allows us to prove that the algorithm's iterates converge geometrically in Wasserstein-2 distance to a unique stationary distribution.

Commutative diagram of the Prelimit Coupling framework.

The coupling argument proceeds in three primary stages:

  1. Gaussian Noise and Rational Stepsizes: Establishing convergence for a simplified case involving Gaussian noise and rational stepsizes.
  2. General Stepsizes: Extending the result to all real-valued stepsizes by demonstrating that the iterate distribution varies continuously with $\alpha$.
  3. General Noise: Utilizing a multivariate Berry-Esseen bound to generalize the results to any noise distribution with finite moments.

To address the non-differentiability of the operators, we employ the Moreau Envelope. This technique constructs a smooth approximation of the nonsmooth function, which then serves as a Lyapunov function to track the convergence of the system.

Key Insights: The $\sqrt{\alpha}$ Bias

The most significant theoretical contribution of this work is the characterization of the asymptotic bias. In nonsmooth SA, the error does not scale linearly with the stepsize. Instead, due to the "kinks" in the operator at the fixed point, the bias follows the relationship:

$$\mathbb{E}[\theta^{(\alpha)}] - \theta^* = \mathbb{E}[Y]\sqrt{\alpha} + o(\sqrt{\alpha})$$

This $\sqrt{\alpha}$ scaling is a fundamental shift in the "physics" of the bias. Furthermore, we show that the limiting distribution of the scaled iterates is universal, depending on the noise only through its variance rather than its specific distribution shape.

Applications in Q-learning and Bias Correction

Our analysis reveals that the $\sqrt{\alpha}$ bias in Q-learning is specifically tied to scenarios where multiple optimal actions exist at a reachable state (Type A MDPs). In contrast, if the optimal policy is unique (Type B), the bias decays superpolynomially.

Understanding the exact order of the bias enables a powerful correction technique: Richardson-Romberg (RR) extrapolation. By running two SA processes in parallel with stepsizes $\alpha$ and $2\alpha$, the leading $\sqrt{\alpha}$ bias term can be mathematically canceled. Numerical experiments confirm that RR extrapolation significantly outperforms standard tail-averaging (Polyak-Ruppert averaging), which is ineffective at reducing this specific nonsmooth bias.

Conclusion

This work provides a rigorous foundation for understanding the steady-state behavior of nonsmooth stochastic approximation. By identifying the $\sqrt{\alpha}$ bias and introducing the Prelimit Coupling framework, we offer both a new theoretical lens and practical tools for improving the accuracy of algorithms like Q-learning. Future research will focus on extending these results to Markovian noise environments and non-contractive operators.

Summary updated

BibTeX
@inproceedings{zhang2024prelimit,
  author = {Yixuan Zhang and Dongyan Lucy Huo and Yudong Chen and Qiaomin Xie},
  title = {{Prelimit Coupling and Steady-State Convergence of Constant-stepsize Nonsmooth Contractive SA}},
  booktitle = {SIGMETRICS/Performance (Abstracts)},
  year = {2024},
  doi = {10.1145/3652963.3655076},
}
Figure