Your browser doesn't support javascript.
loading
Understanding the impact of numerical solvers on inference for differential equation models.
Creswell, Richard; Shepherd, Katherine M; Lambert, Ben; Mirams, Gary R; Lei, Chon Lok; Tavener, Simon; Robinson, Martin; Gavaghan, David J.
Affiliation
  • Creswell R; Department of Computer Science, University of Oxford, Oxford, Oxfordshire, UK.
  • Shepherd KM; Department of Computer Science, University of Oxford, Oxford, Oxfordshire, UK.
  • Lambert B; Department of Statistics, University of Oxford, Oxford, Oxfordshire, UK.
  • Mirams GR; School of Mathematical Sciences, University of Nottingham, Nottingham, Nottinghamshire, UK.
  • Lei CL; Institute of Translational Medicine and Department of Biomedical Sciences, Faculty of Health Sciences, University of Macau, Taipa, Macao.
  • Tavener S; Department of Mathematics, Colorado State University, Fort Collins, CO, USA.
  • Robinson M; Department of Computer Science, University of Oxford, Oxford, Oxfordshire, UK.
  • Gavaghan DJ; Department of Computer Science, University of Oxford, Oxford, Oxfordshire, UK.
J R Soc Interface ; 21(212): 20230369, 2024 03.
Article in En | MEDLINE | ID: mdl-38442857
ABSTRACT
Most ordinary differential equation (ODE) models used to describe biological or physical systems must be solved approximately using numerical methods. Perniciously, even those solvers that seem sufficiently accurate for the forward problem, i.e. for obtaining an accurate simulation, might not be sufficiently accurate for the inverse problem, i.e. for inferring the model parameters from data. We show that for both fixed step and adaptive step ODE solvers, solving the forward problem with insufficient accuracy can distort likelihood surfaces, which might become jagged, causing inference algorithms to get stuck in local 'phantom' optima. We demonstrate that biases in inference arising from numerical approximation of ODEs are potentially most severe in systems involving low noise and rapid nonlinear dynamics. We reanalyse an ODE change point model previously fit to the COVID-19 outbreak in Germany and show the effect of the step size on simulation and inference results. We then fit a more complicated rainfall run-off model to hydrological data and illustrate the importance of tuning solver tolerances to avoid distorted likelihood surfaces. Our results indicate that, when performing inference for ODE model parameters, adaptive step size solver tolerances must be set cautiously and likelihood surfaces should be inspected for characteristic signs of numerical issues.
Subject(s)
Key words

Full text: 1 Collection: 01-internacional Database: MEDLINE Main subject: Algorithms / COVID-19 Limits: Humans Country/Region as subject: Europa Language: En Journal: J R Soc Interface Year: 2024 Document type: Article Affiliation country: Reino Unido

Full text: 1 Collection: 01-internacional Database: MEDLINE Main subject: Algorithms / COVID-19 Limits: Humans Country/Region as subject: Europa Language: En Journal: J R Soc Interface Year: 2024 Document type: Article Affiliation country: Reino Unido