Towards Symmetry-Aware Generation of Periodic Materials

Youzhi Luo, Chengkai Liu, Shuiwang Ji

TL;DR

SyMat is a novel deep generative framework for periodic materials that fully respects physical symmetries, including permutation, rotation, translation, and periodic transformations. By combining a variational auto-encoder (VAE) for symmetry-invariant atom types and lattices with a score-based diffusion model for atom coordinates, SyMat achieves state-of-the-art performance in crystal structure generation and property optimization.

What Problem Does This Paper Address?

Designing novel periodic materials (such as crystals for solar cells and batteries) has traditionally relied on slow, expensive quantum mechanics simulations (DFT) or human intuition. While deep generative models have revolutionized molecule discovery, adapting them to periodic materials is exceptionally challenging.

Unlike isolated molecules, crystals consist of a "unit cell" that repeats infinitely across 3D space. A valid generative model must be invariant to several physical symmetries:

  • Permutation: Changing the indexing order of the atoms shouldn't change the material.
  • Rotation & Translation: Rotating or shifting the crystal in space preserves its properties.
  • Periodic Transformation: Shifting atoms by a lattice vector yields an identical, infinitely repeating structure.

Existing models fail to capture all of these constraints simultaneously. For instance, previous state-of-the-art models like CDVAE violate translational invariance when calculating their denoising scores, leading to imperfectly modeled structural distributions.

Figure 1: An illustration of molecule (left) and periodic material (right) structures. Different from molecules, atoms in materials periodically repeat themselves infinitely in 3D space (we use a 2D visualization here for simplicity).

Methods

SyMat splits the generation process into two distinct, symmetry-aware phases:

  1. Atom Type and Lattice Generation (VAE): Instead of predicting raw, coordinate-dependent matrices, SyMat transforms the crystal's composition and geometry into low-dimensional, symmetry-invariant targets: an unordered atom type set (counting the occurrences of each element), lattice lengths, and lattice angles. A VAE utilizing a symmetry-aware SphereNet backbone encodes and decodes these invariant properties.
  2. Coordinate Generation (Score-Based Diffusion): Once the atom types and lattice are established, SyMat generates the exact 3D coordinates using a score-based diffusion model.

To maintain strict symmetry invariance during diffusion, the authors introduce a clever mathematical formulation: instead of predicting coordinate scores directly, the model predicts interatomic distance scores over a multi-graph representation of the crystal. By applying the chain rule of derivatives, these distance scores are mapped back to coordinate gradients. This ensures the diffusion process is inherently invariant to translation, rotation, and periodic shifts.

The overall training and generation pipeline of the SyMat architecture.

Datasets

The authors evaluated SyMat on three standard benchmark datasets:

  • Perov-5: 18,928 perovskite materials following the $ABX_3$ structure (5 atoms per unit cell).
  • Carbon-24: 10,153 pure carbon structures containing between 6 and 24 atoms per unit cell.
  • MP-20: A highly diverse subset of 45,231 materials from the Materials Project, containing up to 20 atoms per unit cell.

Key Insights and Ideas

  • The Chain Rule Trick: The core "aha moment" is converting coordinate score matching into edge-distance score matching. This elegantly bypasses the coordinate-system dependency that plagues other diffusion models, guaranteeing that the score matrix satisfies all physical symmetries.
  • Hybrid Architecture Design: The authors recognized that atom composition and lattice shapes are low-dimensional and simple enough for a fast VAE, whereas complex 3D coordinates require the heavy lifting of a score-based diffusion model.
  • Symmetry as a Latent Regularizer: Forcing the model to strictly adhere to physical symmetries restricts the search space to physically meaningful structures. This makes downstream tasks, like searching the latent space for optimized material properties, significantly more efficient.

Key Results

SyMat was tested on two primary tasks: random material generation and property optimization.

Random Generation

SyMat achieved 100% structure validity across all three datasets, ensuring that generated atoms were never placed physically too close to one another. It significantly outperformed baselines in matching the property distributions (density and energy) of the ground-truth test sets.

Property Optimization

The goal here was to generate entirely new, stable materials with exceptionally low energy. Latent representations were optimized via gradient descent to minimize predicted energy.

  • On the Perov-5 dataset, SyMat achieved a success rate of 73% in generating top-5% low-energy materials, outperforming CDVAE (52%).
  • On the highly diverse MP-20 dataset, SyMat achieved a 92% success rate for top-5% low-energy material generation, compared to CDVAE's 78%.

Limitations and Future Work

  • Generation Speed: Because coordinate generation relies on running thousands of iterative Langevin dynamics sampling steps, generating a material can take up to an hour. The authors plan to explore Stochastic Differential Equation (SDE)-based diffusion to accelerate this process.
  • Strictly Periodic: The model's mathematical formulation relies entirely on periodicity, meaning it cannot be applied to non-periodic materials like amorphous solids or polymers.
  • Synthesizability: While the generated structures are physically valid and low-energy, the model does not currently account for whether a material can actually be synthesized in a real-world laboratory. The authors note that collaborating with material scientists to build synthesizability metrics is an important next step.

Summary updated

BibTeX
@inproceedings{luo2023towards,
  author = {Youzhi Luo and Chengkai Liu and Shuiwang Ji},
  title = {{Towards Symmetry-Aware Generation of Periodic Materials}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=Jkc74vn1aZ},
}
Figure