Machine Learning-Based Adaptive Step Size Control for Numerical Solution of Ordinary Differential Equations

Authors

DOI:

https://doi.org/10.69667/ajs.26107

Keywords:

Adaptive Step Size, Runge–kutta, Machine Learning, Differential Equation.

Abstract

Adaptive step-size control plays a key role in the accurate and efficient numerical solution of ordinary differential equations (ODEs). This work introduces a machine learning–enhanced Runge–Kutta method (ML-RK45) that employs a learned predictive policy for step-size selection, moving beyond conventional error-based adaptive strategies. The proposed approach is evaluated against fixed-step fourth-order Runge–Kutta (RK4) and the classical adaptive Runge–Kutta 4(5) method (RK45) using four benchmark problems: exponential decay, harmonic oscillation, nonlinear autonomous systems, and stiff linear equations. Results show that ML-RK45 significantly reduces the number of solver steps and function evaluations while maintaining solution accuracy within prescribed tolerances, albeit with increased computational overhead in CPU time due to neural-network inference. In stiff and oscillatory problems, step-count reductions lead to improved algorithmic efficiency and enhanced numerical stability. Iteration counts decrease by up to 65% for exponential decay and 89% for stiff systems, while oscillatory problems exhibit substantially reduced phase and amplitude errors. Overall, the results demonstrate the potential of predictive machine learning strategies to enhance adaptive ODE solvers, particularly in applications where stability and step efficiency are critical.

Downloads

Download data is not yet available.

Downloads

Published

2026-01-19

Issue

Section

Articles

How to Cite

Machine Learning-Based Adaptive Step Size Control for Numerical Solution of Ordinary Differential Equations. (2026). Alqalam Journal of Science , 84-94. https://doi.org/10.69667/ajs.26107

Most read articles by the same author(s)

1 2 3 4 5 6 > >>