Penalized Likelihood Parameter Estimation for Differential Equation Models: A Computational Tutorial
Matthew J Simpson, James S Bennett, Alexander Johnston, Ruth E Baker
TL;DR
The paper addresses the challenge of estimating parameters for ODE models from noisy data by adopting generalized profiling, a penalized-likelihood framework that uses trial splines to approximate the ODE solution while enforcing the governing equations. By maximizing $\ell(\boldsymbol{\theta}; T^{\textrm{o}}(t))= w_{\mathrm{d}}\ell_{\mathrm{d}} + w_{\mathrm{m}}\ell_{\mathrm{m}}$ and iteratively updating spline coefficients and parameters (often via Nelder–Mead), the method avoids repeatedly solving the ODE and scales better to larger systems. The paper demonstrates the approach on scalar ODEs (Newton's law of cooling and logistic growth) and a small reaction network, followed by a real-data coral reef recovery application, all using open-source Julia notebooks for reproducibility. It highlights connections to PINNs/BINNs and outlines promising extensions to PDEs and identifiability analysis, offering a practical, scalable toolbox for mechanistic parameter estimation. Overall, generalized profiling provides accurate parameter estimates with improved computational efficiency and robustness to initial-condition specification, making it attractive for complex, real-world dynamical systems.
Abstract
Parameter estimation connects mathematical models to real-world data and decision making across many scientific and industrial applications. Standard approaches such as maximum likelihood estimation and Markov chain Monte Carlo estimate parameters by repeatedly solving the model, which often requires numerical solutions of differential equation models. In contrast, generalized profiling (also called parameter cascading) focuses directly on the governing differential equation(s), linking the model and data through a penalized likelihood that explicitly measures both the data fit and model fit. Despite several advantages, generalized profiling is relatively rarely used in practice. This tutorial-style article outlines a set of self-directed computational exercises that facilitate skills development in applying generalized profiling to a range of ordinary differential equation models. All calculations can be repeated using reproducible open-source Jupyter notebooks that are available on GitHub.
