scieee AI-readable full text Open interactive document viewer

Combining polynomial chaos expansions and genetic algorithm for the coupling of electrophysiological models

Montes Novaes, Gustavo,Oliveira Campos, Joventino,Álvarez Lacalle, Enrique,Alonso Muñoz, Sergio,Martins Rocha, Bernardo,Weber dos Santos, Rodrigo

Abstract

The number of computational models in cardiac research has grown over the last decades. Every year new models with di erent assumptions appear in the literature dealing with di erences in interspecies cardiac properties. Generally, these new models update the physiological knowledge using new equations which reect better the molecular basis of process. New equations require the fi tting of parameters to previously known experimental data or even, in some cases, simulated data. This work studies and proposes a new method of parameter adjustment based on Polynomial Chaos and Genetic Algorithm to nd the best values for the parameters upon changes in the formulation of ionic channels. It minimizes the search space and the computational cost combining it with a Sensitivity Analysis. We use the analysis of di ferent models of L-type calcium channels to see that by reducing the number of parameters, the quality of the Genetic Algorithm dramatically improves. In addition, we test whether the use of the Polynomial Chaos Expansions improves the process of the Genetic Algorithm search. We conclude that it reduces the Genetic Algorithm execution in an order of 103 times in the case studied here, maintaining the quality of the results. We conclude that polynomial chaos expansions can improve and reduce the cost of parameter adjustment in the development of new models.

Full text

Combining Polynomial Chaos Expansions and Genetic Algorithm for the Coupling of Electrophysiological Models? Gustavo Montes Novaes1,3[0000−0002−1484−5093], Joventino Oliveira Campos1,3[0000−0003−1899−9441], Enrique Alvarez-Lacalle,2[0000−0001−6824−6857], Sergio Alonso Mu˜noz2[0000−0002−3989−8757], Bernardo Martins Rocha1[0000−0001−8978−4718], and Rodrigo Weber dos Santos1[0000−0002−0633−1391] 1Post-graduated program in Computational Modeling, Federal University of Juiz de Fora, Juiz de Fora MG, Brazil 2Department of Physics, Universitat Polit`ecnica de Catalunya-BarcelonaTech, 08028 Barcelona, Spain 3Department of Computation and Mechanics, Federal Center of Technological Education of Minas Gerais, Leopoldina MG, Brazil gtvmontes, [email protected], enric.alvarez, [email protected], bernardo.rocha, [email protected] Abstract. The number of computational models in cardiac research has grown over the last decades. Every year new models with different assumptions appear in the literature dealing with differences in interspecies cardiac properties. Generally, these new models update the physiological knowledge using new equations which reflect better the molecular basis of process. New equations require the fitting of parameters to previously known experimental data or even, in some cases, simulated data. This work studies and proposes a new method of parameter adjustment based on Polynomial Chaos and Genetic Algorithm to find the best values for the parameters upon changes in the formulation of ionic channels. It minimizes the search space and the computational cost combining it with a Sensitivity Analysis. We use the analysis of different models of L-type calcium channels to see that by reducing the number of parameters, the quality of the Genetic Algorithm dramatically improves. In addition, we test whether the use of the Polynomial Chaos Expansions improves the process of the Genetic Algorithm search. We find that it reduces the Genetic Algorithm execution in an order of 103times in the case studied here, maintaining the quality of the results. We conclude that polyno- ?Supported by organizations Coordena¸c˜ao de Aperfei¸coamento de Pessoas de N´ıvel Superior (CAPES), Funda¸c˜ao de Amparo `a Pesquisa do Estado de Minas Gerais (FAPEMIG), Conselho Nacional de Desenvolvimento Cient´ıfico e Tecnol´ogico (CNPq), Universidade Federal de Juiz de Fora (UFJF), Centro Federal de Educa¸c˜ao Tecnol´ogica de Minas Gerais (CEFET-MG) and E. Alvarez-Lacalle acknowledges funding from Spanish Ministry for Science, Innovation and Universities under grant SAF2017-88019-C3-2-R. 2 N. Gustavo Montes et al. mial chaos expansions can improve and reduce the cost of parameter adjustment in the development of new models. Keywords: Dimensional Reduction ·Emulation ·Genetic Algorithm. 1 Introduction The first mathematical models that simulate the electrical activity of heart cells use Hodgkin-Huxley [9] type equations to describe the ions channels present in the cell membrane [2, 20]. This type of equations is well consolidated in whole-cell models since it is the cornerstone of full-heart models which tries to reproduce organ-scale behavior. However, these models fail when cardiac cells do not present homogeneous properties, such as differences in calcium concentrations due to intracellular calcium waves, across the cell. Indeed, recent intracellular models have introduced stochastic equations based on Markov Chains [13]. These Markov Chains formulations reflect the structure of the ion channels and are critical to any intracellular model. However, precisely because of its better physiological relation with reality, this new type of formulation has also found its way as average non-stochastic equations useful for homogeneous whole-cell models [16]. For instance, studies involving different mathematical models of cardiomyocytes have shown that the ICaL current is better modeled when it is formulated using Markov Chains since it may reproduce the different states that a single channel can assume [1, 3]. The use of the older models still remain useful but some studies [7, 18] show an effort to update the old formulations in order to reproduce new experiments and improve the biological meaning of the equations. In this update process, it is common to merge different models due to the fact that each one might complement the other. A very common issue that arises from this coupling process is that they may generate inconsistent results since each model has different assumptions in its conception. To correct these problems a parameter adjustment has been an effective tool. However, the way how this process is done has not been studied properly and presents a wide range of different scenarios. One of the analyses that have been used in recent studies [8, 10, 11] to see how the parameters are associated with the biological behavior is Uncertainty Quantification (UQ). Since this analysis considers the existence of uncertain measures associated with the studied object, it provides some methods to quantify the impacts of uncertainty in these parameters values upon model outputs. A technique used to perform this analysis is the polynomial chaos expansion (PCE), which approximate model outputs through orthogonal polynomials in terms of the uncertain model inputs[19]. Therefore, the main objective of this paper is to study and propose a systematic process to merge different ionic models involving parameter adjustment based on polynomial chaos expansion and genetic algorithm. Combining PCE and GA for the Coupling of Electrophysiological Models 3 2 Methods 2.1 Modeling the L-type Calcium Current. The Pandit-Mahajan Baseline Model We take the rat ventricular electrophysiological model developed by Pandit et al.[14] as the structural model we are going to use. The original Pandit formulations models calcium, sodium and potassium channels to reproduce the action potential of the rat’s ventricle. The calcium current entering the cell via thousand of L-type calcium channels ICaL is written in terms of the Equation (1). ICaL =gCaLd0.9 + Cainact 10.0f11 +0.1−Cainact 10.0f12(V−ECaL) (1) where the parameter gCaL is the maximum conductivity, dis associated with gating activation, f11,f12 and Cainact are parameters associated with the gating inactivation, Vis the transmembrane potential and ECaL is the Nernst potential associated with the Ca2+ ions1. The above equation fits the experimental average calcium entering into the cell due to thousands of L-type calcium channels. It does not take into account, however, the typical structure of the L-type calcium channel. We take as a typical benchmark of any model development the ability to replace the Pandit formulation based on Hodgkin-Huxley approach with a more detailed averaged formulation of Markovian states. We take the formulation for the L-type Ca2+ as a Markov Chain developed by Mahajan et al. for rabbit which reads ICaL =gCaLOM(V−ECaL) (2) where OMis the state of the Mahajan Markov Chain that is associated with the channel open state. The model of the LCC has two relevant closed states and two inactivated, besides a single open state. As can be seen, the new formulation represents a single replacement in the usage of the gating formulations to the Markov Chain formulations2. Given that the original models were developed to simulate the electrophysiology of different animals, a parameter adjustment is necessary to make the two parts of the coupled model compatible. Figure 1 shows the difference between the original Pandit ICaL and Action Potential (AP) curves and the same curves where the Mahajan model of LCC has been introduced without any parameter adjustment (we will call this model the Pandit-Mahajan baseline). As can be seen in Figure 1, the new ICaL current was too small with respect to the Pandit original values. Thereby, this difference ends up influencing the main model values, as shown by the AP curves. 1For more details about the original Pandit ICaL equation, see Pandit et al.[14]. 2For more details about the transition rates between LCC rates and its dependence with voltage and calcium, see Mahajan et al.[13]. 4 N. Gustavo Montes et al. -1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0 50 100 150 200 250 ICaL (nA) Time(ms) PANDIT PM (a) -100 -80 -60 -40 -20 0 20 40 60 0 50 100 150 200 250 V(mV) Time(ms) PANDIT PM (b) Fig. 1. Comparison of the ICaL (a) and AP (b) curves of the original Pandit model (PANDIT) with the ICaL and AP curves generated after Pandit-Mahajan (PM) coupling. In order to describe the ICaL curve we will use the “Time to Peak”, which is the time that the current take from the beginning of the channels opening up to the moment when it reaches the minimum value; “Peak Value”, which is the minimum value that the current reaches; and “Time to Decay”, which is the time that the current take from the minimum value up to the channels close. The Pandit model has values of “Time to Peak”, “Peak Value” and “Time to Decay” of 6.86ms,−0.97nA and 38.77ms, respectively. While Pandit-Mahajan Combining PCE and GA for the Coupling of Electrophysiological Models 5 baseline model (without any adjustment) has 3.04ms,−0.13nA and 3.55ms. So, analyzing these features of the two model, Pandit and the baseline Pandit- Mahajan, it is possible to conclude that a parameter adjustment is necessary. It is clear now the aim of our work: we want to obtain a reliable Pandit- Mahajan model which reproduces the results of the rat ventricle (Pandit) using the formulation of the LCC obtained in the study of the physiology of the rabbit. The LCC Markov Chain from Mahajan has a total of seven states and twenty transition rates. However, a considerable number of these rates is a combination of others. So, in the parameter fitting process, those composed rates was not considered. After that, eight transition rates - k1,k2,k0 1,k0 2,r1,r2,s1and s0 1 - and the parameter τpo (time constant of activation associated with the αand βtransition rates) together with the Pandit’s maximum conductance of ICaL current - gCaL - were considered in this study. The parameter adjustment process may be done using a Genetic Algorithm. However, a minimization problem solved by a genetic algorithm may become computationally expensive depending on the dimension of the search space. In the case of parameter adjustment from the baseline Pandit-Mahajan model, the GA would have to find a set of ten values for the parameters so that those values should reproduce the original Pandit ICaL current values. In this search space, it might be difficult to find the optimal values. To reduce the GA search space, Sensitivity Analysis and Dimensional Reduction techniques were used to determinate how the parameters of the coupled model influence the main ICaL characteristics. With this analysis, it is possible to choose the most relevant parameters in order to adjust the new ICaL current. Furthermore, the search process has to simulate the mathematical model several times and, due to it, the computational cost associated with this process becomes expensive. Trying to minimize it, the use of Emulations [10, 11] based on Polynomial Chaos Expansion was tested in order to replace the mathematical model in the evaluation process of the GA. 2.2 Polynomial Chaos Expansion (PCE) and Emulations Emulations, also known as Metamodels in the literature, has a very important role in the study involving complex systems models [15]. This technique aims to decrease the complexity of the mathematical models caused by the overparametrization but maintaining the results as expected. With this process, the new model loses a few phenomenological information but, on a high scale, it is still able to reproduce the expected results and to help on the decision-making process. In studies involving the Uncertainty Quantification, a common technique to analyze the insertion of uncertainty in deterministic models is the Polynomial Chaos Expansion (PCE). In this technique, an orthogonal polynomial is used to approximate some outputs of a forward model [19]. As a polynomial evaluation is computationally fast, this approach becomes very useful when the original model has a high computational cost to be simulated. Then, some process where 6 N. Gustavo Montes et al. a lot of simulations are required, such as Sensitivity Analysis and Parameter fitting, become more practical to be performed. Considering a vector ξ= (ξ1, ξ2, . . . , ξN)Tof model inputs composed by independent random variables and assume that the quantity of interest yis written in terms of these variables, it is possible to express this quantity through an infinite polynomial chaos expansion [12]. In practical applications, this quantity of interest can be approximated by a finite expansion obtained through a linear combination of the elements from the polynomial chaos basis: ¯y(ξ) = P X i=1 biΦi(ξ),(3) where biare the unknown coefficients and Φiare orthogonal polynomial functions in terms of the inputs. This polynomial chaos expansion with Ninputs and order dhas Pterms, where P=(N+d)! N!d!. Defined the approximation for the quantity of interest, as in Equation (3), it is necessary to determine the coefficients bithat define the polynomial in terms of the inputs. To this end, a non-intrusive approach named Probabilistic Collocation method is used, where a weighted residual formulation in the random space is defined [17] and the polynomial expansion needs to be equal to the model evaluation in a number of collocation points, which are samples of the random inputs. The result is a linear system in terms of the bicoefficients, then, the polynomial coefficients that approximate the quantity of interest are found by solving this system. 2.3 Sensitivity Analysis In complex systems modeled as differential equations, like a Markov Chain with a large number of states and transitions between them, it is very common to appear a high number of parameters. In these cases, it is important to understand how each parameter influences the entire system. A Sensitivity Analysis of the ten parameters associated in the ICaL current from the Pandit-Mahajan model was done in order to determinate which parameters have more influence on the main characteristics of the ICaL curve. To do this analysis, the ChaosPy library [6] implemented in Python was used. The ChaosPy library has methods to quantify the uncertainty combining the use of the Monte Carlo method and also the PCE. To determine the PCE coefficients, it provides the Probabilistic Collocation method and the Pseudospectral Projection method. The ten parameters, τpo,k1,k2,k0 1,k0 2,r1,r2,s1,s2and gCaL, were analyzed and the results showed that three of them have more influence on the studied ICaL curve. Figure 2 shows these results. Combining PCE and GA for the Coupling of Electrophysiological Models 7 0 0.1 0.2 0.3 0.4 0.5 τpo k1k2k'1k'2r1r2s1s'1gCaL Sobol 1st order sensitivity index Time to Peak Peak Value Time to Decay Fig. 2. The Sobol 1st order sensitivity index4of the parameters associated with the main ICaL curve characteristics: the Time to Peak, the Peak Value and the Time to Decay. As can be seen in Figure 2, the parameters r1,r2and gCaL have high influence on the main ICaL current from the Pandit-Mahajan model. So, considering these results, the search space of the Genetic Algorithm might be reduced from ten parameters to only three. 2.4 Parameter Adjustment Using Genetic Algorithm A parameter adjustment using a Genetic Algorithm was used to adjust the LCC Markov Chain parameters so that the ICaL curve presented in Pandit original model remains unaltered in the new Pandit-Mahajan model. The GA was implemented using the “Simple Genetic Algorithm” provided by Pagmo C++ library [4]. Two important processes when defining a Genetic Algorithm are the choices of the variable of search (Genes) and the objective function (Fitness function). In order to evaluate the effectiveness of the Sensitivity Analysis done, the variables of the search were defined in two ways: the first with the ten parameters and, the second, with only the three parameters highlighted by the Sensitivity Analysis. The second process, the definition of the Fitness function, used the main characteristics of the ICaL curve. In this process, two methods were tested to evaluate the objective function: the first one was considering the Pandit-Mahajan mathematical model simulations and the second was considering the emulations done 4The 1st order sensitivity index quantifies the portion that an input parameter contributes directly to the total variance of the quantity of interest, for more details see Eck et al.[5]. 8 N. Gustavo Montes et al. by the PCE generated through the ChaosPy library. Mathematically, this process can be seen as a minimization problem with objective functions presented by the Equations (4) and (5) for the approach using the simulations of the model and the emulations using the PCE, respectively. F(v, ICaLp) = 1 |T imeT oP eak(ICaLp)||T imeT oP eak(v)−T imeT oP eak(ICaLp)| +1 |P eakV alue(ICaLp)||P eakV alue(v)−P eakV alue(ICaLp)| +1 |T imeT oDecay(ICaLp)||T imeT oDecay(v)−T imeT oDecay(ICaLp)| (4) where vis the ICaL curve generated by the Pandit-Mahajan simulation to be evaluated by the function and ICaLpis the original curve of the Pandit model. F(ξ, ICaLp) = 1 |T imeT oP eak(ICaLp)||PTTP(ξ)−T imeT oP eak(ICaLp)| +1 |P eakV alue(ICaLp)||PP V (ξ)−P eakV alue(ICaLp)| +1 |T imeT oDecay(ICaLp)||PT T D(ξ)−T imeT oDecay(ICaLp)| (5) where ξare the set o parameters to be evaluated by the function, P•(ξ) are the 4th order PCE that approximate the “Time To Peak” (•T T P ), “Peak Value” (•P V ) and the “Time To Decay” (•T T D) features and ICaLpis the original curve of the Pandit model. The chromosome Cof the genetic algorithm is defined as C={cp∈R|0.1< cp<5.0}where cpis the multiplier for the specific parameter p. All Genetic Algorithm executions were done with the standard setup from the Pagmo library except the use of the crossover strategy. In this study was used the Simulated Binary Crossover (“sbx”) strategy, also provided by Pagmo library. All executions used 15 generations and the population was composed of 150 individuals. 3 Results The main objective of this study is to evaluate a new process of parameter adjustment based on uncertainty quantification techniques and genetic algorithm. After the use of the methods described in Section 2, two classes of results were generated. The first one using the simulations of the mathematical model into the GA evaluation and, the second one, using the emulations done by the Polynomial Chaos Expansions obtained using the ChaosPy library. Figure 3 shows the results obtained in the different tests. Combining PCE and GA for the Coupling of Electrophysiological Models 9 0 1 2 3 4 5 6 τpo k1k2k1'k2'r1r2s1s1'gCaL cp GA results - Model simulation (a) 0 1 2 3 4 5 6 τpo k1k2k1'k2'r1r2s1s1'gCaL cp GA results - PCE emulation (b) 0 1 2 3 4 5 6 τpo k1k2k1'k2'r1r2s1s1'gCaL cp (c) 0 1 2 3 4 5 6 τpo k1k2k1'k2'r1r2s1s1'gCaL cp (d) 0 0.02 0.04 0.06 0.08 0.1 10 parameters 3 parameters Fitness (e) 0 0.02 0.04 0.06 0.08 0.1 10 parameters 3 parameters Fitness (f) Fig. 3. Results obtained by the GA in the cases of study. The descriptive measures (minimum, first quartile, median, third quartile and maximum values) of the multiplier cpresult adjusting 10 parameters using the mathematical model simulations (a) and the PCE emulations (b); the descriptive measures of the the multiplier cpresult adjusting 3 parameters using the mathematical model simulations (c) and PCE emulations (d); the descriptive measures for the best Fitness found considering the simulations of the mathematical model (e) and emulations using the PCE (f) for 10 and 3 parameters. The best results obtained by the GA using the simulation of Pandit-Mahajan model and the emulation by the PCE are presented in Tables 1 and 2, respectively.