Sampling via Stochastic Interpolants by Langevin-based Velocity and Initialization Estimation in Flow ODEs

Chenguang Duan, Yuling Jiao, Gabriele Steidl, Christian Wald, Jerry Zhijian Yang, Ruizhe Zhang

TL;DR

This paper introduces Sampling via Stochastic Interpolants (SSI), a training-free framework that samples from complex, multi-modal distributions by solving a probability flow ODE. By using Langevin samplers to estimate the flow's velocity field on-the-fly, the authors bypass the need for pre-trained neural networks while outperforming traditional MCMC methods on challenging benchmarks.

What Problem Does This Paper Address?

Sampling from unnormalized "Boltzmann" densities—common in physics, Bayesian inference, and machine learning—is notoriously difficult when the target distribution is multi-modal.

Traditional Markov Chain Monte Carlo (MCMC) methods, like Langevin Monte Carlo or Hamiltonian Monte Carlo, often suffer from the "trapping" problem: they get stuck in local modes because they cannot easily cross the high-energy barriers (low-density regions) that separate them. While modern diffusion and flow-based models solve this by smoothing the energy landscape, they typically require a computationally expensive "pre-training" phase where a neural network learns the score or velocity field. The authors seek a middle ground: a method that leverages the power of flow-based sampling but works on-the-fly without prior training.

Methods

The authors build their framework on linear stochastic interpolants, which define a path in probability space connecting a simple, easy-to-sample distribution (like a Gaussian) to the complex target distribution.

The core components of their approach include:

  1. Probability Flow ODE: Instead of a random walk, particles follow a deterministic path governed by a "velocity field."
  2. Langevin-based Estimation: To find the velocity field at any given time, the authors use a sequence of Langevin samplers. These samplers solve two tasks:
  3. Initialization: Generating starting particles at an intermediate time $T_0$ where the distribution is already smoothed by Gaussian convolution.
  4. Velocity Estimation: Estimating the "denoiser" (conditional expectation) required to move the particles toward the target.
  5. RMSprop-based Preconditioning: A key innovation is the use of an adaptive diagonal preconditioner. This scales the Langevin steps based on the local geometry, allowing the sampler to move faster through "flat" low-density regions and escape saddle points more efficiently.
  6. Exponential Integrator: They use a specialized numerical solver for the ODE that handles the linear part of the flow exactly, significantly reducing discretization errors compared to standard Euler methods.

Datasets

The method was evaluated on several synthetic but challenging benchmarks designed to test a sampler's ability to navigate multi-modal landscapes:

  • 2D Distributions: The "Rings" distribution (8 concentric circles), a 7×7 Gaussian grid (MoG7x7), and a random mixture of 40 Gaussians (MoG40).
  • High-Dimensional Scaling: The Many Well distribution (8D), characterized by highly isolated modes.
  • Bayesian Inference: A 1D Gaussian mixture model parameter estimation task (4D parameter space) featuring 24 distinct, symmetric modes.

Key Insights and Ideas

  • The $T_0$ Trade-off: The authors identify a "sweet spot" for the initialization time $T_0$. If $T_0$ is too small, the velocity field is numerically unstable; if it's too large, the distribution is already too complex for the initial Langevin sampler.
  • Decomposition of Difficulty: The paper effectively turns one "impossible" sampling task into a sequence of "tractable" sub-problems. By smoothing the target with Gaussian noise, the Langevin samplers encounter a much friendlier energy landscape.
  • Preconditioning as a Robustness Tool: While vanilla Langevin is highly sensitive to the choice of $T_0$, the RMSprop-based preconditioning creates a much broader "sweet spot," making the algorithm significantly easier to tune for real-world problems.
  • Training-Free Flow: This demonstrates that the benefits of Flow Matching—usually reserved for deep learning—can be achieved in a pure sampling context through Monte Carlo estimation.

Key Results

  • Superior Accuracy: SSI consistently achieved the lowest Maximum Mean Discrepancy (MMD) and Wasserstein-2 distances across all benchmarks. In the MoG7x7 and MoG40 experiments, SSI outperformed baselines like HMC and Parallel Tempering by orders of magnitude.
  • Mode Coverage: In the Bayesian inference task, SSI successfully captured all 24 modes of the posterior, whereas standard MCMC baselines collapsed into a single mode or failed to represent the relative weights correctly.
  • Theoretical Rigor: The authors provide non-asymptotic convergence rates, proving that the sampling error is controlled by the discretization of the ODE and the accuracy of the Langevin-based velocity estimates.

Limitations and Future Work

  • Computational Cost: While SSI is more efficient than SDE-based sampling in terms of the number of steps, each step requires running a Langevin chain to estimate the velocity. This "inner loop" can be computationally intensive.
  • Hyperparameter Tuning: Although preconditioning helps, the method still requires tuning the initialization time $T_0$ and the Langevin step sizes.
  • Future Directions: The authors suggest integrating interacting particle samplers to further improve the efficiency of the Langevin components, potentially allowing for even faster convergence in high-dimensional spaces.

Summary updated

Abstract

We propose a novel method for sampling from unnormalized Boltzmann densities based on a probability flow ordinary differential equation (ODE) derived from linear stochastic interpolants. The key innovation of our approach is the use of a sequence of Langevin samplers to enable efficient simulation of the flow. Specifically, these Langevin samplers are employed (i) to generate samples from the interpolant distribution at intermediate times and (ii) to construct, starting from these intermediate times, a robust estimator of the velocity field governing the probability flow ODE. Theoretically, we provide convergence guarantees for both Langevin components, and establish a non-asymptotic convergence rate for the probability flow ODE. Extensive numerical experiments demonstrate the efficiency of the proposed method on challenging multimodal distributions across a range of dimensions, as well as its effectiveness in Bayesian inference tasks.
BibTeX
@misc{duan2026sampling,
  author = {Chenguang Duan and Yuling Jiao and Gabriele Steidl and Christian Wald and Jerry Zhijian Yang and Ruizhe Zhang},
  title = {{Sampling via Stochastic Interpolants by Langevin-based Velocity and Initialization Estimation in Flow ODEs}},
  year = {2026},
  eprint = {2601.08527},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.08527},
}
Figure