Skip to main content
Log in

Stabilization of parareal algorithms for long-time computation of a class of highly oscillatory Hamiltonian flows using data

  • Original Paper
  • Published:
Numerical Algorithms Aims and scope Submit manuscript

Abstract

Applying parallel-in-time algorithms to multiscale Hamiltonian systems to obtain stable long-time simulations is very challenging. In this paper, we present novel data-driven methods aimed at improving the standard parareal algorithm developed by Lions et al. in 2001, for multiscale Hamiltonian systems. The first method involves constructing a correction operator to improve a given inaccurate coarse solver through solving a Procrustes problem using data collected online along parareal trajectories. The second method involves constructing an efficient, high-fidelity solver by a neural network trained with offline generated data. For the second method, we address the issues of effective data generation and proper loss function design based on the Hamiltonian function. We show proof-of-concept by applying the proposed methods to a Fermi-Pasta-Ulam (FPU) problem. The numerical results demonstrate that the Procrustes parareal method is able to produce solutions that are more stable in energy compared to the standard parareal. The neural network solver can achieve comparable or better runtime performance compared to numerical solvers of similar accuracy. When combined with the standard parareal algorithm, the improved neural network solutions are slightly more stable in energy than the improved numerical coarse solutions.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Algorithm 1
Algorithm 2
Algorithm 3
Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

Data availability

The datasets generated and analyzed during the current study are available from the corresponding author on reasonable request.

References

  1. Hairer, E., Lubich, C., Wanner, G.: Geometric numerical integration, 2nd edn. Springer Series in Computational Mathematics, vol. 31, p. 644. Springer, Berlin (2006)

  2. Engquist, B., Tsai, Y.-H.: Heterogeneous multiscale methods for stiff ordinary differential equations. Math. Comput. 74(252), 1707–1742 (2005)

    Article  MathSciNet  Google Scholar 

  3. Lions, J., Maday, Y., Turinici, G.: A “parareal’’ in time discretization of PDE’s. comptes rendus de l’acadmie des sciences-series i-mathematics 332, 661–668 (2001)

    Google Scholar 

  4. Gander, M.J., Vandewalle, S.: Analysis of the parareal time-parallel time-integration method. SIAM J. Sci. Comput. 29(2), 556–578 (2007)

    Article  MathSciNet  Google Scholar 

  5. Ariel, G., Kim, S.J., Tsai, R.: Parareal multiscale methods for highly oscillatory dynamical systems. SIAM J. Sci. Comput. 38(6), 3540–3564 (2016)

    Article  MathSciNet  Google Scholar 

  6. Gander, M.J., Hairer, E.: Analysis for parareal algorithms applied to Hamiltonian differential equations. J. Comput. Appl. Math. 259, 2–13 (2014)

    Article  MathSciNet  Google Scholar 

  7. Dai, X., Le Bris, C., Legoll, F., Maday, Y.: Symmetric parareal algorithms for Hamiltonian systems. ESAIM: Mathematical Modelling and Numerical Analysis-Modélisation Mathématique et Analyse Numérique 47(3), 717–742 (2013)

    Article  MathSciNet  Google Scholar 

  8. Farhat, C., Chandesris, M.: Time-decomposed parallel time-integrators: theory and feasibility studies for fluid, structure, and fluid-structure applications. Int. J. Numer. Meth. Eng. 58(9), 1397–1434 (2003)

    Article  MathSciNet  Google Scholar 

  9. Nguyen, H., Tsai, R.: A stable parareal-like method for the second order wave equation. J. Comput. Phys. 405, 109156 (2020)

    Article  MathSciNet  Google Scholar 

  10. Nguyen, H., Tsai, R.: Numerical wave propagation aided by deep learning. J. Comput. Phys. 475, 111828 (2023)

    Article  MathSciNet  Google Scholar 

  11. Gower, J.C., Dijksterhuis, G.B.: Procrustes problems, vol. 30. Oxford University Press, Oxford (2004)

    Book  Google Scholar 

  12. Clevert, D.-A., Unterthiner, T., Hochreiter, S.: Fast and accurate deep network learning by exponential linear units (ELUs). arXiv:1511.07289 (2015)

  13. E, W.: Machine learning and computational mathematics. arXiv:2009.14596 (2020)

  14. Duane, S., Kennedy, A.D., Pendleton, B.J., Roweth, D.: Hybrid Monte Carlo. Phys. Lett. B 195(2), 216–222 (1987). https://doi.org/10.1016/0370-2693(87)91197-X

    Article  MathSciNet  Google Scholar 

  15. Fermi, E., Pasta, P., Ulam, S., Tsingou, M.: Studies of the nonlinear problems. Technical report, Los Alamos National Lab.(LANL), Los Alamos, NM (United States) (1955)

  16. Dennis, J.E., Gay, D.M., Welsch, R.E.: Algorithm 573: NL2SOL—an adaptive nonlinear least-squares algorithm [E4]. ACM Transactions on Mathematical Software (TOMS) 7(3), 369–383 (1981). https://doi.org/10.1145/355958.355966

    Article  Google Scholar 

  17. Calvo, M.P., Sanz-Serna, J.M.: The development of variable-step symplectic integrators, with application to the two-body problem. SIAM J. Sci. Comput. 14(4), 936–952 (1993)

    Article  MathSciNet  Google Scholar 

  18. Kahan, W., Li, R.-C.: Composition constants for raising the orders of unconventional schemes for ordinary differential equations. Math. Comput. 66(219), 1089–1099 (1997)

    Article  MathSciNet  Google Scholar 

  19. Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization. arXiv:1412.6980 (2014)

  20. Loshchilov, I., Hutter, F.: Decoupled weight decay regularization. arXiv:1711.05101 (2017)

  21. Smith, L.N., Topin, N.: Super-convergence: very fast training of neural networks using large learning rates. In: Artificial Intelligence and Machine Learning for Multi-domain Operations Applications, vol. 11006, pp. 369–386. SPIE (2019)

Download references

Acknowledgements

The authors thank the Texas Advanced Computing Center (TACC) for providing computing resources.

Funding

The authors are partially supported by the National Science Foundation grant DMS-2208504.

Author information

Authors and Affiliations

Authors

Contributions

R.F.: conceptualization, methodology, software, visualization, writing. R.T.: conceptualization, funding acquisition, methodology, project administration, supervision, writing.

Corresponding author

Correspondence to Rui Fang.

Ethics declarations

Ethical approval

Not applicable

Conflict of interest

The authors declare no competing interests.

Additional information

Publisher's Note

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

Appendix: A Energy profiles of parareal solutions by various coarse solvers

Appendix: A Energy profiles of parareal solutions by various coarse solvers

Fig. 13
figure 13

Energy profiles of the stiff springs computed from plain parareal solutions by various coarse solvers (\(\Delta t=1.0\), \(T=1000\))

Fig. 14
figure 14

Energy profiles of the stiff springs computed from Procrustes parareal solutions by various coarse solvers (\(\Delta t=1.0\), \(T=1000\))

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Fang, R., Tsai, R. Stabilization of parareal algorithms for long-time computation of a class of highly oscillatory Hamiltonian flows using data. Numer Algor (2024). https://doi.org/10.1007/s11075-024-01826-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11075-024-01826-8

Keywords

Navigation