Sampling from Boltzmann distributions—where we know the energy function $E(x)$ but not the normalization constant—is a cornerstone of statistical physics, chemistry, and Bayesian inference. Traditionally, this meant relying on Markov Chain Monte Carlo (MCMC) methods, which are notoriously slow to mix in complex, multi-modal landscapes.
While recent "Diffusion Samplers" have promised a faster alternative, they often hit a wall: they either require computationally expensive importance weights (IWs) or are restricted by rigid mathematical assumptions. In their recent paper, researchers introduce the Adjoint Schrödinger Bridge Sampler (ASBS), a scalable framework that breaks these restrictions.
TL;DR
ASBS is a new diffusion-based sampler that learns to sample from unnormalized energy functions without needing ground-truth samples or expensive importance weights. By framing sampling as a Schrödinger Bridge problem, it allows for arbitrary prior distributions (like harmonic oscillators for molecules), significantly improving efficiency and scalability over previous state-of-the-art methods.
What Problem Does This Paper Address?
To sample from a target distribution $\nu(x) \propto e^{-E(x)}$, we usually need to evaluate the energy function $E(x)$ many times. Modern diffusion samplers try to learn a "drift" that pushes a simple noise distribution toward this target. However, two major hurdles have historically held these models back:
- The Sample Gap: Since we only have the energy function and no actual samples from the target, training these models usually requires "Importance Weighted" estimation, which is slow and scales poorly.
- The Memoryless Constraint: Recent scalable methods like Adjoint Sampling (AS) required a "memoryless condition," forcing the model to start from a single point (a Dirac delta). This is akin to trying to explore a mountain range starting from a single GPS coordinate rather than having a general map of the area; it severely limits the model's ability to handle complex, multi-modal landscapes.
Methods: The ASBS Approach
ASBS treats sampling as a Schrödinger Bridge (SB) problem—finding the most efficient path (in terms of kinetic energy) between a source distribution and the target. The authors make two key technical moves to solve this at scale:
- Stochastic Optimal Control (SOC) Lens: They prove that the SB problem can be reinterpreted as an SOC problem with a specific terminal cost. This allows them to use Adjoint Matching, a self-consistency loss that trains the model using its own generated samples rather than external target samples.
- Alternating Optimization (The Corrector): To handle non-memoryless starts (like starting from a Gaussian or a harmonic prior), they introduce a second objective called Corrector Matching. The algorithm alternates between updating the "drift" (how to move) and the "corrector" (how to debias the starting point).
Mathematically, this alternating process is shown to be a neural-network-scaled version of the classic Iterative Proportional Fitting (IPF) algorithm, ensuring global convergence.
Key Insights and Results
The authors evaluated ASBS across several challenging benchmarks, including synthetic physics potentials (Double-Well, Lennard-Jones), Alanine Dipeptide (a 22-atom molecular benchmark), and large-scale amortized conformer generation (SPICE and GEOM-DRUGS datasets).
- Priors Matter: Unlike previous scalable samplers stuck with a single-point start, ASBS can use "domain-specific priors." For molecules, using a harmonic prior (which accounts for basic bond structures) allowed the model to outperform models that had been "warm-started" with extra data.
- Superior Accuracy: On synthetic tasks like the Lennard-Jones potential, ASBS achieved significantly lower Wasserstein-2 distances compared to baselines like PIS, DDS, and the original Adjoint Sampling.
- Efficiency: ASBS is much more energy-efficient than MCMC-based methods, requiring far fewer evaluations of the energy function $E(x)$ to reach high-quality samples. By using the Adjoint Matching objective, the model achieves scalability because it doesn't need to estimate the target distribution during training.
- Mode Finding: In a 40-mode Gaussian Mixture Model, ASBS successfully identified almost all modes, whereas standard Langevin dynamics recovered less than half.
Limitations and Future Work
While highly effective, ASBS is not without limitations. Like many SOC-based methods, it can be "mode-seeking," meaning it might focus on high-density areas and miss very rare, low-density modes. The authors suggest that integrating importance sampling could mitigate this in the future.
Additionally, ASBS requires an extra "corrector" network, which adds a slight computational overhead per step compared to simpler models. However, this is heavily offset by its overall sampling efficiency and reduced need for energy evaluations. Future work will explore how ASBS performs on even larger molecular systems and further refine the noise schedules used during training.
For more details, check out the paper and the official code repository at github.com/facebookresearch/adjoint_samplers.
Summary updated