Fast fitting of neural ordinary differential equations by Bayesian neural gradient matching to infer ecological interactions from time‐series data

Abstract Inferring ecological interactions is hard because we often lack suitable parametric representations to portray them. Neural ordinary differential equations (NODEs) provide a way of estimating interactions non‐parametrically from time‐series data. NODEs, however, are slow to fit, and inferre...

Full description

Bibliographic Details
Published in:Methods in Ecology and Evolution
Main Authors: Bonnaffé, Willem, Coulson, Tim
Format: Article in Journal/Newspaper
Language:English
Published: Wiley 2023
Subjects:
Online Access:http://dx.doi.org/10.1111/2041-210x.14121
https://besjournals.onlinelibrary.wiley.com/doi/pdf/10.1111/2041-210X.14121
id crwiley:10.1111/2041-210x.14121
record_format openpolar
spelling crwiley:10.1111/2041-210x.14121 2024-06-09T07:50:13+00:00 Fast fitting of neural ordinary differential equations by Bayesian neural gradient matching to infer ecological interactions from time‐series data Bonnaffé, Willem Coulson, Tim 2023 http://dx.doi.org/10.1111/2041-210x.14121 https://besjournals.onlinelibrary.wiley.com/doi/pdf/10.1111/2041-210X.14121 en eng Wiley http://creativecommons.org/licenses/by/4.0/ Methods in Ecology and Evolution volume 14, issue 6, page 1543-1563 ISSN 2041-210X 2041-210X journal-article 2023 crwiley https://doi.org/10.1111/2041-210x.14121 2024-05-16T14:23:07Z Abstract Inferring ecological interactions is hard because we often lack suitable parametric representations to portray them. Neural ordinary differential equations (NODEs) provide a way of estimating interactions non‐parametrically from time‐series data. NODEs, however, are slow to fit, and inferred interactions usually are not compared with the ground truth. We provide a fast NODE fitting method, Bayesian neural gradient matching (BNGM), which relies on interpolating time series with neural networks and fitting NODEs to the interpolated dynamics with Bayesian regularisation. We test the accuracy of the approach by inferring ecological interactions in time series generated by an ODE model with known interactions. We compare these results against three existing approaches for estimating ecological interactions, standard NODEs, ODE models and convergent cross‐mapping (CCM). We also infer interactions in experimentally replicated time series of a microcosm featuring an algae, flagellate and rotifer population, in the hare and lynx system, and the Maizuru Bay community featuring 11 species. Our BNGM approach allows us to reduce the fitting time of NODE systems to only a few seconds and provides accurate estimates of ecological interactions in the artificial system, as true ecological interactions are recovered with minimal error. Our benchmark analysis reveals that our approach is both faster and more accurate than standard NODEs and parametric ODEs, while CCM was found to be faster but less accurate. The analysis of the replicated time series reveals that only the strongest interactions are consistent across replicates, while the analysis of the Maizuru community shows the strong negative impact of the chameleon goby on most species of the community, and a potential indirect negative effect of temperature by favouring goby population growth. Overall, NODEs alleviate the need for a mechanistic understanding of interactions, and BNGM alleviates the heavy computational cost. This is a crucial step availing quick NODE ... Article in Journal/Newspaper Lynx Rotifer Wiley Online Library Methods in Ecology and Evolution 14 6 1543 1563
institution Open Polar
collection Wiley Online Library
op_collection_id crwiley
language English
description Abstract Inferring ecological interactions is hard because we often lack suitable parametric representations to portray them. Neural ordinary differential equations (NODEs) provide a way of estimating interactions non‐parametrically from time‐series data. NODEs, however, are slow to fit, and inferred interactions usually are not compared with the ground truth. We provide a fast NODE fitting method, Bayesian neural gradient matching (BNGM), which relies on interpolating time series with neural networks and fitting NODEs to the interpolated dynamics with Bayesian regularisation. We test the accuracy of the approach by inferring ecological interactions in time series generated by an ODE model with known interactions. We compare these results against three existing approaches for estimating ecological interactions, standard NODEs, ODE models and convergent cross‐mapping (CCM). We also infer interactions in experimentally replicated time series of a microcosm featuring an algae, flagellate and rotifer population, in the hare and lynx system, and the Maizuru Bay community featuring 11 species. Our BNGM approach allows us to reduce the fitting time of NODE systems to only a few seconds and provides accurate estimates of ecological interactions in the artificial system, as true ecological interactions are recovered with minimal error. Our benchmark analysis reveals that our approach is both faster and more accurate than standard NODEs and parametric ODEs, while CCM was found to be faster but less accurate. The analysis of the replicated time series reveals that only the strongest interactions are consistent across replicates, while the analysis of the Maizuru community shows the strong negative impact of the chameleon goby on most species of the community, and a potential indirect negative effect of temperature by favouring goby population growth. Overall, NODEs alleviate the need for a mechanistic understanding of interactions, and BNGM alleviates the heavy computational cost. This is a crucial step availing quick NODE ...
format Article in Journal/Newspaper
author Bonnaffé, Willem
Coulson, Tim
spellingShingle Bonnaffé, Willem
Coulson, Tim
Fast fitting of neural ordinary differential equations by Bayesian neural gradient matching to infer ecological interactions from time‐series data
author_facet Bonnaffé, Willem
Coulson, Tim
author_sort Bonnaffé, Willem
title Fast fitting of neural ordinary differential equations by Bayesian neural gradient matching to infer ecological interactions from time‐series data
title_short Fast fitting of neural ordinary differential equations by Bayesian neural gradient matching to infer ecological interactions from time‐series data
title_full Fast fitting of neural ordinary differential equations by Bayesian neural gradient matching to infer ecological interactions from time‐series data
title_fullStr Fast fitting of neural ordinary differential equations by Bayesian neural gradient matching to infer ecological interactions from time‐series data
title_full_unstemmed Fast fitting of neural ordinary differential equations by Bayesian neural gradient matching to infer ecological interactions from time‐series data
title_sort fast fitting of neural ordinary differential equations by bayesian neural gradient matching to infer ecological interactions from time‐series data
publisher Wiley
publishDate 2023
url http://dx.doi.org/10.1111/2041-210x.14121
https://besjournals.onlinelibrary.wiley.com/doi/pdf/10.1111/2041-210X.14121
genre Lynx
Rotifer
genre_facet Lynx
Rotifer
op_source Methods in Ecology and Evolution
volume 14, issue 6, page 1543-1563
ISSN 2041-210X 2041-210X
op_rights http://creativecommons.org/licenses/by/4.0/
op_doi https://doi.org/10.1111/2041-210x.14121
container_title Methods in Ecology and Evolution
container_volume 14
container_issue 6
container_start_page 1543
op_container_end_page 1563
_version_ 1801383472891166720