Optimization and uncertainty analysis of ODE models using 2nd order adjoint sensitivity analysis

Paul Stapor, Fabian Fröhlich, Jan HasenauerbioRxiv 2018

Abstract

Parameter estimation for ordinary differential equation (ODE) models in biology often relies on gradients and Hessians to ensure convergence and computational efficiency. However, traditional methods for calculating the Hessian scale quadratically with the number of parameters, making them impractical for high-dimensional models. This paper introduces second-order adjoint sensitivity analysis, a method that scales linearly with both the number of parameters and state variables. Additionally, a hybrid optimization-integration approach is proposed for profile likelihood computation. Evaluated on several published biological models, these methods demonstrate significantly improved computational efficiency and robustness, enabling more effective parameter estimation for medium- and large-scale ODE systems.

Introduction: The Curse of Dimensionality in ODE Modeling

In systems biology, ODEs are essential for modeling complex processes like cell signaling and metabolism. Estimating unknown parameters (e.g., reaction rates) by fitting models to experimental data is a high-dimensional optimization challenge. Efficient optimization requires accurate information about the objective function's landscape, specifically the gradient (slope) and the Hessian (curvature).

Traditionally, calculating an exact Hessian has been computationally expensive, scaling quadratically ($n_\theta^2$) with the number of parameters. As models grow in complexity, this scaling leads to a "curse of dimensionality," forcing researchers to rely on slow or inaccurate approximations. This paper addresses this bottleneck by providing a more scalable mathematical framework.

Methods: Adjoint Sensitivities and Hybrid Uncertainty Analysis

The authors present two primary technical innovations:

  1. Second-Order Adjoint Sensitivity Analysis: Unlike standard "forward" sensitivity analysis, which tracks how every state variable changes with every parameter, the adjoint method works backward from the objective function. This mathematical approach allows the computation of the Hessian to scale linearly with the number of parameters, drastically reducing the computational burden for large models.
  2. Hybrid Profile Likelihood Approach: Profile likelihoods are used to assess parameter uncertainty. Traditional methods are either reliable but slow (optimization-based) or fast but numerically unstable (integration-based). The proposed hybrid algorithm uses fast integration by default but switches to optimization to re-center itself when it encounters numerical instability or discontinuities.

These methods are implemented in the open-source MATLAB toolboxes AMICI (for sensitivities) and PESTO (for parameter estimation).

Experimental Setup and Datasets

The performance of these methods was evaluated using five published biological models (M1–M5) representing a range of complexities in state variables and parameter counts.

Summary of the biological ODE models (M1-M5) used for evaluation.

These models include Epo receptor signaling (M1), RAF/MEK/ERK signaling (M2), JAK/STAT signaling (M3), E. coli carbon metabolism (M4), and EGF & TNF signaling (M5). The parameter counts range from 9 to 116, providing a robust testbed for scalability analysis.

Key Results

Linear Scaling and Computational Speedup

Empirical testing confirmed that second-order adjoint analysis achieves near-linear scaling. For the 116-parameter E. coli model (M4), the adjoint method was significantly faster than the standard forward approach. The hybrid method for uncertainty analysis was found to be more than two-fold faster than existing state-of-the-art competitors.

Scaling of computation time (A) and time ratios over ODE solve (B) for different Hessian calculation methods across models M1-M5.

Improved Optimization Robustness

While the Fisher Information Matrix (FIM) is a common approximation for the Hessian, the authors found that using the exact Hessian from adjoint analysis significantly increased the number of "converged starts." This means the optimizer was more likely to find the true global minimum rather than getting stuck in local minima, a critical factor for reliable biological modeling.

Conclusion

By reducing the computational complexity of Hessian calculations from quadratic to linear, second-order adjoint sensitivity analysis enables the robust optimization of complex biological models that were previously computationally prohibitive. The combination of exact Hessians and the hybrid profile likelihood approach provides a powerful toolkit for systems biologists to perform accurate parameter estimation and uncertainty analysis on a large scale.

Summary updated

BibTeX
@misc{stapor2018optimization,
  author = {Paul Stapor and Fabian Fröhlich and Jan Hasenauer},
  title = {{Optimization and uncertainty analysis of ODE models using 2nd order adjoint sensitivity analysis}},
  year = {2018},
  doi = {10.1101/272005},
  howpublished = {bioRxiv},
}
Figure