Space Group Constrained Crystal Generation

Rui Jiao, Wenbing Huang, Yu Liu, Deli Zhao, Yang Liu

Introduction

In materials science, the physical properties of crystals—such as conductivity and hardness—are fundamentally determined by their symmetry. These symmetries are classified into 230 "space groups," which define the repeating 3D arrangement of atoms. While diffusion models have advanced generative crystal design, existing frameworks often struggle to maintain strict crystallographic symmetry, resulting in structures that are physically unstable or invalid. DiffCSP++ addresses this by integrating rigid space group symmetry constraints directly into the diffusion-based generation process.

Methodology

DiffCSP++ re-parameterizes the crystal generation process to enforce symmetry through two primary mechanisms:

  1. Lattice Constraints in Logarithmic Space: The model represents the lattice matrix $L$ using polar decomposition into a symmetric matrix $S$ in logarithmic space. By mapping space groups to six crystal families (e.g., Cubic, Hexagonal), linear constraints are applied to the basis of $S$, ensuring the generated unit cell always adheres to the required symmetry.
  2. Wyckoff Position Constraints: Instead of diffusing all atom coordinates independently, DiffCSP++ diffuses only the "basic" coordinates of Wyckoff positions. The denoising model then projects noise onto allowed subspaces, preventing atoms from drifting out of their symmetric requirements.

The architecture utilizes an E(3)-invariant denoising model $\phi$ that predicts lattice coefficients, fractional coordinates, and atom types while maintaining periodic translation invariance through Fourier embeddings.

Overview of the DiffCSP++ denoising process incorporating Wyckoff and Crystal Family constraints.

Key Results

The model was evaluated on standard benchmarks including Perov-5, MP-20, and MPTS-52. The integration of symmetry constraints led to a significant performance leap in Crystal Structure Prediction (CSP). On the MP-20 dataset, DiffCSP++ achieved a 70.58% match rate (MR) using mined symmetry templates, a substantial improvement over the 51.49% achieved by the original DiffCSP. When provided with ground-truth (GT) space groups, the match rate increased further to 80.27%.

Performance comparison of DiffCSP++ against baseline models across three datasets.

Beyond match rates, the model produced more physically realistic structures. For the Perov-5 dataset, density error was reduced by approximately 40% compared to previous state-of-the-art models. Furthermore, the model enables controllable generation, where different valid crystal structures can be produced from the same chemical composition by simply varying the input space group constraint.

Conclusion

DiffCSP++ demonstrates that enforcing crystallographic symmetry as a hard constraint not only improves the validity of generated materials but also significantly reduces the search space for the model. While currently dependent on pre-defined or mined space group templates, future developments in symmetry prediction could further automate the discovery of novel, stable chemical structures.

Summary updated

BibTeX
@inproceedings{jiao2024space,
  author = {Rui Jiao and Wenbing Huang and Yu Liu and Deli Zhao and Yang Liu},
  title = {{Space Group Constrained Crystal Generation}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=jkvZ7v4OmP},
}
Figure