Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access

Symplectic machine learning model for fast simulation of space-charge effects

Jinyu Wan1,*, Ji Qiang2, and Yue Hao1,†

  • *Contact author: wan@frib.msu.edu
  • Contact author: haoy@frib.msu.edu

Phys. Rev. Accel. Beams 28, 074602 – Published 31 July, 2025

DOI: https://doi.org/10.1103/bhpv-bcqk

Abstract

Symplectic simulation of space-charge effects is crucial for the design and operation of high-intensity particle accelerators. Traditional methods for simulating these effects are often computationally expensive, resulting in significant overhead. In this work, we introduce a generative model based on a U-Net architecture within a generative adversarial network framework to efficiently simulate space-charge effects. The model is trained to predict the transverse multiparticle space-charge Hamiltonian, which can be physically computed using a gridless spectral method. The one-step symplectic transverse transfer map for the particles is then obtained by differentiating the predicted Hamiltonian. Benchmarking results demonstrate that this generative model achieves an order of magnitude higher computational efficiency compared to the spectral method, providing a highly efficient alternative for simulating space-charge effects with a large number of particles. By maintaining symplecticity, the model effectively preserves the phase-space structure and mitigates nonphysical errors in long-term simulations. This model has been integrated into jutrack, a novel autodifferentiable accelerator modeling code developed in the julia programming language.

View figure in article

Physics Subject Headings (PhySH)

Article Text

References (39)

  1. Marco Durante, Alexander Golubev, Woo-Yoon Park, and Christina Trautmann, Applied nuclear physics at the new high-energy particle accelerator facilities, Phys. Rep. 800, 1 (2019).
  2. Vladimir Shiltsev and Frank Zimmermann, Modern and future colliders, Rev. Mod. Phys. 93, 015006 (2021).
  3. Kenneth R. Long, Donatella Lucchesi, Mark A. Palmer, Nadia Pastrone, Daniel Schulte, and V. Shiltsev, Muon colliders to expand frontiers of particle physics, Nat. Phys. 17, 289 (2021).
  4. Valeriia N. Starovoitova, Lali Tchelidze, and Douglas P. Wells, Production of medical radioisotopes with linear accelerators, Appl. Radiat. Isot. 85, 39 (2014).
  5. Robert W. Garnett, Overview of accelerators with potential use in homeland security, Phys. Procedia 66, 196 (2015).
  6. P. A. Bystrov, A. V. Gordeev, A. Yu Kolokolova, M. A. Zavyalov, N. V. Ilyukhina, A. A. Molin, Y. S. Pavlov, S. P. Polyakova, A. V. Prokopenko, and V. P. Filippovich, Prospects of electron beam irradiation to ensure microbiological safety of food products, Phys. At. Nucl. 81, 1526 (2018).
  7. Ji Qiang, Long-term simulation of space-charge effects, Nucl. Instrum. Methods Phys. Res., Sect. A 918, 1 (2019).
  8. Ji Qiang, Robert D. Ryne, Salman Habib, and Viktor Decyk, An object-oriented parallel particle-in-cell code for beam dynamics simulation in linear accelerators, J. Comput. Phys. 163, 434 (2000).
  9. Andrei Shishlo, Sarah Cousineau, Jeffrey Holmes, and Timofey Gorlov, The particle accelerator simulation code pyorbit, Procedia Comput. Sci. 51, 1272 (2015).
  10. Dhanoj Gupta, Raj Singh, Ryan Ringle, Catherine R. Nicoloff, Igor Rahinov, Oded Heber, and Daniel Zajfman, Particle-in-cell techniques for the study of space charge effects in an electrostatic ion beam trap, Phys. Rev. E 104, 065202 (2021).
  11. Ji Qiang, Symplectic multiparticle tracking model for self-consistent space-charge simulation, Phys. Rev. Accel. Beams 20, 014203 (2017).
  12. Auralee Edelen, Nicole Neveu, Matthias Frey, Yannick Huber, Christopher Mayes, and Andreas Adelmann, Machine learning for orders of magnitude speedup in multiobjective optimization of particle accelerator systems, Phys. Rev. Accel. Beams 23, 044601 (2020).
  13. Jinyu Wan, Paul Chu, and Yi Jiao, Neural network-based multiobjective optimization algorithm for nonlinear beam dynamics, Phys. Rev. Accel. Beams 23, 081601 (2020).
  14. Andrei Ivanov and Ilya Agapov, Physics-based deep neural networks for beam dynamics in charged particle accelerators, Phys. Rev. Accel. Beams 23, 074601 (2020).
  15. Jinyu Wan and Yi Jiao, Machine learning enabled fast evaluation of dynamic aperture for storage ring accelerators, New J. Phys. 24, 063030 (2022).
  16. Ryan Sandberg, Remi Lehe, Chad Mitchell, Marco Garten, Andrew Myers, Ji Qiang, Jean-Luc Vay, and Axel Huebl, Synthesizing particle-in-cell simulations through learning and GPU computing for hybrid particle accelerator beamlines, in Proceedings of the Platform for Advanced Scientific Computing Conference (Association for Computing Machinery, New York, NY, 2024), pp. 1–11.
  17. Auralee Edelen and Christopher Mayes, Neural network solver for coherent synchrotron radiation wakefield calculations in accelerator-based charged particle beams, in Proceedings of the 13th International Particle Accelerator Conference, IPAC2022, Bangkok, Thailand (JACoW, Geneva, Switzerland, 2022), pp. 2261–2264.
  18. R. Robles, W. Lou, C. Mayes, R. Roussel, and A. Edelen, Efficient computation of two-dimensional coherent synchrotron radiation with neural networks, in Proceedings of the 14th International Particle Accelerator Conference, IPAC2023, Venice, Italy (JACoW, Geneva, Switzerland, 2023), pp. 2892–2895.
  19. Christopher Leon, Petr M. Anisimov, Nikolai Yampolsky, and Alexander Scheinker, Using convolutional neural networks to accelerate 3D coherent synchrotron radiation computations, arXiv:2503.09551.
  20. Jan Kaiser, Chenran Xu, Annika Eichler, and Andrea Santamaria Garcia, Bridging the gap between machine learning and particle accelerator physics with high-speed, differentiable simulations, Phys. Rev. Accel. Beams 27, 054601 (2024).
  21. C. K. Huang, Q. Tang, Y. K. Batygin, O. Beznosov, J. Burby, A. Kim, S. Kurennoy, T. Kwan, and H. N. Rakotoarivelo, Symplectic neural surrogate models for beam dynamics, J. Phys. Conf. Ser. 2687, 062026 (2024).
  22. Christopher Leon and Alexander Scheinker, Physics-constrained machine learning for electrodynamics without gauge ambiguity based on Fourier transformed Maxwell’s equations, Sci. Rep. 14, 14809 (2024).
  23. Alexander Scheinker and Reeju Pokharel, Physics-constrained 3D convolutional neural networks for electrodynamics, APL Mach. Learn. 1, 026109 (2023).
  24. Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio, Generative adversarial networks, Commun. ACM 63, 139 (2020).
  25. Jinyu Wan and Yi Jiao, Machine learning-based direct solver for one-to-many problems on temporal shaping of relativistic electron beams, Front. Phys. 17, 64601 (2022).
  26. Ryan Roussel, Juan Pablo Gonzalez-Aguilera, Eric Wisniewski, Alexander Ody, Wanming Liu, John Power, Young-Kee Kim, and Auralee Edelen, Efficient six-dimensional phase space reconstructions from experimental measurements using generative machine learning, Phys. Rev. Accel. Beams 27, 094601 (2024).
  27. Olaf Ronneberger, Philipp Fischer, and Thomas Brox, U-Net: Convolutional networks for biomedical image segmentation. In Medical image computing and computer-assisted intervention, in Proceedings of the 18th international conference on Medical image Computing and Computer-Assisted Intervention, MICCAI-2015, Munich, Germany (2015), Vol. 9351, pp. 234–241, 10.1007/978-3-319-24574-4_28.
  28. Zewen Li, Fan Liu, Wenjie Yang, Shouheng Peng, and Jun Zhou, A survey of convolutional neural networks: Analysis, applications, and prospects, IEEE Trans. Neural Networks Learn. Syst. 33, 6999 (2021).
  29. Jinyu Wan, Helena Alamprese, Christian Ratcliff, Ji Qiang, and Yue Hao, jutrack: A julia package for auto-differentiable accelerator modeling and particle tracking, Comput. Phys. Commun. 309, 109497 (2025).
  30. Matt Signorelli and David Sagan, scibmad: A full-featured ecosystem for modern, differentiable accelerator physics simulations, in Proceedings of the 14th International Computational Accelerator Physics Conference (2025), https://indico.gsi.de/event/19249/contributions/82658/attachments/48832/70947/SciBmad.pdf.
  31. Ji Qiang, Differentiable self-consistent space-charge simulation for accelerator design, Phys. Rev. Accel. Beams 26, 024601 (2023).
  32. David Gottlieb and Steven A. Orszag, Numerical Analysis of Spectral Methods: Theory and Applications (SIAM, Philadelphia, PA, 1977), 10.1137/1.9781611970425.
  33. Ji Qiang, Symplectic particle-in-cell model for space-charge beam dynamics simulation, Phys. Rev. Accel. Beams 21, 054201 (2018).
  34. D. Ulyanov, D. Vedaldi, and V. Lempitsky, Instance normalization: The missing ingredient for fast stylization, arXiv:1607.08022.
  35. Michal Drozdzal, Eugene Vorontsov, Gabriel Chartrand, Samuel Kadoury, and Chris Pal, The importance of skip connections in biomedical image segmentation, in Proceedings of the International Workshop on Deep Learning in Medical Image Analysis (DLMIA 2016), Athens, Greece (2016), Vol. 10008, pp. 179–187, 10.1007/978-3-319-46976-8_19.
  36. Ugur Demir and Gozde Unal, Patch-based image inpainting with generative adversarial networks, arXiv:1803.07422.
  37. Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Antiga Luca et al., pytorch: An imperative style, high-performance deep learning library, in Proceedings of the 33rd International Conference on Neural Information Processing Systems (Curran Associates Inc., Red Hook, NY, 2019), Vol. 32.
  38. Matt P. Wand and M. Chris Jones, Kernel Smoothing (CRC Press, Boca Raton, FL, 1994).
  39. J. Wan, Essential code for a symplectic machine learning-based space-charge effect model, Zenodo, 10.5281/zenodo.15328235 (2025).

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation