A Comparison of Automatic Differentiation and Continuous Sensitivity Analysis for Derivatives of Differential Equation Solutions

12/05/2018
by   Christopher Rackauckas, et al.
0

The derivatives of differential equation solutions are commonly used as model diagnostics and as part of parameter estimation routines. In this manuscript we investigate an implementation of Discrete local Sensitivity Analysis via Automatic Differentiation (DSAAD). A non-stiff Lotka-Volterra model, a discretization of the two dimensional (N × N) Brusselator stiff reaction-diffusion PDE, a stiff non-linear air pollution and a non-stiff pharmacokinetic/pharmacodynamic (PK/PD) model were used as prototype models for this investigation. Our benchmarks show that on sufficiently small (<100 parameters) stiff and non-stiff systems of ODEs, forward-mode DSAAD is more efficient than both reverse-mode DSAAD and continuous forward/adjoint sensitivity analysis. The scalability of continuous adjoint methods is shown to result in better efficiency for larger ODE systems such as PDE discretizations. In addition to testing efficiency, results on test equations demonstrate the applicability of DSAAD to differential-algebraic equations, delay differential equations, and hybrid differential equation systems where the event timing and effects are dependent on model parameters. Together, these results show that language-level automatic differentiation is an efficient method for calculating local sensitivities of a wide range of differential equation models.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/06/2018

Automatic differentiation of ODE integration

We discuss the calculation of the derivatives of ODE systems with the au...
research
04/18/2019

Sensitivity Analysis for Hybrid Systems and Systems with Memory

We present an adjoint sensitivity method for hybrid discrete -- continuo...
research
06/28/2020

A Modified Multiple Shooting Algorithm for Parameter Estimation in ODEs Using Adjoint Sensitivity Analysis

To increase the predictive power of a model, one needs to estimate its u...
research
11/23/2020

Automatic differentiation of Sylvester, Lyapunov, and algebraic Riccati equations

Sylvester, Lyapunov, and algebraic Riccati equations are the bread and b...
research
07/10/2022

Automatic differentiation and the optimization of differential equation models in biology

A computational revolution unleashed the power of artificial neural netw...
research
12/08/2019

Neural Networks with Cheap Differential Operators

Gradients of neural networks can be computed efficiently for any archite...
research
09/06/2019

Computing Derivatives for PETSc Adjoint Solvers using Algorithmic Differentiation

Most nonlinear partial differential equation (PDE) solvers require the J...

Please sign up or login with your details

Forgot password? Click here to reset