CrystalAR: Autoregressive Modeling for Symmetric Crystal Generation
Organizations: Institute for Functional Intelligent Materials (IFIM), National University of Singapore · School of Computing, National University of Singapore · Southern University of Science and Technology
Abstract
Deep generative modeling has achieved remarkable progress in crystal generation. Given the rich symmetries inherent in crystalline structures, recent work has sought to explicitly incorporate space-group symmetry into generative models, enabling more effective exploration of novel symmetry templates. Yet introducing symmetry templates increases the combinatorial complexity of stoichiometric relationships between atomic species and crystallographic sites, while creating a fundamental tension between flexible exploration of discrete crystallographic templates and faithful realization of these templates as continuous three-dimensional structures. To address these challenges, we propose CrystalAR, a unified autoregressive framework that models Wyckoff symmetry templates and complete crystal structures within a single generative sequence. Specifically, CrystalAR reformulates continuous coordinate generation as a symmetry-conditioned hierarchy of discrete spatial localization decisions, autoregressively refining the positions of all symmetry-inequivalent sites across resolution levels while jointly modeling their spatial configuration within each level. This discrete hierarchical formulation further enables constraint-aware search over both crystallographic templates and geometric realizations. As a result, CrystalAR retains strong symmetry-template generation capability while achieving competitive de novo generation performance and template-free crystal structure prediction (CSP) accuracy. These results suggest that symmetry-template generation can be retained alongside broadly competitive de novo generation performance and competitive CSP without reliance on symmetry templates retrieved from prior data, providing a promising alternative paradigm for symmetry-preserving crystal generation.
Figures & tables
| Model | Method | Novel Unique | P1 (%) | SG | S.U.N. (%) | S.S.U.N. (%) | ||
| Templates (#) | ref = 2.23 | |||||||
| Models without Explicit Template Generation | ||||||||
| DiffCSP | Diffusion | 48 | 70.66 | 23.8303 | 0.3762 | 0.5185 | 0.12 | 0.05 |
| DiffCSP++ | Diffusion | 5 | 2.19 | 0.1049 | 0.4787 | 0.0343 | 0.19 | 0.19 |
| Symmetry-native Models | ||||||||
| WyFormer DiffCSP++ | AR + Diffusion | 190 | 1.56 | 0.2238 | 0.1087 | 0.0248 | 0.13 | 0.13 |
| MP-20 | MPTS-52 | |||
| Model | MR (%) | RMSE | MR (%) | RMSE |
| CDVAE (1) | 33.90 | 0.1045 | 5.34 | 0.2106 |
| DiffCSP (1) | 51.49 | 0.0631 | 12.19 | 0.1786 |
| FlowMM (1) | 61.39 | 0.0566 | 17.54 | 0.1726 |
| CrystalFlow (1) | 62.02 | 0.0710 | 21.00 | 0.1613 |
| OMatG (1) | 63.75 | 0.0720 | 25.15 | 0.1931 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Generative Model | Unified | Symmetry | Template-Gen | Template-free CSP | Inter-Geom |
| CDVAE ( Xie et al., 2022 ) | VAE+Diff. | ✓ | ✓ | ✓ | ||
| DiffCSP ( Jiao et al., 2023 ) | Diff. | ✓ | ✓ | ✓ | ||
| MatterGen ( Zeni et al., 2023 ) | Diff. | ✓ | ✓ | ✓ | ||
| KLDM ( Cornet et al., 2025 ) | Diff. | ✓ | ✓ | ✓ | ||
| ADiT ( Joshi et al., 2025 ) | Diff. | ✓ | ✓ | |||
| FlowMM ( Miller et al., 2024 ) | Flow | ✓ | ✓ | ✓ |
| Setting | De novo | CSP: MP-20 | CSP: MPTS-52 |
| Parameters (M) | 32.804 | 33.968 | 91.807 |
| Hidden width | 384 | 384 | 512 |
| Template/coordinate layers | 5/5 | 5/5 | 8/8 |
| Attention heads | 6 | 6 | 8 |
| Feed-forward width | 1,536 | 1,536 | 2,048 |
| Lattice-encoder layers | 4 | 4 | 6 |
| Count policy | Search | Valid | Unique | Novel | Stable | S.U.N. |
| Empirical prior (CrystalAR) | Sampling | 64.40 | 62.24 | 18.76 | 5.44 | 0.20 (5) |
| Empirical prior (CrystalAR) | SGBS | 91.44 | 89.08 | 42.76 | 6.00 | 0.28 (7) |
| Learned STOP | Sampling | 59.96 | 58.72 | 21.72 | 3.48 | 0.16 (4) |
| Learned STOP | SGBS | 90.12 | 88.64 | 48.92 | 3.52 | 0.16 (4) |
| Composition prefix | SGBS | 91.44 | 89.52 | 41.32 | 5.40 | 0.20 (5) |
| Configuration | Valid | Unique | Novel | Stable | S.U.N. |
| Learned STOP reference | 90.12 | 88.64 | 48.92 | 3.52 | 0.16 (4) |
| Full-cell AR | 49.12 | 48.88 | 35.04 | 0.72 | 0.00 (0) |
| Wyckoff-letter coordinates | 89.80 | 88.08 | 51.36 | 4.16 | 0.08 (2) |
| Flat 512-bin coordinates | 68.16 | 66.48 | 29.12 | 4.24 | 0.00 (0) |
| Continuous coordinates | 41.64 | 40.84 | 17.12 | 1.72 | 0.08 (2) |
| No periodic encoding | 89.96 | 88.04 | 50.00 | 4.12 | 0.00 (0) |
| Chemistry intervention | Valid | Unique | Novel | Stable | S.U.N. |
| Original elements | 88.36 | 86.00 | 39.68 | 5.92 | 0.28 (7) |
| Element redraw, | 87.44 | 85.24 | 41.84 | 5.56 | 0.04 (1) |
| Element redraw, | 78.72 | 78.60 | 57.92 | 1.60 | 0.12 (3) |
| with uncapped clearance | 78.72 | 78.60 | 58.44 | 0.96 | 0.12 (3) |
Crystal Structure Generation
Crystal structure generation uses computational models to create periodic atomic arrangements for predicting and designing materials.
See all 61 papers