Space Group Conditional Flow Matching

Omri Puny, Yaron Lipman, Benjamin Kurt Miller · DOI

Inorganic crystals are defined by their periodic, highly ordered structures governed by space groups. These groups dictate symmetry operations—rotations, translations, and reflections—that leave the crystal invariant. A critical feature of these symmetries is the existence of Wyckoff positions, specific points or subspaces within a unit cell where atoms are constrained to reside.

Traditional generative models often treat atomic coordinates as continuous variables within a bounding box, frequently ignoring these rigid geometric constraints. This oversight results in proposed materials that lack the necessary symmetry for physical stability. While post-generation projection methods exist, they are often inefficient. Space Group Conditional Flow Matching (SGFM) addresses this by ensuring the generation process inherently respects crystallographic laws.

Methodology: SGFM Framework

SGFM extends the Flow Matching (FM) framework, which learns a vector field to transform a simple base distribution into a complex target distribution. The core innovation lies in three components that enforce symmetry throughout the generation process:

  1. Conditionally Symmetric Noise Prior: Instead of standard Gaussian noise, SGFM initializes from a noise distribution restricted to specified Wyckoff positions.
  2. Equivariant Vector Field: The neural network is designed to be equivariant, ensuring that symmetry operations applied to the input crystal result in corresponding changes to the predicted atomic motion.
  3. Efficient Group Averaging: Standard equivariance through Group Averaging typically requires multiple network passes (up to 192 for certain groups). SGFM utilizes a mathematical reformulation that achieves identical results in a single pass by leveraging input symmetry.
Overview of the SGFM framework: (a) Conditionally symmetric noise prior, (b) Equivariant vector field, and (c) Efficient group averaging reformulation.

Performance and Efficiency

The model was evaluated on rigorous benchmarks including MP-20 (45,231 crystals) and Alex-MP-20 (over 600,000 crystals). SGFM achieved state-of-the-art accuracy in Crystal Structure Prediction (CSP), reaching a Match Rate of 82.74% on the MP-20 dataset, surpassing previous benchmarks like DiffCSP++.

Beyond accuracy, SGFM offers significant computational advantages:

  • Convergence Speed: The model reaches near-optimal accuracy in 50–100 steps, compared to the 1,000 steps often required by diffusion models.
  • Throughput: The group averaging shortcut makes SGFM approximately 20-30x faster than standard equivariant implementations.
  • Structural Stability: De novo generation tasks showed that SGFM produces a higher percentage of stable structures with low energy above the hull.

Future Directions

While SGFM currently requires space group and Wyckoff positions as inputs, it sets the stage for fully autonomous material discovery. Future iterations aim to move toward an unconditional setting where the model jointly generates space groups, Wyckoff assignments, and atomic coordinates, potentially uncovering entirely new structural families.

Summary updated

BibTeX
@inproceedings{puny2026space,
  author = {Omri Puny and Yaron Lipman and Benjamin Kurt Miller},
  title = {{Space Group Conditional Flow Matching}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=RKIPnVN3E0},
}
Figure