TL;DR
Designing new crystals with AI is a bit like building a house where the blueprint’s symmetry dictates where every wall and window can go. Existing symmetry-aware crystal generators pick that symmetry blueprint first and lock it in—meaning they can’t change their minds even if the atoms they’re placing would be much happier in a different arrangement. DynaCrys fixes this by letting the crystal’s space group (its global symmetry) co-evolve dynamically alongside its atomic positions and elements during diffusion, achieving state-of-the-art discovery rates for stable, unique, and novel crystals.
What Problem Does This Paper Address?
Searching for new crystalline materials means navigating an enormous space of elemental compositions and 3D atomic arrangements. In crystallography, a crystal’s space group ($G$) defines its global symmetry and determines the admissible Wyckoff positions—families of symmetry-equivalent sites where atoms can sit—along with how many free coordinates those sites have.
Current generative models for crystals fall into two camps, each with a catch:
- Symmetry-unaware models (like MatterGen, FlowMM, and DiffCSP) generate lattice parameters and atomic coordinates directly, only checking the resulting symmetry afterward. Because they don't enforce symmetry during generation, they heavily overproduce $P1$ structures—crystals with only trivial translational symmetry, which are rare in nature.
- Symmetry-aware models (like DiffCSP++, SymmCD, WyFormer, and SGEquiDiff) explicitly use space groups and Wyckoff positions. However, they select and fix the space group before generating anything else. Once locked in, the model cannot revise the global symmetry using information from the evolving atomic composition or site occupations.
As illustrated above, changing a space group (for example, removing a mirror plane in $pm \to p1$) splits symmetry orbits and changes the number of free coordinates available to the atoms. DynaCrys treats the space group, Wyckoff occupations, and elements as coupled variables that should evolve together.
Methods
DynaCrys splits crystal generation into two stages:
- Dynamic Symbolic Diffusion (What is new):
- Protostructure representation: Instead of generating coordinates right away, a discrete-continuous diffusion model first generates a protostructure—the crystal's symbolic framework containing the space group $G$, the number of occupied Wyckoff orbits $K$, the specific Wyckoff rows, and their assigned elements.
- Physics-informed space-group kernel: Rather than diffusing between space groups at random, DynaCrys diffuses over an undirected graph defined by crystallographic group–subgroup relations (specifically, maximal translationengleiche and klassengleiche steps), mixed with a reset to the training distribution.
- Shared symmetry codebook & Set denoiser: Because Wyckoff labels depend on the space group, DynaCrys uses a pretrained codebook of space-group and Wyckoff-row embeddings shared across both stages. A permutation-equivariant Transformer encoder (with no slot positional encodings) denoises the global and slot-wise variables.
- Legality-constrained stochastic decoder: Independently predicted counts, active slots, and Wyckoff rows might violate crystallographic rules (such as row-capacity or atom-count limits). DynaCrys uses elementary symmetric polynomials and rejection sampling to draw exact samples from the model's distribution restricted to legal configurations, without needing to sum over a combinatorial number of valid states.
- Symmetry-Constrained Geometry Generation (Building on standard):
- Conditioned on the finalized protostructure, a continuous diffusion model (building on DiffCSP++) generates the lattice parameters—projected onto the subspace compatible with $G$—and the free fractional coordinates of one representative "orbit anchor" per occupied Wyckoff position. Every intermediate geometry is guaranteed by construction to be invariant under $G$.
Datasets
The authors evaluate unconditional crystal generation on two standard benchmarks:
- MP-20
- MPTS-52 (a larger, more challenging benchmark with a chronological train–test split)
Following standard practice, each dataset's training split serves as the novelty reference and its test split as the coverage reference (for MPTS-52, distributional distances are measured against the training split due to its chronological distribution shift). Roughly 10,000 candidates per model are relaxed using CHGNet (and independently checked with MACE-MP-0), alongside a large-scale first-principles VASP validation of 2,000 unique-and-novel candidates per model on MP-20.
Key Insights and Ideas
- Revising symmetry mid-flight matters: In ablation studies on MPTS-52, forcing the model to fix the space group at the start (disabling dynamic space-group diffusion) drops the [email protected] discovery rate by 4.77 percentage points and worsens energetic stability.
- Crystallographic priors guide better compositions: Replacing the group–subgroup diffusion kernel with a generic all-to-all kernel hurts element-count and density alignment and lowers discovery rates, showing that group-theoretic structure provides a meaningful inductive bias.
- Stochastic legal decoding beats deterministic MAP: Comparing stochastic constrained sampling against deterministic maximum a posteriori (MAP) decoding reveals that while MAP achieves higher raw validity, it sacrifices diversity, element-count alignment, and overall discovery rates.
Key Results
- Realistic Symmetry: On MP-20, only 5.54% of DynaCrys's relaxed structures fall into the trivial $P1$ space group, compared to 20.28% (MatterGen), 30.79% (DiffCSP), and 34.02% (FlowMM).
- Materials Discovery (SUN & SSUN): DynaCrys achieves state-of-the-art Stable, Unique, and Novel (SUN) rates across both datasets:
- MP-20: 9.39% SUN@0 and 41.49% [email protected] (beating SGEquiDiff's 8.45% and 38.00%). On VASP validation, DynaCrys-II reaches 30.63% SUN-VASP (vs. 26.74% for SGEquiDiff).
- MPTS-52: 7.30% SUN@0 and 34.20% [email protected] (vs. SGEquiDiff's 5.17% and 26.29%).
- Structural Quality & Speed: DynaCrys achieves the highest structural validity (99.97% on MP-20, 99.91% on MPTS-52), lowest median energy above hull (0.072 and 0.093 eV/atom), and lowest relaxation RMSD. A smaller variant (DynaCrys-small) achieves the fastest complete-structure generation rate among compared methods while maintaining competitive SUN@0.
Limitations and Future Work
The authors note that experimental synthesizability of the generated crystals remains unverified. All stability assessments rely on computational screening proxies—including hull distances computed against a finite snapshot of reference structures—rather than physical synthesis.
Summary updated