Submitted:
22 June 2026
Posted:
23 June 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
- An unsupervised PINN learns the relativistic Hamiltonian surrogate from a loss incorporating the covariant equations of motion, the mass-shell constraint , and boundary conditions from the analytic integrals of motion.
- The learned Hamiltonian is advanced with an explicit symplectic map [11,13], preserving the Poincaré–Cartan invariant and the Lorentz-group orbit structure of phase space; promoting time to a canonical coordinate restores exact symplecticity for time-dependent fields, improving conservation of the light-front invariant by about three orders of magnitude (Appendix A.1).
- Performance is benchmarked against RK4 and the Boris pusher in terms of geometric-invariant conservation, symplecticity diagnostics, and trajectory accuracy, with all simulation code released openly [44].
2. Relativistic Hamiltonian Formalism in 3+1 Dimensions
2.1. Covariant Lagrangian and Hamiltonian of a Charged Particle
2.2. Lorentz Symmetry and Integrals of Motion
2.3. Electromagnetic Field Configuration: Gaussian Laser Pulse
3. Symplectic Structure and the Poincaré–Cartan Invariant
3.1. Symplectic Form in Relativistic Phase Space
3.2. Violation of Symplecticity in Conventional Solvers
4. SP-PINN: Proposed Method
4.1. Architecture Overview
4.2. Stage 1—Unsupervised PINN for Hamiltonian Learning
4.3. Stage 2—Explicit Symplectic Integration
4.4. Surrogate Variant for Time-Dependent Fields: The Vector-Potential Light-Cone Form
4.5. Lorentz Symmetry Preservation
5. Numerical Experiments
5.1. Test Case 1: Uniform Magnetic Field
5.2. Test Case 2: Gaussian Laser Pulse (3+1D)
5.3. Test Case 3: A Non-Integrable System
5.4. Computational Cost
6. Discussion
6.1. Symplecticity Versus Volume Preservation
6.2. Role of the Mass-Shell Constraint
6.3. Limitations
6.4. Symmetry of the Loss and Geometric Preservation
6.5. Prospects
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| PINN | Physics-informed neural network |
| SP-PINN | Symmetry-preserving physics-informed neural network integrator |
| PIC | Particle-in-cell |
| RK4/RK8 | Fourth-/eighth-order Runge–Kutta |
| LWFA | Laser wakefield acceleration |
Appendix A. Supplementary Methodological Studies
Appendix A.1. Time as a Canonical Coordinate; Plane-Wave Symmetry Tests

Appendix A.2. Order of Convergence and the Binding Constant

Appendix A.3. Free-Particle Baseline
| Integrator | ||
|---|---|---|
| RK4 | ||
| Boris | ||
| SP-PINN |
References
- Gong, Z.; Cao, S.; Palastro, J.P.; Edwards, M.R. Laser Wakefield Acceleration of Ions with a Transverse Flying Focus. Phys. Rev. Lett. 2024, 133, 265002. [Google Scholar] [CrossRef] [PubMed]
- Aniculaesei, C.; Ha, T.; Yoffe, S.; Labun, L.; Milton, S.; et al. The Acceleration of a High-Charge Electron Bunch to 10 GeV in a 10-cm Nanoparticle-Assisted Wakefield Accelerator. Matter Radiat. Extrem. 2024, 9, 014001. [Google Scholar] [CrossRef]
- Boris, J.P. Relativistic Plasma Simulation—Optimization of a Hybrid Code. In Proceedings of the 4th Conference on Numerical Simulation of Plasmas; Naval Research Laboratory: Washington, DC, USA, 1970; pp. 3–67. [Google Scholar]
- Vay, J.-L. Simulation of Beams or Plasmas Crossing at Relativistic Velocity. Phys. Plasmas 2008, 15, 056701. [Google Scholar] [CrossRef]
- Higuera, A.V.; Cary, J.R. Structure-Preserving Second-Order Integration of Relativistic Charged Particle Trajectories in Electromagnetic Fields. Phys. Plasmas 2017, 24, 052104. [Google Scholar] [CrossRef]
- Zenitani, S.; Umeda, T. On the Boris Solver in Particle-in-Cell Simulation. Phys. Plasmas 2018, 25, 112110. [Google Scholar] [CrossRef]
- Qin, H.; Zhang, S.; Xiao, J.; Liu, J.; Sun, Y.; Tang, W.M. Why Is Boris Algorithm So Good? Phys. Plasmas 2013, 20, 084503. [Google Scholar] [CrossRef]
- Hairer, E.; Lubich, C. Energy Behaviour of the Boris Method for Charged-Particle Dynamics. BIT Numer. Math. 2018, 58, 969–979. [Google Scholar] [CrossRef]
- Xiao, J.; Qin, H. Slow Manifolds of Classical Pauli Particle Enable Structure-Preserving Geometric Algorithms for Guiding-Center Dynamics. Comput. Phys. Commun. 2021, 265, 107981. [Google Scholar] [CrossRef]
- Hairer, E.; Lubich, C.; Wanner, G. Geometric Numerical Integration: Structure-Preserving Algorithms for Ordinary Differential Equations, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2006. [Google Scholar] [CrossRef]
- Yoshida, H. Construction of Higher Order Symplectic Integrators. Phys. Lett. A 1990, 150, 262–268. [Google Scholar] [CrossRef]
- Chin, S.A. Complete Characterization of Fourth-Order Symplectic Integrators with Extended-Linear Coefficients. Phys. Rev. E 2006, 73, 026705. [Google Scholar] [CrossRef] [PubMed]
- Tao, M. Explicit Symplectic Approximation of Nonseparable Hamiltonians: Algorithm and Long Time Performance. Phys. Rev. E 2016, 94, 043303. [Google Scholar] [CrossRef] [PubMed]
- He, Y.; Sun, Y.; Liu, J.; Qin, H. Volume-Preserving Algorithms for Charged Particle Dynamics. J. Comput. Phys. 2015, 281, 135–147. [Google Scholar] [CrossRef]
- Ripperda, B.; Bacchini, F.; Teunissen, J.; Xia, C.; Porth, O.; et al. A Comprehensive Comparison of Relativistic Particle Integrators. Astrophys. J. Suppl. Ser. 2018, 235, 21. [Google Scholar] [CrossRef]
- Raissi, M.; Perdikaris, P.; Karniadakis, G.E. Physics-Informed Neural Networks: A Deep Learning Framework for Solving Forward and Inverse Problems Involving Nonlinear Partial Differential Equations. J. Comput. Phys. 2019, 378, 686–707. [Google Scholar] [CrossRef]
- Karniadakis, G.E.; Kevrekidis, I.G.; Lu, L.; Perdikaris, P.; Wang, S.; Yang, L. Physics-Informed Machine Learning. Nat. Rev. Phys. 2021, 3, 422–440. [Google Scholar] [CrossRef]
- Greydanus, S.; Dzamba, M.; Yosinski, J. Hamiltonian Neural Networks. Adv. Neural Inf. Process. Syst. 2019, 32, 15353–15363. Available online: https://proceedings.neurips.cc/paper/2019/hash/26cd8ecadce0d4efd6cc8a8725cbd1f8-Abstract.html.
- Jin, P.; Zhang, Z.; Zhu, A.; Tang, Y.; Karniadakis, G.E. SympNets: Intrinsic Structure-Preserving Symplectic Networks for Identifying Hamiltonian Systems. Neural Netw. 2020, 132, 166–179. [Google Scholar] [CrossRef] [PubMed]
- Mattheakis, M.; Sondak, D.; Dogra, A.S.; Protopapas, P. Hamiltonian Neural Networks for Solving Equations of Motion. Phys. Rev. E 2022, 105, 065305. [Google Scholar] [CrossRef] [PubMed]
- Liang, C.; Wen, X.; Zhu, Z.; Shen, L.; Wang, Y. SPINI: A Structure-Preserving Neural Integrator for Hamiltonian Dynamics and Parametric Perturbation. Sci. Rep. 2025, 15, 43842. [Google Scholar] [CrossRef] [PubMed]
- Drimalas, E.G.; Fraschetti, F.; Huang, C.; Tang, Q. Symplectic Neural Network and Its Application to Charged Particle Dynamics in Electromagnetic Fields. Phys. Plasmas 2025, 32, 103901. [Google Scholar] [CrossRef]
- Choudhary, A.; Lindner, J.F.; Holliday, E.G.; Miller, S.T.; Sinha, S.; Ditto, W.L. Physics-Enhanced Neural Networks Learn Order and Chaos. Phys. Rev. E 2020, 101, 062207. [Google Scholar] [CrossRef] [PubMed]
- Mattheakis, M.; Protopapas, P.; Sondak, D.; Di Giovanni, M.; Kaxiras, E. Physical Symmetries Embedded in Neural Networks. arXiv. 2019. Available online: https://arxiv.org/abs/1904.08991.
- Toth, P.; Rezende, D.J.; Jaegle, A.; Racanière, S.; Botev, A.; Higgins, I. Hamiltonian Generative Networks. In Proceedings of the International Conference on Learning Representations (ICLR), Addis Ababa, Ethiopia, 26–30 April 2020; Available online: https://openreview.net/forum?id=HJenn6VFvB.
- Wang, S.; Teng, Y.; Perdikaris, P. Understanding and Mitigating Gradient Flow Pathologies in Physics-Informed Neural Networks. SIAM J. Sci. Comput. 2021, 43, A3055–A3081. [Google Scholar] [CrossRef]
- Wu, C.; Zhu, M.; Tan, Q.; Kartha, Y.; Lu, L. A Comprehensive Study of Non-Adaptive and Residual-Based Adaptive Sampling for Physics-Informed Neural Networks. Comput. Methods Appl. Mech. Eng. 2023, 403, 115671. [Google Scholar] [CrossRef]
- Burby, J.W.; Tang, Q.; Maulik, R. Fast Neural Poincaré Maps for Toroidal Magnetic Fields. Plasma Phys. Control. Fusion 2021, 63, 024001. [Google Scholar] [CrossRef]
- Fitzpatrick, R. Plasma Physics: An Introduction Poincaré Invariants; CRC Press: Boca Raton, FL, USA, 2014; Available online: https://farside.ph.utexas.edu/teaching/plasma/ (accessed on 12 June 2026).
- Arnold, V.I. Mathematical Methods of Classical Mechanics, 2nd ed.; Springer: New York, NY, USA, 1989. [Google Scholar] [CrossRef]
- Abraham, R.; Marsden, J.E. Foundations of Mechanics, 2nd ed.; AMS Chelsea Publishing: Providence, RI, USA, 2008. [Google Scholar] [CrossRef]
- Frankel, T. The Geometry of Physics: An Introduction, 3rd ed.; Cambridge University Press: Cambridge, UK, 2011. [Google Scholar] [CrossRef]
- Jackson, J.D. Classical Electrodynamics, 3rd ed.; Wiley: New York, NY, USA, 1999. [Google Scholar]
- Goldstein, H.; Poole, C.P.; Safko, J.L. Classical Mechanics, 3rd ed.; Addison-Wesley: San Francisco, CA, USA, 2001. [Google Scholar]
- Landau, L.D.; Lifshitz, E.M. The Classical Theory of Fields, 4th ed.; Butterworth-Heinemann: Oxford, UK, 1975. [Google Scholar]
- Akintsov, N.S.; Nevecheria, A.P.; Kopytov, G.F.; Yang, Y. Lagrangian and Hamiltonian Formalisms for Relativistic Mechanics with Lorentz-Invariant Evolution Parameters in 1+1 Dimensions. Symmetry 2023, 15, 1691. [Google Scholar] [CrossRef]
- Akintsov, N.S.; Nevecheria, A.P.; Kopytov, G.F.; Yang, Y.; Cao, T. Special Relativity in Terms of Hyperbolic Functions with Coupled Parameters in 3+1 Dimensions. Symmetry 2024, 16, 357. [Google Scholar] [CrossRef]
- Akintsov, N.S.; Nevecheria, A.P.; Kozhevnikov, V.Yu.; Kopytov, G.F.; Cao, T. Integrals of Motion of a Relativistic Particle in 1+1 Dimensions with Coupled Parameters. St. Petersburg Polytech. Univ. J. Phys. Math. 2025, 18, 107–126. [Google Scholar] [CrossRef]
- Akintsov, N.S.; Nevecheria, A.P.; Yang, Y. Dynamics of a Relativistic Particle in the Field of a Gaussian Laser Pulse in 3+1 Dimensions. Proc. SPIE 2025, 13543, 135430C. [Google Scholar] [CrossRef]
- Akintsov, N.S.; Nevecheria, A.P.; Kopytov, G.F.; Andreev, S.N.; Yang, Y.; Qin, Q.-H. Invariant Descriptions of Classical Relativistic Particle Motion in 3+1 Dimensions. Mod. Phys. Lett. A 2026. [Google Scholar] [CrossRef]
- Akintsov, N.S.; Nevecheria, A.P.; Andreev, S.N.; Kopytov, G.F. Dynamics of Relativistic Particles in an Ion–Cyclotron Trap in the Presence of an External Ultrashort Laser Pulse. Phys. Plasmas 2025, 32, 082105. [Google Scholar] [CrossRef]
- Zhou, G.; Wang, W.-M.; Li, Y.-T. Solution to the Landau–Lifshitz Equation in Laser and Electrostatic Fields. Phys. Lett. A 2025, 550, 130588. [Google Scholar] [CrossRef]
- Quesnel, B.; Mora, P. Theory and Simulation of the Interaction of Ultraintense Laser Pulses with Electrons in Vacuum. Phys. Rev. E 1998, 58, 3719–3732. [Google Scholar] [CrossRef]
- Akintsov, N.S.; Nevecheria, A.P. SP-PINN-RelativisticDynamics: Reference Implementation and Reproducibility Package for Symmetry-Preserving Relativistic Charged-Particle Integration, Version 1.0.0; Zenodo. 2026. Available online: https://github.com/NewArtY/SP-PINN-RelativisticDynamics (accessed on 12 June 2026). [CrossRef]







| Parameter | Symbol | Value |
|---|---|---|
| Laser wavelength | nm | |
| Normalized vector potential | 5 | |
| Beam waist | m | |
| Pulse duration | (fs) | |
| Rayleigh length | ||
| Initial electron state | , at rest |
| Integrator | Symplectic | Time/step (ms) | Larmor radius | Lorentz factor |
|---|---|---|---|---|
| Boris | no (volume-pres.) | machine precision | machine precision | |
| RK4 | no | secular drift | secular drift | |
| SP-PINN (analytic ) | yes | bounded | bounded | |
| SP-PINN (learned , estimated) | yes | floor | floor |
| Surrogate variant | (RMS) | peak rel. error |
|---|---|---|
| Plain tanh, full phase-space box | fails ( stalls ) | |
| Tube sampling + Fourier features | ||
| Light-cone Hamiltonian residual | ||
| Vector-potential (A-residual), stabilized |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).