Equivariant Flows: sampling configurations for multi-body systems with symmetric energies

Jonas Köhler, Leon Klein, Frank Noé

Introduction

In computational physics and chemistry, understanding the equilibrium states of many-body systems like proteins or condensed matter is a monumental challenge. These systems are governed by complex energy functions $u(x)$ in high-dimensional spaces. Boltzmann Generators (BGs) have emerged as a promising solution, using normalizing flows to map simple prior distributions to complex physical ones. However, standard BGs often struggle with generalization because they do not inherently respect the fundamental symmetries of the physical world.

The Challenge of Symmetry

Physical laws are often invariant under certain transformations. For instance, the energy of a molecular configuration remains unchanged if the entire system is rotated, translated, or if identical particles are swapped. Standard generative models, such as RealNVP, lack this "knowledge." They must learn these symmetries from data, which often leads to models that memorize specific orientations seen during training rather than learning the underlying physical manifold. This lack of inductive bias results in poor generalization to rotated or permuted versions of known states, wasting model capacity on learning redundant information.

Equivariant Boltzmann Generators

To address this, the authors introduce Equivariant Boltzmann Generators, a framework that bakes physical constraints directly into the model's architecture. The key technical contributions include:

  1. Symmetry Theorems: Formal proofs showing that if a prior distribution is $G$-invariant and the flow is $G$-equivariant, the generated density will also be $G$-invariant.
  2. Continuous Normalizing Flows (CNF): Instead of discrete coupling layers, the transformation is defined by an Ordinary Differential Equation (ODE): $\frac{\partial y}{\partial t} = g_\theta(y(t), t)$.
  3. Radial Vector Fields: To ensure equivariance, the vector field $g_\theta$ is designed such that each particle is updated in a radial direction based on pairwise distances: $$\frac{\partial x_i(t)}{\partial t} = \sum_{j=1}^{K} \psi_\theta (\|x_i - x_j\|_2) (x_i - x_j)$$ Because this update only depends on relative distances and directions, it is inherently equivariant to translation, rotation, and particle permutation.
The pairwise double-well potential $u(d)$ defining the system's energy landscape.

Experimental Validation

The approach was evaluated on a synthetic 2D system consisting of $N=4$ particles. The system is governed by a pairwise double-well potential, creating a "frustrated" landscape with multiple local energy minima. Training data was produced via Markov Chain Monte Carlo (MCMC) sampling to generate out-of-equilibrium trajectories.

Key Results and Insights

The authors compared their equivariant BG (eqBG) against a non-equivariant version (nBG) based on RealNVP:

  • Generalization vs. Memorization: The nBG model exhibited severe overfitting. While it achieved a low training Negative Log-Likelihood (NLL) of -12.64, its test NLL skyrocketed to 372.69. In contrast, the eqBG showed consistent performance (5.91 train vs. 6.72 test), demonstrating that hard-coding symmetries prevents the model from simply memorizing training coordinates.
  • Zero-Shot Discovery: Perhaps the most striking insight is the model's ability to discover new metastable states. When trained on a single energy minimum, the nBG could only reproduce that specific state. The eqBG, however, successfully generated samples corresponding to other local minima that were symmetrically related or reachable through the equivariant transformation, effectively exploring the energy landscape it hadn't seen.
Comparison of nBG and eqBG performance across energy distributions and latent space mappings.

Conclusion

Equivariant Boltzmann Generators represent a significant step forward in applying generative modeling to physical systems. By incorporating physical symmetries as an inductive bias, these models achieve superior generalization and can even discover new physical states without explicit training data. While scaling to large-scale molecular systems remains a challenge due to the computational cost of ODE solvers, this work provides a robust theoretical and empirical foundation for symmetry-aware generative physics.

Summary updated

BibTeX
@misc{kohler2019equivariant,
  author = {Jonas Köhler and Leon Klein and Frank Noé},
  title = {{Equivariant Flows: sampling configurations for multi-body systems with symmetric energies}},
  year = {2019},
  eprint = {1910.00753},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.00753},
}
Figure