langevin sampling

Designs and implements samplers and simulators based on Langevin stochastic differential equations that generate samples from target probability distributions, including posterior sampling in latent or parameter spaces. This work includes constructing discretized SDE integrators and noise/preconditioning schemes, combining learned score functions with likelihoods, enforcing constraints or physical priors in the dynamics, and analyzing convergence, stability, and sampling bias.

langevinsampling

Recent Skill Trend

Momentum and market value over time
Trending
Score
No comparison yet
-0.28
Oct 01, 2026Oct 01, 2026
Career
Value
No comparison yet
$200K/year
Oct 01, 2026Oct 01, 2026

Must-Read Papers

Most classic and influential ideas
View more

Efficient sampling from unnormalized Boltzmann densities remains challenging, particularly in high-dimensional multimodal distributions and Bayesian inference. This work proposes a probability flow ordinary differential equation (ODE) method based on linear stochastic interpolation, which, for the first time, employs a Langevin sampler to jointly draw samples from interpolated distributions and estimate the corresponding velocity field. This approach provides a theoretically grounded initialization and dynamic modeling for the flow ODE, ensuring stability and convergence. By integrating stochastic interpolation, probability flow ODEs, and Langevin diffusion, the method demonstrates efficient and robust sampling performance across a range of high-dimensional multimodal distributions and Bayesian inference tasks.

Boltzmann distributionLangevin dynamicsprobability flow

Preconditioned Langevin Dynamics with Score-Based Generative Models for Infinite-Dimensional Linear Bayesian Inverse Problems

May 23, 2025
LB
Lorenzo Baldassari
🏛️ University of Basel | Ecole Polytechnique | University of California Irvine | Rice University

This work addresses linear Bayesian inverse problems in infinite-dimensional function spaces. We propose a preconditioned Langevin dynamics sampling method leveraging a score-based generative model (SGM) prior, ensuring algorithmic stability and convergence under mesh refinement. We rigorously define the infinite-dimensional Langevin sampler in Hilbert space for the first time and derive an explicit KL-divergence error bound. An optimal preconditioner—explicitly dependent on the score estimation error and the forward operator—is designed to achieve uniform convergence rates for multimodal posteriors. Theoretical analysis establishes sufficient conditions for global convergence in KL divergence, applicable to both Gaussian and generalized non-Gaussian priors. Numerical experiments demonstrate that the proposed preconditioner significantly enhances numerical stability and accelerates convergence.

Analyzing Langevin dynamics with score-based generative models as priorsDeriving error estimates and convergence conditions for function spacesSolving infinite-dimensional Bayesian inverse problems with stability

Sampling parameters of ordinary differential equations with Langevin dynamics that satisfy constraints

Aug 28, 2024
CC
Chris Chi
🏛️ University of Chicago | New York University

Standard MCMC methods for Bayesian parameter estimation in ODEs suffer from high rejection rates, slow convergence, and excessive computational cost due to strong nonlinear dependencies among parameters and states. To address this, we propose a constraint-satisfying Langevin dynamics method that directly samples on the joint state-parameter manifold, embedding the ODE dynamics as hard constraints into the sampling process—thereby eliminating repeated forward numerical integration. Our approach uniquely integrates Langevin dynamics, trajectory optimization, and numerical continuation techniques within a constrained differential equation framework, enabling efficient posterior sampling while rigorously preserving the structural integrity of ODE solutions. Evaluated on a biochemical oscillator model, the method achieves over 100× improvement in sampling efficiency compared to standard MCMC. It accurately resolves Hopf bifurcations and characterizes limit-cycle regions, significantly enhancing uncertainty quantification and model selection capabilities.

Estimating parameters without numerical integration of ODEsOvercoming computational cost of MCMC for nonlinear ODE modelsSampling ODE parameters with constraints using Langevin dynamics

Second Order Ensemble Langevin Method for Sampling and Inverse Problems

Aug 09, 2022
ZL
Ziming Liu
🏛️ Massachusetts Institute of Technology | California Institute of Technology

To address the challenge of posterior sampling in high-dimensional, non-Gaussian Bayesian inverse problems where gradients are inaccessible, this paper proposes a gradient-free, affine-invariant ensemble sampling method. The core innovation couples second-order Langevin dynamics with Hamiltonian stochastic differential equations by introducing auxiliary momentum variables and designing a damping-driven mechanism, thereby constructing a novel stochastic dynamical system that preserves the target Gibbs measure. Furthermore, the method integrates covariance-adaptive preconditioning with ensemble averaging approximation to accelerate convergence without compromising invariance. This work establishes the first theoretical unification of second-order Langevin dynamics and ensemble approximation, significantly enhancing sampling efficiency and robustness. Extensive experiments on multiple high-dimensional Bayesian inverse problems demonstrate its superior performance over existing approaches.

Accelerates convergence to Gibbs measure with preconditionerProposes ensemble method for second order Langevin samplingSolves gradient-free sampling in Bayesian inverse problems

A theoretical-practical gap persists in score-based diffusion models. Method: We propose a unified, reproducible SDE-based modeling framework that systematically integrates score matching, SDE/ODE solvers, denoising score estimation, and consistency modeling; notably, we introduce reinforcement learning into diffusion sampling for inference-path optimization. Contributions: (1) We establish theoretical consistency between sampling and score estimation under the SDE formulation; (2) we provide concise proofs of key theorems alongside practical algorithmic implementation guidelines; (3) we release modular, open-source code enabling rapid validation and extension to novel architectures. This work bridges the efficiency of score matching with scalable, RL-enhanced inference, delivering a foundational toolkit that balances theoretical rigor and engineering practicality for the design, analysis, and application of diffusion models.

Discusses sampling and score matching in diffusion modelingExplains score-based diffusion models using stochastic differential equationsProvides technical introduction for practitioners designing new models

Latest Papers

What's happening recently
View more

This work addresses the irreducible sampling bias introduced by approximate composite score functions in compositional simulation-based inference. To mitigate this issue, the authors propose a solution based on annealed Langevin dynamics, modeling the composite score as a sequence of true scores associated with bridging densities and progressively controlling bias through iterative sampling. For the first time, the study provides theoretical guidance on key algorithmic parameters—including step size, number of iterations per annealing level, and total number of annealing levels—to guarantee a prescribed sampling accuracy. The analysis further reveals fundamental theoretical distinctions among different composite score constructions. By combining Wasserstein error bounds with closed-form solutions in Gaussian settings, the authors demonstrate that the construction by Linhart et al. is theoretically superior to that of Geffner et al. Empirical experiments corroborate the generalization efficacy of the proposed tuning strategy in complex inference scenarios.

annealed Langevin dynamicscompositional scorehyperparameter tuning

Diffusion posterior samplers are widely used in inverse problems, yet their outputs suffer from bias and discretization instability at low temperatures, with the underlying mechanisms poorly understood. This work constructs a tractable surrogate path bridging the true posterior and a standard Gaussian distribution, leveraging the Feynman–Kac formula to express the density ratio as a path-space expectation. For the first time, it derives a partial differential equation that characterizes sampling bias. By integrating Radon–Nikodym derivatives, Ornstein–Uhlenbeck processes, and auxiliary drift reconstruction, the study reveals the origins and spatial distribution of bias in methods such as DPS and STSL: it precisely identifies regions of over- and under-sampling in DPS and explains how STSL enhances stability through a smoothed reaction term. This theoretical framework provides a foundation for designing stable and efficient posterior sampling algorithms.

biasdiffusion modelsinverse problems

This work proposes a unified variational generative modeling framework based on stochastic differential equations (SDEs) to efficiently address complex data generation tasks, including images, videos, and biomolecular structures. By incorporating both ordinary and stochastic differential equations, the authors derive the evidence lower bound (ELBO) from a variational inference perspective, systematically demonstrating that diffusion models, score matching, and flow matching are distinct parameterizations within this general framework. Through theoretical analysis grounded in the Fokker–Planck equation and empirical validation via one-dimensional density modeling experiments, the study provides clear comparisons among different parameterization strategies, confirming the proposed framework’s theoretical coherence, expressive capacity, and practical efficacy.

diffusion modelsgenerative machine learningscore matching

This work establishes a unified theoretical framework for diffusion models from the perspective of differential equations. Starting from a conditional Gaussian forward process, it derives the corresponding forward stochastic differential equation (SDE) and ordinary differential equation (ODE), and constructs a dynamical system that transports the data distribution to a standard Gaussian prior via marginalization. The framework then introduces a reverse SDE and a probability flow ODE, both driven by the marginal score function, thereby unifying score matching and noise prediction objectives. It rigorously demonstrates the equivalence of DDPM and DDIM in their training objectives while clarifying their fundamental distinction in sampling mechanisms—DDPM corresponds to a discretized reverse SDE, whereas DDIM implements a reverse ODE. Furthermore, the framework seamlessly incorporates mainstream sampling techniques such as DPM-Solver and classifier guidance, providing a coherent and rigorous continuous-time foundation for diffusion models.

differential equationsdiffusion modelsODE

Hot Scholars

SW

Stephen Whitelam

Staff Scientist, Lawrence Berkeley National Lab
Statistical mechanicsmachine learning
DP

Daniel Paulin

Associate Professor, Nanyang Technological University
Bayesian computationapplied probabilitymachine learning and optimizationdata assimilation
GA

Gert Aarts

Swansea University
Theoretical physicshigh-energy physics
GL

Guang Lin

Associate Dean for Research, Moses Cobb Stevens Professor in Mathematics, Mech Eng Purdue University
Scientific Machine LearningUncertainty QuantificationGenerative AILLM
SC

Sinho Chewi

Yale University
optimal transportprobabilitysamplingstatistics