Drifting to Boltzmann: Million-Fold Acceleration in Boltzmann Sampling with Force-Guided Drifting

Pipi Hu

Abstract

Sampling molecular conformations from the Boltzmann distribution is essential for computational chemistry, but iterative diffusion methods are prohibitively slow. Drifting Models offer one-step generation, yet their equilibrium matches the training distribution, which may deviate from the true Boltzmann distribution due to sampling bias. We introduce Drifting Models to molecular conformation generation for the first time, establishing a theoretical bridge via the Drifting Score Identity: for Gaussian kernels, the drifting field's attraction equals a kernel-weighted average of any distribution's score function. Substituting molecular force labels -- which directly encode the Boltzmann score -- yields the Drifting Force Identity and decomposes the field into standard drift plus a Boltzmann correction. We further discover a striking phenomenon unique to molecular systems: force incorporation's effectiveness reverses across representations. In coordinate space, Force-Interpolated Drifting (FI) dominates by blending physical force directions with data displacements. In distance feature space, Force-Aligned Kernel (FK) achieves superior accuracy by modifying only kernel weights, thereby preserving the manifold of geometrically valid molecules. On MD17 Ethanol, both approaches achieve one-step generation with over 1000x speedup relative to recent score-matching methods with Boltzmann guiding, providing more than million-fold acceleration over traditional molecular dynamics, while ensuring perfect structural validity and distributional accuracy rivaling multi-step methods.

Introduction

In computational chemistry, sampling molecular conformations—the various shapes a molecule takes due to thermal vibrations—is a fundamental task. These samples must ideally follow the Boltzmann distribution, where the probability of a state is determined by its potential energy.

Traditionally, Molecular Dynamics (MD) simulations serve as the gold standard, but they are computationally expensive, requiring millions of tiny temporal steps. Generative AI, particularly Diffusion Models, has offered a faster alternative. However, diffusion still requires dozens of iterative denoising steps. Drifting Models represent a newer class of generators capable of producing samples in a single step. The primary drawback is that they learn to replicate their training data. If the training data is biased or incomplete—a common occurrence in chemical datasets—the model fails to capture the true Boltzmann equilibrium. This paper introduces Force-Guided Drifting, a framework that uses physical forces to correct training bias and achieve one-step Boltzmann sampling.

Methodology: The Drifting Force Identity

The authors bridge the gap between generative modeling and physics through the Drifting Score Identity. They prove that for Gaussian kernels, the "attraction" term in a drifting model is mathematically equivalent to a kernel-weighted average of the distribution's score function. Since the score of a Boltzmann distribution is the normalized physical force, they can substitute force labels directly into the model.

This substitution leads to the Drifting Force Identity, which decomposes the generative field into two components: a standard drift (based on training data) and a Boltzmann correction term. This correction ensures that even if the training data is biased, the model is guided toward the true physical equilibrium.

Dynamics of the drifting field when incorporating the Boltzmann correction term.

As shown in the table above, the correction term plays a vital role when the generated distribution $q$ approaches the training data distribution $p_{data}$. While the standard drift vanishes at this point, the correction term continues to push the samples toward the true Boltzmann distribution $p_{Boltz}$, eventually reaching a balance where the net behavior matches the physical target.

Guiding Mechanisms and Representation Reversal

The authors propose two primary ways to implement this guidance:

  1. Force-Interpolated Drifting (FI): Directly blends the direction of physical forces with data-driven displacement vectors.
  2. Force-Aligned Kernel (FK): Adjusts the importance (weight) of training samples based on how well their forces align with the target, rather than changing the vector direction.

Crucially, the effectiveness of these methods depends on the coordinate system. In standard XYZ coordinates, FI is superior because forces represent intuitive directions in 3D space. However, in Distance Feature Space (pairwise interatomic distances), FI can create "impossible" molecules that violate geometric constraints. In this space, FK is superior because it reweights existing valid geometries, preserving the structural manifold.

Experimental Results

The framework was evaluated using the MD17 Ethanol dataset. To simulate real-world challenges, the models were trained on a biased protocol (the first 3,000 frames of a trajectory) and tested against a fully equilibrated set of 5,000 frames.

Speed and Efficiency

The Force-Guided Drifting model achieves a staggering million-fold acceleration over traditional MD simulations. Compared to state-of-the-art guided diffusion models, it provides a 1,000x speedup, generating 1,000 samples in approximately 0.001 seconds.

Accuracy and Structural Integrity

On the biased Ethanol task, the Force-Aligned Kernel (FK) in distance space achieved a Total Variation Distance (TVD) of 0.089, representing a 54% improvement over baseline drifting models. Furthermore, while many generative models struggle with structural validity (often producing stretched or broken bonds), the FK-Dist method achieved 100% Bond Stability with a Bond Mean Absolute Error (MAE) of only 0.006 Å.

Conclusion and Future Work

Force-Guided Drifting demonstrates that one-step generation is sufficient for accurate Boltzmann sampling when physical laws are properly integrated into the model's "drift." By leveraging the Drifting Force Identity, the authors overcome the inherent biases of training data.

Future research will focus on scaling these methods to larger systems, such as proteins, where the $O(D^3)$ scaling of feature-space force calculations may require more efficient approximations. Additionally, incorporating "metric corrections" (like the Fixman potential) could further refine the accuracy of models operating in internal coordinate spaces.

Summary updated

Abstract

Sampling molecular conformations from the Boltzmann distribution is essential for computational chemistry, but iterative diffusion methods are prohibitively slow. Drifting Models offer one-step generation, yet their equilibrium matches the \emph{training} distribution, which may deviate from the true Boltzmann distribution due to sampling bias. We introduce Drifting Models to molecular conformation generation for the first time, establishing a theoretical bridge via the \emph{Drifting Score Identity}: for Gaussian kernels, the drifting field's attraction equals a kernel-weighted average of \emph{any} distribution's score function. Substituting molecular force labels -- which directly encode the Boltzmann score -- yields the \emph{Drifting Force Identity} and decomposes the field into standard drift plus a Boltzmann correction. We further discover a striking phenomenon unique to molecular systems: force incorporation's effectiveness \emph{reverses across representations}. In coordinate space, Force-Interpolated Drifting (FI) dominates by blending physical force directions with data displacements. In distance feature space, Force-Aligned Kernel (FK) achieves superior accuracy by modifying only kernel weights, thereby preserving the manifold of geometrically valid molecules. On MD17 Ethanol, both approaches achieve one-step generation with over 1000x speedup relative to recent score-matching methods with Boltzmann guiding, providing more than million-fold acceleration over traditional molecular dynamics, while ensuring perfect structural validity and distributional accuracy rivaling multi-step methods.
BibTeX
@misc{hu2026drifting,
  author = {Pipi Hu},
  title = {{Drifting to Boltzmann: Million-Fold Acceleration in Boltzmann Sampling with Force-Guided Drifting}},
  year = {2026},
  eprint = {2603.05527},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.05527},
}
Figure