arXiv:2610.37858math.STOct 2026

Manuscript Offprint

arXiv:2610.37858

Wasserstein Bounds for Euler and Randomized Midpoint Langevin Sampling with Noisy Gradients

Yifei Xiong, Vinayak Rao

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

Abstract

Stochastic-gradient Langevin methods are sampling algorithms that replace the gradient of the log probability density by a noisy, possibly biased evaluation. We study how such gradient-evaluation errors affect the Euler and randomized midpoint discretizations of Langevin dynamics by comparing each noisy chain with its exact-gradient counterpart. For continuously differentiable, strongly log-concave targets with globally Lipschitz gradients, we derive comparison bounds under a sub-Gaussian condition on the gradient noise. The resulting 2-Wasserstein bounds hold uniformly over iterations, and are linear in both the step size and the L2L^{2} norm of the evaluation bias, with a square-root dependence on dimensionality. To the best of our knowledge, no comparable 2-Wasserstein bounds have previously been established for randomized midpoint with noisy gradients. For Euler, our results complement recent Wasserstein bounds by allowing biased evaluations, and by not requiring additional regularity assumptions on the evaluation errors.

1 Introduction

Langevin Monte Carlo (LMC) provides a simple way to sample from a density π(x)∝exp⁡(−U(x))\pi(x)\propto\exp(-U(x)) using evaluations of ∇U\nabla U. In many settings, gradient evaluations can dominate the computational cost. For instance, if π\pi is a Bayesian posterior distribution based on a large data set, each exact gradient may require a pass through all observations. Stochastic gradient Langevin dynamics (SGLD) replaces this calculation by a gradient estimate based on a small random subset of the data (Welling and Teh, 2011). This reduces the cost of each step, but introduces an additional source of error into an already discretized process. We refer the reader to Nemeth and Fearnhead (2021) for a review of stochastic gradient Monte Carlo.

An approximate drift evaluation can contain both a systematic bias and a centered random error. Even when the evaluation is unbiased, its random fluctuations can change the distribution sampled at a fixed step size. Vollmer et al. (2016) characterize the dependence of SGLD’s asymptotic bias on the step size and gradient variance, and study the bias and variance of finite-time estimators. Brosse et al. (2018) show that this variance can substantially affect sampling accuracy as the data set grows. Variance reduction offers one way to limit this effect (Chatterji et al., 2018). For Euler discretization, Dalalyan and Karagulyan (2019) give nonasymptotic Wasserstein bounds that separate the contributions of bias and centered fluctuations.

Li and Wang (2025) use relative entropy to compare SGLD with the Langevin diffusion uniformly in time, obtaining first-order Wasserstein accuracy under their regularity and initialization assumptions. More recently, Paulin and Whalley (2026) obtain first-order Wasserstein bounds between the invariant distribution of SGLD and the target distribution under fourth-moment and mean-square Lipschitz conditions on centered gradient errors. Their analysis compares SGLD with a stationary exact-gradient Euler chain and also yields finite-time bounds relative to the target distribution.

Here, we directly compare the distributions of the noisy and exact-gradient chains of the same discretization at each iteration, starting from a common initial distribution that need not be stationary. This quantifies the additional error from approximate gradients separately from the discretization. We assume a sub-Gaussian condition on the centered errors, without requiring additional regularity of the evaluation errors. The resulting comparison bounds are uniform over iterations and also allow biased evaluations.

These comparison bounds can be combined with exact-gradient error bounds to control the distance to the target distribution. Dalalyan and Karagulyan (2026) sharpen Wasserstein bounds for LMC using average coordinate-wise smoothness. For twice continuously differentiable, strongly convex potentials with Lipschitz gradients, Pedrotti and Whalley (2026) establish an order-α\alpha bound on the 2-Wasserstein distance between the invariant distribution of exact-gradient Euler and the target distribution, where α\alpha is the step size. This motivates seeking an order-α\alpha bound for the effect of centered gradient errors, with a separate term for systematic bias.

We also study the randomized midpoint (RM) method. Introduced for log-concave sampling by Shen and Lee (2019), RM uses two drift evaluations per step, one at the current state and one at a random intermediate state. Its stationary bias and asymptotic normality have been studied by He et al. (2020). For twice differentiable, strongly convex potentials with Lipschitz gradients, Yu et al. (2024) establish a Wasserstein discretization bound of order α\alpha. This raises the question of whether RM retains this accuracy when both drift evaluations in each step are approximate. Extending the comparison to RM requires accounting for the second evaluation at a random state that depends on both the first evaluation and the Gaussian noise within the step.

We address this question for conditionally sub-Gaussian centered errors, uniformly over the query points. For the Euler method, we obtain an order-(α+δ)(\alpha+\delta) comparison between the noisy and exact-gradient chains in 2-Wasserstein distance, where δ\delta controls the evaluation bias in L2L^{2}. For RM, we allow both evaluations to be biased and obtain a uniform comparison bound of the same order. Both comparisons hold for continuously differentiable, strongly convex potentials with globally Lipschitz gradients. The bounds depend explicitly on the dimension pp through a factor of p\sqrt{p}. Combining them with the exact-gradient bounds under their additional assumptions yields sampling accuracy of order α\alpha for both methods when the evaluations are unbiased or δ=O(α)\delta=O(\alpha), once the initialization error has decayed to this scale. A fixed finite-variance Euler example shows that second-moment control alone cannot guarantee this first-order comparison.

The rest of the paper is organized as follows. Section 2 introduces the discretizations and the drift-error model. Section 3 presents the Euler and RM bounds, with proofs in Appendix A. Numerical experiments are presented in Section 4, and Section 5 discusses the implications and limitations of the results.