NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

WyckoffDiff -- A Generative Diffusion Model for Crystal Symmetry

Filip Ekström Kelvinius, Oskar B. Andersson, Abhijith S Parackal, Dong Qian, Rickard Armiento, Fredrik Lindsten

Introduction

In nature, crystalline materials are fundamentally defined by their symmetry. However, most generative machine learning models treat crystals as a "bag of atoms" in a box, attempting to predict the exact 3D coordinates ($x, y, z$) for every single atom. This approach suffers from two major flaws: symmetry mismatch and computational inefficiency. Models often generate structures belonging to space groups that are virtually non-existent in experimental databases, and searching the infinite space of continuous coordinates is expensive. WyckoffDiff addresses these issues by baking crystal symmetry directly into its architecture.

The Protostructure Paradigm

Instead of modeling raw atomic coordinates, WyckoffDiff represents materials as "protostructures"—combinations of space groups and Wyckoff positions. Wyckoff positions are mathematical descriptions of where atoms can sit within a specific space group to maintain symmetry. By shifting the generative task to these symmetry-based descriptions, the model generates physically plausible, high-symmetry materials more accurately and efficiently than previous state-of-the-art models.

Methodology: Discrete Diffusion and WyckoffGNN

The core of WyckoffDiff is a discrete diffusion framework (D3PM). Since the number of atoms and element types are discrete categories, the model starts with a "noisy" crystal (random elements in random slots) and trains a neural network to "denoise" it into a valid material.

To power this denoising, the authors designed WyckoffGNN, a novel Graph Neural Network that treats each Wyckoff position as a node in a fully connected graph. This allows the model to learn complex relationships between different symmetry sites, regardless of the number of sites in a specific space group. A key finding was the "Zeros" Prior: starting the diffusion process from an "empty" crystal (all zeros) performed significantly better than starting from a uniform random distribution, effectively handling the natural sparsity of crystal cells.

Performance and Metrics

To evaluate the quality of generated materials, the authors introduced the Frechet Wrenformer Distance (FWD). Similar to the FID score used in image generation, FWD uses a pretrained transformer (Wrenformer) to compare the distribution of generated materials against real ones, focusing on symmetry and composition.

Table 5: Performance comparison across various generative models. WyckoffDiff-zeros achieves state-of-the-art FWD scores.

As shown in the results, WyckoffDiff achieved an FWD score of 0.48, vastly outperforming traditional models like CDVAE (41.9) and specialized symmetry models like DiffCSP++ (0.83). Furthermore, while models like CDVAE generate non-symmetric structures (space group 1) roughly 36% of the time, WyckoffDiff matches the training distribution where such structures are rare (0.3%).

Discovery of Novel Materials

The "symmetry-first" workflow allows for rapid exploration of stable materials. By generating a high-quality symmetry blueprint and then using off-the-shelf relaxers (like the MACE interatomic potential) to find final coordinates, the process is significantly faster than joint coordinate-symmetry generation.

Figure 4: Discovery of novel stable materials using WyckoffDiff, including CsSnF6 which sits below the convex hull.

As a proof of concept, the model successfully identified $CsSnF_6$, a material that is thermodynamically stable (sitting below the "convex hull") but was absent from the training databases. This demonstrates the model's ability to move beyond simple reconstruction and into the realm of true material discovery.

Conclusion and Future Work

WyckoffDiff demonstrates that incorporating physical constraints like symmetry into the generative process leads to superior results. While the current model requires a two-step pipeline for lattice vector generation and uses a computationally intensive fully connected graph, it sets a new state-of-the-art for crystal structure generation. Future work may involve diffusing over the space groups themselves to allow for even more expansive novel symmetry exploration.

Summary updated

BibTeX
@inproceedings{kelvinius2025wyckoffdiff,
  author = {Filip Ekström Kelvinius and Oskar B. Andersson and Abhijith S Parackal and Dong Qian and Rickard Armiento and Fredrik Lindsten},
  title = {{WyckoffDiff -- A Generative Diffusion Model for Crystal Symmetry}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=OHPBPveXdg},
}
Figure