Abstract
Understanding the high-pressure behavior of sodium amide (NaNH2) is essential for its applications in hydrogen storage and chemical synthesis. Conventional structure prediction methods often struggle to accurately capture its pressure-induced phase transitions due to the complexity of its potential energy surface, which arises from strong ionic interactions, large unit cell size, and significant atomic rearrangements under compression. Here we introduce an experimental-informed deep learning generative framework for conditional crystal structure determination in NaNH2 under crystallographic constraints. The framework conditions on experimentally indexed lattice parameters and candidate space-group symmetry represents each structure using a direct-space asymmetric unit (DAU), and applies energy-guided diffusion sampling to generate low-enthalpy candidates. Applied to NaNH2, the workflow successfully identifies the high-pressure γ-phase as a P21/c structure (Z = 16, 64 atoms), which is validated by synchrotron X-ray diffraction and remains stable up to 14.0 GPa. Charge-density analysis and atomic rearrangement under compression elucidate the mechanisms driving the phase transitions and rationalize the stability of the γ-phase under high pressure. Overall, this work demonstrates a general strategy for resolving experimentally observed but structurally unsolved phases in complex ionic materials when lattice metrics and symmetry constraints are available.
Similar content being viewed by others
Data availability
The data supporting the findings of this study are available within the Article and Supplementary Information; additional data are available from the corresponding author upon reasonable request.
Code availability
The codes used in this paper are available from the corresponding author upon reasonable request.
References
Prabhukhot, P. R., Wagh, M. M. & Gangal, A. C. A review on solid state hydrogen storage material. Adv. Energy Power 4, 11–22 (2016).
Lee, S.-Y. et al. Recent progress using solid-state materials for hydrogen storage: a short review. Processes 10, 304 (2022).
Xu, Y., Zhou, Y., Li, Y. & Ding, Z. Research progress and application prospects of solid-state hydrogen storage technology. Molecules 29, 1767 (2024).
Yvon, K. & Bertheville, B. Magnesium based ternary metal hydrides containing alkali and alkaline-earth elements. J. Alloys Compd. 425, 101–108 (2006).
George, L. & Saxena, S. K. Structural stability of metal hydrides, alanates and borohydrides of alkali and alkali-earth elements: A review. Int. J. Hydrog. Energy 35, 5454–5470 (2010).
He, T., Cao, H. & Chen, P. The roles of alkali/alkaline earth metals in the materials design and development for hydrogen storage. Acc. Mater. Res. 2, 726–738 (2021).
Arellano, L. G. et al. Hydrogen storage capacities of alkali and alkaline-earth metal atoms on SiC monolayer: a first-principles study. Int. J. Hydrog. Energy 46, 20266–20279 (2021).
Wang, J., Li, H.-W. & Chen, P. Amides and borohydrides for high-capacity solid-state hydrogen storage—materials design and kinetic improvements. MRS Bull 38, 480–487 (2013).
Garroni, S. et al. Recent progress and new perspectives on metal amide and imide systems for solid-state hydrogen storage. Energies 11, 1027 (2018).
Milanese, C. et al. Solid state hydrogen storage in alanates and alanate-based compounds: A review. Metals 8, 567 (2018).
Zhao, L. et al. Enhanced hydrogen storage of alanates: Recent progress and future perspectives. Prog. Nat. Sci. 31, 165–179 (2021).
Liu, J. et al. Recent advance of metal borohydrides for hydrogen storage. Front. Chem. 10, 945208 (2022).
Ichikawa, T. & Isobe, S. The structural properties of amides and imides as hydrogen storage materials. Z. Kristallogr. 223, 660–665 (2008).
Xiong, Z., Hu, J., Wu, G., Liu, Y. & Chen, P. Large amount of hydrogen desorption and stepwise phase transition in the chemical reaction of NaNH2 and LiAlH4. Catal. Today 120, 287–291 (2007).
Chua, Y. S., Wu, G., Xiong, Z. & Chen, P. Investigations on the solid state interaction between LiAlH4 and NaNH2. J. Solid State Chem. 183, 2040–2044 (2010).
Sheppard, D. A., Paskevicius, M. & Buckley, C. E. Hydrogen desorption from the NaNH2−MgH2 system. J. Phys. Chem. C 115, 8407–8413 (2011).
Milanović, I. et al. Improving of hydrogen desorption kinetics of MgH2 by NaNH2 addition: Interplay between microstructure and chemical reaction. Int. J. Hydrog. Energy 47, 29858–29865 (2022).
Zhang, Y. & Tian, Q. The reactions in LiBH4–NaNH2 hydrogen storage system. Int. J. Hydrog. Energy 36, 9733–9742 (2011).
Nagib, M., Kistrup, H. & Jacobs, H. Neutron diffraction by sodiumdeuteroamide. NaND2. Atomkernenergie 26, 87–90 (1975).
Song, Y. New perspectives on potential hydrogen storage materials using high pressure. Phys. Chem. Chem. Phys. 15, 14524–14547 (2013).
Duan, D. et al. Structure and superconductivity of hydrides at high pressures. Natl. Sci. Rev. 4, 121–135 (2017).
Drozdov, A. et al. Superconductivity at 250 K in lanthanum hydride under high pressures. Nature 569, 528–531 (2019).
Pickard, C. J., Errea, I. & Eremets, M. I. Superconducting hydrides under pressure. Annu. Rev. Condens. Matter Phys. 11, 57–76 (2020).
Guan, R., Wang, P., Song, Y. & Staroverov, V. N. Pressure-induced polymorphic transformations of ethylenediamine bisborane. J. Phys. Chem. C 125, 18614–18622 (2021).
Guan, R., Wang, P., Ji, Y., Li, Y. & Song, Y. Structural stability, dihydrogen bonding, and pressure-induced polymorphic transformations in hydrazine borane. Phys. Chem. Chem. Phys. 25, 21860–21867 (2023).
Chen, L.-C. et al. Synthesis and superconductivity in yttrium-cerium hydrides at high pressures. Nat. Commun. 15, 1809 (2024).
Guan, R. et al. Pressure mediated phase transition and dihydrogen bonding formation in trimethylamine borane. J. Mater. Chem. C 12, 14833–14843 (2024).
Liu, A. & Song, Y. In situ high-pressure study of sodium amide by Raman and infrared spectroscopies. J. Phys. Chem. B 115, 7–13 (2011).
Huang, Y. et al. Structural transitions in NaNH2 via recrystallization under high pressure. Chin. Phys. B 28, 096402 (2019).
Zhong, Y., Zhou, H.-Y., Hu, C.-H., Wang, D.-H. & Oganov, A. R. Theoretical studies of high-pressure phases, electronic structure, and vibrational properties of NaNH2. J. Phys. Chem. C 116, 8387–8393 (2012).
Oganov, A. R. & Glass, C. W. Crystal structure prediction using ab initio evolutionary techniques: Principles and applications. J. Chem. Phys. 124, 244704 (2006).
Oganov, A. R., Lyakhov, A. O. & Valle, M. How Evolutionary Crystal Structure Prediction Works–and Why. Acc. Chem. Res. 44, 227–237 (2011).
Ryan, K., Lengyel, J. & Shatruk, M. Crystal structure prediction via deep learning. J. Am. Chem. Soc. 140, 10158–10168 (2018).
Podryabinkin, E. V., Tikhonov, E. V., Shapeev, A. V. & Oganov, A. R. Accelerating crystal structure prediction by machine-learning interatomic potentials with active learning. Phys. Rev. B 99, 064114 (2019).
Yamashita, T. et al. CrySPY: a crystal structure prediction tool accelerated by machine learning. Sci. Technol. Adv. Mater. 1, 87–97 (2021).
Wengert, S., Csányi, G., Reuter, K. & Margraf, J. T. Data-efficient machine learning for molecular crystal structure prediction. Chem. Sci. 12, 4536–4546 (2021).
Chen, W.-C., Schmidt, J. N., Yan, D., Vohra, Y. K. & Chen, C.-C. Machine learning and evolutionary prediction of superhard BCN compounds. npj Comput. Mater. 7, 114 (2021).
Cheng, G., Gong, X.-G. & Yin, W.-J. Crystal structure prediction by combining graph network and optimization algorithm. Nat. Commun. 13, 1492 (2022).
Lee, B. D. et al. Powder x-ray diffraction pattern is all you need for machine-learning-based symmetry identification and property prediction. Adv. Intell. Syst. 4, 2200042 (2022).
Li, C.-N., Liang, H.-P., Zhang, X., Lin, Z. & Wei, S.-H. Graph deep learning accelerated efficient crystal structure search and feature extraction. npj Comput. Mater. 9, 176 (2023).
Wang, J. et al. MAGUS: machine learning and graph theory assisted universal structure searcher. Natl. Sci. Rev. 10, nwad128 (2023).
Luo, X. et al. Deep learning generative model for crystal structure prediction. npj Comput. Mater. 10, 254 (2024).
Chang, L. et al. Shotgun crystal structure prediction using machine-learned formation energies. npj Comput. Mater. 10, 298 (2024).
Riesel, E. A. et al. Crystal structure determination from powder diffraction patterns with generative machine learning. J. Am. Chem. Soc. 146, 30340–30348 (2024).
Chen, L. et al. Crystal structure assignment for unknown compounds from x-ray diffraction patterns with deep learning. J. Am. Chem. Soc. 146, 8098–8109 (2024).
Zhou, P. et al. Machine Learning in Solid-State Hydrogen Storage Materials: Challenges and Perspectives. Adv. Mater. 37, 2413430 (2025).
Kingma, D. P. & Welling, M. Auto-encoding variational Bayes. Preprint at https://arxiv.org/abs/1312.6114 (2014)
Goodfellow, I. J. et al. Generative adversarial nets. Adv. Neural Inf. Process. Syst. 27 (2014).
Sohl-Dickstein, J., Weiss, E., Maheswaranathan, N. & Ganguli, S. Deep unsupervised learning using nonequilibrium thermodynamics. In International Conference on Machine Learning, 2256–2265 (PMLR, 2015).
Kelvinius, F. E. et al. WyckoffDiff--A Generative Diffusion Model for Crystal Symmetry. arXiv preprint arXiv:2502.06485 (2025).
Levy, D. et al. SymmCD: Symmetry-Preserving crystal generation with diffusion models. arXiv preprint arXiv:2502.03638 (2025).
Pickard, C. J. & Needs, R. High-pressure phases of silane. Phys. Rev. Lett. 97, 045504 (2006).
Pickard, C. J. & Needs, R. Ab initio random structure searching. J. Phys.: Condens. Matter 23, 053201 (2011).
Boultif, A. & Louër, D. Indexing of powder diffraction patterns for low-symmetry lattices by the successive dichotomy method. J. Appl. Crystallogr. 24, 987–993 (1991).
Boultif, A. & Louër, D. Powder pattern indexing with the dichotomy method. J. Appl. Crystallogr. 37, 724–731 (2004).
Ong, S. P. et al. Python Materials Genomics (pymatgen): A robust, open-source python library for materials analysis. Comput. Mater. Sci. 68, 314–319 (2013).
Clark, S. J. et al. First principles methods using CASTEP. Z. Kristallogr. Cryst. Mater. 220, 567–570 (2005).
Ho, J., Jain, A. & Abbeel, P. Denoising diffusion probabilistic models. Adv. Neural Inf. Process. Syst. 33, 6840–6851 (2020).
Kingma, D. P. & Ba, J. Adam : A method for stochastic optimization. In Proc. International Conference on Learning Representations (ICLR, 2015).
Togo, A., Shinohara, K. & Tanaka, I. Spglib: a software library for crystal symmetry search. Sci. Technol. Adv. Mater. Meth. 4, 2384822 (2024).
Prescher, C. & Prakapenka, V. B. DIOPTAS: a program for reduction of two-dimensional X-ray diffraction data and data exploration. High Press. Res. 35, 223–230 (2015).
Hammersley, A. FIT2D: a multi-purpose data reduction, analysis and visualization program. J. Appl. Crystallogr. 49, 646–652 (2016).
Toby, B. H. & Von Dreele, R. B. GSAS-II: the genesis of a modern open-source all purpose crystallography software package. J. Appl. Crystallogr. 46, 544–549 (2013).
Perdew, J. P., Burke, K. & Ernzerhof, M. Generalized gradient approximation made simple. Phys. Rev. Lett. 77, 3865 (1996).
Vanderbilt, D. Soft self-consistent pseudopotentials in a generalized eigenvalue formalism. Phys. Rev. B 41, 7892 (1990).
Monkhorst, H. J. & Pack, J. D. Special points for Brillouin-zone integrations. Phys. Rev. B 13, 5188 (1976).
Momma, K. & Izumi, F. VESTA3 for three-dimensional visualization of crystal, volumetric and morphology data. J. Appl. Crystallogr. 44, 1272–1276 (2011).
Acknowledgements
This work was supported by a Discovery Grant from the Natural Science and Engineering Research Council of Canada, and Defense Research and Development Canada under contract No. W7702-216248. The high-pressure experiments were partially performed at HPCAT (Sector 16), Advanced Photon Source (APS), Argonne National Laboratory. HPCAT operations are supported by the DOE-NNSA’s Office of Experimental Sciences. The Advanced Photon Source is a U.S. DOE Office of Science User Facility operated for the DOE by Argonne National Laboratory under Contract No. DE-AC02-06CH11357. The calculations were partially supported by the facilities of the Shared Hierarchical Academic Research Computing Network (SHARCNET: www.sharcnet.ca) and Compute/Calcul Canada. R.G. thanks Dr. D. Zhao for helpful discussions and suggestions.
Author information
Authors and Affiliations
Contributions
Y.S. designed and supervised the project. A.L. performed the high-pressure experiments. R. G. performed the calculations and analyzed the results. R.G. and Y.S. wrote the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Guan, R., Liu, A. & Song, Y. Deep learning generative model for conditional crystal structure prediction of sodium amide. npj Comput Mater (2026). https://doi.org/10.1038/s41524-026-01994-2
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41524-026-01994-2


