Abstract
Conducting statistical inference on systems described by ordinary differential equations (ODEs) is a challenging problem. Repeatedly numerically solving the system of equations incurs a high computational cost, making many methods based on explicitly solving the ODEs unsuitable in practice. Gradient matching methods were introduced in order to deal with the computational burden. These methods involve minimising the discrepancy between predicted gradients from the ODEs and those from a smooth interpolant. Work until now on gradient matching methods has focused on parameter inference. This paper considers the problem of model selection. We combine the method of thermodynamic integration to compute the log marginal likelihood with adaptive gradient matching using Gaussian processes, demonstrating that the method is robust and able to outperform BIC and WAIC.
Introduction
Ordinary Differential Equations (ODEs) are fundamental for modeling dynamic systems across various fields, including ecology and biochemistry. However, performing statistical inference—such as parameter estimation or model selection—on these systems is computationally intensive. The standard Bayesian approach involves calculating the marginal likelihood, which typically requires numerically solving the ODE system thousands of times within an algorithm like Markov Chain Monte Carlo (MCMC). Since most ODEs lack closed-form solutions, this "solve-and-compare" cycle becomes a significant bottleneck.
To address this, "gradient matching" techniques were developed. These methods bypass the need for explicit ODE solvers by matching the gradients predicted by the ODE model to the gradients of a smooth curve fitted to the observed data. While previously used for parameter inference, this paper extends the approach to the more complex task of model selection.
Methodology: Combining AGM and TI
The authors propose a hybrid framework that integrates two distinct methodologies:
- Adaptive Gradient Matching (AGM): Instead of solving the ODEs, AGM employs Gaussian Processes (GPs) to create a smooth interpolant of noisy data. The ODE is treated as a constraint: the derivative of the GP interpolant should align with the derivative predicted by the ODE model. This shift from matching trajectories to matching gradients significantly reduces computational overhead.
- Thermodynamic Integration (TI): This technique, originating in statistical physics, is used to estimate the log marginal likelihood. It involves "tempering" the system by creating a path of intermediate distributions between a simple prior and the complex posterior. Integrating the expected log-likelihood along this path yields the marginal likelihood.
A key innovation in this work is the derivation of the mathematical framework required to apply TI to the AGM objective function. The authors specifically address the normalization constant ($C$) in the gradient matching potential, demonstrating that it can be estimated via Monte Carlo methods prior to data collection, further enhancing efficiency.
Experimental Evaluation
The proposed method was tested on several benchmarks:
- Lotka–Volterra (LV) Systems: Classic predator-prey models with varying levels of complexity (Standard, Intra-species competition, and Saturation).
- Protein Signaling Transduction Pathways (PSTP): A set of four candidate models describing biochemical cascades of protein phosphorylation.
- Real-world Data: The historical Hudson Bay Company dataset, featuring annual pelt counts of snowshoe hares and Canadian lynxes (1900–1920).
Key Results and Insights
The study yielded several important findings:
- Superior Accuracy: In simulations, the AGM-TI method consistently identified the correct model structure with 80-100% probability. It significantly outperformed traditional criteria like the Bayesian Information Criterion (BIC) and Watanabe-Akaike Information Criterion (WAIC), which often struggled with non-linear dynamics and limited data.
- Efficiency vs. Exact Methods: The results closely matched those of "Exact" methods (which solve the ODEs) under medium noise conditions but required only a fraction of the computation time.
- Real-world Validation: On the Lynx-Hare dataset, the method correctly favored the Lotka-Volterra model with intra-species competition, aligning with expensive exact methods while BIC and WAIC provided less reliable conclusions.
Conclusion and Future Directions
The integration of Adaptive Gradient Matching and Thermodynamic Integration provides a robust and efficient tool for model selection in ODE-based systems. By bypassing the need for numerical solvers, the method makes Bayesian model comparison feasible for complex dynamical models.
Future work may focus on improving numerical precision through higher-order integration schemes for the thermodynamic integral. Additionally, exploring "direct-path" integration—tempering directly between competing models—could further reduce the variance of the marginal likelihood estimates.
Summary updated