arXiv:2610.36470cs.LGOct 2026

Manuscript Offprint

arXiv:2610.36470

Underdamped Anchored Langevin Dynamics

Qi Feng, Hoang M. Nguyen, Lingjiong Zhu

Abstract

Classical Langevin Monte Carlo algorithms, such as the unadjusted Langevin algorithm (ULA), are based on discretization schemes of the overdamped Langevin dynamics and are widely used for sampling in machine learning because they scale to high dimensions and large datasets. However, they require differentiable log-densities, and are less efficient for sampling heavy-tailed distributions. Although various approaches have been proposed in the literature for sampling non-differentiable and heavy-tailed targets, all of them are developed in the overdamped setting only. We propose a novel momentum-based underdamped anchored Langevin dynamics (UALD), and underdamped anchored Langevin Monte Carlo (UALMC) algorithm based on a discretization scheme of UALD. Our paper is the first to provide a kinetic (momentum-based) Langevin algorithm for non-differentiable and heavy-tailed targets that is free of asymptotic bias. The method replaces the original potential with a smooth reference potential and modifies the underdamped Langevin dynamics via multiplicative scaling in the drift term. We establish non-asymptotic guarantees in the 2-Wasserstein distance to the target distribution and show that the resulting iteration complexity has better dependence on dimension and accuracy level compared to overdamped-based anchored Langevin algorithms. We provide numerical experiments to illustrate the theory and practical performance of our proposed approach.

1 Introduction

The problem of sampling a target distribution π(x)∝exp⁡(−U(x))\pi(x) \propto \exp(-U(x)) for a function U:Rd→RU : \mathbb{R}^d \to \mathbb{R} arises in many applications, including Bayesian statistical inference [34], Bayesian formulations of inverse problems [64], and Bayesian classification and regression tasks in machine learning [2, 65, 36, 38, 3, 69]. Langevin algorithms are popular Markov chain Monte Carlo (MCMC) methods that allow one to sample from a target distribution of interest, and the classical one is based on the discretization of overdamped Langevin dynamics [15, 25, 26, 11, 24, 16, 57]:

dXt=−∇U(Xt)dt+2dBt,(1.1)d X_{t}=-\nabla U(X_{t})d t+\sqrt{2}d B_{t}, \tag{1.1}

where U:Rd→RU : \mathbb{R}^d \to \mathbb{R} and BtB_t is a standard dd-dimensional Brownian motion. Under some mild assumptions on U(⋅)U(\cdot), the diffusion (1.1) admits a unique stationary distribution with the

1^{1}Department of Mathematics, Florida State University, 1017 Academic Way, Tallahassee, FL-32306, United States of America; qfeng2@fsu.edu

2^{2}Department of Mathematics, Florida State University, 1017 Academic Way, Tallahassee, FL-32306, United States of America; ngminhhoang7@gmail.com

3^{3}Department of Mathematics, Florida State University, 1017 Academic Way, Tallahassee, FL-32306, United States of America; zhu@math.fsu.edu density π(x)∝exp⁡(−U(x))\pi(x) \propto \exp(-U(x)), also known as the Gibbs distribution [14, 44]. In computing practice, the diffusion (1.1) is simulated by considering its discretization, and one of the most commonly used discretization schemes is the Euler–Maruyama discretization of (1.1), often known as the unadjusted Langevin algorithm (ULA) in the literature; see e.g. [24]:

xk+1=xk−η∇U(xk)+2ηξk+1,(1.2)x_{k+1}=x_{k}-\eta\nabla U(x_{k})+\sqrt{2\eta}\xi_{k+1}, \tag{1.2}

where ξk\xi_k are independent and identically distributed (i.i.d.) N(0,Id)\mathcal{N}(0, \mathbb{I}_d) Gaussian random vectors and η>0\eta > 0 is the stepsize.

When the target density e−U(x)e^{-U(x)} is non-differentiable or heavy-tailed, classical Langevin methods face serious practical and theoretical limitations. The lack of differentiability in U causes the gradient-based updates to be ill-defined. Such an issue is not just theoretical curiosity, but arises often in modern Bayesian inference problems, including Bayesian logistic regression with sparsity inducing priors [68], Bayesian deep learning problems with non-smooth activation functions [37, 9, 31]. When the target distribution is heavy-tailed, the exponential ergodicity might fail to hold and concentration behavior assumed in many convergence analyses and can lead to instability or divergence [60, 41, 42, 43].

There have been many studies on sampling non-differentiable targets. Zeroth-order Langevin algorithms approximate first-order information based on evaluations of the potential function U using finite-differences [62, 27]. This can be beneficial in some settings when the gradients do not exist or when they are hard to compute. However, zeroth-order methods are typically slower than first-order methods, as their gradient estimates tend to be noisier. There are also alternative approaches that rely on approximating the potential with a smooth, differentiable surrogate to enable gradient-based sampling such as [74]. In addition, proximal MCMC methods approximate the non-smooth function U using its Moreau–Yoshida envelope (MYE) [26, 35, 52, 63, 48, 7, 71, 55, 29], which provides a smooth surrogate. The MYE of a function U yields a smooth approximation UλU^{\lambda} that can be used with gradient-based Langevin algorithms for sampling. However, computing the gradient of the MYE requires evaluating a proximal step with respect to U, which is typically computationally expensive [35], with efficient computations available only in specific cases. Moreover, using the gradient of UλU^{\lambda} introduces bias and in some cases, a very tight envelope (i.e., a small λ\lambda) may be needed to obtain an accurate approximation. This, however, necessitates small stepsizes, leading to slow mixing [35, Example 4.1]. Other envelopes that approximate a non-smooth potential with a smooth one, such as the forward-backward envelope, can also be used [29]; but they still require computing proximal steps. Piecewise-deterministic Markov processes (PDMPs) such as the bouncy particle and zig-zag samplers, which do not suffer from asymptotic bias, offer an alternative. They can be applied to target distributions that are differentiable almost everywhere [19, 22, 8], and in practice, may be preferable to MYE-based methods—particularly when the MYE is difficult to compute or not well-defined [35]. However, PDMPs may encounter computational difficulties in high dimensions; event-time simulations can be demanding, and their performance can be sensitive to the availability of tight event-rate bounds [35].

Finally, mirror-descent-type algorithms that employ the Bregman–Moreau envelope instead of the MYE to handle non-smoothness on Riemannian manifolds [49]. When UU is non-differentiable but convex, there are also subgradient-based approaches, which relaxes the differentiability requirement. Among subgradient-based approaches, [23] proposed the stochastic subgradient Langevin dynamics (SSGLD) and provided convergence guarantees by leveraging the fact that sampling can be viewed as optimization in the space of probability measures. Other subgradient-based approaches include [40]. Another approach is using Gaussian smoothing [54] where one would obtain a smooth approximation of UU by convolving it with a Gaussian kernel. [10] analyze Gaussian-smoothing-based Langevin dynamics for convex and non-smooth UU. This approach replaces ∇U\nabla U in the Langevin dynamics (1.1) with ∇U0\nabla U_0 and then simulates the dynamics, which, as the discretization parameter vanishes, converges to an approximate target density π0(x)∝e−U0(x)\pi_0(x) \propto e^{-U_0(x)} and thus suffers from bias.

Sampling from target distributions with heavy tails where U(x)U(x) grows sublinearly presents unique challenges for standard sampling algorithms and the literature is quite limited. Several works introduced modification of classical ULA by using Metropolis steps [46, 6, 5], which can be expensive for some applications involving high dimensionality and large datasets [70]. [43] develops zeroth- and first-order Langevin algorithms for heavy-tailed distributions whose potentials satisfy weighted Poincaré inequalities, including t-distributions. Their first-order method discretizes associated Itô diffusions and extends to zeroth-order variants via Gaussian smoothing. However, when a non-smooth potential UU is approximated by a smoothed U0U_0, the limiting Itô diffusions converge to π0(x)∼e−U0(x)\pi_0(x) \sim e^{-U_0(x)}, leading to asymptotic bias. In related work, [42] characterize the class of heavy-tailed densities for which polynomial-order complexity guarantees can be obtained when ULA is applied to suitably transformed versions of the target.

To the best of our knowledge, all of the approaches listed above have been developed and analyzed in the overdamped setting only. The Moreau–Yosida/proximal algorithms [26, 55, 35, 52, 63, 48, 7, 71, 29], the subgradient methods [23, 40], the Gaussian-smoothing approach [10] and the Bregman–Moreau envelope method [49] are all obtained by discretizing the first-order diffusion (1.1); in particular, a kinetic counterpart of the Bregman–Moreau scheme is explicitly listed as a direction for future work in [49]. Conversely, the non-asymptotic literature on underdamped (kinetic) Langevin algorithms [13, 12, 17, 33, 32, 50] assumes throughout that ∇U\nabla U exists and is Lipschitz; the recent relaxations of that hypothesis concern drifts that fail to be globally Lipschitz or that grow superlinearly, but are still differentiable, and therefore do not cover non-differentiable targets. The only exception we are aware of is the class of PDMP samplers [19, 22, 8], which are non-reversible but are not discretizations of a kinetic diffusion. Accordingly, our paper is the first to provide a kinetic (momentum-based) Langevin algorithm for non-differentiable targets that is free of asymptotic bias, together with non-asymptotic guarantees; we highlight this as one of the contributions of the paper.

Recently, [39] proposed and studied anchored Langevin dynamics (ALD) that modifies the Langevin dynamics itself, such that it is anchored with a new potential U0U_0 and the resulting dynamics converge to the original target π(x)∝e−U(x)\pi(x) \propto e^{-U(x)} and are free of such bias:

dXt=−∇U0(Xt)eU(Xt)−U0(Xt)dt+2e(U(Xt)−U0(Xt))/2dBt.(1.3)d X_{t}=-\nabla U_{0}(X_{t})e^{U(X_{t})-U_{0}(X_{t})}d t+\sqrt{2}e^{(U(X_{t})-U_{0}(X_{t}))/2}d B_{t}. \tag{1.3}

Non-asymptotic convergence guarantees are obtained for (1.3) and its Euler-Maruyama discretization in [39]. Very recently, [66] proposed and studied reflected anchored Langevin dynamics (RALD), which is (1.3) with a reflected boundary. This allows sampling on a constrained domain where the target density is not necessarily differentiable. [1] introduced and studied non-reversible anchored Langevin dynamics (NALD) and non-reversible reflected anchored Langevin dynamics (NRALD) by adding an anti-symmetric matrix to the drift term of ALD and NALD respectively. Through the lens of finite-time non-asymptotic convergence analysis, large deviations analysis and asymptotic variance reduction, [1] showed that by breaking reversibility, NALD and NRALD can converge to the target distributions faster than their reversible counterparts.

In the literature, the algorithms based on underdamped (a.k.a. second-order, inertial or kinetic) Langevin diffusion dynamics are popular alternatives to the ones based on overdamped Langevin dynamics; see e.g. [13, 12, 17, 33, 32, 50]:

dVt=−γVtdt−∇U(Xt)dt+2γdBt,(1.4)d V_{t}=-\gamma V_{t}d t-\nabla U(X_{t})d t+\sqrt{2\gamma}d B_{t}, \tag{1.4} dXt=Vtdt,(1.5)d X_{t}=V_{t}d t, \tag{1.5}

where γ>0\gamma > 0 is the friction coefficient, Xt,Vt∈RdX_t, V_t \in \mathbb{R}^d models the position and the momentum of a particle moving in a field of force (described by the gradient of UU) plus a random (thermal) force described by the dd-dimensional standard Brownian motion BtB_t. It is known that under some mild assumptions on UU, the Markov process (Xt,Vt)t≥0(X_t, V_t)_{t \geq 0} is ergodic and admits a unique stationary distribution π\pi with density π(x,v)∝exp⁡(−(12∥v∥2+U(x)))\pi(x, v) \propto \exp\left(-\left(\frac{1}{2}\|v\|^2 + U(x)\right)\right). Hence, the xx-marginal distribution of the stationary distribution with the density π(x,v)\pi(x, v) is exactly the invariant distribution of the overdamped Langevin diffusion. It is known that the momentum-based underdamped Langevin dynamics can accelerate the convergence to the Gibbs distribution and outperform the overdamped Langevin dynamics [28, 50, 33]. This motivates us to ask the question whether there is an underdamped analog of the anchored Langevin dynamics (1.3). In this paper, we give a positive answer to this question by proposing the underdamped anchored Langevin dynamics (UALD):

dVt=−γVtdt−∇U0(Xt)eU(Xt)−U0(Xt)dt+2γdBt,(1.6)d V_{t}=-\gamma V_{t}d t-\nabla U_{0}(X_{t})e^{U(X_{t})-U_{0}(X_{t})}d t+\sqrt{2\gamma}d B_{t}, \tag{1.6} dXt=VteU(Xt)−U0(Xt)dt,(1.7)d X_{t}=V_{t}e^{U(X_{t})-U_{0}(X_{t})}d t, \tag{1.7}

where U0:Rd→RU_0 : \mathbb{R}^d \to \mathbb{R} plays the role of reference potential. We will show that UALD preserves the Gibbs distribution π(x,v)∝exp⁡(−(12∥v∥2+U(x)))\pi(x, v) \propto \exp\left(-\left(\frac{1}{2}\|v\|^2 + U(x)\right)\right) as an invariant distribution. Next, we consider the discretization of (1.6)-(1.7). It is known in the literature that for underdamped Langevin algorithms, one can use finer discretization scheme than the Euler-Maruyama [13, 17]. Inspired by the discretization scheme for the classical underdamped Langevin dynamics in (1.4)-(1.5) in [13], we introduce the underdamped anchored Langevin Monte Carlo (UALMC) algorithm:

vk+1=ψ0(η)vk−ψ1(η)gk+2γξk+1,xk+1=xk+ak(ψ1(η)vk−ψ2(η)gk)+2γakξk+1′,\begin{align*}v_{k+1}&=\psi_{0}(\eta)v_{k}-\psi_{1}(\eta)g_{k}+\sqrt{2\gamma}\xi_{k+1},\\x_{k+1}&=x_{k}+a_{k}\left(\psi_{1}(\eta)v_{k}-\psi_{2}(\eta)g_{k}\right)+\sqrt{2\gamma}a_{k}\xi_{k+1}^{\prime},\end{align*}

(1.8)

where (ξk+1,ξk+1′)(\xi_{k+1}, \xi_{k+1}^{\prime}) is a centered 2d-dimensional Gaussian random vector, independent across k and across coordinates, with the per-coordinate covariance

C=∫0η(ψ0(t)ψ1(t))(ψ0(t)ψ1(t))⊤dt=(1−e−2γη2γ1−2e−γη+e−2γη2γ21−2e−γη+e−2γη2γ22γη−3+4e−γη−e−2γη2γ3),(1.9)C=\int_{0}^{\eta}\binom{\psi_{0}(t)}{\psi_{1}(t)}\binom{\psi_{0}(t)}{\psi_{1}(t)}^{\top}d t=\left(\begin{array}{c c}\frac{1-e^{-2\gamma\eta}}{2\gamma}&\frac{1-2e^{-\gamma\eta}+e^{-2\gamma\eta}}{2\gamma^{2}}\\ \frac{1-2e^{-\gamma\eta}+e^{-2\gamma\eta}}{2\gamma^{2}}&\frac{2\gamma\eta-3+4e^{-\gamma\eta}-e^{-2\gamma\eta}}{2\gamma^{3}}\end{array}\right), \tag{1.9}

where

ψ0(t)=e−γt,ψ1(t)=∫0tψ0(s)ds=1−e−γtγ,ψ2(t)=∫0tψ1(s)ds,(1.10)\psi_{0}(t)=e^{-\gamma t},\qquad\psi_{1}(t)=\int_{0}^{t}\psi_{0}(s)ds=\frac{1-e^{-\gamma t}}{\gamma},\qquad\psi_{2}(t)=\int_{0}^{t}\psi_{1}(s)ds, \tag{1.10}

and

ak:=a(xk):=eU(xk)−U0(xk),gk:=a(xk)∇U0(xk).(1.11)a_{k}:=a(x_{k}):=e^{U(x_{k})-U_{0}(x_{k})},\qquad g_{k}:=a(x_{k})\nabla U_{0}(x_{k}). \tag{1.11}

The UALMC algorithm (1.8) is obtained by discretizing the UALD (1.6)-(1.7) by an exponential integrator that freezes the state-dependent coefficients over each step. To see that (1.8) is a discretization scheme of (1.6)-(1.7), we first introduce the following auxiliary SDE:

dV~t=−γV~tdt−∇U0(X~η⌊t/η⌋)eU(X~η⌊t/η⌋)−U0(X~η⌊t/η⌋)dt+2γdBt,(1.12)d\tilde{V}_{t}=-\gamma\tilde{V}_{t}d t-\nabla U_{0}\left(\tilde{X}_{\eta\lfloor t/\eta\rfloor}\right)e^{U(\tilde{X}_{\eta\lfloor t/\eta\rfloor})-U_{0}(\tilde{X}_{\eta\lfloor t/\eta\rfloor})}d t+\sqrt{2\gamma}d B_{t}, \tag{1.12} dX~t=V~teU(X~η⌊t/η⌋)−U0(X~η⌊t/η⌋)dt.(1.13)d\tilde{X}_{t}=\tilde{V}_{t}e^{U(\tilde{X}_{\eta\lfloor t/\eta\rfloor})-U_{0}(\tilde{X}_{\eta\lfloor t/\eta\rfloor})}d t. \tag{1.13}

In other words, for any kη≤t<(k+1)ηk\eta \leq t < (k+1)\eta with k∈Nk \in \mathbb{N},

dV~t=−γV~tdt−∇U0(X~kη)eU(X~kη)−U0(X~kη)dt+2γdBt,(1.14)d\tilde{V}_{t}=-\gamma\tilde{V}_{t}d t-\nabla U_{0}\left(\tilde{X}_{k\eta}\right)e^{U(\tilde{X}_{k\eta})-U_{0}(\tilde{X}_{k\eta})}d t+\sqrt{2\gamma}d B_{t}, \tag{1.14} dX~t=V~teU(X~kη)−U0(X~kη)dt,(1.15)d\tilde{X}_{t}=\tilde{V}_{t}e^{U(\tilde{X}_{k\eta})-U_{0}(\tilde{X}_{k\eta})}d t, \tag{1.15}

which implies that (V~t,X~t)(\tilde{V}_t, \tilde{X}_t) follows an Ornstein-Uhlenbeck process on t∈[kη,(k+1)η)t \in [k\eta, (k+1)\eta), that can be solved explicitly and (V~kη,X~kη)\left(\tilde{V}_{k\eta}, \tilde{X}_{k\eta}\right) has the same distribution as (vk,xk)(v_k, x_k), where (vk,xk)(v_k, x_k) satisfies the iterates (1.8).

The contributions of our paper can be summarized as follows.

● Compared to the existing literature on Langevin-type algorithms for sampling non-differentiable target densities, our paper is the first to provide a kinetic and momentum-based Langevin algorithm for non-differentiable targets that is free of asymptotic bias, together with non-asymptotic guarantees.

  • We first verify that the continuous-time UALD (1.6)-(1.7) preserves the Gibbs distribution as an invariant distribution (Theorem 1). We obtain a non-asymptotic 2-Wasserstein convergence bound for the continuous-time UALD (1.6)-(1.7) (Theorem 6, Corollary 8). The proof technique is based on using synchronous coupling, establishing a contraction for the linear approximation (Proposition 2) and then for the full dynamics by controlling the perturbation term and our analysis relies on establishing novel Lyapunov bound (Lemma 4) and exponential moment (Lemma 5). We further show that UALD can sample heavy-tailed distributions such as Student's t distributions with exponential convergence in time (Theorem 13).

  • We obtain finite-time non-asymptotic convergence bound for the discrete-time UALMC algorithm (1.8) (Theorem 16). Based on this, we further obtain iteration complexity (Corollary 25), which improves upon that of ALMC algorithm based on the discretization of (1.3) with better dependence on dimension and accuracy level (Remark 27). Compared to the non-asymptotic convergence analysis for the classical KLMC in the literature [17], the novelty of our analysis is threefold. First, the position equation (1.7) carries the state-dependent speed a(x)=eU(x)−U0(x)a(x) = e^{U(x) - U_0(x)}, so both the force and the speed must be frozen; the frozen speed generates a local error term that is quadratic in the velocity (see (2.75)), a term that has no counterpart in the classical KLMC analysis. Second, the local error involves the unbounded stationary velocity and ∇U0\nabla U_0, which we never bound uniformly but whose moments we control through the Lyapunov structure of Lemma 4; indeed, the anchored force g=a∇U0g = a\nabla U_0 is not globally Lipschitz (see (2.73)), and since the local error contains products of two unbounded factors, the L2L_2 deviation splitting of [17] does not suffice; we replace it by uniform polynomial moment bounds for the iterates (Lemma 20). And third, Theorem 6 contracts the weighted functional E[HtΨt′]\mathbb{E}[\mathcal{H}_t\Psi_t'] rather than E[Ht]\mathbb{E}[\mathcal{H}_t], so the discrete recursion must propagate a weighted distance (Lemma 18).

  • Numerical experiments demonstrate the efficiency of our proposed algorithm. In particular, we conducted synthetic experiments such as sampling Laplace distributions and heavy-tailed multivariate Student’s distributions and Bayesian logistic regression and Bayesian neural network experiments using real data (Section 3).

References (62)