NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Transferable Boltzmann Generators

Leon Klein, Frank Noe

Introduction

In the fields of statistical physics and drug discovery, characterizing the "Boltzmann distribution" of a molecule is a fundamental challenge. This distribution represents the equilibrium probability of a molecule's various shapes, or conformations. Understanding these states is critical for predicting how drugs bind to targets or how proteins function.

Traditionally, researchers have relied on Molecular Dynamics (MD) simulations to explore these landscapes. However, MD is computationally expensive; it requires tiny, femtosecond-scale steps to maintain stability, often failing to cross high energy barriers between stable states (metastable states) within reasonable timeframes. Boltzmann Generators (BGs) were introduced to bypass this by learning to map a simple distribution, such as a Gaussian, into the complex molecular distribution. Yet, until now, BGs lacked transferability, requiring a complete retraining process for every new molecule studied. This paper introduces the first Transferable Boltzmann Generator (TBG), a model capable of zero-shot prediction of equilibrium states for unseen molecules.

Methodology

The TBG framework integrates several advanced machine learning techniques to achieve both physical accuracy and generalization across molecular space.

1. Continuous Normalizing Flows and Flow Matching

Rather than using discrete coupling layers, the authors employ Continuous Normalizing Flows (CNFs). These define a smooth vector field that transforms particles from a simple prior distribution to the target molecular distribution. To train these flows efficiently, the researchers utilize "Flow Matching," a simulation-free objective that is significantly faster and more stable than previous maximum likelihood or variational approaches.

2. Equivariant Architectures

Physical systems are inherently symmetric; a molecule’s energy does not change if it is rotated or translated in space. To respect this, the model utilizes an Equivariant Graph Neural Network (EGNN). This ensures O(3) invariance, meaning the model’s predictions naturally rotate and translate with the input molecule, preserving the underlying physical laws.

3. Rich Molecular Embeddings

Transferability requires the model to distinguish between chemically similar but structurally distinct molecules. The authors found that simple atom-type labels were insufficient. Their "TBG + full" architecture incorporates multi-level embeddings:

  • Atom Type: Basic chemical identity.
  • Amino Acid Identity: The specific residue to which an atom belongs.
  • Positional Encoding: The atom's location within the peptide sequence.

4. Topological Post-Processing

Because the model operates in raw Cartesian coordinates, it may occasionally generate non-physical configurations, such as swapped atoms or incorrect chirality. The authors implemented an automated check using graph isomorphism to ensure that generated samples match the target molecule's intended topology.

Experimental Results

The model was benchmarked using two primary datasets: the standard Alanine Dipeptide (often called the "MNIST of molecular dynamics") and a 2AA Dipeptide dataset containing 200 different dipeptides.

Efficiency and Quality

On the Alanine Dipeptide benchmark, the TBG demonstrated a significant leap in sampling quality. It achieved an Effective Sample Size (ESS)—a metric of how many independent, high-quality samples are produced—of 6.03%, compared to just 1.56% for previous state-of-the-art architectures.

Zero-Shot Generalization

When tested on unseen dipeptides (molecules not present in the training set), the TBG maintained high performance, achieving a mean ESS of approximately 15%. Furthermore, the model generated the correct molecular topology 98% of the time for these unseen systems. This suggests that the model successfully learned the underlying principles of molecular geometry rather than simply memorizing training examples.

Comparison with Markov Chain Methods

Unlike models such as Timewarp, which generate samples sequentially (where each step depends on the last), TBGs generate independent samples. This independence allows for massive parallelization and reduces the number of expensive energy evaluations required to characterize a landscape.

Discussion and Limitations

While the TBG represents a major milestone in generative modeling for physics, several challenges remain:

  • Scaling: Moving from dipeptides to large, complex proteins involves an exponential increase in degrees of freedom and global constraints. Future work may require "coarse-grained" representations to keep the computational requirements manageable.
  • Chirality: The model still occasionally produces "mirror image" molecules (wrong chirality). Integrating chirality directly into the flow architecture remains an active area of research.
  • Informed Priors: While a standard Gaussian prior was used, the authors suggest that "Harmonic priors"—which encode basic bond information—could further improve performance if properly integrated.

Conclusion

The Transferable Boltzmann Generator demonstrates that it is possible to learn a generalized mapping of molecular equilibrium states. By combining equivariant networks with flow matching and rich structural embeddings, the authors have created a tool that can predict the behavior of new molecules zero-shot, offering a significant speedup over traditional MD and setting a new standard for sampling efficiency in computational chemistry.

Summary updated

BibTeX
@inproceedings{klein2024transferable,
  author = {Leon Klein and Frank Noe},
  title = {{Transferable Boltzmann Generators}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=AYq6GxxrrY},
}
Figure