Efficient gradient-based parameter estimation for dynamic models using qualitative data

Leonard Schmiester, Daniel Weindl, Jan HasenauerbioRxiv 2021

Abstract

Unknown parameters of dynamical models are commonly estimated from experimental data. However, while various efficient optimization and uncertainty analysis methods have been proposed for quantitative data, methods for qualitative data are rare and suffer from bad scaling and convergence. Here, we propose an efficient and reliable framework for estimating the parameters of ordinary differential equation models from qualitative data. In this framework, we derive a semi-analytical algorithm for gradient calculation of the optimal scaling method developed for qualitative data. This enables the use of efficient gradient-based optimization algorithms. We demonstrate that the use of gradient information improves performance of optimization and uncertainty quantification on several application examples. On average, we achieve a speedup of more than one order of magnitude compared to gradient-free optimization. Additionally, in some examples, the gradient-based approach yields substantially improved objective function values and quality of the fits. Accordingly, the proposed framework substantially improves the parameterization of models from qualitative data.

Introduction

In systems biology, ordinary differential equations (ODEs) are essential for modeling complex cellular processes. A critical step in utilizing these models is parameter estimation—fitting the model to experimental data to determine unknown values such as reaction rates. While robust tools exist for quantitative data, biological experiments often yield qualitative data (e.g., imaging stains or phenotypic observations). In these cases, researchers might know the relative order of concentrations but not their exact values.

The standard approach for qualitative data is "optimal scaling," which involves a hierarchical optimization problem: an outer loop adjusts model parameters, while an inner loop finds "surrogate" numerical values that best represent qualitative categories while respecting their order. Historically, the gradient of the objective function for this process was considered too complex to calculate analytically, forcing the use of inefficient gradient-free optimizers that scale poorly with model size.

Methods: Semi-analytical Gradient Calculation

The authors introduce a semi-analytical algorithm to calculate gradients for the optimal scaling objective function. By leveraging the Karush-Kuhn-Tucker (KKT) conditions—the first-order optimality conditions for constrained problems—they derived a linear system of equations. Solving this system provides the exact sensitivity of the surrogate data to the model parameters.

Workflow for parameter estimation from qualitative data. (A) Mapping qualitative data to surrogate data by minimizing distance. (B) The optimization loop incorporating gradient computation.

This framework was implemented in the open-source Python Parameter EStimation TOolbox (pyPESTO), using the AMICI toolbox for efficient ODE simulation.

Key Results and Performance

The framework was evaluated on a toy model and five biological models, including RAF inhibition, infectious disease dynamics, STAT5 dimerization, transcriptional regulation, and IL13/RAF-MEK-ERK signaling.

Performance comparison. (A) Validation of semi-analytical gradients against finite differences. (B) Path of a gradient-free optimizer. (C) Path of the proposed gradient-based optimizer on the objective function landscape.

Massive Speedup and Accuracy

The gradient-based approach demonstrated a speedup of one to two orders of magnitude compared to gradient-free methods. Beyond speed, the method improved fit quality; for instance, in an oscillatory transcriptional regulation model (M3), the gradient-based approach successfully captured dynamics that gradient-free methods missed entirely.

High Precision

The semi-analytical gradients were validated against finite difference approximations, showing an absolute difference of less than $10^{-9}$. This precision ensures reliable optimization and enables robust uncertainty quantification through profile likelihoods, which were previously difficult to interpret due to the "jagged" nature of gradient-free results.

Discussion and Future Work

While the current method requires solving a linear system for each parameter, which may become a bottleneck for very large models, it represents a significant leap forward. Future improvements could involve adjoint sensitivity analysis to further enhance scalability. Additionally, the framework's objective function is compatible with hybrid datasets containing both qualitative and quantitative data, offering a versatile tool for systems biology research.

Summary updated

BibTeX
@misc{schmiester2021efficient,
  author = {Leonard Schmiester and Daniel Weindl and Jan Hasenauer},
  title = {{Efficient gradient-based parameter estimation for dynamic models using qualitative data}},
  year = {2021},
  doi = {10.1101/2021.02.06.430039},
  howpublished = {bioRxiv},
}
Figure