High Dimensional Sampling with the Unadjusted Langevin Algorithm

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 213 papers15 conceptsfrozen 2026-10-04

In Bayesian inference, the "final boss" is often sampling from a high-dimensional posterior distribution. For decades, the gold standard has been Markov Chain Monte Carlo (MCMC) methods like the Metropolis-Adjusted Langevin Algorithm (MALA). These methods use a "proposal" step followed by a "Metropolis-Hastings" (MH) acceptance test to ensure the chain converges exactly to the target distribution.

However, in high dimensions, this MH step becomes a bottleneck. As the number of variables grows, the probability of a proposal being accepted often plummets unless the step size is made vanishingly small. This leads to "stagnant" chains that explore the space at a glacial pace.

The Unadjusted Langevin Algorithm (ULA) offers a radical alternative: what if we just skip the acceptance test entirely?

Langevin Dynamics without the Safety Net

The intuition behind ULA starts with Langevin diffusion, a continuous-time stochastic process that naturally settles into a target distribution $p(x)$. You can think of this as a particle moving through a landscape where the "drift" pulls it toward the peaks of the distribution (the gradient of the log-density) while "diffusion" (random noise) prevents it from simply getting stuck at a single point.

To run this on a computer, we must discretize time using the Euler-Maruyama scheme. In traditional MCMC, this discretization introduces errors, which the Metropolis-Hastings step corrects by rejecting "bad" moves. ULA, as analyzed by Alain Durmus and Eric Moulines in High-dimensional Bayesian inference via the Unadjusted Langevin Algorithm, simply accepts every move.

By omitting the rejection step, ULA achieves two things:

  1. Speed: Each iteration is computationally cheaper because it avoids the full likelihood evaluations often required by the MH test.
  2. Movement: The chain never "stalls." It is always moving, which is crucial for exploring high-dimensional spaces where exact samplers might get stuck for thousands of iterations.

The Bias-Speed Trade-off

The price of skipping the MH step is discretization bias. Because we aren't correcting for the errors introduced by discrete time steps, ULA does not converge to the exact target distribution $p(x)$, but rather to an approximation of it.

The key insight from Alain Durmus and Eric Moulines in their non-asymptotic convergence analysis is that this bias is controllable. By shrinking the step size $\gamma$, the bias decreases. In many high-dimensional applications—such as imaging or machine learning—a small, predictable bias is a worthwhile trade for a massive gain in sampling speed.

Handling Non-smoothness and Stability

Standard Langevin methods require the gradient of the log-density to be "well-behaved" (specifically, Lipschitz continuous). Many real-world problems, like those involving $L_1$ penalties in imaging, are non-smooth.

To solve this, Alain Durmus, Eric Moulines, and Marcelo Pereyra introduced MYULA (Moreau-Yosida Unadjusted Langevin Algorithm) in Efficient Bayesian computation by proximal Markov chain Monte Carlo. By applying a Moreau-Yosida envelope—a tool from convex optimization—they "smooth out" the distribution, allowing ULA to navigate non-differentiable landscapes efficiently.

For cases where the gradient might grow too quickly and cause the algorithm to diverge, Nicolas Brosse and Sotirios Sabanis developed The tamed unadjusted Langevin algorithm. "Taming" modifies the drift function to ensure the updates remain stable even when the underlying distribution has heavy tails or super-linear gradients.

Scaling to Millions of Dimensions

The "unadjusted" philosophy extends beyond Langevin dynamics. Jakob Robnik, Reuben Cohn-Gordon, and Uros Seljak demonstrated in Practical and Scalable Hamiltonian Monte Carlo Without the Metropolis Test that Hamiltonian Monte Carlo (HMC) can also be run without the MH test. By carefully tuning the "Energy Error Variance Per Dimension," they achieved constant scaling with dimensionality, outperforming state-of-the-art exact samplers by up to 100x on million-dimensional problems.

Applications in Optimization and Big Data

The speed of ULA makes it a natural fit for "Big Data" and complex optimization. Christopher Nemeth and Paul Fearnhead highlight in their review of Stochastic Gradient MCMC how unadjusted methods allow for the use of stochastic gradients (subsampling the data), which would otherwise break the Metropolis-Hastings requirement.

Furthermore, Valentin De Bortoli, Marcelo Pereyra, and colleagues developed the SOUL framework (Efficient stochastic optimisation by unadjusted Langevin Monte Carlo). SOUL uses ULA to estimate gradients in latent variable models, showing that the sampling bias doesn't prevent the algorithm from finding accurate maximum likelihood estimates.

Beyond Continuous Spaces

Even discrete distributions can benefit from this approach. Ruqi Zhang and Qiang Liu introduced the Discrete Langevin Proposal (DLP), which uses gradient information to jump between discrete states. Just like its continuous counterpart, the unadjusted version of DLP prioritizes rapid exploration over exactness, making it highly effective for high-dimensional discrete models like binary neural networks.

By moving away from the requirement of "exact" sampling, this research direction has turned Langevin dynamics into a versatile, high-performance engine for modern Bayesian computation.

Papers in this version

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 14 papers
  2. Version 1 · 2026-10-04 · 13 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_unadjusted_langevin_stochastic_approxima_b16640b8,
  title = {unadjusted Langevin stochastic approximation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/unadjusted-langevin-stochastic-approximation/rdr_b16640b80f494b0a832d6cd754a1a800},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_high_dimensional_sampling_with_the_unadj_b16640b8_v1,
  title = {High Dimensional Sampling with the Unadjusted Langevin Algorithm},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/high-dimensional-sampling-with-the-unadjusted-langevin-algorithm/rdr_b16640b80f494b0a832d6cd754a1a800/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}