Penalized Overdamped and Underdamped Langevin Monte Carlo Algorithms for Constrained Sampling
Mert Gürbüzbalaban, Yuanhan Hu, Lingjiong Zhu
TL;DR
This work addresses constrained sampling from a Gibbs-like target $\pi(x)\propto e^{-f(x)}$ over a convex set $\mathcal{C}$ by introducing penalty-based reformulations: the penalized target $\pi_{\delta}(x)\propto e^{-f(x)-S(x)/\delta}$ with $S(x)$ vanishing on $\mathcal{C}$. It develops penalized Langevin methods (PLD, PULMC) and their stochastic-gradient variants (PSGLD, PSGULMC), establishing non-asymptotic convergence guarantees and explicit iteration complexities under smoothness and boundary-regularity assumptions; notably, $\tilde{\mathcal{O}}(d/\varepsilon^{10})$ for PLD and $\tilde{\mathcal{O}}(\sqrt{d}/\varepsilon^{7})$ for PULMC in the deterministic-gradient setting. When gradients are stochastic, the paper provides convergence bounds in $\mathcal{W}_2$ with complexities $\tilde{\mathcal{O}}(d/\varepsilon^{18})$ (PSGLD) and $\tilde{\mathcal{O}}(d\sqrt{d}/\varepsilon^{39})$ (PSGULMC) under strong convexity, and analogous finite-time bounds for non-convex $f$; these results are among the first for constrained ULMC with non-convex potentials. The authors also show how to avoid projections via alternative penalty constructions and demonstrate the methods on Bayesian LASSO and constrained deep learning tasks, highlighting practical scalability and accuracy improvements. Overall, the penalty-based approach converts constrained sampling into unconstrained sampling with provable guarantees, enabling efficient, scalable Bayesian inference under convex constraints and non-convex objectives.
Abstract
We consider the constrained sampling problem where the goal is to sample from a target distribution $π(x)\propto e^{-f(x)}$ when $x$ is constrained to lie on a convex body $\mathcal{C}$. Motivated by penalty methods from continuous optimization, we propose penalized Langevin Dynamics (PLD) and penalized underdamped Langevin Monte Carlo (PULMC) methods that convert the constrained sampling problem into an unconstrained sampling problem by introducing a penalty function for constraint violations. When $f$ is smooth and gradients are available, we get $\tilde{\mathcal{O}}(d/\varepsilon^{10})$ iteration complexity for PLD to sample the target up to an $\varepsilon$-error where the error is measured in the TV distance and $\tilde{\mathcal{O}}(\cdot)$ hides logarithmic factors. For PULMC, we improve the result to $\tilde{\mathcal{O}}(\sqrt{d}/\varepsilon^{7})$ when the Hessian of $f$ is Lipschitz and the boundary of $\mathcal{C}$ is sufficiently smooth. To our knowledge, these are the first convergence results for underdamped Langevin Monte Carlo methods in the constrained sampling that handle non-convex $f$ and provide guarantees with the best dimension dependency among existing methods with deterministic gradient. If unbiased stochastic estimates of the gradient of $f$ are available, we propose PSGLD and PSGULMC methods that can handle stochastic gradients and are scaleable to large datasets without requiring Metropolis-Hasting correction steps. For PSGLD and PSGULMC, when $f$ is strongly convex and smooth, we obtain $\tilde{\mathcal{O}}(d/\varepsilon^{18})$ and $\tilde{\mathcal{O}}(d\sqrt{d}/\varepsilon^{39})$ iteration complexity in W2 distance. When $f$ is smooth and can be non-convex, we provide finite-time performance bounds and iteration complexity results. Finally, we illustrate the performance on Bayesian LASSO regression and Bayesian constrained deep learning problems.
