CoChat

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. · 2024 · Journal of The Royal Society Interface
Cited by 15

The DOI matches its Crossref record; 2 of the 2 references it cites were found in a registry or an index.

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.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1098/rsif.2023.0369

Cites

2 of 2 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 2 references

Research works printed but not linked: 24

  1. 10.1016/j.mbs.2022.108824 · DOI
  2. 10.1029/2003WR002122 · DOI
  3. 10.1002/wsbm.1482 · DOI · Paper page
  4. 10.1046/j.1365-2656.2002.00645.x · DOI
  5. Gautschi W. 1997 Numerical analysis. Boston, MA: Springer Science & Business Media.
  6. 10.1016/0771-050X(80)90013-3 · DOI · Paper page
  7. Kaipio J, Somersalo E. 2006 Statistical and computational inverse problems, vol. 160. New York, NY: Springer Science & Business Media.
  8. 10.1007/s11222-016-9671-0 · DOI
  9. 10.1017/S0962492910000061 · DOI · Paper page
  10. 10.1098/rsif.2022.0725 · DOI
  11. 10.1201/b16018 · doi:10.1201/b16018 · Paper page
  12. 10.1038/s41592-019-0686-2 · DOI · Paper page
  13. 10.1016/j.bpj.2019.08.001 · DOI
  14. 10.1098/rstb.2020.0279 · DOI
  15. Dehning J Zierenberg J Spitzner FP Wibral M Neto JP Wilczek M Priesemann V. 2020 Inferring change points in the spread of COVID-19 reveals the effectiveness of interventions. Science 369 eabb9789. (doi:10.1126/science.abb9789) · DOI · Paper page
  16. Johnstone RH. 2018 Uncertainty characterisation in action potential modelling for cardiac drug safety. PhD thesis University of Oxford Oxford UK.
  17. 10.5334/jors.252 · DOI
  18. 10.2307/3318737 · DOI · Paper page
  19. Weiss HH. 2013 The SIR model and the foundations of public health. Mater. Math. 3, 1-17.
  20. Gallagher K Creswell R Gavaghan D Lambert B. 2023 Identification and attribution of weekly periodic biases in epidemiological time series data. medRxiv. (doi:10.1101/2023.06.13.23290903) · doi:10.1101/2023.06.13.23290903
  21. 10.1029/2009WR008648 · DOI
  22. 10.1029/2009WR008933 · DOI · Paper page
  23. 10.1145/1089014.1089020 · DOI · Paper page
  24. 10.1515/IJNSNS.2009.10.3.273 · DOI · Paper page

Cited by

Metadata

Authors
Creswell, R., Shepherd, K. M., Lambert, B., Mirams, G. R., Lei, C. L., Tavener, S., Robinson, M., & Gavaghan, D. J.
Affiliations
  • Department of Computer Science, University of Oxford, Oxford, Oxfordshire, UK
  • Department of Statistics, University of Oxford, Oxford, Oxfordshire, UK
  • School of Mathematical Sciences, University of Nottingham, Nottingham, Nottinghamshire, UK
  • Institute of Translational Medicine and Department of Biomedical Sciences, Faculty of Health Sciences, University of Macau, Taipa, Macao
  • Department of Mathematics, Colorado State University, Fort Collins, CO, USA
Venue
Journal of The Royal Society Interface
Published
2024-03
Volume
21
Issue
212
ISSN
1742-5662
Cited by
15
References
2
Language
en
Licence
Funders
  • EPSRC CDT in Sustainable Approaches to Biomedical Science: Responsible and Reproducible Research - SABS:R3 (EP/S024093/1)
  • Wellcome Trust (212203/Z/18/Z)

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.