Skip to main content
QUICK REVIEW

[Paper Review] Deep Euler method: solving ODEs by approximating the local truncation error of the Euler method

Xing‐Xing Shen, Xiaoliang Cheng|arXiv (Cornell University)|Mar 21, 2020
Model Reduction and Neural NetworksPhysics and Astronomy26 references13 citations
TL;DR

This paper proposes the Deep Euler Method (DEM), a novel approach that enhances the classical Euler method for solving ordinary differential equations by using a deep neural network to approximate the local truncation error. By learning and correcting this error, DEM achieves high-accuracy solutions even with large step sizes (e.g., h ≥ 1), significantly outperforming standard Euler and Runge-Kutta methods while maintaining stability and generalization across unmeasured regions.

ABSTRACT

In this paper, we propose a deep learning-based method, deep Euler method (DEM) to solve ordinary differential equations. DEM significantly improves the accuracy of the Euler method by approximating the local truncation error with deep neural networks which could obtain a high precision solution with a large step size. The deep neural network in DEM is mesh-free during training and shows good generalization in unmeasured regions. DEM could be easily combined with other schemes of numerical methods, such as Runge-Kutta method to obtain better solutions. Furthermore, the error bound and stability of DEM is discussed.

Motivation & Objective

  • To address the poor accuracy and strict step size constraints of the classical Euler method in solving ODEs.
  • To develop a mesh-free, generalizable deep learning framework that enhances numerical ODE solvers without requiring complex neural network architectures.
  • To improve the global accuracy of the Euler method by explicitly modeling and correcting its local truncation error using deep neural networks.
  • To enable high-precision solutions with large step sizes (e.g., h = 1.0) where traditional methods fail or diverge.
  • To ensure robustness to noisy data and generalization to unmeasured regions through supervised training of the error approximation network.

Proposed method

  • The method trains a fully connected deep neural network to approximate the local truncation error of the forward Euler method, using labeled data from exact solutions.
  • The network is trained on a uniform mesh with supervised pre-training, learning the difference between the Euler approximation and the true solution at each step.
  • After training, the network predicts the correction term for each step, which is added to the standard Euler update to yield a more accurate solution.
  • The correction term is applied as: y_{m+1} = y_m + h f(x_m, y_m) + N(x_m, x_{m+1}, y_m), where N approximates the local truncation error.
  • The approach is modular and can be combined with other numerical schemes, such as Runge-Kutta, to further improve accuracy.
  • The method is mesh-free during training and generalizes well to unseen regions, as demonstrated in extrapolation experiments.

Experimental results

Research questions

  • RQ1Can a deep neural network effectively learn and correct the local truncation error of the Euler method to improve solution accuracy?
  • RQ2To what extent can DEM maintain high accuracy with large step sizes (e.g., h = 1.0) where standard Euler and Runge-Kutta methods fail?
  • RQ3How does DEM generalize to regions beyond the training domain, especially in the presence of varying step sizes?
  • RQ4What is the theoretical error bound and stability behavior of DEM compared to the classical Euler method?
  • RQ5Can DEM maintain robustness and accuracy when trained on noisy or limited data?

Key findings

  • DEM achieves global truncation error of O(ηh), where η is the neural network's error in approximating the local truncation error, significantly better than the Euler method’s O(h).
  • For h = 1.0, DEM produces solutions that closely match the exact solution in both the logistic growth and Kepler problem examples, while the Euler and Heun methods diverge or produce wildly inaccurate results.
  • The neural network approximation of the local truncation error generalizes well to unmeasured regions (e.g., (15,25]), even when trained only on [0,15], demonstrating strong extrapolation capability.
  • DEM maintains high accuracy across all tested step sizes (h = 0.01, 0.1, 0.5, 1.0) in both examples, with solutions nearly indistinguishable from the exact solution.
  • The method is robust to noise in measured data, as shown in the experiments, and converges quickly even with a simple fully connected network and minimal training data.
  • The training objective remains O(1), enabling fast and stable convergence of the deep neural network, which is a key enabler for practical deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.