Non-equilibrium Annealed Adjoint Sampler

Jaemoo Choi, Yongxin Chen, Molei Tao, Guan-Horng Liu

Introduction

In fields ranging from statistical physics to Bayesian inference and molecular chemistry, drawing samples from an unnormalized density—often referred to as an "energy function"—is a fundamental challenge. Traditional methods like Markov Chain Monte Carlo (MCMC) are notoriously slow to mix in high-dimensional spaces or when the target distribution features many isolated modes.

Recent advancements in "Diffusion Neural Samplers" attempt to address this by training neural networks to push particles from a simple distribution (like Gaussian noise) toward the target. However, most existing methods rely on an uninformative reference process. Navigating this is akin to wandering through a thick fog without a map; it makes learning the correct "control" to reach the target distribution highly inefficient.

To solve this, researchers introduce the Non-equilibrium Annealed Adjoint Sampler (NAAS), a novel diffusion-based sampler that frames the task as a stochastic optimal control (SOC) problem. By utilizing annealed reference dynamics instead of stationary noise, NAAS provides a guided path that makes learning high-quality samplers significantly more stable and efficient, especially for complex, high-dimensional distributions.

Methodology

The architecture of NAAS is built upon three core pillars designed to streamline the sampling process:

NAAS Framework Overview
  1. Annealed Reference Dynamics: Instead of a static base Stochastic Differential Equation (SDE), NAAS employs a time-dependent potential that interpolates between a simple prior and the complex target. This generates "informative trajectories" that naturally bias the flow toward high-density regions of the target. By making the reference "non-equilibrium" (annealed), the neural network only has to learn to correct the residual errors of the reference path, rather than learning the entire transport from scratch.
  2. Two-Stage SOC Formulation: The sampling problem is decoupled into two distinct sub-problems to prevent optimization interference:
  3. Stage 1: Learning a prior distribution $\mu$ from a simple starting point ($\delta_0$).
  4. Stage 2: Transporting that prior $\mu$ to the target $\nu$ using the annealed dynamics. The first stage handles broad coverage, while the second stage focuses on fine-grained refinement.

  5. Adjoint Matching (AM): To train the neural networks efficiently, NAAS uses a "lean adjoint system." This avoids the prohibitive computational cost of backpropagating through an SDE solver by aligning the network's control with a quantity derived from the "adjoint" (backward) process. The system also employs replay buffers to reuse computed trajectories, further accelerating training.

Experiments and Key Results

NAAS was evaluated on a variety of challenging benchmarks, including synthetic energy landscapes (MW54, Funnel, GMM40, MoS) and molecular dynamics tasks (Alanine Dipeptide). Notably, unlike many existing annealed samplers, NAAS does not require Importance Weighted Sampling (IWS) during training, avoiding the high-variance gradients that often plague IWS-based methods in high dimensions.

Mode Coverage on GMM40 and MoS

The framework demonstrated state-of-the-art performance across several dimensions:

  • Superior Accuracy: On the MW54 (32 modes) and GMM40 (40 modes) tasks, NAAS improved upon the second-best methods by more than 75% in terms of Sinkhorn distance, a metric measuring how well the generated samples match the target distribution.
  • Mode Coverage: In the 50-dimensional Mixture of Student’s t-distributions (MoS) task, NAAS successfully captured all modes without suffering from the mode collapse or over-concentration frequently seen in baseline models.
  • Scientific Fidelity: For the 60-dimensional Alanine Dipeptide molecule, NAAS captured torsion angles and energy distributions with significantly higher accuracy than competing methods, proving its utility for real-world molecular modeling.
  • Scalability: The model maintained high performance even as dimensionality increased to 100D, a threshold where other SOC-based methods typically begin to struggle.

Limitations and Future Directions

While NAAS offers substantial improvements, it does come with computational trade-offs. The method requires computing the Hessian (second derivative) of the energy function during sample generation. Although the authors utilize techniques to make this efficient, it still introduces a computational overhead absent in simpler methods. Additionally, the two-stage approach necessitates training and maintaining two separate neural networks.

Future work will likely explore more expressive annealing schedules and test the framework on even larger-scale, real-world scientific scenarios. Investigating the optimal "strength" of the annealing term to perfectly balance exploration and exploitation remains an exciting frontier for this research.

Summary updated

BibTeX
@inproceedings{choi2025non,
  author = {Jaemoo Choi and Yongxin Chen and Molei Tao and Guan-Horng Liu},
  title = {{Non-equilibrium Annealed Adjoint Sampler}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=ay7WDSq0Kb},
}
Figure