Symmetry-Preserving Physics-Informed Neural Network Framework for Relativistic Charged-Particle Dynamics in 3+1 Dimensions
Abstract
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 [36].
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. Test Case 4: Rotational and Gauge Symmetry
5.5. Computational Cost
5.6. GPU Throughput of the Symplectic Map
5.7. Direct Measurement of the Poincaré–Cartan Invariant; A Structure-Preserving Comparator
5.8. One Surrogate for a Pulse Family
5.9. Ensemble-Level Structure Preservation with the Learned Pipeline
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
| CPU | Central processing unit |
| DOP853 | Dormand–Prince 8(5,3) explicit Runge–Kutta solver |
| GPU | Graphics processing unit |
| L-BFGS | Limited-memory Broyden–Fletcher–Goldfarb–Shanno algorithm |
| LWFA | Laser wakefield acceleration |
| MLP | Multilayer perceptron |
| ODE | Ordinary differential equation |
| PDE | Partial differential equation |
| PIC | Particle-in-cell |
| PINN | Physics-informed neural network |
| RK4 | Fourth-order Runge–Kutta |
| RK8 | Eighth-order Runge–Kutta |
| RMS | Root mean square |
| SP-PINN | Symmetry-preserving physics-informed neural network integrator |
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. Realized Order and the Shadow Hamiltonian


Appendix A.4. Automatic, Resonance-Avoiding Selection of Ω

Appendix A.5. Surrogate Scaling Law, Ablations, and Architecture
| Configuration | Factor vs. Baseline | Peak Rel. Error | |
|---|---|---|---|
| Baseline (all ingredients) | (reference) | ||
| Without Fourier features | |||
| Without gradient clipping | |||
| Without tube sampling | |||
| Without learning-rate warmup | |||
| Without adaptive resampling | |||
| Gradient weight (instead of 32) |

| Hyperparameter | Value |
|---|---|
| Network (width × depth) | fully connected, tanh (∼ params) |
| Input features | 4 coords + Fourier features of (harmonics 1–) |
| Collocation points | , sampled in a tube of half-widths in |
| Minibatch size | |
| Optimizer/learning rate | Adam, with 500-epoch linear warmup + cosine decay |
| Gradient clipping | global norm |
| Gradient-matching weight | 32 |
| Adaptive resampling | residual-based, every epochs from epoch 3000 |
| Adam epochs | |
| L-BFGS polish | up to 1500 iters (history 100, strong-Wolfe) from the best checkpoint |
Appendix A.6. 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.; McCary, E.; Spinks, M.M.; Quevedo, H.J.; Labun, O.Z.; Sain, R.; 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 Fourth Conference on Numerical Simulation of Plasmas, Naval Research Laboratory, Washington, DC, USA, 2–3 November 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]
- 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]
- Zenitani, S.; Umeda, T. On the Boris Solver in Particle-in-Cell Simulation. Phys. Plasmas 2018, 25, 112110. [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.; Sironi, L.; Lapenta, G.; Keppens, R. A Comprehensive Comparison of Relativistic Particle Integrators. Astrophys. J. Suppl. Ser. 2018, 235, 21. [Google Scholar] [CrossRef]
- Zhang, R.; Liu, T.; Wang, B.; Liu, J.; Tang, Y. Structure-Preserving Algorithm and Its Error Estimate for the Relativistic Charged-Particle Dynamics under the Strong Magnetic Field. J. Sci. Comput. 2024, 100, 70. [Google Scholar] [CrossRef]
- Zhou, X.-R.; Zhang, L. An Unconditionally-Stable Well-Posed Relativistic Particle Pusher. Comput. Phys. Commun. 2024, 302, 109263. [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. [Google Scholar]
- 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]
- 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, arXiv:1904.08991. [Google Scholar] [CrossRef]
- Toth, P.; Rezende, D.J.; Jaegle, A.; Racanière, S.; Botev, A.; Higgins, I. Hamiltonian Generative Networks. In Proceedings of the 8th International Conference on Learning Representations (ICLR 2020), Addis Ababa, Ethiopia, 26–30 April 2020. [Google Scholar]
- Canizares, P.; Murari, D.; Schönlieb, C.-B.; Sherry, F.; Shumaylov, Z. Hamiltonian Matching for Symplectic Neural Integrators. arXiv 2024, arXiv:2410.18262. [Google Scholar] [CrossRef]
- Cheng, X.; Wang, L.; Cao, Y.; Chen, C. Learning Non-Separable Hamiltonian Systems with Pseudo-Symplectic Neural Network. J. Comput. Phys. 2026, 550, 114630. [Google Scholar] [CrossRef]
- Wu, Y.; Zhang, H.-K.; Duan, H. State–Hamiltonian Neural Networks for Learning Dynamical Systems. Phys. D Nonlinear Phenom. 2025, 483, 134994. [Google Scholar] [CrossRef]
- Eldred, C.; Gay-Balmaz, F.; Huraka, S.; Putkaradze, V. Lie–Poisson Neural Networks (LPNets): Data-Based Computing of Hamiltonian Systems with Symmetries. Neural Netw. 2024, 173, 106162. [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]
- 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.Y.; 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, 2650189. [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]
- Akintsov, N.S.; Nevecheria, A.P. SP-PINN-RelativisticDynamics: Reference Implementation for Symmetry-Preserving Relativistic Charged-Particle Integration, Version 1.3.0; Zenodo. 2026. Available online: https://github.com/NewArtY/SP-PINN-RelativisticDynamics (accessed on 3 July 2026).
- 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]
- Jagtap, A.D.; Kharazmi, E.; Karniadakis, G.E. Conservative Physics-Informed Neural Networks on Discrete Domains for Conservation Laws: Applications to Forward and Inverse Problems. Comput. Methods Appl. Mech. Eng. 2020, 365, 113028. [Google Scholar] [CrossRef]
- Yan, X.; Hu, W.; Han, Z.; Hou, H. Multi-Symplectic Physics-Informed Neural Network for Nonlinear Infinite-Dimensional Hamilton System. Phys. Lett. A 2026, 583, 131616. [Google Scholar] [CrossRef]
- Yan, X.; Hu, W.; Han, Z. Generalized Multi-Symplectic PINN Method and Its Application in Quantum Tunneling Simulations. Phys. Rev. E 2026, 113, 035308. [Google Scholar] [CrossRef] [PubMed]
- Landau, L.D.; Lifshitz, E.M. The Classical Theory of Fields, 4th ed.; Course of Theoretical Physics, Volume 2; Pergamon Press: Oxford, UK, 1975. [Google Scholar]
- Goldstein, H.; Poole, C.P.; Safko, J.L. Classical Mechanics, 3rd ed.; Addison-Wesley: San Francisco, CA, USA, 2001. [Google Scholar]
- Jackson, J.D. Classical Electrodynamics, 3rd ed.; Wiley: New York, NY, USA, 1999. [Google Scholar]
- 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]
- 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]
- 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; Chapter 2 (Charged Particle Motion), Section “Poincaré Invariants”; CRC Press: Boca Raton, FL, USA, 2014; Available online: https://farside.ph.utexas.edu/teaching/plasma/Plasma/node20.html (accessed on 27 July 2026).
- 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]
- Kaltsas, D.A. Constrained Hamiltonian Systems and Physics-Informed Neural Networks: Hamilton–Dirac Neural Networks. Phys. Rev. E 2025, 111, 025301. [Google Scholar] [CrossRef] [PubMed]
- Chu, H.; Miyatake, Y.; Cui, W.; Wei, S.; Furihata, D. Structure-Preserving Physics-Informed Neural Networks with Energy or Lyapunov Structure. In Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence (IJCAI-24), Jeju, Republic of Korea, 3–9 August 2024; pp. 3872–3880. Available online: https://www.ijcai.org/proceedings/2024/428 (accessed on 27 July 2026).
- Vaquero, M.; Cortés, J.; Martín de Diego, D. Symmetry Preservation in Hamiltonian Systems: Simulation and Learning. J. Nonlinear Sci. 2024, 34, 115. [Google Scholar] [CrossRef]
- van der Ouderaa, T.F.A.; van der Wilk, M.; de Haan, P. Noether’s Razor: Learning Conserved Quantities. In Proceedings of the 38th Conference on Neural Information Processing Systems (NeurIPS 2024), Vancouver, BC, Canada, 10–15 December 2024; Advances in Neural Information Processing Systems 37. pp. 135943–135965. [Google Scholar] [CrossRef]
- Spinner, J.; Bresó, V.; de Haan, P.; Plehn, T.; Thaler, J.; Brehmer, J. Lorentz-Equivariant Geometric Algebra Transformers for High-Energy Physics. In Proceedings of the 38th Conference on Neural Information Processing Systems (NeurIPS 2024), Vancouver, BC, Canada, 10–15 December 2024; Advances in Neural Information Processing Systems. 37, pp. 22178–22205. [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]
- Han, Z.; Hu, W.; Yan, X.; Xiao, C.; Zhang, C.; Deng, Z. Debonding Mechanism Analysis of Ice-Rock Interface Using Frequency Domain Generalized Multi-Symplectic Method. Appl. Math. Model. 2027, 161, 117127. [Google Scholar] [CrossRef]
- Rettberg, J.; Kneifl, J.; Herb, J.; Buchfink, P.; Fehr, J.; Haasdonk, B. Data-Driven Identification of Latent Port-Hamiltonian Systems. Comput. Sci. Eng. 2025, 2, 4. [Google Scholar] [CrossRef]











| Parameter | Symbol | Value |
|---|---|---|
| Laser wavelength | 800 nm | |
| Normalized vector potential | 5 | |
| Beam waist | 4 μm | |
| Pulse duration | (≈13 fs) | |
| Rayleigh length | ||
| Initial electron state | , at rest | |
| Integration time step | (≈0.02 fs) | |
| Field finite-difference step | h | (dimensionless, code units) |
| 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 |
| Integrator | Time/Step (ms) | (Late) | Long-Time Trend | Accuracy/Cost (Rel.) |
|---|---|---|---|---|
| Boris | secular | 1 | ||
| RK4 | secular () | 15 | ||
| SP-PINN (Tao) | bounded | 16 |
| Quantity (RMS) | with () | Without () | Factor |
|---|---|---|---|
| error vs. () | ∼ | ||
| error (dynamics) | |||
| error (dynamics) | |||
| mass-shell residual | 222 | ∼ | |
| same, de-meaned | 88 | ∼ |
| Surrogate Variant | (RMS) | Peak Rel. Error |
|---|---|---|
| Plain tanh, full phase-space box | ≈0.8 | fails ( stalls ) |
| Tube sampling + Fourier features | ≈ | ≈12 |
| Light-cone Hamiltonian residual | ≈ | ≈7 |
| 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.
Share and Cite
Akintsov, N.S.; Nevecheria, A.P.; Yuan, G.; Igumnov, V.S.; Andreev, S.N.; Qin, Q.-H. Symmetry-Preserving Physics-Informed Neural Network Framework for Relativistic Charged-Particle Dynamics in 3+1 Dimensions. Symmetry 2026, 18, 1303. https://doi.org/10.3390/sym18081303
Akintsov NS, Nevecheria AP, Yuan G, Igumnov VS, Andreev SN, Qin Q-H. Symmetry-Preserving Physics-Informed Neural Network Framework for Relativistic Charged-Particle Dynamics in 3+1 Dimensions. Symmetry. 2026; 18(8):1303. https://doi.org/10.3390/sym18081303
Chicago/Turabian StyleAkintsov, Nikolai S., Artem P. Nevecheria, Gaoteng Yuan, Vladislav S. Igumnov, Stepan N. Andreev, and Qing-Hua Qin. 2026. "Symmetry-Preserving Physics-Informed Neural Network Framework for Relativistic Charged-Particle Dynamics in 3+1 Dimensions" Symmetry 18, no. 8: 1303. https://doi.org/10.3390/sym18081303
APA StyleAkintsov, N. S., Nevecheria, A. P., Yuan, G., Igumnov, V. S., Andreev, S. N., & Qin, Q.-H. (2026). Symmetry-Preserving Physics-Informed Neural Network Framework for Relativistic Charged-Particle Dynamics in 3+1 Dimensions. Symmetry, 18(8), 1303. https://doi.org/10.3390/sym18081303

