Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

Communications Physics
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. communications physics
  3. articles
  4. article
Accelerating atomic fine structure determination with graph reinforcement learning
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 19 March 2026

Accelerating atomic fine structure determination with graph reinforcement learning

  • Milan Ding  ORCID: orcid.org/0000-0002-2469-83141,
  • Victor-Alexandru Darvariu  ORCID: orcid.org/0000-0001-9250-81752,
  • Alexander N. Ryabtsev  ORCID: orcid.org/0000-0002-5321-54063,
  • Nick Hawes  ORCID: orcid.org/0000-0002-7556-60982 &
  • …
  • Juliet C. Pickering  ORCID: orcid.org/0000-0003-2879-41401 

Communications Physics , Article number:  (2026) Cite this article

  • 2061 Accesses

  • Metrics details

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Atomic and molecular interactions with photons
  • Computational science
  • Electronic structure of atoms and molecules
  • Laboratory astrophysics
  • Plasma physics

Abstract

Atomic data determined by analysis of observed atomic spectra are essential for plasma diagnostics. For each low-ionisation open d- and f-subshell atomic species, around 103 fine structure energy levels can be determined through years of analysis of 104 observable spectral lines. We propose a partial automation of this task by casting the analysis procedure as a Markov decision process and solving it by graph reinforcement learning using reward functions partly learned on historical human decisions. In our evaluations on existing spectral line lists and theoretical calculations for Co II, Nd II and Nd III, hundreds of energy levels were identified and determined in hours, agreeing with published values in 95% of cases for Co II and 54–87% for Nd II and Nd III. As the current efficiency in atomic fine structure determination struggles to meet growing atomic data demands, our artificial intelligence approach sets the stage for closing this gap.

Similar content being viewed by others

Global atomic structure optimization through machine-learning-enabled barrier circumvention in extra dimensions

Article Open access 10 July 2025

AtomAI framework for deep learning analysis of image and spectroscopy data in electron and scanning probe microscopy

Article 08 December 2022

Predicting superconducting transition temperature through advanced machine learning and innovative feature engineering

Article Open access 17 February 2024

Data availability

All data used to generate results in this paper are made available on Zenodo (https://doi.org/10.5281/zenodo.18452552) and at the GitHub repository.

Code availability

All code used to generate results in this paper is made available on Zenodo (https://doi.org/10.5281/zenodo.18452552) and at the GitHub repository.

References

  1. Johansson, S. Term analysis of a complex spectrum. Phys. Scr. T65, 7–14 (1996).

    Google Scholar 

  2. Pickering, J. C., Raassen, A. J. J., Uylings, P. H. M. & Johansson, S. The spectrum and term analysis of Co II. Astrophysical J. Suppl. Ser. 117, 261 (1998).

    Google Scholar 

  3. Ding, M. et al. Spectrum and energy levels of the low-lying configurations of Nd III. Astron. Astrophys. 692, A33 (2024).

    Google Scholar 

  4. Blaise, J., Wyart, J. F., Djerad, M. T. & Ahmed, Z. B. Revised interpretation of the spectrum of singly-ionised neodymium (Nd II). Phys. Scr. 29, 119 (1984).

    Google Scholar 

  5. Kramida, A., Ralchenko, Y. & Reader, J. NIST Atomic Spectra Database (version 5.12). National Institute of Standards and Technology, Gaithersburg, MD (2024). [Accessed September 2025].

  6. Kramida, A. Legacy of Charlotte Moore Sitterly in the internet age. Proc. Int. Astronomical Union 18, 12–40 (2022).

    Google Scholar 

  7. Müller, A. Fusion-related ionization and recombination data for tungsten ions in low to moderately high charge states. Atoms 3, 120–161 (2015).

    Google Scholar 

  8. Marsh, B. A. Resonance ionization laser ion sources for on-line isotope separators. Rev. Sci. Instrum. 85, 02B923 (2014).

    Google Scholar 

  9. Safronova, M. S. et al. Search for new physics with atoms and molecules. Rev. Mod. Phys. 90, 025008 (2018).

    Google Scholar 

  10. Hu, J. et al. Measuring the fine-structure constant on a white dwarf surface; a detailed analysis of Fe V absorption in G191-B2B. Monthly Not. R. Astronomical Soc. 500, 1466–1475 (2021).

    Google Scholar 

  11. Atkins, J. & Baranov, P. V. Nailing fingerprints in the stars. Nature 503, 437 (2013).

    Google Scholar 

  12. Heiter, U. et al. Atomic data for the Gaia-ESO Survey. Astron. Astrophys. 645, A106 (2021).

    Google Scholar 

  13. Cowan, J. J. et al. Origin of the heaviest elements: The rapid neutron-capture process. Rev. Mod. Phys. 93, 015002 (2021).

    Google Scholar 

  14. Cowan, R. D. The Theory of Atomic Structure and Spectra (University of California Press, Berkeley, CA, 1981).

  15. Gaigalas, G., Kato, D., Rynkun, P., Radžiūtė, L. & Tanaka, M. Extended calculations of energy levels and transition rates of Nd II-IV ions for application to neutron star mergers. Astrophysical J. Suppl. Ser. 240, 29 (2019).

    Google Scholar 

  16. Kramida, A. Assessing uncertainties of theoretical atomic transition probabilities with Monte Carlo random trials. Atoms 2, 86–122 (2014).

    Google Scholar 

  17. Concepcion, F., Clear, C. P., Ding, M. & Pickering, J. C. The laboratory astrophysics programme at Imperial College London. Eur. Phys. J. D. 77, 104 (2023).

    Google Scholar 

  18. Reader, J. Atomic spectroscopy at NIST: 2001. In Proc. Harnessing Light: Optical Science and Metrology at NIST, USA (2001).

  19. Tchang-Brillet, W.-Ü L. & Azarov, V. I. Recent laboratory studies of multiply charged ion spectra using high resolution VUV spectrographs. Phys. Scr. T100, 104–113 (2002).

    Google Scholar 

  20. Azarov, V. I. Formal approach to the solution of the complex-spectra identification problem. I. Theory. Phys. Scr. 44, 528 (1991).

    Google Scholar 

  21. Azarov, V. I. Formal approach to the solution of the complex-spectra identification problem. II. Implementation. Phys. Scr. 48, 656 (1993).

    Google Scholar 

  22. Engström, L. GFit, a computer program to determine peak positions and intensities in experimental spectra. Lund Reports in Atomic Physics; Vol. LRAP-232, Atomic Physics, Department of Physics, Lund University (1998). https://portal.research.lu.se/files/5687231/2297167.pdf. note[Accessed August 2025].

  23. Nave, G., Griesmann, U., Brault, J. & Abrams, M. Xgremlin: Interferograms and spectra from Fourier transform spectrometers analysis. Astrophysics Source Code Library, record ascl:1551.004 (2015). https://www.ascl.net/1511.004. [Accessed August 2025].

  24. Ding, M., Lim, S. Z. J., Yu, X., Clear, C. P. & Pickering, J. C. A neural network approach for line detection in complex atomic emission spectra measured by high-resolution Fourier transform spectroscopy. Mach. Learn.: Sci. Technol. 6, 035008 (2025).

    Google Scholar 

  25. Azarov, V. I., Kramida, A. & Vokhmenstev, M. Y. IDEN2 - a program for visual identification of spectral lines and energy levels in optical spectra of atoms and simple molecules. Computer Phys. Commun. 225, 149–153 (2018).

    Google Scholar 

  26. Kramida, A. The program LOPT for least-squares optimization of energy levels. Computer Phys. Commun. 182, 419–434 (2011).

    Google Scholar 

  27. Connes, J. et al. Spectroscopie de Fourier avec transformation d’un million de points. Nouv. Rev. d.’Opt. Appliquée 1, 3 (1970).

    Google Scholar 

  28. Peterson, K. L. & Parsons, M. L. Spectral classification using pattern-recognition techniques. I. Feasibility with hydrogen as a model system. Phys. Rev. A 17, 261 (1978).

    Google Scholar 

  29. Peterson, K. L., Anderson, D. L. & Parsons, M. L. Spectral classification using pattern-recognition techniques. II. Application to curium energy levels. Phys. Rev. A 17, 270 (1978).

    Google Scholar 

  30. Mnih, V. et al. Human-level control through deep reinforcement learning. Nature 518, 529–533 (2015).

    Google Scholar 

  31. Darvariu, V.-A., Hailes, S. & Musolesi, M. Graph reinforcement learning for combinatorial optimization: A survey and unifying perspective. Transactions on Machine Learning Research (2024). https://openreview.net/forum?id=HduK51xNtS.

  32. Scarselli, F., Gori, M., Tsoi, A. C., Hagenbuchner, M. & Monfardini, G. The graph neural network model. IEEE Trans. Neural Netw. 20, 61–80 (2009).

    Google Scholar 

  33. Sutton, R. S. & Barto, A. G. Reinforcement Learning: An Introduction (MIT Press, 2018).

  34. Sivia, D. S. & Skilling, J. Data analysis: a Bayesian tutorial (Oxford University Press, 2006), 2nd edn.

  35. Ng, A. Y. & Russell, S. J. Algorithms for Inverse Reinforcement Learning. In Proc. International Conference on Machine Learning (2000).

  36. Ryabchikova, T., Ryabtsev, A., Kochukhov, O. & Bagnulo, S. Rare-earth elements in the atmosphere of the magnetic chemically peculiar star HD 144897. Astron. Astrophys. 456, 329–338 (2006).

    Google Scholar 

  37. Kramida, A. A suite of atomic structure codes originally developed by R. D. Cowan adapted for Windows-based personal computers. National Institute of Standards and Technology (2021).[Accessed August 2025].

  38. Sugar, J. & Corliss, C. Atomic energy levels of the iron-period elements: potassium through nickel (American Chemical Society, Washington, DC, 1985). PB-86-165446/XAB/.

  39. Johansson, S. & Litzén, U. Possibilities of obtaining laser action from singly ionised iron group elements through charge transfer in hollow cathode lasers. J. Phys. B: At. Mol. Phys. 13, L253 (1980).

    Google Scholar 

  40. Sutton, R. S., McAllester, D., Singh, S. & Mansour, Y. Policy gradient methods for reinforcement learning with function approximation. In Proc. Conference on Neural Information Processing Systems (1999).

  41. Hessel, M. et al. Rainbow: Combining Improvements in Deep Reinforcement Learning. In Proc. AAAI Conference on Artificial Intelligence (2018).

  42. Wang, Z. Dueling network architectures for deep reinforcement learning. In Proc. International Conference on Machine Learning (2016).

  43. van Hasselt, H., Guez, A. & Silver, D. Deep reinforcement learning with double Q-learning. In Proc. AAAI Conference on Artificial Intelligence (2016).

  44. Sutton, R. S. Learning to predict by the methods of temporal differences. Mach. Learn. 3, 9–44 (1988).

    Google Scholar 

  45. Fortunato, M. Noisy networks for exploration. In Proc. International Conference on Learning Representations (2018).

  46. Browne, C. et al. A survey of Monte Carlo tree search methods. IEEE Transactions on Computational Intelligence and AI in Games 4 (2012).

  47. Kocsis, L. & Szepesvári, C. Bandit based monte-carlo planning. In Proc. European Conference on Machine Learning (2006).

  48. Schaul, T., Quan, J., Antonoglou, I. & Silver, D. Prioritized experience replay. In Proc. International Conference on Learning Representations (2016).

  49. Wang, H. et al. Scientific discovery in the age of artificial intelligence. Nature 620, 47–60 (2023).

    Google Scholar 

  50. Kingma, D. P. & Ba, J. Adam: a method for stochastic optimization. In Proc. International Conference on Learning Representations (2018).

  51. Brody, S., Alon, U. & Yahav, E. How attentive are graph attention networks? In Proc. International Conference on Learning Representations (2022).

  52. Clevert, D.-A., Unterthiner, T. & Hochreiter, S. Fast and accurate deep network learning by exponential linear units (ELUs). In Proc. International Conference on Learning Representations (2016).

  53. Lillicrap, T. P. et al. Continuous control with deep reinforcement learning. In Proc. International Conference on Learning Representations (2016).

  54. Paszke, A. et al. PyTorch: an imperative style, high-performance deep learning library. In Proc. Conference on Neural Information Processing Systems (2019).

  55. Fey, M. & Lenssen, J. E. Fast graph representation learning with PyTorch Geometric. In Proc. International Conference on Learning Representations (2019).

  56. Darvariu, V.-A., Hailes, S. & Musolesi, M. Tree search in DAG space with model-based reinforcement learning for causal discovery. In Proc. of the Royal Society A: Mathematical, Physical and Engineering Sciences 481, 2312: 20240450 (2025).

Download references

Acknowledgements

M.D. and J.C.P. acknowledge support from the Science and Technology Facilities Council (STFC) of the UK under grant numbers ST/N000939/1, ST/S000372/1, ST/W000989/1, and UKRI1188, and The Bequest of Prof. Edward Steers. V.-A.D. and N.H. acknowledge support from the Natural Environment Research Council (NERC) Twinning Capability for the Natural Environment (TWINE) Programme NE/Z503381/1, the Engineering and Physical Sciences Research Council (EPSRC) From Sensing to Collaboration Programme Grant EP/V000748/1, and the Innovate UK AutoInspect Grant 1004416. A.N.R is grateful to the late Dr J.-F. Wyart for help in Nd II calculations and to the support from research project FFUU-2025-0005 of the Institute of Spectroscopy of the Russian Academy of Sciences.

Author information

Authors and Affiliations

  1. Department of Physics, Imperial College London, London, UK

    Milan Ding & Juliet C. Pickering

  2. Oxford Robotics Institute, University of Oxford, Oxford, UK

    Victor-Alexandru Darvariu & Nick Hawes

  3. Institute of Spectroscopy, Russian Academy of Sciences, Troitsk, Moscow, Russia

    Alexander N. Ryabtsev

Authors
  1. Milan Ding
    View author publications

    Search author on:PubMed Google Scholar

  2. Victor-Alexandru Darvariu
    View author publications

    Search author on:PubMed Google Scholar

  3. Alexander N. Ryabtsev
    View author publications

    Search author on:PubMed Google Scholar

  4. Nick Hawes
    View author publications

    Search author on:PubMed Google Scholar

  5. Juliet C. Pickering
    View author publications

    Search author on:PubMed Google Scholar

Contributions

M.D. – planning, method design, execution, Co II calculations, manuscript preparation. V.-A.D. – planning, method design, manuscript preparation. A.N.R. – Nd II-III calculations, and manuscript review. N.H. – resource management, manuscript review. J.C.P. – resource management, progress and manuscript review.

Corresponding authors

Correspondence to Milan Ding or Juliet C. Pickering.

Ethics declarations

Competing interests

The authors declare that they have no competing interests.

Peer review

Peer review information

Communications Physics thanks Andreas Flörs, Ricardo Ferreira da Silva, Alexander Kramida and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.

Additional information

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Transparent Peer Review file (download PDF )

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, 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 changes were made. 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/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ding, M., Darvariu, VA., Ryabtsev, A.N. et al. Accelerating atomic fine structure determination with graph reinforcement learning. Commun Phys (2026). https://doi.org/10.1038/s42005-026-02582-y

Download citation

  • Received: 25 September 2025

  • Accepted: 02 March 2026

  • Published: 19 March 2026

  • DOI: https://doi.org/10.1038/s42005-026-02582-y

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Download PDF

Advertisement

Explore content

  • Research articles
  • Reviews & Analysis
  • News & Comment
  • Collections
  • Follow us on X
  • Sign up for alerts
  • RSS feed

About the journal

  • Aims & Scope
  • Journal Information
  • Open Access Fees and Funding
  • Journal Metrics
  • Editors
  • Editorial Board
  • Calls for Papers
  • Editorial Values Statement
  • Editorial policies
  • Referees
  • Conferences
  • Contact

Publish with us

  • For authors
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

Communications Physics (Commun Phys)

ISSN 2399-3650 (online)

nature.com footer links

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing AI and Robotics

Sign up for the Nature Briefing: AI and Robotics newsletter — what matters in AI and robotics research, free to your inbox weekly.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing: AI and Robotics