Abstract
Sampling from unnormalized probability densities is a fundamental challenge in computational science. While diffusion-based samplers have shown promise, they often struggle with high-dimensional multimodal landscapes due to uninformative reference processes. We present the Non-equilibrium Annealed Adjoint Sampler (NAAS), a novel framework that integrates annealed reference dynamics into a stochastic optimal control (SOC) objective. By utilizing a lean adjoint system for training, NAAS avoids the high variance of importance sampling and the computational cost of standard backpropagation through SDEs. Our results demonstrate significant improvements in sample quality and mode coverage across synthetic and molecular benchmarks.
1. Introduction
The task of drawing samples from a target distribution $\nu(x) \propto \exp(-E(x))$ is central to Bayesian inference, statistical mechanics, and molecular modeling. Traditional Markov Chain Monte Carlo (MCMC) methods often fail to traverse high-energy barriers in complex landscapes, leading to poor mixing and slow convergence.
Recent advances in generative modeling have introduced diffusion-based samplers that transform a simple base distribution into the target. However, these methods typically rely on a static reference process, forcing the model to learn the entire transport map without guidance. This often results in training instability and failure to capture all modes of the target distribution. NAAS addresses these limitations by reframing sampling as a two-stage SOC problem that leverages "annealed" reference dynamics.
2. The NAAS Framework
2.1 Annealed Reference Dynamics
Unlike standard diffusion samplers that use a fixed Gaussian prior, NAAS employs an annealed Stochastic Differential Equation (SDE) as a baseline. This process naturally drifts toward the target distribution over time, providing "hints" about high-density regions. The neural network's task is simplified: it only needs to learn the residual control required to make the sampling process perfectly unbiased.
2.2 Joint Stochastic Optimal Control
The framework decomposes the sampling task into two complementary stages:
- Prior Learning: Learning a "debiased" prior distribution $\mu$ from a simple initial point.
- Controlled Transport: Transporting the learned prior $\mu$ to the final target $\nu$ using controlled annealed dynamics.
2.3 Adjoint Matching (AM)
To ensure scalability, NAAS utilizes "Adjoint Matching." Standard training for SOC-based samplers involves backpropagating through the SDE solver, which is computationally prohibitive for high-dimensional systems. AM introduces a lean adjoint system that aligns the control function with the optimal trajectory, enabling efficient training on a single GPU even for 100-dimensional problems.
2.4 Alternating Optimization
NAAS employs an alternating optimization scheme. By decoupling the global objective (discovering modes) from the local objective (refining sample fidelity), the training process becomes significantly more stable and reaches higher fidelity than single-stage approaches.
3. Experimental Evaluation
The effectiveness of NAAS was evaluated on a suite of challenging benchmarks ranging from synthetic energy landscapes to molecular dynamics.
3.1 Synthetic Benchmarks
NAAS was tested on several high-dimensional distributions designed to challenge mode discovery:
- MW54: A 5D many-well distribution with 32 distinct modes.
- Funnel: A 10D distribution with a sharp, narrow neck, testing the sampler's ability to handle varying scales.
- GMM40: A 40-mode Gaussian Mixture Model in 50D and 100D.
- MoS: A 50D Mixture of Student’s t-distributions with heavy tails.
In the 50D GMM40 task, NAAS achieved a Sinkhorn distance of 496.48, representing a nearly 7.5x improvement over the second-best method, SCLD (3787.73). Furthermore, NAAS successfully captured all 32 modes in the MW54 task with significantly lower error than previous methods.
3.2 Molecular Dynamics: Alanine Dipeptide
To test real-world applicability, the researchers applied NAAS to the 66-dimensional state space of Alanine Dipeptide (AD). The model accurately captured the Boltzmann distribution of the molecule, specifically the torsion angles which are critical for understanding chemical conformations and physical rotations.
4. Discussion and Limitations
NAAS demonstrates that combining annealing with SOC provides a powerful mechanism for high-dimensional sampling. The use of annealed dynamics provides the necessary guidance to find modes, while the SOC formulation ensures the final samples are unbiased without the variance issues associated with importance sampling. Efficiency is a notable strength; NAAS completed a 100D task in approximately 120 minutes on a single A6000 GPU.
However, the method has some trade-offs. The Adjoint Matching technique requires calculating the Hessian of the target energy function, which can be computationally expensive for certain complex potentials. Additionally, the two-network architecture increases memory requirements compared to simpler, single-stage samplers.
5. Conclusion
The Non-equilibrium Annealed Adjoint Sampler (NAAS) represents a significant step forward in diffusion-based sampling. By integrating annealed reference dynamics and efficient adjoint-based training, it achieves state-of-the-art performance on complex, high-dimensional distributions. Future work will explore adaptive annealing schedules to further enhance the scalability and efficiency of the framework for even larger real-world datasets.
Summary updated