Papers
Topics
Authors
Recent
Search
2000 character limit reached

MALA: Gradient-Based MCMC in High Dimensions

Updated 11 March 2026
  • MALA is a gradient-based MCMC method that samples complex high-dimensional distributions using discretized Langevin dynamics corrected by a Metropolis–Hastings step.
  • The algorithm exhibits distinct scaling laws: burn-in costs scale as O(N^(1/2)) while stationary exploration scales as O(N^(1/3)), ensuring efficient convergence.
  • Practical implementation of MALA involves adaptive tuning of the step size to maintain an optimal acceptance rate near 0.574 across both non-stationary and stationary regimes.

The Metropolis-Adjusted Langevin Algorithm (MALA) is a gradient-based Markov Chain Monte Carlo (MCMC) method designed for sampling from complex, high-dimensional target distributions with Lebesgue density on RN\mathbb{R}^N. MALA constructs a reversible Markov chain with respect to the prescribed target and achieves ergodic sampling via a proposal mechanism derived from discretized Langevin dynamics, corrected with a Metropolis–Hastings accept–reject step. Contemporary analyses of MALA focus extensively on computational complexity as a function of dimension, particularly regarding its distinct dynamics in non-stationary (burn-in) versus stationary phases. The key high-dimensional asymptotics, established for non-product and product targets alike, delineate the regimes in which optimal scaling and cost are achieved, revealing universal scaling laws for burn-in and for stationary exploration (Kuntz et al., 2016).

1. Algorithmic Formulation of MALA

Given a target density πN\pi^N on RN\mathbb{R}^N, the MALA proposal is constructed as a single Euler–Maruyama (forward-Euler) discretization step of the overdamped Langevin SDE: y=x+h2logπN(x)+hZ,ZN(0,IN),y = x + \frac{h}{2} \nabla \log \pi^N(x) + \sqrt{h}\,Z, \qquad Z \sim N(0, I_N), where h>0h>0 serves as the proposal time step or variance. The associated Gaussian proposal density is

q(x,y)=1(4πh)N/2exp{14hyxh2logπN(x)2}.q(x, y) = \frac{1}{(4\pi h)^{N/2}} \exp \left\{ -\frac{1}{4h} \|y - x - \frac{h}{2} \nabla \log \pi^N(x)\|^2 \right\}.

The acceptance probability for the Metropolis–Hastings adjustment is defined by

α(x,y)=min{1,πN(y)q(y,x)πN(x)q(x,y)}=min{1,exp(QN(x,y))},\alpha(x, y) = \min\left\{1, \frac{\pi^N(y) q(y, x)}{\pi^N(x) q(x, y)}\right\} = \min\{1, \exp(Q^N(x, y))\},

with the explicit log-acceptance increment

QN(x,y)=logπN(y)logπN(x)14hyxh2logπN(x)2+14hxyh2logπN(y)2.Q^N(x, y) = \log \pi^N(y) - \log \pi^N(x) - \frac{1}{4h} \|y - x - \frac{h}{2}\nabla \log \pi^N(x)\|^2 + \frac{1}{4h} \|x - y - \frac{h}{2}\nabla \log \pi^N(y)\|^2.

This formulation guarantees reversibility of the Markov chain with respect to πN\pi^N, and hence, πN\pi^N is invariant (Kuntz et al., 2016).

2. Diffusion-Limit Theory and Non-Stationary Regime

For non-stationary initialization (the "burn-in" phase), MALA exhibits fundamentally different asymptotic behavior compared to its stationary regime. Consider the continuous-time, piecewise-linear interpolation

πN\pi^N0

and scale the proposal variance with dimension as πN\pi^N1. As πN\pi^N2, πN\pi^N3 converges weakly (in suitable function-space topology) to the solution of an infinite-dimensional SDE coupled to a non-stationarity scalar ODE,

πN\pi^N4

πN\pi^N5

πN\pi^N6

Here, πN\pi^N7 is a cylindrical πN\pi^N8-Brownian motion, and πN\pi^N9, RN\mathbb{R}^N0 encode the (possibly non-product) target (Kuntz et al., 2016). This coupled system captures the evolution of the "empirical squared norm" RN\mathbb{R}^N1, measuring deviation from stationarity; RN\mathbb{R}^N2 monotonically, after which the SDE reduces to the ergodic infinite-dimensional Langevin diffusion.

The key non-stationary result is that, with this scaling RN\mathbb{R}^N3, MALA requires RN\mathbb{R}^N4 iterations to traverse an RN\mathbb{R}^N5 macroscopic time interval and to bring RN\mathbb{R}^N6 near equilibrium—the computational cost of burn-in thus scales as RN\mathbb{R}^N7 [(Kuntz et al., 2016), Theorem 5.1].

3. Optimal Scaling and Cost in Stationary and Non-Stationary Regimes

The optimal cost analysis relies on asymptotic expansions of the Metropolis log-acceptance ratio:

  • Non-stationary (burn-in) phase: The dominant term in RN\mathbb{R}^N8 satisfies

RN\mathbb{R}^N9

which is y=x+h2logπN(x)+hZ,ZN(0,IN),y = x + \frac{h}{2} \nabla \log \pi^N(x) + \sqrt{h}\,Z, \qquad Z \sim N(0, I_N),0 if and only if y=x+h2logπN(x)+hZ,ZN(0,IN),y = x + \frac{h}{2} \nabla \log \pi^N(x) + \sqrt{h}\,Z, \qquad Z \sim N(0, I_N),1. All higher-order terms y=x+h2logπN(x)+hZ,ZN(0,IN),y = x + \frac{h}{2} \nabla \log \pi^N(x) + \sqrt{h}\,Z, \qquad Z \sim N(0, I_N),2. Each MALA step increments time by y=x+h2logπN(x)+hZ,ZN(0,IN),y = x + \frac{h}{2} \nabla \log \pi^N(x) + \sqrt{h}\,Z, \qquad Z \sim N(0, I_N),3, so y=x+h2logπN(x)+hZ,ZN(0,IN),y = x + \frac{h}{2} \nabla \log \pi^N(x) + \sqrt{h}\,Z, \qquad Z \sim N(0, I_N),4 steps are required for y=x+h2logπN(x)+hZ,ZN(0,IN),y = x + \frac{h}{2} \nabla \log \pi^N(x) + \sqrt{h}\,Z, \qquad Z \sim N(0, I_N),5 macroscopic time—i.e., burn-in [(Kuntz et al., 2016), Lemmas 7.1–7.5].

  • Stationary regime: Once y=x+h2logπN(x)+hZ,ZN(0,IN),y = x + \frac{h}{2} \nabla \log \pi^N(x) + \sqrt{h}\,Z, \qquad Z \sim N(0, I_N),6, one has y=x+h2logπN(x)+hZ,ZN(0,IN),y = x + \frac{h}{2} \nabla \log \pi^N(x) + \sqrt{h}\,Z, \qquad Z \sim N(0, I_N),7 and the leading Taylor expansion yields

y=x+h2logπN(x)+hZ,ZN(0,IN),y = x + \frac{h}{2} \nabla \log \pi^N(x) + \sqrt{h}\,Z, \qquad Z \sim N(0, I_N),8

provided y=x+h2logπN(x)+hZ,ZN(0,IN),y = x + \frac{h}{2} \nabla \log \pi^N(x) + \sqrt{h}\,Z, \qquad Z \sim N(0, I_N),9. The stationary regime thus admits a nondegenerate h>0h>00 limit for h>0h>01 distributed as h>0h>02, and sample acceptance h>0h>03. The cost to make a macroscopic move in stationarity is h>0h>04 steps [(Kuntz et al., 2016), Section 4].

This analysis yields universal cost laws for high-dimensional MALA: burn-in h>0h>05, then stationary exploration h>0h>06. These hold for both product and general non-product targets, provided mild spectral decay and Lipschitz conditions on h>0h>07 (Kuntz et al., 2016).

4. Universality for Non-Product High-Dimensional Targets

The infinite-dimensional setting places MALA in the context of Hilbert space h>0h>08 with reference Gaussian measure h>0h>09. Targets are of the form

q(x,y)=1(4πh)N/2exp{14hyxh2logπN(x)2}.q(x, y) = \frac{1}{(4\pi h)^{N/2}} \exp \left\{ -\frac{1}{4h} \|y - x - \frac{h}{2} \nabla \log \pi^N(x)\|^2 \right\}.0

with general nonlinear q(x,y)=1(4πh)N/2exp{14hyxh2logπN(x)2}.q(x, y) = \frac{1}{(4\pi h)^{N/2}} \exp \left\{ -\frac{1}{4h} \|y - x - \frac{h}{2} \nabla \log \pi^N(x)\|^2 \right\}.1, q(x,y)=1(4πh)N/2exp{14hyxh2logπN(x)2}.q(x, y) = \frac{1}{(4\pi h)^{N/2}} \exp \left\{ -\frac{1}{4h} \|y - x - \frac{h}{2} \nabla \log \pi^N(x)\|^2 \right\}.2, and covariance eigenvalues q(x,y)=1(4πh)N/2exp{14hyxh2logπN(x)2}.q(x, y) = \frac{1}{(4\pi h)^{N/2}} \exp \left\{ -\frac{1}{4h} \|y - x - \frac{h}{2} \nabla \log \pi^N(x)\|^2 \right\}.3, q(x,y)=1(4πh)N/2exp{14hyxh2logπN(x)2}.q(x, y) = \frac{1}{(4\pi h)^{N/2}} \exp \left\{ -\frac{1}{4h} \|y - x - \frac{h}{2} \nabla \log \pi^N(x)\|^2 \right\}.4. The Sobolev regularity, eigenvalue decay, and Lipschitz properties on q(x,y)=1(4πh)N/2exp{14hyxh2logπN(x)2}.q(x, y) = \frac{1}{(4\pi h)^{N/2}} \exp \left\{ -\frac{1}{4h} \|y - x - \frac{h}{2} \nabla \log \pi^N(x)\|^2 \right\}.5 (as q(x,y)=1(4πh)N/2exp{14hyxh2logπN(x)2}.q(x, y) = \frac{1}{(4\pi h)^{N/2}} \exp \left\{ -\frac{1}{4h} \|y - x - \frac{h}{2} \nabla \log \pi^N(x)\|^2 \right\}.6 map) ensure regularity of the algorithm and the validity of diffusion-limit theorems. Finite-dimensional approximations on q(x,y)=1(4πh)N/2exp{14hyxh2logπN(x)2}.q(x, y) = \frac{1}{(4\pi h)^{N/2}} \exp \left\{ -\frac{1}{4h} \|y - x - \frac{h}{2} \nabla \log \pi^N(x)\|^2 \right\}.7 conduce to valid targets and theorems apply as long as the assumptions carry over (Kuntz et al., 2016).

This envelope encompasses important cases such as Bayesian inverse problems, nonparametric regression, and conditioned diffusions, extending MALA's high-dimensional theory far beyond product settings.

5. Practical Tuning: Acceptance Rate and Adaptive Schemes

Practical implications for high-dimensional MALA are direct:

  • Burn-in: Use q(x,y)=1(4πh)N/2exp{14hyxh2logπN(x)2}.q(x, y) = \frac{1}{(4\pi h)^{N/2}} \exp \left\{ -\frac{1}{4h} \|y - x - \frac{h}{2} \nabla \log \pi^N(x)\|^2 \right\}.8 until the observable q(x,y)=1(4πh)N/2exp{14hyxh2logπN(x)2}.q(x, y) = \frac{1}{(4\pi h)^{N/2}} \exp \left\{ -\frac{1}{4h} \|y - x - \frac{h}{2} \nabla \log \pi^N(x)\|^2 \right\}.9, i.e., until the chain approaches stationarity. This phase lasts α(x,y)=min{1,πN(y)q(y,x)πN(x)q(x,y)}=min{1,exp(QN(x,y))},\alpha(x, y) = \min\left\{1, \frac{\pi^N(y) q(y, x)}{\pi^N(x) q(x, y)}\right\} = \min\{1, \exp(Q^N(x, y))\},0 steps.
  • Stationary exploration: Once α(x,y)=min{1,πN(y)q(y,x)πN(x)q(x,y)}=min{1,exp(QN(x,y))},\alpha(x, y) = \min\left\{1, \frac{\pi^N(y) q(y, x)}{\pi^N(x) q(x, y)}\right\} = \min\{1, \exp(Q^N(x, y))\},1, switch to α(x,y)=min{1,πN(y)q(y,x)πN(x)q(x,y)}=min{1,exp(QN(x,y))},\alpha(x, y) = \min\left\{1, \frac{\pi^N(y) q(y, x)}{\pi^N(x) q(x, y)}\right\} = \min\{1, \exp(Q^N(x, y))\},2; now each macroscopic move costs α(x,y)=min{1,πN(y)q(y,x)πN(x)q(x,y)}=min{1,exp(QN(x,y))},\alpha(x, y) = \min\left\{1, \frac{\pi^N(y) q(y, x)}{\pi^N(x) q(x, y)}\right\} = \min\{1, \exp(Q^N(x, y))\},3 steps.
  • Optimal acceptance: In stationarity, maximize α(x,y)=min{1,πN(y)q(y,x)πN(x)q(x,y)}=min{1,exp(QN(x,y))},\alpha(x, y) = \min\left\{1, \frac{\pi^N(y) q(y, x)}{\pi^N(x) q(x, y)}\right\} = \min\{1, \exp(Q^N(x, y))\},4 (where α(x,y)=min{1,πN(y)q(y,x)πN(x)q(x,y)}=min{1,exp(QN(x,y))},\alpha(x, y) = \min\left\{1, \frac{\pi^N(y) q(y, x)}{\pi^N(x) q(x, y)}\right\} = \min\{1, \exp(Q^N(x, y))\},5) for the speed function; the theoretically optimal acceptance is α(x,y)=min{1,πN(y)q(y,x)πN(x)q(x,y)}=min{1,exp(QN(x,y))},\alpha(x, y) = \min\left\{1, \frac{\pi^N(y) q(y, x)}{\pi^N(x) q(x, y)}\right\} = \min\{1, \exp(Q^N(x, y))\},6 at α(x,y)=min{1,πN(y)q(y,x)πN(x)q(x,y)}=min{1,exp(QN(x,y))},\alpha(x, y) = \min\left\{1, \frac{\pi^N(y) q(y, x)}{\pi^N(x) q(x, y)}\right\} = \min\{1, \exp(Q^N(x, y))\},7 [(Kuntz et al., 2016), Section 6].
  • Step-size adaptation: In practice, estimate α(x,y)=min{1,πN(y)q(y,x)πN(x)q(x,y)}=min{1,exp(QN(x,y))},\alpha(x, y) = \min\left\{1, \frac{\pi^N(y) q(y, x)}{\pi^N(x) q(x, y)}\right\} = \min\{1, \exp(Q^N(x, y))\},8 and adapt α(x,y)=min{1,πN(y)q(y,x)πN(x)q(x,y)}=min{1,exp(QN(x,y))},\alpha(x, y) = \min\left\{1, \frac{\pi^N(y) q(y, x)}{\pi^N(x) q(x, y)}\right\} = \min\{1, \exp(Q^N(x, y))\},9 accordingly to maintain desired acceptance.

These scaling results provide robust guidance for choosing step sizes and monitoring acceptance rates in high-dimensional applications where explicit diagnostics of convergence/mixing are difficult.

6. Regime Recognition and Transition

The sharp distinction between non-stationary and stationary regimes is prominent:

  • Scaling the step size too aggressively (QN(x,y)=logπN(y)logπN(x)14hyxh2logπN(x)2+14hxyh2logπN(y)2.Q^N(x, y) = \log \pi^N(y) - \log \pi^N(x) - \frac{1}{4h} \|y - x - \frac{h}{2}\nabla \log \pi^N(x)\|^2 + \frac{1}{4h} \|x - y - \frac{h}{2}\nabla \log \pi^N(y)\|^2.0) in stationary phase leads to degeneracy (QN(x,y)=logπN(y)logπN(x)14hyxh2logπN(x)2+14hxyh2logπN(y)2.Q^N(x, y) = \log \pi^N(y) - \log \pi^N(x) - \frac{1}{4h} \|y - x - \frac{h}{2}\nabla \log \pi^N(x)\|^2 + \frac{1}{4h} \|x - y - \frac{h}{2}\nabla \log \pi^N(y)\|^2.1 only if QN(x,y)=logπN(y)logπN(x)14hyxh2logπN(x)2+14hxyh2logπN(y)2.Q^N(x, y) = \log \pi^N(y) - \log \pi^N(x) - \frac{1}{4h} \|y - x - \frac{h}{2}\nabla \log \pi^N(x)\|^2 + \frac{1}{4h} \|x - y - \frac{h}{2}\nabla \log \pi^N(y)\|^2.2 exactly).
  • Using QN(x,y)=logπN(y)logπN(x)14hyxh2logπN(x)2+14hxyh2logπN(y)2.Q^N(x, y) = \log \pi^N(y) - \log \pi^N(x) - \frac{1}{4h} \|y - x - \frac{h}{2}\nabla \log \pi^N(x)\|^2 + \frac{1}{4h} \|x - y - \frac{h}{2}\nabla \log \pi^N(y)\|^2.3 in non-stationary phase leads to divergence in QN(x,y)=logπN(y)logπN(x)14hyxh2logπN(x)2+14hxyh2logπN(y)2.Q^N(x, y) = \log \pi^N(y) - \log \pi^N(x) - \frac{1}{4h} \|y - x - \frac{h}{2}\nabla \log \pi^N(x)\|^2 + \frac{1}{4h} \|x - y - \frac{h}{2}\nabla \log \pi^N(y)\|^2.4 if QN(x,y)=logπN(y)logπN(x)14hyxh2logπN(x)2+14hxyh2logπN(y)2.Q^N(x, y) = \log \pi^N(y) - \log \pi^N(x) - \frac{1}{4h} \|y - x - \frac{h}{2}\nabla \log \pi^N(x)\|^2 + \frac{1}{4h} \|x - y - \frac{h}{2}\nabla \log \pi^N(y)\|^2.5 deviates appreciably from QN(x,y)=logπN(y)logπN(x)14hyxh2logπN(x)2+14hxyh2logπN(y)2.Q^N(x, y) = \log \pi^N(y) - \log \pi^N(x) - \frac{1}{4h} \|y - x - \frac{h}{2}\nabla \log \pi^N(x)\|^2 + \frac{1}{4h} \|x - y - \frac{h}{2}\nabla \log \pi^N(y)\|^2.6.

Correctly identifying and adapting to these phases is essential for efficient high-dimensional MALA implementation; these scaling laws are universal for highly regular targets regardless of product structure (Kuntz et al., 2016).

7. Summary Table: Regime-Specific Scalings

Regime Step size QN(x,y)=logπN(y)logπN(x)14hyxh2logπN(x)2+14hxyh2logπN(y)2.Q^N(x, y) = \log \pi^N(y) - \log \pi^N(x) - \frac{1}{4h} \|y - x - \frac{h}{2}\nabla \log \pi^N(x)\|^2 + \frac{1}{4h} \|x - y - \frac{h}{2}\nabla \log \pi^N(y)\|^2.7 Number of steps (to QN(x,y)=logπN(y)logπN(x)14hyxh2logπN(x)2+14hxyh2logπN(y)2.Q^N(x, y) = \log \pi^N(y) - \log \pi^N(x) - \frac{1}{4h} \|y - x - \frac{h}{2}\nabla \log \pi^N(x)\|^2 + \frac{1}{4h} \|x - y - \frac{h}{2}\nabla \log \pi^N(y)\|^2.8 move) Acceptance QN(x,y)=logπN(y)logπN(x)14hyxh2logπN(x)2+14hxyh2logπN(y)2.Q^N(x, y) = \log \pi^N(y) - \log \pi^N(x) - \frac{1}{4h} \|y - x - \frac{h}{2}\nabla \log \pi^N(x)\|^2 + \frac{1}{4h} \|x - y - \frac{h}{2}\nabla \log \pi^N(y)\|^2.9 Cost order
Non-stationary πN\pi^N0 πN\pi^N1 πN\pi^N2 πN\pi^N3
Stationary πN\pi^N4 πN\pi^N5 πN\pi^N6 πN\pi^N7

The associated laws and optimal acceptance rates are derived from Taylor expansions and matched in stationarity by Gaussian approximation of the log-Metropolis increment (Kuntz et al., 2016).


References:

  • The foundational scaling and diffusion-limit results for non-stationary and stationary regimes appear in "Non-stationary phase of the MALA algorithm" (Kuntz et al., 2016). This work builds upon and significantly extends the analysis in (Pillai et al., 2011) and other infinite-dimensional scaling literatures.
Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Metropolis Adjusted Langevin Algorithm (MALA).