Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

1 Introduction

Computational models of cardiac electrophysiology (EP) are reaching a level of maturity that enables the development of new tools to support clinical management of cardiac rhythm diseases. Application to atrial or ventricular arrhythmias [1], bundle branch blocks [12], ablation therapy [2] and cardiac resynchronization therapy (CRT) [10] have been explored. Yet, one crucial challenge that still needs to be addressed is the efficient, robust and precise estimation of the parameters that govern the equations associated to EP models, so as to individualize them and capture the specific patho-physiology of the patient under consideration [3]. Due to the sparsity and noisy nature of clinical data (imaging, ECG or, in the best case, electro-anatomical mappings (EAM)), not all the parameters can be observed and assumptions are required. Also, due to the computational burden, only a few parameters are estimated and uniformity assumptions, or even default values determined from animal experiments, are often used [5, 6, 11].

This paper focuses on the estimation of local, point-wise conduction velocities within the bi-ventricular myocardium from activation maps. Several approaches have been proposed in the past, including coarse-to-fine optimization [8] or with uncertainty quantification [15]. A comprehensive review can be found in [3]. Yet, the local estimation of the conduction velocity remains a challenge due to the high number of unknown variables and computational demand.

Inspired by neural network theories [4], we propose a novel, back-propagation technique to estimate the electrical conductivity along the edges of a volumetric mesh representing the bi-ventricular myocardium (Sect. 2). The approach assumes a front propagation without re-entry and the availability of at least one of endo- and epi-cardial maps of local activation times (LAT). Given measured LAT and a graph-based model of cardiac EP, the errors between simulated and measured LATs are iteratively propagated back with respect to the front-wave to adjust the conduction velocities of every edge of the mesh. The approach copes with different tissue types and anisotropy. The method was verified on synthetic data (Sect. 3). The algorithm performance in predicting the electrical response of CRT was then evaluated on 16 comprehensive swine datasets, showing promising generalization performance. Section 4 concludes the paper.

2 Methods

2.1 Forward Model of Cardiac Electrophysiology

Anatomical Model. The anatomical model is estimated following the framework described in [6]. In brief, machine learning algorithms are employed to efficiently segment the left (LV) and right (RV) ventricle endocardia and LV epicardium from cine MRI. The surfaces are then fused together and a volumetric tetrahedral mesh created. By leveraging the point-correspondences of the segmented meshes, myocardium fibers and mesh tags (LV/RV septum, LV/RV endocardium) are defined automatically (Fig. 1).

Fig. 1.
figure 1

Left: MR image volume from which the cardiac structures are segmented. Middle: segmentation of the heart structures as a transparent mesh. Right: anatomical model used for the computation, with color lines representing myocardium fibers.

EP Model. The resulting volumetric mesh defines the computational domain for solving the EP equations to get point-wise LATs. This work relies on a graph-based EP model, termed GraphEP, in which the LAT at each point of the mesh is calculated given LV, RV septal and device activation points using a shortest-path algorithm adapted to the EP use case [6, 14, 15]. A generalized edge weight is calculated such that the conduction velocity along each edge takes into account the different tissues it traverses and the local anisotropy. Let \(\mathbf {p}_{i}\) and \(\mathbf {p}_{j}\) be two connected mesh points. The generalized edge weight \(w_{ij}\), measured in seconds, corresponds to the time needed for the action-potential to travel from \(\mathbf {p}_{i}\) to \(\mathbf {p}_{j}\): \(w_{ij}= l_{ij} / c_{ij}\), where \(l_{ij}=\sqrt{(\mathbf {e}_{ij}^{T}\mathrm {D}\mathbf {e}_{ij})}\), \(\mathbf {e}_{ij}=\mathbf {p}_{i}-\mathbf {p}_{j}\), \(\mathrm {D}\) is the anisotropy tensor defined as \(\mathrm {D}=(1-r) \mathbf {f}_{ij} \mathbf {f}_{ij}^{T}+r \mathrm {I}\), \(\mathbf {f}_{ij}\) is the fiber direction along the edge and r the anisotropy ratio (\(r=0.3\)). \(c_{ij}\) is the apparent conduction velocity in m/s along the edge approximated linearly from the conduction velocity \(c_{i}\) and \(c_{j}\) and the different tissue types the edge traverses. In other words, the EP model is essentially a Dijkstra shortest path propagation of activation time along the mesh edges, in which the cost is controlled by the parameters described here.

EP Activation Model. Intrinsic cardiac stimulation is modeled by an instantaneous activation of the LV and RV septum, to mimic the effects of the His bundle. In terms of the Dijkstra graph model, this means setting the point-wise activation time to zero on these mesh regions. Fast activation from the Purkinje network is modeled assigning different conduction velocity to a smooth, thin layer of nodes distributed all over the endocardial surfaces of the LV and RV (\(c_\mathrm{LV}\) and \(c_\mathrm{RV}\)). The thickness of this fast conducting layer is set to 3 mm to model swine Purkinje system, which goes deeper within the myocardium than in humans. With these conditions and material properties set, the shortest-path propagation is calculated to obtain the full EP activation across the heart.

2.2 Local Estimation of Conduction Velocities

Electro-anatomical mapping data (EAM) is integrated with the MRI surface using a quasi-conformal mapping technique (QCM). QCM takes advantage of the existence of a homeomorphism between the LV endocardial surface and a 2D disk. By mapping both MRI and EAM surfaces to the same disk we can easily establish a piecewise linear homeomorphism between the two surfaces, as in [13].

The personalization algorithm is initialized by estimating three conduction velocities (\(c_{\mathrm {LV}}\), \(c_{\mathrm {RV}}\) and \(c_{\mathrm {Myo}}\)) that minimize the sum of squared distances (SSD) between measured and simulated LATs at the points where measurement is available. These three values are the velocity in the Purkinje layer of the left ventricle, in the Purkinje layer of the right ventricle, and in the myocardium, respectively. This initialization step is hereafter referred to as the global personalization step, as these conduction velocities are merely estimated as a single value for each particular tissue region. Formally, the SSD objective is defined as:

$$\begin{aligned} {D=\sum _{i=0}^N(m_i-c_i)^2} \end{aligned}$$
(1)

where \(m_i\) is the measured activation time at point i, and \(c_i\) is the calculated activation time at point i. The distance is calculated over all the N points where measured activation time data is available. Note that the conduction velocities could be calculated volumetrically, e.g. just on the edges. We chose a point-wise implementation primarily for ease of integration in the rest of our data processing workflow, particularly for visualization purposes. Point-wise conductivities also allow modeling an apparent conductivity when the edge crosses different tissue types. A standard, trust-region technique is employed [7]. Next, the generalized edge weights are estimated \(w_{ij}\). Let \(\mathcal {L}\) be the loss between measured and computed LATs, \(\mathcal {L} = \sum _{i=0}^{N} ( t_{\mathrm {m},i} - t_{\mathrm {c},i})^2\), where N is the total number of points where measurement is available, \(t_{\mathrm {m},i}\) and \(t_{\mathrm {c},i}\) are the measured and computed activation times at point i, respectively. If the EP wave propagates without re-entries, one can see the mesh nodes arranged in layers approximatively parallel to the EP iso-chrones, similar to a neural network layer. The input layer is thus the set of activation points, and the output layer can be defined as the set of nodes where LAT measurement is available, to enable back-propagation parameter estimation. Thus after the initial global personalization, we seek to personalize the point-wise conductivities based on back-propagation along the edges until the error at the data points reaches a convergence tolerance. The edges which are not reached by the backpropagation algorithm keep their conductivity values assigned during the global personalization. A variant of gradient descent with step \(\alpha \) is used to adjust the generalized edge weights \(w_{ij}\) so as to minimize \(\mathcal {L}\): \(w^\prime _{ij}=w_{ij}-\alpha \frac{\partial {\mathcal {L}}}{\partial {w_{ij}}}\). Assuming that the LAT at point j is known, the partial derivative can be written as:

$$\begin{aligned} \frac{\partial {\mathcal {L}}}{\partial {w_{ij}}}=\frac{\partial {\mathcal {L}}}{\partial {t_{\mathrm {c},j}}}\frac{\partial {t_{\mathrm {c},j}}}{\partial {w_{ij}}} \end{aligned}$$
(2)

As a property of the backpropagation framework implemented on the mesh graph, the edge weight \(w_{ij}\) only effects the overall loss function \(\mathcal {L}\) based on its affect on the output at point j. Note that this statement follows from the perspective of the personalization step, in which the errors are propagated backwards rather than forward. Thus, Eq. 2 writes:

$$\begin{aligned} \frac{\partial {\mathcal {L}}}{\partial {w_{ij}}}=-2(t_{\mathrm {m},j} - t_{\mathrm {c},j})\frac{\partial {t_{\mathrm {c},j}}}{\partial {w_{ij}}} \end{aligned}$$

Exploiting the fact that the solution is a shortest path solution, the second term becomes:

$$\begin{aligned} \frac{\partial {t_{\mathrm {c},j}}}{\partial {w_{ij}}}={\left\{ \begin{array}{ll} 1 &{} \text {if} \arg {\min \nolimits _{k\in {\mathrm {neighbors}(j)}}(t_{\mathrm {c},k}+w_{kj})}=i \\ 0 &{} \text {otherwise} \end{array}\right. } \end{aligned}$$

If the LAT at point j is unknown, Eq. 2 is unrolled to the previous layers through the chain rule:

$$\begin{aligned} \frac{\partial {\mathcal {L}}}{\partial {t_{\mathrm {c},j}}}=\sum _{k\in {\mathrm {neighbors}(j)}}\frac{\partial {\mathcal {L}}}{\partial {t_{\mathrm {c},k}}}\frac{\partial {t_{\mathrm {c},k}}}{\partial {t_{\mathrm {c},j}}} \end{aligned}$$

with

$$\begin{aligned} \frac{\partial {t_{\mathrm {c},k}}}{\partial {t_{\mathrm {c},j}}}={\left\{ \begin{array}{ll} 1 &{} \text {if} \arg {\min \nolimits _{i\in {\mathrm {neighbors}(k)}}(t_{\mathrm {c},i}+w_{ki})}=j \\ 0 &{} \text {otherwise} \end{array}\right. } \end{aligned}$$

and so on until the activation points are reached.

Once the edge weights are estimated, the point-wise conduction velocities \(c_{i}\) are derived. When both edge extremities belong to the same tissue type, \(c_{i}\) and \(c_{j}\) are trivially obtained. In the case they belong to different tissue types, the problem becomes ill-posed. To address this challenge, we assume the ratio of conduction velocities between different tissue types stays constant throughout the heart. The ratios are obtained directly from the initial personalization (\(c_\mathrm {LV}/c_\mathrm {RV}\), \(c_\mathrm {LV}/c_\mathrm {Myo}\) and other combinations, including scar and border zone when available). As an example, let point i belongs to LV endocardium and point j belongs to myocardium, L the distance between i and j, l the distance between i and the boundary between tissue types, c the estimated apparent conductivity along this edge and \(\rho \) the ratio \(c_{j}/c_{i}\). In this case, we have:

$$\begin{aligned} {c_{i}=\frac{\rho l + (L-l)}{\rho L}c,~c_{j} = \rho c_{i}} \end{aligned}$$
(3)

Because each edge is processed independently, one vertex may have several estimated conduction velocities. In this case, the average value is taken and clamped within a physiological range for stability.

3 Experiments and Results

Data Acquisition Protocol. 16 pigs (average weight = 34 (30/35) kg) were studied, a sub-set of a larger database [9]. A left bundle branch block (LBBB) was induced in all animals using radio-frequency ablation. A cardiac resynchronization therapy (CRT) device was then positioned in the animal model. The RV lead was placed at the apex while the LV lead was positioned through a lateral or antero-lateral position of the LV epicardial surface. All pigs received an MRI a week before the experiment. LV endocardial and epicardial EAMs were acquired on the day of the experiment after LBBB (hereafter referred to as baseline), and with CRT pacing. An example of the data from these pig experiments is shown in Fig. 3. In all our experiments, both endocardial and epicardial EAMs were used. With respect to the gradient method, in all cases we used a stopping criteria of 0.01 ms in the activation time fitting. The maximum number of iterations allowed was 30 for the dense GraphEP personalization. All cases were observed to converge within this number of iterations.

Verification on Synthetic Data. The proposed GraphEP personalization method was first evaluated on synthetic data with known conductivity. The forward model was used to calculate “ground-truth” point-wise LAT on the endocardial and epicardial surface. Nine different distribution patterns of conductivity and LAT were generated (Fig. 2). First, conduction velocities were set within the endocardium layer prescribing the Purkinje network by (1) linearly varying conductivity values along the X, Y and Z axis of the anatomy within the interval [1.5, 4.0] m/s (3 models), (2) random velocities per American Heart Association (AHA) regions, within the same range (3 models), and (3) 10 random regions defined using region growing around random seeds (3 models). The endocardial conduction velocity was then propagated throughout the myocardium by assuming a constant Purkinje/myocardial cells ratio of 3. This procedure was repeated on two heart meshes generated from two different pigs, resulting in a total of 18 synthetic datasets. Finally, a virtual CRT was performed by placing an RV and LV electrode at standard location to test the predictive power of the personalized model.

Fig. 2.
figure 2

Conductivity distribution of the synthetic datasets with (a) linearly varying distribution along the Y axis, (b) distribution according to AHA regions, and (c) region-growing regions based on random seeds.

The computed activation times normalized with respect to the simulated QRS duration is reported for both global and local personalization in Table 1. The proposed estimation method effectively estimated the ground truth conductivities, yielding an LAT error of less than 1 ms in average, compared with 4 ms for a global personalization. In all experiments, over-fitting was not severe since the CRT prediction was also significantly more accurate with locally estimated conductivities (\(1.3 \pm 0.4\) vs. \(6.2 \pm 2.6\) normalized AT error respectively). Interestingly, the performance of the proposed method was relatively insensitive to the distribution of conduction velocities, as highlighted by the min and max normalized LAT errors calculated as in Eq. 1. (Table 1).

Table 1. LAT errors between computed and ground truth on synthetic datasets, normalized with respect to QRS duration. For both baseline and CRT, the proposed local personalization yielded significant improvements in terms of accuracy (paired t-test, \(p<0.5\), values reported as mean ± SD (min, max)).
Table 2. Absolute LAT errors (in ms) for baseline and CRT simulations in the swine dataset. Values reported as mean ± SD, per ventricle and over the entire bi-ventricular myocardium. Goodness of fit and predictive power significantly improved after local personalization.
Fig. 3.
figure 3

Example data from two pigs showing the measured EAMs during baseline LBBB rhythm and CRT activation, with the corresponding simulated EAMs using the proposed local personalization of conductivity. The approach yielded qualitatively similar maps at baseline and during CRT, suggesting a good fit to the data.

Evaluation on Animal Data for Cardiac Resynchronization Therapy. The result of the personalization after the global initialization and after the local refinement are compared. Both endo- and epi-cardial measured EAMs were used. The baseline and CRT simulation errors compared to the measurements for all pigs are presented in Table 2, with example visualizations of measured and simulated activation maps shown in Fig. 3. The results confirmed the trend observed in synthetic data. Table 2 shows that the proposed local estimation method consistently resulted in lower mean LAT error across the whole heart and also when considering each ventricle individually, in the case of both baseline rhythm and after CRT. It is also interesting to note the lower standard deviation of LAT errors for the proposed method, which points toward the improved ability to accurately personalize local variations in conductivity across the heart. In both the global and local personalization methods, the residual error was consistently higher for CRT than the baseline. This reflects the complexity of accurately modeling all of the parameters involved in CRT, such as lead placement, which could only be approximated from the EAMs as the center of the early activation areas. It is especially important to note that the QRS length at baseline LBBB was measured to be on average \(46.6 \pm 18.3\) ms, and after CRT was found to be \(70.3 \pm 14.0\) ms (in some animals, the electrodes were not placed optimally). As a result, the simulated LAT errors were below the activation difference in pre/post-CRT.

Computation time. In this experiment, a personalization took less than one minute without code optimization on a tetrahedral mesh of approximately 14,000 vertices using a standard laptop (Intel Core i7-4800MQ 2.70 GHz, 8 GB of RAM), owing to the fast graph-based algorithms.

4 Discussion and Conclusion

This paper presented a novel method to estimate the electrical conduction velocity at every point of the myocardium. The proposed method has a number of advantages. It allows personalization of heart activation patterns to the resolution of the computational domain mesh, while being extremely computationally efficient. The method is also adaptable to varying levels of sparsity in the measured LAT input values. However, one disadvantage of using a variant of back-propagation is the potential over-fitting of the model. Yet, the obtained CRT predictions suggest predictions are still much more precise with the proposed method than with global estimation. Further investigation is needed to evaluate the sensitivity of the method to noise and missing data. Possible future directions are to incorporate prior knowledge of the heart conduction pathways to regularize the personalization, add measurement uncertainty to the estimation process, and further validate the approach.

Disclaimer: This feature is based on research, and is not commercially available. Due to regulatory reasons its future availability cannot be guaranteed.