Efficient time stepping for numerical integration using reinforcement learning

Michael Dellnitz, Eyke Hüllermeier, Marvin Lücke, Sina Ober-Blöbaum, Christian Offen +2 more
4/8/2021
math.DScs.LG
rl

Official code: lueckem/quadrature-ML (5 stars, Jupyter Notebook, last commit 2025-02-03).

Abstract

Many problems in science and engineering require an efficient numerical approximation of integrals or solutions to differential equations. For systems with rapidly changing dynamics, an equidistant discretization is often inadvisable as it either results in prohibitively large errors or computational effort.

Show full abstract

To this end, adaptive schemes, such as solvers based on Runge--Kutta pairs, have been developed which adapt the step size based on local error estimations at each step. While the classical schemes apply very generally and are highly efficient on regular systems, they can behave sub-optimal when an inefficient step rejection mechanism is triggered by structurally complex systems such as chaotic systems. To overcome these issues, we propose a method to tailor numerical schemes to the problem class at hand. This is achieved by combining simple, classical quadrature rules or ODE solvers with data-driven time-stepping controllers. Compared with learning solution operators to ODEs directly, it generalises better to unseen initial data as our approach employs classical numerical schemes as base methods. At the same time it can make use of identified structures of a problem class and, therefore, outperforms state-of-the-art adaptive schemes. Several examples demonstrate superior efficiency. Source code is available at https://github.com/lueckem/quadrature-ML.

View on arXivView PDF

Code Implementations(1)

56Jupyter Notebook, PythonJan 29, 20211 years ago

Similar Papers

Cite this paper

@article{dellnitz2021efficient,
  title  = {Efficient time stepping for numerical integration using reinforcement learning},
  author = {Michael Dellnitz and Eyke Hüllermeier and Marvin Lücke and Sina Ober-Blöbaum and Christian Offen and Sebastian Peitz and Karlson Pfannschmidt},
  year   = {2021},
  eprint = {2104.03562},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.03562}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.03562.svg)](https://codeofpaper.com/paper/2104.03562)

Discussion