SE(3) Equivariant Augmented Coupling Flows

Laurence I. Midgley, Vincent Stimper, Javier Antorán, Emile Mathieu, Bernhard Schölkopf, José Miguel Hernández-Lobato

TL;DR

This paper introduces a new type of generative model called SE(3) Equivariant Augmented Coupling Flows (E-ACF) that can efficiently learn and sample from the complex probability distributions of physical systems, like molecules. Unlike previous methods, E-ACF preserves crucial physical symmetries (rotations, translations, and permutations) while achieving significantly faster sampling and density evaluation, making it practical for energy-based training.

What Problem Does This Paper Address?

Modeling the equilibrium distribution of physical systems, known as the Boltzmann distribution, is crucial for understanding their behavior. Traditional methods like molecular dynamics simulations are computationally expensive and produce correlated samples. Deep generative models, specifically Boltzmann generators, offer an alternative by learning to sample from this distribution independently. However, existing models often struggle to incorporate the inherent symmetries of physical systems (SE(3) for rotations and translations, and permutation symmetry for identical particles). This limitation hinders their ability to accurately model complex systems and generalize well. Furthermore, training these models often requires expensive simulations or is restricted to internal molecular coordinates, which can't capture all interactions. This work aims to bridge this gap by developing a generative model that operates directly on Cartesian coordinates, respects all relevant symmetries, and allows for efficient training and sampling.

Methods

The core innovation is the SE(3) Equivariant Augmented Coupling Flow (E-ACF). It builds upon the idea of coupling normalizing flows, which are known for fast sampling and density evaluation. The key novelty lies in how equivariance is achieved:

  • Augmented Variables: The model introduces auxiliary "augmented" variables. These variables are used as a pivot to perform coordinate splits in the coupling layers. This allows the flow to update atom positions conditioned on these augmented variables, and vice-versa.
  • Projection into Invariant Bases: At each layer, the atom positions are projected into learned SE(3)-invariant bases. This projection is parameterized by equivariant reference vectors derived from the augmented variables. Standard flow transformations (like splines) are then applied in this invariant space.
  • Back-projection: The transformed features are then projected back into the original equivariant space.
  • Zero-CoM Space: To handle translation invariance, the model operates on a "zero Center of Mass" (CoM) subspace, effectively removing translational degrees of freedom. A "Shift-CoM" operation is used to move between the ambient space and the zero-CoM space.
  • Three Projection Strategies: The authors explore three ways to project atom coordinates into invariant bases: Cartesian projection, Spherical projection, and Vector projection.

This architecture allows the flow to be SE(3) and permutation equivariant while retaining the efficiency of coupling flows.

Datasets

The models were trained and evaluated on the following datasets:

  • DW4: A toy problem involving 4 particles with a double-well energy function.
  • LJ13: A toy problem involving 13 particles with a Lennard-Jones potential.
  • QM9-positional: A subset of the QM9 dataset containing molecular structures, where only positional information is used, discarding atom type features.
  • Alanine dipeptide: A molecule used to model its full Boltzmann distribution.

Key Insights and Ideas

  • Symmetry is Key for Physical Systems: The paper strongly emphasizes that incorporating SE(3) and permutation symmetries is not just an academic exercise but crucial for accurately modeling physical systems and achieving good performance.
  • Augmented Variables as a Bridge: Using augmented variables as a "pivot" for coordinate splits is a clever way to achieve equivariance in coupling flows without breaking the flow's efficiency.
  • Projection Enables Standard Flows: By projecting into an invariant space, the authors can leverage well-established, efficient flow transformations (like splines) while maintaining overall equivariance.
  • Energy-Based Training is Now Tractable: The fast sampling and density evaluation of E-ACF make energy-based training (using only the system's energy function) feasible, which is a significant advantage over slower methods like continuous normalizing flows (CNFs) and diffusion models.
  • First to Model Full Boltzmann Distribution on Cartesian Coordinates: The paper claims to be the first to learn the complete Boltzmann distribution of alanine dipeptide solely from its Cartesian coordinates, a notable achievement.

Key Results

  • Competitive Performance: E-ACF models achieve performance comparable to state-of-the-art SE(3) CNFs and diffusion models on molecular generation tasks when trained with maximum likelihood.
  • Order of Magnitude Faster Sampling: E-ACF models are more than 10 times faster for sampling and density evaluation compared to SE(3) CNFs and diffusion models.
  • Successful Energy-Based Training: E-ACF successfully learns the Boltzmann distribution for DW4 and LJ13 using only their energy functions, a feat intractable for CNFs and diffusion models.
  • Outperforms Non-Equivariant Counterparts: The E-ACF models significantly outperform a non-equivariant augmented flow (NON-E-ACF), demonstrating the benefit of built-in equivariance.
  • First Full Boltzmann Distribution of Alanine Dipeptide: The model successfully learns the full Boltzmann distribution of alanine dipeptide using only Cartesian coordinates.

Limitations and Future Work

  • Computational Cost of EGNN: While faster than CNFs/diffusion models, the E-ACF still relies on equivariant graph neural networks (EGNNs) in each layer, which can be computationally intensive. The authors suggest exploring more efficient EGNN architectures.
  • Numerical Stability: The authors note that E-ACF can be less numerically stable than flows on internal coordinates, and they employed several strategies to mitigate this.
  • Generalization to Diverse Molecules: The current work focuses on specific molecular systems. The authors suggest extending the framework to condition on molecular graphs to model a wider range of diverse molecules.
  • Other Domains: The projection strategy used in E-ACF could be extended to other domains, such as modeling rigid bodies or many-body systems.

Summary updated

BibTeX
@inproceedings{midgley2023se,
  author = {Laurence I. Midgley and Vincent Stimper and Javier Antorán and Emile Mathieu and Bernhard Schölkopf and José Miguel Hernández-Lobato},
  title = {{SE(3) Equivariant Augmented Coupling Flows}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=HmlCzRYfnN},
}
Figure