NextCrystal: a Symmetry-Driven Generative Framework for Crystal Structure Prediction

Jinming Mu, Lixin He, Xudong Zhu, Shi YinarXiv 2026

TL;DR

NextCrystal is a novel, symmetry-driven generative framework that redefines crystal structure prediction (CSP) by moving from database-lookup methods to ab initio generative reasoning. By combining large language models (LLMs) with an efficient, linear-complexity heuristic beam search, it rigorously enforces space group symmetry constraints directly from chemical stoichiometry. This approach achieves state-of-the-art performance in generating stable, novel crystal structures, including the discovery of a previously unknown, dynamically stable phase of Hafnium Dioxide ($\text{HfO}_2$).

What Problem Does This Paper Address?

Predicting the 3D atomic arrangement of a crystal purely from its chemical composition—known as Crystal Structure Prediction (CSP)—is a holy grail for materials discovery. Physically plausible crystals must strictly obey the mathematical rules of crystallographic symmetry defined by space groups and Wyckoff positions.

However, matching a given chemical composition to a valid combination of Wyckoff sites is an NP-hard combinatorial optimization problem. Because the search space grows exponentially with the number of atoms, existing AI methods typically take one of two flawed approaches:

  1. They ignore explicit symmetry constraints and try to learn them implicitly, leading to physically unrealistic structures.
  2. They rely on a "retrieval-based" approach, looking up existing structural templates from databases. This severely limits discovery, as the model can only replicate known symmetry patterns and fails to find genuinely new materials (polymorphs).

Methods

NextCrystal solves this bottleneck through a multi-stage, symmetry-driven generative pipeline:

Figure 1: Schematic of the proposed symmetry-driven generative framework.
  • Symmetry Inference via LLMs: The framework employs two Transformer-based LLMs enhanced with Soft Mixture-of-Experts (SoftMoE) layers to handle complex chemical semantics. The first LLM ($\text{LLM}_g$) predicts the probability distribution over the 230 crystallographic space groups from the input composition. The second LLM ($\text{LLM}_w$) predicts the distribution of Wyckoff letters, explicitly conditioned on the predicted space group using Feature-wise Linear Modulation (FiLM).
  • Linear-Complexity Heuristic Beam Search: To bypass the NP-hard combinatorial challenge of site assignment, the authors introduce a constrained optimization search. This algorithm compresses the time complexity from exponential ($O(|L(S_g)|^N)$) to linear ($O(N)$), ensuring strict algebraic consistency between site multiplicities and atomic stoichiometry.
  • Symmetry-Corrected Diffusion Backbone: These symmetry-consistent templates are then fed into a graph neural network (GNN)-based diffusion model. The framework applies a joint-rectification mechanism (lattice masking and coordinate subspace projection) to constrain the stochastic denoising trajectory, forcing the generated structures to remain on a physically valid geometric manifold.

Datasets

The model was trained and evaluated on three standard CSP benchmark datasets:

  • MP-20: A dataset derived from the Materials Project containing crystals with up to 20 atoms per unit cell.
  • Perov-5: A dataset focused on perovskite structures with 5 atoms per unit cell.
  • MPTS-52: A highly challenging dataset featuring diverse and complex multi-element systems.

Key Insights and Ideas

  • Generative Reasoning vs. Memorization: Moving away from static database lookups prevents "geometric frustration"—where atoms are forced into mismatched templates, causing high microscopic strain and instability. NextCrystal adaptively allocates atoms to valid symmetry orbits based on chemical rules.
  • Symmetry as a Hard Constraint: Instead of treating symmetry as a soft penalty or an emergent property, enforcing it as a hard geometric constraint during the diffusion process drastically restricts the search space to physically viable structures, boosting both stability and generation quality.
  • Enhanced Exploration Diversity: By sampling directly from inferred probability distributions rather than relying on database prototypes, NextCrystal explores a significantly wider and richer variety of space groups per composition.
Figure 2: Absolute frequency distribution (raw counts) of space groups among the candidates across the testing set of MP-20. Counts are calculated using a unique-counting principle per composition, where any specific space group present in the candidate structures for a single testing composition is counted exactly once. Our generative approach yields a profoundly larger total unique count, demonstrating a consistently higher richness in symmetry exploration per composition compared to the localized redundancy of the retrieval baseline, i.e. CSPML [21].

Key Results

  • SUN Benchmark Superiority: NextCrystal consistently outperformed the state-of-the-art baseline (DiffCSP++) across the Stability, Uniqueness, and Novelty (SUN) metrics. On the challenging MPTS-52 dataset, NextCrystal achieved a 376% relative increase in the overall SUN metric (rising from 5.44% to 25.94%). On MP-20, stability jumped from 36.51% to 81.79%.
  • State-of-the-Art Matching Rates: The framework achieved leading Top-20 Matching Rates (81.70% for MP-20, 99.95% for Perov-5, and 43.26% for MPTS-52), proving it can accurately recover experimental ground-truth structures without sacrificing novelty.
  • Discovery of a New $\text{HfO}_2$ Phase: As a practical application, the authors screened generated candidates for Hafnium Dioxide ($\text{HfO}_2$). NextCrystal successfully identified a previously unreported, dynamically stable $Pnma$ phase that is 0.056 eV/atom lower in energy than the conventional high-pressure $Pnma$ phase.
Figure 3: Comparison between the newly identified Pnma phase of HfO2 and the conventional high-pressure (HP) Pnma phase. (a) Distribution of the 11 stable HfO2 phases in the volume–energy space, where the star marks the newly identified Pnma phase. (b)–(d) Crystal structure, phonon dispersion, and electronic band structure of the newly identified Pnma phase. (e)–(g) Crystal structure, phonon dispersion, and electronic band structure of the HP Pnma phase.

Limitations and Future Work

While NextCrystal represents a major leap forward, the authors note some areas for future development:

  • Downstream Screening Efficiency: The current pipeline relies on computationally heavy first-principles calculations (DFT) to validate and relax the generated candidates.
  • Future Integration: The authors plan to integrate high-fidelity AI electronic structure prediction models (such as TraceGrad and NextHAM) directly into the pipeline to enable rapid, high-throughput screening. They also aim to connect this framework with automated synthesis laboratories to realize a fully autonomous, closed-loop materials discovery pipeline.

Summary updated

BibTeX
@misc{mu2026nextcrystal,
  author = {Jinming Mu and Lixin He and Xudong Zhu and Shi Yin},
  title = {{NextCrystal: a Symmetry-Driven Generative Framework for Crystal Structure Prediction}},
  year = {2026},
  eprint = {2602.17176},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.17176},
}
Figure