A computationally efficient algorithm for fitting ion channel parameters
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.1016/j.mex.2016.11.001
- 저널
- MethodsX
- 발행년도
- 2016
- 발행기관
- Elsevier BV
- 피인용수
- 20
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1016/j.mex.2016.11.001
- 토픽
- Fuel Cells and Related Materials
- OpenAlex ID
- W2549077068
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 37,257자
본문 펼치기
섹션 본문 58문단 · 21,218자
(제목 없음)
1Continuous time Markov models have been widely used to describe ion channel kinetics, providing explicit representation of channel states and transitions. Fitting models to experimental data remains a computationally demanding task largely due to the high cost of model evaluation. Here, we propose a method to efficiently optimize model parameters and structure. Voltage clamp channel protocols can be decomposed into a series of fixed steps of constant voltage resulting in a set of linear systems of differential equations. Given the linear systems, ODE integration can be swapped for the faster matrix exponential routine. With our parallelized implementation, optimized models are able to reproduce a wide range of experimentally collected data within one minute, a 50 times speedup over ODE integration.The cost of the objective function is reduced by employing the matrix exponential The likelihood of convergence is improved by applying synchronous start simulated annealing The approach was tested by optimizing parameters for a model of the cardiac voltage-gated Na + channel, Na V 1.5, and the KCNQ1 K + channel.
Method
2Following the seminal work of Hodgkin and Huxley in 1952 [1], mechanistic ordinary differential equation (ODE) models have been used to simulate dynamics of excitable systems including neurons, myocytes and pancreatic beta cells [2,3]. A persistent challenge in creating these models is the identification of optimal parameters. This difficulty arises from the multi-dimensionality of the search, the exponential form of the rate equations, and the existence of many local minima. Global search methods such as simulated annealing and genetic algorithms have been applied to identify optimal sets of parameters [4][5][6]. However, these approaches require significant computational resources.
3The primary bottleneck for optimization is the numerical solution of ODEs needed to simulate experimentally observed dynamics. When evaluating a large set of models with global searches, this step becomes rate-limiting, and is particularly difficult when the equations become stiff, requiring very small time-steps or complicated implicit schemes [7].
4We propose to overcome the ODE barrier by solving these differential equations with the matrix exponential, an approach that has been used to analyze channel kinetics and improve the efficiency of action potential simulations [8,9]. We tested this approach on experimental voltage pulse protocols, optimizing a two discrete-state Markov models of the cardiac Na + channel and the KCNQ1 K + channel. Optimization was performed using multiple chain simulated annealing [10]. Code has been made publically available at, where demos and https://github.com/silvalab/MMOptimizer instructions on model fitting can be found. Example model graphs and fits to Na + experimental data are shown in Fig. 1; K + fits are shown in Fig. 2.
5We used the following voltage pulse protocols for Na + model fitting: Voltage Dependent Activation (Fig. 1B): A series of depolarizing pulses were applied from À120 mV to 20 mV in 10 mV increments from a resting potential of À100 mV. The voltage-dependence of channel conductance was found from this protocol by finding the peak current during the pulse and dividing by the driving force (V m À E Na ), where V m is the membrane potential and E Na is the reversal potential for Na + .
6Steady State Inactivation (Fig. 1B): Cells were held at À120 mV before being exposed to conditioning pulses ranging from À120 mV to 20 mV in 10 mV increments for 200 ms. Voltage was then stepped to À20 mV and peak current was recorded and normalized by dividing by the maximum current.
7Recovery from Inactivation (Fig. 1C): Cells were held at À120 mV before being exposed to a À20 mV depolarizing pulse for 200 ms. Cells were then allowed to recover at À120 mV for durations ranging from 1 ms to 1000 ms before a final depolarizing pulse at À20 mV where peak current was recorded and normalized across samples.
8Rise/Fall Time (Fig. 1D): This protocol replicated Voltage Dependent Activation. Rise (10%-90%) measured the amount of time it took for current to rise from 10% to 90% of the maximum recorded current. Fall (90%-20%) characterized fast inactivation kinetics by measuring the time it took for current to fall from 90% to 20% peak current.
9Conductance Trace (Fig. 1E): In the final protocol we exposed the cell to a single depolarizing pulse and recorded normalized conductance over 5 ms.
10Similarly, we used the following voltage pulse protocols for K + model fitting:
11Voltage dependent activation (Fig. 2B): A series of depolarizing pulses were applied from À100 mV to 60 mV in 20 mV increments from a resting potential of À100 mV. The voltage-dependent channel conductance was calculated by dividing the peak current by the driving force (V m À E K ), where V m is the membrane potential and E K is the reversal potential for K + .
12Deactivation (Fig. 2C): Cells were held at À80 mV before exposure to a depolarizing pulse at 60 mV for 2 ms. Voltage was then stepped to conditioning pulses ranging from À120 mV to 0 mV for 4 ms. Voltage dependent-channel conductance was calculated by dividing the minimum absolute current by the driving force.
13Rise Time (Fig. 2D): This protocol replicated Voltage Dependent Activation. Rise (10%-90%) measured the amount of time it took for the current to rise from 10% to 90% of the peak. Rise time (10-90%) of conductance from model and experiment. (E) Normalized conductance trace of À20 mV, 0 mV, and 40 mV depolarizing pulses from a resting potential of À80 mV. (F) Simulated state occupancy from a À10 mV pulse. When exposed to a depolarizing pulse, the model transitions from the closed state (S3) through S4 to the open state (S1). (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.)
14Conductance Traces (Fig. 2E): Cells were exposed to À20 mV, 0 mV, and 40 mV depolarizing pulses and normalized conductance was recorded over a 4 ms interval.
Model structure
15Models are implemented as a connected graph, a sequence of rate parameters, and a boolean conductivity vector. Each node in the graph represents a discrete model state, with transitions between model states denoted by graph edges. The conductivity vector gives the relative conductance for each state. Models are initialized from the space of random connected graphs using an approach described by Wilson et al. [11]. We begin by constructing a minimum spanning tree by performing a random walk over the graph until all nodes have been visited. Every time an unvisited node is encountered, the edge connecting this node to the previous node is added to the graph. Afterwards, new edges are added with constant probability. Initial rate parameters are drawn from independent normal distributions.
16If we let e 2 E denote the set of edges and r 2 R the set of rates, the transition matrix Q can be generated as follows:
17Note that each edge is bidirectional, so i; j ð ÞeE, j; i ð ÞeE. With the transition matrix, the model kinetics can be defined by a single differential equation
18wherex is the vector of state occupancies. The solution to this ODE can be approximated by using standard solvers such as Runge-Kutta methods [12]. If we limit ourselves to the unconstrained case, we can optimize over all r 2 R rate parameters. However, most ion channels are observed to obey microscopic reversibility, or the reversibility of flow in closed loops [13,14], so we instead limit the search space to the set of models that satisfy this principle. Rather than attempting to solve the constrained optimization problem, we follow the approach outlined by Menon et al. [4], where we optimize over a set of independent rate parameters which can be used to generate models that observe microscopic reversibility.
19Microscopic reversibility requires that in equilibrium, the transition rates between any two connected states must balance each other [15]. Thus, if i; j ð Þ 2 E, the following must hold:
20where s i and s j are the steady state occupancies for states i and j respectively. Taking the log of both sides, Eq. (4) can be written in matrix form
21where I T e is the transpose of the even columns of the graph's incidence and D is a E Â 2E difference matrix with
22This forms a system of equations with 2E unknowns and E equations. To solve for R, we need an additional E independent equations. A simple choice is to define a new variable k to be the product of forward and backward rates
23or again written in matrix form
24Combining Eq. (9) with Eq. (6) gives an independent linear systems of equations with 2E variables and 2E equations.
25Of course, we expect the elements of the rate vector to be voltage-dependent, but microscopic reversibility must also hold for all values of voltage. Eq. (12) shows that ln r ð Þ is linear in terms of ln s ð Þ and lnðkÞ. Thus, we can define s v ð Þ and k v ð Þ to the exponent of a linear operation
26where f v ð Þ is a vector valued function of voltage, and a; b are vectors of rate parameters which are subject to optimization. Substituting Eqs. (13) and (14) into Eq. (12) lnðrÞ ¼ D absðDÞ
27Substituting the voltage constant part of Eq. (15) for u
28r
29The results obtained in Eq. (17) can be used to generate the transition matrix as shown in Eq. (2). Because the rate vector is the result of linear operations on s and k it is of the same form as s and k.
Voltage dependence
30In the model, transition rates are given as the exponent of the inner product of a vector valued voltage function and the model parameters.
31Any rate function that can be written in this form can be made to satisfy microscopic reversibility by the method previously described. The simplest voltage function is a linear model motivated by the constant temperature Eyring rate theory [16]
32The transition rate then becomes
33In practice, the linear model worked well. We were able to obtain good fits for all provided voltage clamp protocols. Nonetheless, the linear model is prone to stiff differential equations. As membrane voltage becomes increasingly large (for u 2 > 0) or increasingly small (for u 1 < 0), the r v ð Þ becomes exponentially larger, often resulting in physically implausible transition rate. A simple solution would be to bound r v ð Þ; however, in models where the rates are not linearly independent microscopic reversibility could be violated.
34Another proposed voltage function extends the linear model by adding higher order polynomial terms [17], with f i v ð Þ ¼ v iÀ1 and r v ð Þ ¼ e u 1 þu 2 vþ...þunv nÀ1 . We test both second order expansions of this form. The higher order terms gave the model more expressive power and resulted in significantly reduced fitting error. Regardless, the polynomial model showed signs of severe overfitting. Even slight modifications of the protocol parameters resulted in very different behavior, making models ill-suited for larger scale simulations.
35Finally, we attempted a third voltage dependence function in attempt to circumvent some of the limitations of the linear model by bounding transitions rates while not violating microscopic reversibility. The proposed function is in the form
36where sig is the sigmoid function and a and b are fixed parameters shared across all rates. In regions where v % a, the sigmoid model closely approximates the linear model; however, at large or small voltages, the sigmoid function becomes bounded limiting the maximum rate and reducing ODE stiffness. Additionally, this function provided better fits than the linear model.
Cost function evaluation
37Each of the fitted voltage clamp protocols consist of a sequence of discrete voltage steps. The cost function is computed by simulating each of the protocols, recording the results, and using squared error as a metric to evaluate model performance. In this paper, we look at two different ways to simulate the model: traditional ODE solvers and the matrix exponential. A flow chart illustrating the cost function evaluation for both approaches is show in Fig. 3.
38As the execution time profiling results in Fig. 4A show, ODE integration is the clear bottleneck, accounting for as much as 99% of execution time. ODE solvers were designed to solve a broad class of problems
39Yet, voltage clamp protocols commonly consist of a series of discrete voltage steps, reducing the system from _
40x
41We expect that standard ODE solvers are not able to take full advantage of the linear nature of the constant voltage steps. In contrast, using the matrix exponential, the solution is given as x t ð Þ ¼ e tQ x 0 [23]. The matrix exponential can further be used to sample state occupancy over a series of fixed time steps
42showing that it can effectively replace ODE solvers in our cost function evaluation routine. In our implementation we used ExpoKit's Padé approximation routine [19,23] The resulting speedup is substantial-using a single thread on an Intel Xeon E5-2630 processor, the matrix exponential (EXPM) implementation converges in significantly less time than ode integration (ODE) as shown in Fig. 4B. With a single thread, the EXPM implementation was able fit models in the order of five minutes compared to five hours, a speed-up of more than 50Â. Synchronous chain simulated annealing can easily be modified to use more than a single thread. Using 12 threads, model fitting shown in Fig. 1 can be performed in under a minute. Fig. 3. Cost function evaluation using matrix exponential/ODE solver. The cost function takes the model and protocol definition as input and outputs the squared error between the model and experimental outputs. Detailed information and instructions regarding protocol encoding can be found https://github.com/silvalab/MMOptimizer. The main procedure is repeated for each voltage trace in each protocol. The error for each trace is computed by comparing the simulation outputs to experimentally collected values; whether or not a step produces any output is encoded in the protocol design. First, the steady state occupancy is computed for the resting membrane potential. Next, we iterate through each step in the voltage clamp protocol, beginning at t 0 k ½ and ending with t 1 k ½ with step voltage denoted by v k ½ . Q v k ½ ð Þ is calculated using Eq (2). If the current step does not produce output, we simply compute the state occupancy x k ½ at t 1 k ½ . Using ODE integrators we can approximate x k ½ by solving
43Using the matrix exponential we simply compute x k
44On the other hand, if the step does produce output, we are forced to use a small step size Dt to sample state occupancy over the range t 0 k ½ to t 1 k ½ . Using the ODE solver, intermediate state occupancy is recorded for each time step for all is:t:iDt < t 1 À t 0 . When using the matrix exponential, H is precomputed as H ¼ e QÃDt . Each step is then computed by 'powering up' the matrix exponential y i ½ ¼ H Á y i À 1 ½ . Both methods then share the next step in which normalized conductivity is computed by performing the dot product of the state occupancy matrix y with the conductivity vector G. This giving the normalized channel conductivity over the timespan t 0 k ½ to t 1 k ½ , providing the raw data necessary to output derived features such as peak conductance, rate constants, and normalized traces.
45Finally, we evaluated a stiffness penalty on the models proportional to the model's largest eigenvalue over a range of voltages (-120 mV to +20 mV). This penalty constrains the search space and resulting models have slightly higher cost (Fig. 5A). Nonetheless, adding a small penalty proved to be important. Following optimization, we reran the fitted models over the protocols, using ODE solvers rather than the matrix exponential (Fig. 5B). Models with no added penalty took over 50 x longer due to their stiff differential equations. In whole cell simulations, membrane voltage is no longer a series of discrete steps, but rather a continuous variable requiring ODE integration. This penalty ensures that fitted models can be efficiently used in larger scale simulations, while constraining transition rates to physically plausible values.
Optimization
46Similar to Menon et al., we optimize over model architecture as well rate parameters, maintaining microscopic reversibility by encoding rates as a set of independent parameters. Instead of a genetic algorithm, we use simulated annealing to explore the combinatorial search space. Genetic algorithms involve a recombination step, where individuals are selected to form offspring for the next generation [22]. With like structured models, new model rates can simply be drawn from a random distribution parametrized by the parents' rates. When models have different structures (i.e. different numbers of nodes and connectivity), recombination is less obvious. One option is to only perform recombination over models with the same structure. However, we observed this leads to a collapsed structural search and ODE implementations using a single process. Error converges in approximately 300 min when using ode integration; this time is reduced to five minutes with matrix exponentiation. These results agree with [23] where ODE methods were shown to take significantly longer and obtain lower overall accuracy. space, and leads to unsatisfactory local optima. We obtained better convergence results in much less time using simulated annealing.
47Specifically, we used synchronous chain simulated annealing for model optimization, considering the tradeoff between execution time and model error. Simulated annealing is an iterative stochastic search algorithm which combines local Monte Carlo search with an annealing schedule [10]. It probabilistically guarantees a globally optimal solution provided an infinitely long cooling schedule [20]; however, in practice, we wish to fit good suboptimal models quickly.
48At each iteration we generate a new model proposal by perturbing the current model m 0 $ m.
49Perturbations are reversible and can alter both model structure and rate parameters taking one or more of the following forms:
50The locality of the perturbation can be modified by adjusting hyper-parameters p and s. Every perturbation performs a rate update-other structural modifications are performed with a predefined probability. Following perturbation, the cost function for the new model is computed. The new model is accepted with probability P e; e 0 ; T ð
51where e is the previous model error, e 0 is the perturbed model error, and T the annealing temperature [21]. As the temperature decreases, T ! 0, the probability of making an uphill transition, e 0 > e, becomes increasingly small. In our implementation, we adopt the simple exponential annealing schedule [21] with T t
52Þg, where g governs the rate of annealing and initial temperature T 0 .
53To avoid getting trapped in local optima and increase the probability of convergence, we run multiple synchronous chains [10]. Rather than a single model, we maintain a set of models, each with their own search path. Model perturbation and acceptance are both performed individually for each chain.
54The optimization procedure attempts to fit all the voltage clamp protocols while minimizing model complexity. We found that in many cases, several models of similar complexity were able to achieve approximately the same fitting error. Hence, different runs often converged to different model structures. Since model structure is an optimization variable, we make no attempt to distinguish the types of channel states, rather such states naturally emerge as a product of the optimization. Open states can easily be identified by examine the conductivity vector. Similarly, closed and inactivated states can be identified by exposing models to a depolarizing test pulse (Fig. 1F), and looking at the transition of state occupancy.
Conclusions
55Identification of continuous Markov model parameters is a challenging problem due to a large search space and a high cost of function evaluation, often requiring significant computational resources. We propose to overcome these limitations by efficiently encoding the cost function as a sequence of discrete voltage steps, solvable using the matrix exponential. Our implementation successfully captures channel kinetics without requiring excess resources or time.
56Overall, we observed a 50Â speedup when using the matrix exponential implementation of the cost function. One a single processor, optimization could be performed in only 10 min-extended to 12 cores, convergence time dropped to under a 2 min. The encoding of the cost function can be generalized to other voltage clamp protocols, allowing our implementation to be easily adapted to fit other channels types and data.
57Modern biophysics methods are beginning to reveal molecular details of channel function [24][25][26][27], the nanoscale consequences of inherited mutations [27,28], and the precise mechanisms of smallmolecule drug regulation [29]. To rigorously describe these molecular details, the complexity of models and the burden of optimization will increase substantially, necessitating advanced optimization methods and computer hardware. As such we expect that much future work will be needed to develop the methods required to create these models.
58The matrix exponential method for ion channel parameterization
참고문헌 31건
- Proceedings of the twenty-eighth annual ACM symposium on Theory of computing Symposium on the Theory of Computing · 1996
- Computer Methods for Ordinary Differential Equations and Differential-Algebraic Equations Society for Industrial and Applied Mathematics eBooks · Society for Industrial and Applied Mathematics · 1998 10.1137/1.9781611971392
- Direct Measurement of Cardiac Na <sup>+</sup> Channel Conformations Reveals Molecular Pathologies of Inherited Mutations Circulation Arrhythmia and Electrophysiology · Lippincott Williams & Wilkins · 2015 10.1161/circep.115.003155
- Detailed Balance and Microscopic Reversibility The Journal of Chemical Physics · American Institute of Physics · 1964 10.1063/1.1724967
- Voltage-sensor movements describe slow inactivation of voltage-gated sodium channels II: A periodic paralysis mutation in NaV1.4 (L689I) The Journal of General Physiology · Rockefeller University Press · 2013 10.1085/jgp.201210910
- The <em>Xenopus</em> Oocyte Cut-open Vaseline Gap Voltage-clamp Technique With Fluorometry Journal of Visualized Experiments · MyJOVE · 2014 10.3791/51040
- A quantitative description of membrane current and its application to conduction and excitation in nerve The Journal of Physiology · Wiley · 1952 10.1113/jphysiol.1952.sp004764
- Computational biology in the study of cardiac ion channels and cell electrophysiology Quarterly Reviews of Biophysics · Cambridge University Press · 2006 10.1017/s0033583506004227
- Exponential Integrators for a Markov Chain Model of the Fast Sodium Channel of Cardiomyocytes IEEE Transactions on Biomedical Engineering · Institute of Electrical and Electronics Engineers · 2014 10.1109/tbme.2014.2366466
- Generating random spanning trees more quickly than the cover time 1996 10.1145/237814.237880
- Optimization by Simulated Annealing Science · American Association for the Advancement of Science · 1983 10.1126/science.220.4598.671
- Testing for Detailed Balance (Microscopic Reversibility) in IonChannel Gating Biophysical Journal · Elsevier BV · 2001 10.1016/s0006-3495(01)76268-6
- Simulated annealing: Practice versus theory Mathematical and Computer Modelling · Pergamon Press · 1993 10.1016/0895-7177(93)90204-c
- A state-mutating genetic algorithm to design ion-channel models Proceedings of the National Academy of Sciences · National Academy of Sciences · 2009 10.1073/pnas.0903766106
- Nineteen Dubious Ways to Compute the Exponential of a Matrix SIAM Review · Society for Industrial and Applied Mathematics · 1978 10.1137/1020098
- A Numerical Approach to Ion Channel Modelling Using Whole-Cell Voltage-Clamp Recordings and a Genetic Algorithm PLoS Computational Biology · Public Library of Science · 2007 10.1371/journal.pcbi.0030169
- Maximum Likelihood Estimation of Ion Channel Kinetics from Macroscopic Currents Biophysical Journal · Elsevier BV · 2005 10.1529/biophysj.104.053256
- Modeling K,ATP-Dependent Excitability in Pancreatic Islets Biophysical Journal · Elsevier BV · 2014 10.1016/j.bpj.2014.09.037
- Reaction-rate theory: fifty years after Kramers Reviews of Modern Physics · American Physical Society · 1990 10.1103/revmodphys.62.251
- Local Anesthetics Disrupt Energetic Coupling between the Voltage-sensing Segments of a Sodium Channel The Journal of General Physiology · Rockefeller University Press · 2008 10.1085/jgp.200810103
- How to Impose Microscopic Reversibility in Complex Reaction Mechanisms Biophysical Journal · Elsevier BV · 2004 10.1529/biophysj.103.038679
- A fast and elitist multiobjective genetic algorithm: NSGA-II IEEE Transactions on Evolutionary Computation · Institute of Electrical and Electronics Engineers · 2002 10.1109/4235.996017
- Expokit ACM Transactions on Mathematical Software · Association for Computing Machinery · 1998 10.1145/285861.285868
- Nonlinear thermodynamic models of voltage-dependent currents. Journal of Computational Neuroscience · Springer Science+Business Media · 2000 10.1023/a:1026535704537
- Synchronous and asynchronous parallel simulated annealing with multiple Markov chains IEEE Transactions on Parallel and Distributed Systems · Institute of Electrical and Electronics Engineers · 1996 10.1109/71.539732
- STIFF DIFFERENTIAL EQUATIONS Annual Review of Biophysics and Bioengineering · Annual Reviews · 1977 10.1146/annurev.bb.06.060177.002521
- Role of protein dynamics in ion selectivity and allosteric coupling in the NaK channel Proceedings of the National Academy of Sciences · National Academy of Sciences · 2015 10.1073/pnas.1515965112
- Molecular motions that shape the cardiac action potential: Insights from voltage clamp fluorometry Progress in Biophysics and Molecular Biology · Elsevier BV · 2015 10.1016/j.pbiomolbio.2015.12.003
- Simulated annealing: Practice versus theory Lester Ingber Papers · 1993
- Single-Channel Recording Springer eBooks · Springer Nature · 1995 10.1007/978-1-4615-7858-1
- A Q-Matrix Cookbook Springer eBooks · Springer Nature · 1995 10.1007/978-1-4419-1229-9_20