Papers
Topics
Authors
Recent
Search
2000 character limit reached

MASLA: Subdifferential Langevin Algorithm

Updated 5 July 2026
  • MASLA is a Metropolis-adjusted Langevin sampler that replaces classical gradients with generalized derivative information, such as Clarke subgradients, to handle non-smooth and non-convex potentials.
  • It employs conservative set-valued fields and measurable subgradient selections to construct Langevin proposals, ensuring stationarity and reversibility under locally Lipschitz conditions.
  • In convex settings, MASLA reduces to proximal methods like MY-MALA, offering optimal scaling regimes and improved ergodicity compared to standard MALA.

Metropolis-Adjusted Subdifferential Langevin Algorithm (MASLA) denotes a class of Metropolis-adjusted Langevin samplers for targets of the form π(x)eU(x)\pi(x)\propto e^{-U(x)} in which the classical gradient drift is replaced by generalized derivative information. In its most general form, MASLA is designed for locally Lipschitz, generally non-differentiable, and possibly non-convex potentials, using conservative set-valued fields and Clarke subgradients to define a Langevin-type proposal and then correcting the Euler discretization by a Metropolis–Hastings step. In the convex setting, Moreau–Yosida MALA (MY-MALA) is a proximal realization of the same idea: the drift is built from the Moreau–Yosida envelope or equivalently from the proximal map, so MY-MALA can be read as a MASLA with proximal or subdifferential drift (Ning, 9 Jul 2025, Crucinio et al., 2023).

1. Problem setting and conceptual scope

MASLA targets distributions on Rd\mathbb{R}^d with density

π(x)eU(x),\pi(x)\propto e^{-U(x)},

where U:Rd[0,)U:\mathbb{R}^d\to[0,\infty) is the potential. The point of departure is standard MALA, which uses the overdamped Langevin diffusion

dXt=U(Xt)dt+2dBtdX_t = -\nabla U(X_t)\,dt + \sqrt{2}\,dB_t

and an Euler–Maruyama proposal corrected by Metropolis–Hastings. That construction presupposes differentiability of UU at the points where the drift is evaluated, and much of the classical analysis further assumes at least C1C^1 regularity, often together with Lipschitz-gradient and growth conditions (Ning, 9 Jul 2025).

These assumptions exclude or complicate a range of models that are routine in contemporary Bayesian computation and machine learning. The examples explicitly highlighted include non-smooth penalties such as 1\ell_1 and total variation, piecewise-linear or piecewise-polynomial energies such as ReLU networks, hinge losses, and absolute values, and non-convex but locally Lipschitz energies. In such settings, U(x)\nabla U(x) may fail to exist on sets of positive measure, while proximal samplers such as P-MALA and MYULA require a well-defined proximal operator and therefore do not cover general non-convex or some non-smooth potentials (Ning, 9 Jul 2025).

Within this landscape, the 2025 MASLA formulation generalizes MALA to locally Lipschitz targets through conservative set-valued fields, whereas the 2023 MY-MALA analysis addresses a convex subclass in which the subdifferential information is encoded by the Moreau–Yosida envelope and the proximal map. The latter therefore occupies a specific proximal-convex corner of the broader MASLA framework (Crucinio et al., 2023).

2. Conservative fields, Clarke subgradients, and subdifferential structure

The non-smooth differential structure used by MASLA begins with local Lipschitz continuity. By Rademacher’s theorem, a locally Lipschitz function is differentiable almost everywhere. For such a function FF, the Clarke subgradient is defined by

Rd\mathbb{R}^d0

It is nonempty, convex, and compact for locally Lipschitz Rd\mathbb{R}^d1, and reduces to the singleton Rd\mathbb{R}^d2 at differentiability points (Ning, 9 Jul 2025).

The key structural object in the 2025 MASLA theory is a conservative set-valued field. A set-valued map Rd\mathbb{R}^d3 is called a conservative field if it has closed graph and nonempty compact values and satisfies the loop-integral condition

Rd\mathbb{R}^d4

for every absolutely continuous loop Rd\mathbb{R}^d5 with Rd\mathbb{R}^d6. Such a field admits a locally Lipschitz potential Rd\mathbb{R}^d7, unique up to an additive constant, obtained by path integration. For convex, concave, prox-regular, semialgebraic, or more generally tame functions, the Clarke subgradient is itself conservative (Ning, 9 Jul 2025).

This framework retains several gradient-like properties. If Rd\mathbb{R}^d8 is conservative with potential Rd\mathbb{R}^d9, then π(x)eU(x),\pi(x)\propto e^{-U(x)},0 for Lebesgue-a.e. π(x)eU(x),\pi(x)\propto e^{-U(x)},1, the Clarke subgradient satisfies

π(x)eU(x),\pi(x)\propto e^{-U(x)},2

and along absolutely continuous curves one has the chain rule

π(x)eU(x),\pi(x)\propto e^{-U(x)},3

These facts are what allow MASLA to replace classical gradients by generalized derivatives without abandoning the Langevin construction (Ning, 9 Jul 2025).

3. General MASLA construction

In the general non-smooth and non-convex setting, MASLA is motivated by the Langevin-type stochastic differential inclusion

π(x)eU(x),\pi(x)\propto e^{-U(x)},4

A discrete Euler–Maruyama step is then written as

π(x)eU(x),\pi(x)\propto e^{-U(x)},5

where π(x)eU(x),\pi(x)\propto e^{-U(x)},6 is a measurable selection from the conservative field. The paper also writes

π(x)eU(x),\pi(x)\propto e^{-U(x)},7

so that gradients are used wherever π(x)eU(x),\pi(x)\propto e^{-U(x)},8 is smooth and a subgradient is used at non-smooth points (Ning, 9 Jul 2025).

Conditional on π(x)eU(x),\pi(x)\propto e^{-U(x)},9 and a deterministic choice of U:Rd[0,)U:\mathbb{R}^d\to[0,\infty)0, the proposal is Gaussian with density

U:Rd[0,)U:\mathbb{R}^d\to[0,\infty)1

The Metropolis–Hastings correction is

U:Rd[0,)U:\mathbb{R}^d\to[0,\infty)2

and the chain update is

U:Rd[0,)U:\mathbb{R}^d\to[0,\infty)3

with U:Rd[0,)U:\mathbb{R}^d\to[0,\infty)4. When U:Rd[0,)U:\mathbb{R}^d\to[0,\infty)5 is U:Rd[0,)U:\mathbb{R}^d\to[0,\infty)6 everywhere and U:Rd[0,)U:\mathbb{R}^d\to[0,\infty)7, MASLA reduces exactly to standard MALA (Ning, 9 Jul 2025).

The algorithm does not prescribe a unique selection rule for U:Rd[0,)U:\mathbb{R}^d\to[0,\infty)8. Any measurable selection from U:Rd[0,)U:\mathbb{R}^d\to[0,\infty)9 is admissible. For compositions of linear maps and activations, including neural-network architectures, the paper emphasizes that automatic differentiation can be used to compute a generalized gradient consistent with the conservative-field chain rule; at smooth points it coincides with dXt=U(Xt)dt+2dBtdX_t = -\nabla U(X_t)\,dt + \sqrt{2}\,dB_t0, and at non-smooth points it selects one valid generalized derivative (Ning, 9 Jul 2025).

4. Moreau–Yosida and proximal realizations of MASLA

In the convex setting treated in the MY-MALA scaling analysis, the target is

dXt=U(Xt)dt+2dBtdX_t = -\nabla U(X_t)\,dt + \sqrt{2}\,dB_t1

under the assumption that dXt=U(Xt)dt+2dBtdX_t = -\nabla U(X_t)\,dt + \sqrt{2}\,dB_t2 is convex, proper, and lower semicontinuous. The Moreau–Yosida envelope is

dXt=U(Xt)dt+2dBtdX_t = -\nabla U(X_t)\,dt + \sqrt{2}\,dB_t3

with proximal operator

dXt=U(Xt)dt+2dBtdX_t = -\nabla U(X_t)\,dt + \sqrt{2}\,dB_t4

The central identity is

dXt=U(Xt)dt+2dBtdX_t = -\nabla U(X_t)\,dt + \sqrt{2}\,dB_t5

Because dXt=U(Xt)dt+2dBtdX_t = -\nabla U(X_t)\,dt + \sqrt{2}\,dB_t6 is convex, dXt=U(Xt)dt+2dBtdX_t = -\nabla U(X_t)\,dt + \sqrt{2}\,dB_t7 is continuously differentiable and convex, with dXt=U(Xt)dt+2dBtdX_t = -\nabla U(X_t)\,dt + \sqrt{2}\,dB_t8 Lipschitz of constant dXt=U(Xt)dt+2dBtdX_t = -\nabla U(X_t)\,dt + \sqrt{2}\,dB_t9 (Crucinio et al., 2023).

The proximal map is the resolvent of the subdifferential. If UU0, then

UU1

Thus UU2 is a particular subgradient of UU3 evaluated at the prox image. This is the precise sense in which MY-MALA is a MASLA: the drift is built from a proximal or subdifferential object rather than from a classical gradient (Crucinio et al., 2023).

The unadjusted Moreau–Yosida Langevin step is

UU4

or equivalently

UU5

In the Metropolis-adjusted version, the proposal is

UU6

with Gaussian proposal density

UU7

and acceptance probability

UU8

The special case UU9 is P-MALA. For the Laplace potential C1C^10, the limiting case C1C^11 yields the paper’s subgradient MALA, sG-MALA,

C1C^12

which is the pure subgradient MASLA for that target (Crucinio et al., 2023).

5. High-dimensional scaling theory

The most detailed optimal-scaling results currently attached to MASLA-type methods come from the MY-MALA analysis in product targets (Crucinio et al., 2023). For differentiable targets of the form

C1C^13

with C1C^14 and polynomially bounded derivatives, the proposal parameters are written as

C1C^15

Three regimes appear.

For case (a), C1C^16 with C1C^17 and C1C^18, the optimal scaling is

C1C^19

the limiting mean acceptance is

1\ell_10

and the speed function is maximized at acceptance approximately 1\ell_11. This is the RWM-like regime. For case (b), 1\ell_12 with 1\ell_13, the optimal scaling becomes

1\ell_14

the limiting acceptance is

1\ell_15

and the optimal acceptance is approximately 1\ell_16, as in MALA. For case (c), 1\ell_17 with 1\ell_18 and 1\ell_19, MY-MALA has the same limiting scaling and the same U(x)\nabla U(x)0 constant as classical MALA, again with optimal acceptance approximately U(x)\nabla U(x)1 (Crucinio et al., 2023).

The paper interprets these regimes through the relative decay of U(x)\nabla U(x)2 and U(x)\nabla U(x)3. If U(x)\nabla U(x)4, U(x)\nabla U(x)5 goes to zero faster than U(x)\nabla U(x)6 and MY-MALA behaves asymptotically as MALA. If U(x)\nabla U(x)7, the order remains MALA-like but the speed constant worsens with U(x)\nabla U(x)8, so MALA is optimal within that family. If U(x)\nabla U(x)9, the envelope remains comparatively smooth, stability is improved, but the scaling degrades (Crucinio et al., 2023).

For the non-smooth product Laplace target

FF0

the proximal operator is soft thresholding,

FF1

and the componentwise MY-MALA proposal becomes

FF2

When

FF3

the acceptance limit is

FF4

which does not depend on FF5 and therefore does not depend on FF6 as long as FF7 decays at least as fast as FF8. The limiting diffusion is

FF9

and the optimal acceptance is characterized by Rd\mathbb{R}^d00. Equivalently, the step-size regime is

Rd\mathbb{R}^d01

which the paper describes as a new intermediate regime between RWM and smooth-target MALA (Crucinio et al., 2023).

6. Stationarity, reversibility, and implementation

For the general locally Lipschitz MASLA, the main formal guarantee is a stationarity theorem. If at Lebesgue-a.e. point Rd\mathbb{R}^d02 in the domain of Rd\mathbb{R}^d03 there exists an open neighborhood Rd\mathbb{R}^d04 where Rd\mathbb{R}^d05 is Rd\mathbb{R}^d06, and if the initial distribution is absolutely continuous with respect to Lebesgue measure, then for almost every step size Rd\mathbb{R}^d07 the MASLA chain has Rd\mathbb{R}^d08 as a stationary distribution and is reversible with respect to Rd\mathbb{R}^d09 (Ning, 9 Jul 2025).

The proof strategy is based on showing that the proposal kernel has a density for almost every Rd\mathbb{R}^d10. A simplified proposal using Rd\mathbb{R}^d11 where it exists is analyzed via a pseudo-Hessian and the inverse function theorem to prove that the proposal maps absolutely continuous measures to absolutely continuous measures. Since Rd\mathbb{R}^d12 a.e., the actual subgradient proposal coincides almost surely with the simplified one, and standard Metropolis–Hastings detailed balance then yields reversibility (Ning, 9 Jul 2025).

Implementation requires three ingredients: evaluation of Rd\mathbb{R}^d13, evaluation of a measurable selection Rd\mathbb{R}^d14, and Gaussian noise generation. In practice, the subgradient can be written analytically in piecewise-smooth models such as Rd\mathbb{R}^d15, or obtained through automatic differentiation in ReLU-type neural networks. The per-iteration cost is essentially the same as for MALA: one subgradient evaluation, one Gaussian draw, and the energy evaluations needed by the acceptance ratio (Ning, 9 Jul 2025).

For the convex-proximal subclass, the MY-MALA analysis gives more explicit tuning guidance. For smooth targets where MALA is stable and gradients are cheaply available, it is preferable to make Rd\mathbb{R}^d16 very small, effectively recovering the MALA regime. For non-smooth Laplace-like targets, the recommendation is to choose Rd\mathbb{R}^d17 so that the algorithm remains in the correct scaling regime Rd\mathbb{R}^d18. For smooth targets with tails in the family Rd\mathbb{R}^d19, MALA is geometrically ergodic for Rd\mathbb{R}^d20, whereas for Rd\mathbb{R}^d21 it may fail to be geometrically ergodic; in that case MY-MALA with suitably large Rd\mathbb{R}^d22 can improve ergodicity by smoothing the tails, at the cost of less favorable scaling (Crucinio et al., 2023).

7. Empirical behavior, terminology, and open questions

The 2025 paper reports two main empirical studies (Ning, 9 Jul 2025). In a two-dimensional TV–Rd\mathbb{R}^d23 model,

Rd\mathbb{R}^d24

with parameters Rd\mathbb{R}^d25, Rd\mathbb{R}^d26, and Rd\mathbb{R}^d27, MASLA is compared against proximal-subgradient Langevin, gradient-subgradient Langevin, P-MALA, and MYULA. Using Rd\mathbb{R}^d28 independent chains and step sizes Rd\mathbb{R}^d29, the experiments show exponential decay of Rd\mathbb{R}^d30 and total variation distance to the true target for all algorithms considered, with MASLA close to the specialized proximal and subgradient methods.

A second experiment studies the non-convex and non-proximal example

Rd\mathbb{R}^d31

Here the proximal operator is multi-valued at some points, so P-MALA and MYULA are not directly applicable. MASLA is compared with the unadjusted subdifferential Langevin algorithm (USLA). With Rd\mathbb{R}^d32 iterations, step size Rd\mathbb{R}^d33, initialization at Rd\mathbb{R}^d34, and Rd\mathbb{R}^d35 burn-in discarded, the reported errors are: TV error Rd\mathbb{R}^d36 for USLA versus Rd\mathbb{R}^d37 for MASLA, Rd\mathbb{R}^d38 error Rd\mathbb{R}^d39 for USLA versus Rd\mathbb{R}^d40 for MASLA, and computation time Rd\mathbb{R}^d41 s for USLA versus Rd\mathbb{R}^d42 s for MASLA. The histogram for MASLA matches the theoretical density well, while the USLA histogram deviates substantially.

The terminology surrounding this family is not uniform. The literature names recorded in the two papers are MYULA for the unadjusted Moreau–Yosida sampler, P-Langevin or Proximal Langevin for the same unadjusted idea, P-MALA for the special case Rd\mathbb{R}^d43, MY-MALA for the general convex-proximal Metropolis-adjusted family, and sG-MALA for the Laplace subgradient method. MASLA is broader than these proximal variants: it does not require convexity and does not require a single-valued proximal operator, whereas MY-MALA is a particular MASLA instance built from Rd\mathbb{R}^d44 or Rd\mathbb{R}^d45 (Ning, 9 Jul 2025, Crucinio et al., 2023).

Several limitations remain explicit. The general MASLA paper proves stationarity and reversibility but does not provide a detailed geometric-ergodicity or mixing-rate theory, no explicit step-size bounds or optimal scaling rules are derived for the general locally Lipschitz non-convex setting, and the effect of different measurable subgradient selections on mixing is left open. High-dimensional experiments on realistic applications, such as deep Bayesian neural networks, also remain to be carried out systematically. By contrast, the 2023 paper provides sharp scaling theory only for the convex Moreau–Yosida subclass, specifically smooth product targets and the product Laplace target. A plausible implication is that the current theory is strongest in the convex-proximal regime, while the full non-convex MASLA program is presently supported mainly by the stationarity theorem and low-dimensional empirical evidence (Ning, 9 Jul 2025, Crucinio et al., 2023).

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 Subdifferential Langevin Algorithm (MASLA).