Physics-Constrained Neural Flow Maps for Long-Horizon Prediction of Spin Dynamics
Organizations: School of Physical Sciences, Great Bay University, Dongguan 523000, China · School of Intelligent Systems Science and Engineering, Jinan University, Zhuhai 519000, China · Department of Mathematics, School of Sciences, Great Bay University, Dongguan 523000, China · Great Bay Institute for Advanced Study, Dongguan 523000, China
Abstract
Conventional simulation of current-driven magnetization relies on fine-step integration of the spin-transfer-torque Landau--Lifshitz--Gilbert equation, creating a computational bottleneck in parameter sweeps and control searches. In this work, we propose a physics-constrained neural flow map that learns finite-time dynamics directly on the unit sphere. The model maps the current magnetization, spin-torque strength, and requested time span to a future state in a single forward pass. Tangent-space projection and spherical retraction preserve unit magnetization during recursive, composition-consistent rollout. We validate the framework on single-spin trajectories under in-domain torques and previously unseen but stronger drive. Beyond the training horizon, it achieves an in-domain root mean square error of with norm drift at the level. The flow outperforms an adapted Long Short-Term Memory (LSTM) in in-domain accuracy and geometric stability, although the LSTM retains slightly lower out-of-distribution state error. The resulting geometry-preserving propagator reduces reliance on fine-step integration and enables physically admissible long-horizon prediction.
Figures & tables
| Evaluation regime | range | RMSE | Maximum norm drift |
|---|---|---|---|
| In-domain | |||
| OOD |
| Model variant | In-domain RMSE | OOD RMSE | In-domain maximum norm drift |
|---|---|---|---|
| Full model: total data weight 2.0 + comp(0.1) + retraction | 0.006599 | 0.030187 | |
| Remove composition | 0.007005 | 0.031224 | |
| Duplicate-term weight (total data weight ) | 0.006817 | 0.030482 | |
| Remove duplicate term (total data weight ) | 0.007406 | 0.033067 | |
| Retraction exponential map | 0.007539 | 0.036309 | |
| Retraction raw output | 0.007321 | 0.036993 |
Flow Map Learning
Flow map learning trains neural models to predict finite-time state or distribution transitions directly, enabling fast simulation, control, and generation.
See all 49 papers