Inference of cell dynamics on perturbation data using adjoint sensitivity

04/13/2021
by   Weiqi Ji, et al.
7

Data-driven dynamic models of cell biology can be used to predict cell response to unseen perturbations. Recent work (CellBox) had demonstrated the derivation of interpretable models with explicit interaction terms, in which the parameters were optimized using machine learning techniques. While the previous work was tested only in a single biological setting, this work aims to extend the range of applicability of this model inference approach to a diversity of biological systems. Here we adapted CellBox in Julia differential programming and augmented the method with adjoint algorithms, which has recently been used in the context of neural ODEs. We trained the models using simulated data from both abstract and biology-inspired networks, which afford the ability to evaluate the recovery of the ground truth network structure. The resulting accuracy of prediction by these models is high both in terms of low error against data and excellent agreement with the network structure used for the simulated training data. While there is no analogous ground truth for real life biological systems, this work demonstrates the ability to construct and parameterize a considerable diversity of network models with high predictive ability. The expectation is that this kind of procedure can be used on real perturbation-response data to derive models applicable to diverse biological systems.

READ FULL TEXT VIEW PDF
POST COMMENT

Comments

There are no comments yet.

Authors

page 4

page 5

09/19/2020

Population-based Optimization for Kinetic Parameter Identification in Glycolytic Pathway in Saccharomyces cerevisiae

Models in systems biology are mathematical descriptions of biological pr...
11/22/2018

Inference of the three-dimensional chromatin structure and its temporal behavior

Understanding the three-dimensional (3D) structure of the genome is esse...
02/22/2018

Sparse Bayesian dynamic network models, with genomics applications

Network models have become an important topic in modern statistics, and ...
12/07/2021

A deep language model to predict metabolic network equilibria

We show that deep learning models, and especially architectures like the...
10/31/2017

Characterizing the structural diversity of complex networks across domains

The structure of complex networks has been of interest in many scientifi...
05/27/2020

Synthetic Petri Dish: A Novel Surrogate Model for Rapid Architecture Search

Neural Architecture Search (NAS) explores a large space of architectural...
07/01/2021

An Investigation of the (In)effectiveness of Counterfactually Augmented Data

While pretrained language models achieve excellent performance on natura...
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1 Introduction

Detailed information about interactions between molecules in biological processes can be an important ingredient for methods that aim to predict cellular behavior in response to perturbations and in deriving mechanistic models of disease processes Khatri et al. (2012). Typical networks models in the biological literature are based on small scale targeted molecular experiments and while having led to a significant corpus of molecular biology knowledge, they are often incomplete and / or not quantitatively predictive. New modeling opportunities arise from modern perturbation screening and profiling techniques that have been used to generate rich biological datasets. These have greatly improved the potential for using machine learning technology to build much more comprehensive predictive interaction models according to what one might call the perturbation-interaction-response paradigm.

Standard computational methods, however, are typically insufficient for accurate and efficient network inference. Static models, e.g., using partial correlation, maximum entropy or mutual information do not use time-resolved information Locasale and Wolf-Yadlin (2009); Chan et al. (2017)

. Dynamic models, e.g. dynamic Bayesian networks, and ordinary differential equation (ODE) models typically require prior knowledge of kinetic parameters, which are often not available

Zou and Conzen (2005); Hill et al. (2017)

. Deep learning models, although usually providing good predictive ability, often lack interpretability to help understand the system

Zhou and Troyanskaya (2015); Montavon et al. (2018). Recent work of interpretable neural differential equations by Rackauckas et al. (2020) combines the idea of neural ODEs Chen et al. (2018) and physics-based models, providing a potential merge of deep learning and biological network inference for scientific machine learning models.

We have previously developed a hybrid approach, CellBox, that combines explicit ODE models of cellular interactions with an automatic differentiation framework implemented in TensorFlow (

Yuan et al. (2020) ). While successful for a specific cancer cell line, CellBox had some key limitations including, (1) we only tested in one specific system; (2) the model was trained only on steady-state data; (3) there exists potential truncation errors during numerical ODE solving due to the use of non-stiff solvers on stiff biological systems, and (4) we used arbitrarily fixed time step, due to the fact that the computational graph is static in TensorFlow.

Here, we implemented the CellBox algorithm in Julia with the aim to move beyond these limitations. We replaced back propagation through time with adjoint sensitivity Fröhlich et al. (2017) and changed Heun’s ODE solver with fixed time steps to high-order ODE solvers with adaptive time steps. Therefore, the new implementation would allow adjoint backward optimization on full trajectory simulation. Using simulated data from both abstract and biology-inspired networks, we demonstrate that the new implementation can accurately predict the dynamic time course of cell response to unseen perturbations. Importantly, this method can efficiently infer molecular interaction parameters with high accuracy for various network structures. These results, taken together, strongly suggest the broad applicability of CellBox in a diversity of systems.

Figure 1: Workflow for CellBox augmented by adjoint sensitivity optimization.

2 Method

2.1 CellBox model

Following Yuan et al. (2020), a set of ODEs was used to describe the time development of the system variables upon perturbation (Eq. 1).

(1)

where the

dimensional vector

represents the change in molecular or phenotypic measurement, e.g., log ratios of molecular concentration after and before perturbation , and is the number of molecule types. The initial condition is . quantifies the directional interaction among molecules where each denotes the interaction from network node to node . The scaling factor quantifies the strength of the natural decay term , which is the tendency of an entity to return to its steady state level before perturbation. A hyperbolic tangent envelope function is used to introduce a saturation effect of the interaction term. denotes element wise multiplication.

By integrating Eq. 1 using an ODE solver, we can predict the time evolution of after a given perturbation . CellBox learns these system parameters from experimental data. With given input data, CellBox optimizes and by minimizing the mismatch between model predictions and experimental measurements. Here, instead of experimental data, we provide CellBox time-series pseudo-experimental data, generated from a given network model assumed to be the ground truth. Multiple time points are sampled and noise is added for different perturbation conditions, which collectively form the training data. Once trained, the models can predict the responses to unseen perturbations of the system.

2.2 Adjoint sensitivity methods in dynamic system optimization

The dimension of can be on the order of hundreds and thousands (human cells have about 20,000 genes in total), thus models can have interaction parameters, leading to computational challenges for the parameter inference algorithm. Recently developed neural ODEs Chen et al. (2018); Rubanova et al. (2019) have shown promise in efficiently learning complex dynamic models from time-series data. One can view Eq. 1

as a neural network with single hidden layer where both the dimension of input and output is equal to

. We have re-implemented CellBox to learn the model parameters in the framework of neural ODEs. For instance, we denote the model predictions as

(2)

And we use the loss function of mean absolute error (MAE), i.e.,

(3)

where and correspond to simulated and measured molecular profiles. In this work, we use the ODE solver of the Tsitouras 5/4 Runge-Kutta method, implemented as Tsit5() in the Julia package of DifferentialEquations.jl developed by Rackauckas and Nie (2017). The first-order optimizer Adam proposed in Kingma and Ba (2014) implemented in Flux.jl by Innes (2018) is adopted with a default learning rate of 0.001. Learning rate annealing is exploited. We employ weight decay to encourage sparsity in the interaction matrix (which is expected given our understanding of interactions in biological networks) and the value of weight decay is treated as a hyper-parameter. To accelerate the training, the training proceeds with a specific mini-batching, in which we sample time points from each perturbation condition as a single batch and we iteratively loop over all of the perturbation conditions. Unlike regular deep learning tasks, in addition to tracking the loss function, we also monitor the convergence of the model parameters by inspecting the Pearson correlations between learned interaction weights and ground truth network connections, reported as inference accuracy.

Table 1: Abstract synthetic systems

3 Results

3.1 Abstract synthetic systems

We first conduct proof-of-concept experiments by applying the CellBox algorithm to several typical abstract networks presented in Pratapa et al. (2020), including linear (LI), cyclic (CY), and bifurcation (BI) networks. We artificially introduce perturbations into the systems and use ODE equations to simulate pseudo-experimental response trajectories, from which samples are drawn at multiple time points and used in training. To mimic realistic experimental setups, each synthetic perturbation condition is constrained such that no more than 2 nodes are perturbed simultaneously and at most 5 time points are sampled. We discuss the effect of the number of nodes perturbed and the number of time steps on model performance in Section 4.

We evaluated both the predictive accuracy of cell responses to these perturbations, as well as the accuracy of network inference. The model was trained with as few as 10 perturbation conditions (Table 1). Our results indicated that on these simulated biological systems, the CellBox method could train predictive models of system responses to external perturbations (average MAE ), as well as capture the system structures by inferring the network interaction parameters (average Pearson’s correlation). Overall, while different systems resulted in different efficiency of parameter inference, CellBox could be effectively trained for all four system types tested, when provided with sufficient perturbation conditions. These results suggest the potential applicability of such methods to diverse biological systems.

3.2 Biology-inspired synthetic systems

Table 2: Biology-inspired synthetic cellular systems

We tested CellBox on synthetic analogs of four real biological systems adapted from Pratapa et al. (2020), including mammalian cortical area development (mCAD), ventral spinal cord (VSC) development, hematopoietic stem cell (HSC) differentiation and gonadal sex determination (GSD), which were human-curated from the research literature and have been repeatedly validated by experiments. We then used these biology-inspired synthetic system models in simulation and model training in the same way as the synthetic systems described above. Similar to the abstract systems, these models achieved the same level of prediction error (MAE: -) and inference accuracy (Pearson’s correlation: -) (Table 2) and accurately predicted post-perturbational responses in each of the four systems described in Pratapa et al. (2020).

4 Conclusion and discussion

Constructing data-driven models for molecular interactions and cellular behavior of biological systems is useful but challenging. Here we adapted the CellBox method Yuan et al. (2020); Shen et al. (2020), a hybridization of explicit dynamic models and machine learning optimization, with adjoint sensitivity methods in Julia. We tested performance on a diverse range of synthetic network systems, and demonstrate that by simulating perturbation-response data and using such data to construct interaction models, CellBox methods can be effectively trained to predict responses and reconstruct the ground truth interaction network. The overall performance across diverse systems, including several typical abstract networks and multiple biology-inspired networks, suggest that the CellBox can potentially be applied to a wide variety of biological systems.

Another improvement in this work compared to the first version of CellBox is that the previous models used only single endpoint measurement, assuming the system had reached equilibrium. It also obvious that time series data can be more informative for understanding and simulating the system, as explored in (Nyman et al. (2020)). To explore this potential we used simulated time series data for training. The models then are challenged to predict the full time series of the dynamic response to perturbations. This encouraged us to redesign the optimization procedure, e.g. by incorporating NeuralODE and adjoint sensitivity methods from Chen et al. (2018); Fröhlich et al. (2017), as well as to challenge the model training efficiency and robustness, for which more careful fine-tuning are used to ensure stable simulation and modeling.

The data generation procedure used here does not systematically explore what are the minimal or optimal requirement of data for successful training. Some of the models above can be effectively trained with even less data, e.g., only 1 time point measurement; so it is not surprising that some biological datasets that are sparse in the time dimension are still informative. However, we did test scenarios where each synthetic condition has more than 2 nodes perturbed or more than 5 time points measured. As expected, increased information benefits model training and results in better performance even with a smaller sample size. Taken together, these observations might help design the scope of perturbation experiments needed to accurately simulate and predict the responses of a particular system. In future work, exploring associations of experiment size and quality with successful training would be of tremendous help in experimental design and validation.

References

  • T. E. Chan, M. P.H. Stumpf, and A. C. Babtie (2017) Gene regulatory network inference from single-cell data using multivariate information measures. Cell Systems 5 (3), pp. 251–267.e3. External Links: Document Cited by: §1.
  • R. T. Q. Chen, Y. Rubanova, J. Bettencourt, and D. Duvenaud (2018) Neural Ordinary Differential Equations. NeurIPS. External Links: 1806.07366v5 Cited by: §1, §2.2, §4.
  • F. Fröhlich, B. Kaltenbacher, F. J. Theis, and J. Hasenauer (2017)

    Scalable parameter estimation for genome-scale biochemical reaction networks

    .
    PLOS Computational Biology 13 (1), pp. 1–18. External Links: Document Cited by: §1, §4.
  • S. M. Hill, N. K. Nesser, K. Johnson-Camacho, M. Jeffress, A. Johnson, C. Boniface, S. E.F. Spencer, Y. Lu, L. M. Heiser, Y. Lawrence, N. T. Pande, J. E. Korkola, J. W. Gray, G. B. Mills, S. Mukherjee, and P. T. Spellman (2017) Context Specificity in Causal Signaling Networks Revealed by Phosphoprotein Profiling. Cell Syst 4 (1), pp. 73–83. Cited by: §1.
  • M. Innes (2018) Flux: elegant machine learning with julia.

    Journal of Open Source Software

    3 (25), pp. 602.
    Cited by: §2.2.
  • P. Khatri, M. Sirota, and A. J. Butte (2012) Ten years of pathway analysis: current approaches and outstanding challenges. PLoS Comput Biol 8 (2), pp. e1002375. Cited by: §1.
  • D. P. Kingma and J. Ba (2014) Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980. Cited by: §2.2.
  • J. W. Locasale and A. Wolf-Yadlin (2009) Maximum entropy reconstructions of dynamic signaling networks from quantitative proteomics data. PLoS One 4 (8), pp. e6522. Cited by: §1.
  • G. Montavon, W. Samek, and K. Müller (2018) Methods for interpreting and understanding deep neural networks. 73, pp. 1–15. Cited by: §1.
  • E. Nyman, R. R. Stein, X. Jing, W. Wang, B. Marks, I. K. Zervantonakis, A. Korkut, N. P. Gauthier, and C. Sander (2020) Perturbation biology links temporal protein changes to drug responses in a melanoma cell line. PLOS Computational Biology 16 (7), pp. 1–26. External Links: Document Cited by: §4.
  • A. Pratapa, A. P. Jalihal, J. N. Law, A. Bharadwaj, and T. M. Murali (2020) Benchmarking algorithms for gene regulatory network inference from single-cell transcriptomic data. Nature Methods 17 (2), pp. 147–154. External Links: Document, ISSN 15487105 Cited by: §3.1, §3.2.
  • C. Rackauckas, Y. Ma, J. Martensen, C. Warner, K. Zubov, R. Supekar, D. Skinner, A. Ramadhan, and A. Edelman (2020) Universal differential equations for scientific machine learning. External Links: 2001.04385 Cited by: §1.
  • C. Rackauckas and Q. Nie (2017) Differentialequations. jl–a performant and feature-rich ecosystem for solving differential equations in julia. Journal of Open Research Software 5 (1). Cited by: §2.2.
  • Y. Rubanova, R. T. Chen, and D. Duvenaud (2019) Latent odes for irregularly-sampled time series. arXiv preprint arXiv:1907.03907. Cited by: §2.2.
  • C. Shen, B. Yuan, and C. Sander (2020) Constructing data-driven network models of cell dynamics with perturbation experiments. Learning Meaningful Representations of Life workshop at NeurIPS 2020. Cited by: §4.
  • B. Yuan, C. Shen, A. Luna, A. Korkut, D. S. Marks, J. Ingraham, and C. Sander (2020) CellBox: interpretable machine learning for perturbation biology with application to the design of cancer combination therapy. Cell Systems. Cited by: §1, §2.1, §4.
  • J. Zhou and O. G. Troyanskaya (2015) Predicting effects of noncoding variants with deep learning-based sequence model. Nat Methods 12 (10), pp. 931–934. Cited by: §1.
  • M. Zou and S. D. Conzen (2005) A New Dynamic Bayesian Network (DBN) Approach for Identifying Gene Regulatory Networks From Time Course Microarray Data. Bioinformatics (Oxford, England) 21 (1). External Links: Document, ISSN 1367-4803 Cited by: §1.