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

In recent years, catheter ablation of cardiac arrhythmias has moved from ablation of ‘simple’ substrates like accessory pathways to more complex arrhythmias such as atrial or ventricular tachycardia or fibrillation. Even patients with complex congenital heart disease (CHD) that may present with a very unusual cardiac anatomy can now be candidates for catheter ablation procedures. Merging pre-procedural 3D image data with the 3D electroanatomy has provided a very valuable tool to improve ablation outcomes even during longterm follow-up.

The state-of-the-art in intraoperative guidance for mapping and ablating tachycardias in CHD includes CARTO (Biosense Webster, Bar Diamond, CA, US). After vascular access into the cardiac chamber, the mapping catheter is moved in contact with the endocardial wall in order to generate the spatial information, i.e. the fast anatomical map (FAM), and also acquire sparse electrical data at specifically selected points on the FAM. The electrical parameters include unipolar and bipolar voltage and local activation times (LAT). With each point acquisition, CARTO interpolates the electrical parameters across the FAM using a preset distance threshold. From the LAT map, CARTO is able to simulate the activation wave based on a sequential plot of activation time geodesics. Apart from CARTO, a second widely used electroanatomical mapping system is EnSite NavX (St. Jude Medical, St. Paul, MN, US), which outputs the same activation time and voltage maps as CARTO, but employs a different technology. Despite the advances in these two systems, establishing the path of fastest conduction, i.e. the main ectopic propagation circuit, and correlating it with the location of fibrotic tissue shown on the bipolar voltage map are still operator-dependent skills.

Intra-operatively, the electrophysiologists guide themselves in locating the circuit by circuit entrainment mapping. They measure the post pacing interval at the reset of the tachycardia to see if the circuit was entered successfully. Naturally, with increasing numbers of mapping and pacing points, the activation and voltage amplitude maps become more accurate. However, there is a trade-off between mapping time and resolution. Moreover, if the ablation site is, by error or misinterpretation of the mapping data, far from the conduction path, repeated energy delivery will be required, causing more tissue damage than necessary. Successful ablation is declared if the mapped tachycardia is terminated during energy delivery and no longer inducible.

In order to understand the underlying mechanisms of macro-reentrant tachycardias, different electrophysiological models have been proposed for simulation. These models are meant to replace to some extent the more expensive electroanatomical mapping systems. They use general electrical wave propagation principles applied to the cardiac tissue and anatomy and personalised with electromechanical parameters from preoperative imaging. Although the well-established CARTO and EnSite technologies are preferred in clinical practice, the electroanatomical models can also provide the cardiologists with activation time maps and potentially voltage information. Among the least computationally expensive frameworks are the eikonal model for conduction parameter estimation at macro-scale [1, 2], but also simplified biophysical ionic channel models [3] or mono-domain models such as Lattice-Boltzmann [4]. Fast Marching, an adaptation of the graph traverse Dijkstra algorithm, is typically used to solve the differential equations in these models. The solution of these equations can be mapped on 3D anatomy in order to mimic the information output of electroanatomical mapping systems. Alternatives to these classical biophysical approaches are the models of propagation in cellular automata [5] and the estimation of pathways as a minimal cost graph traverse formulation [6], the latter having been used for qualitative identification of the normal conduction along the Purkinje fibres.

This paper proposes a novel approach for the detection of tachycardia propagation path based on graph traverse theory by using the mapping data directly and without the need for simulation or electroanatomical model fitting. Furthermore, the point in the circuit of the highest termination probability was computed. The algorithms were tested for repeatability in sparse mapping conditions when fewer points are acquired. The proposed method was validated with data from 13 patients with previous CHD surgery and suffering from atrial or ventricular reentrant tachycardias.

2 Methods

2.1 Data Acquisition

CARTO 3 studies of macro-reentrant right ventricular and left and right atrial tachycardia were collected – 4 right ventricles, 6 right atria, 2 left atria, 1 total cavopulmonary connection (TCPC). Each study contained a 3D endocardial surface of the cardiac chamber, with a corresponding set of LATs, bipolar voltages, and unipolar voltages for each surface vertex. The anatomical meshes were smoothed with Poisson reconstruction, threshold set as the default 6, in MeshLab [7]. The electrical data at the new vertices were interpolated linearly from the values on the original meshes. The latest and earliest activation times with respect to the end-diastolic ECG peak (R peak) were extracted. The input data required by the proposed method is independent of the CARTO system, as long as the electroanatomical information can be recovered with another technology, e.g. EnSite, or modelled using any cardiac activation principles.

2.2 Macro-Reentrant Circuit Reconstruction

For macro-reentrant circuit reconstruction, the shortest geodesic path between the earliest and the latest activation vertices was computed. The mesh edges were used as graph edges and the vertices as nodes. The edges were weighted with the propagation speed between the vertices that they connected, multiplied by the means of the bipolar and unipolar voltage amplitudes at the two vertices (Eq. 1).

$$\begin{aligned} w_{i,j} = \frac{d_{i,j}}{|\text {LAT}_i-\text {LAT}_j|}\cdot \frac{V_{\text {uni},i}+V_{\text {uni},j}}{2}\cdot \frac{V_{\text {bi},i}+V_{\text {bi},j}}{2} \end{aligned}$$
(1)

The variable \(w_{i,j}\) is the weight of the edge connecting vertex i to vertex j, each with activation times LAT\(_i\) and LAT\(_j\), unipolar voltage amplitudes \(V_{\text {uni},i}\) and \(V_{\text {uni},j}\), and bipolar voltage amplitudes \(V_{\text {bi},i}\) and \(V_{\text {bi},j}\). The propagation speed between the neighbouring vertices i and j was computed from the Euclidean distance \(d_{i,j}\). The product of mean voltage amplitudes modelled the energy of the wave traversing that part of the tissue, dependent on the tissue conductivity. This modulated the path to avoid crossing areas of surgical scars, which have low conductivity. Finally, Dijkstra’s algorithm was applied [8].

Due to the limitations of the interpolation algorithm in CARTO, the earliest and latest activation points may not directly coincide, leaving a strip of artificially interpolated LATs (Fig. 1). Also in some cases, the incomplete geometry of the endocardial chamber caused the activation circuit to be represented only partially. The remaining gap was closed with a new application of the Dijkstra algorithm on the complementary path, which was forced to pass through the vertex opposite to the centre of the path found in the first Dijkstra run.

2.3 Tachycardia Termination Point Detection

The electrical features of typical tachycardia points were learned and tested in a leave-one-out fashion. For each of the 13 studies, the triplets of LAT, bipolar voltages, and unipolar voltages of the points along the path were normalised and concatenated. The LATs were a measure of position of the termination points along the parameterised path running from earliest to latest activation; the voltages were a measure of tissue fibrosis. Each study was left out in turn from the full set of 13. The points on the remaining 12 paths were fed as a training set into an adapted version of a random subsampling boosting classifier (RUSBoost, presented in [9] and adapted as in Algorithm 1).

The labels of the training set were exported from CARTO and projected onto the paths, in order to distinguish between the features of the two classes, ablation points and regular points. The learner predicted the labels of the path points on the test case. RUSBoost was deemed the most adequate classification method given the imbalanced number of termination points compared to the other points on the path.

figure a

2.4 Subsampling of Electroanatomical Maps

Electrical Data Interpolation. In order to test how the circuit reconstruction and the termination point detection perform on sparse electroanatomical data, subsampling of the original maps was performed. The electrical values of every vertex in the sparse maps were obtained through a two-step interpolation and threshold filling algorithm, tuned to mimic the online interpolation of CARTO when new electroanatomical data is acquired.

In the first step, for every vertex, only the mapping points within a 12 mm radius were taken into consideration. The value at that vertex was either that of the mapping points, if it coincided, or the mean of the values of all mapping points within 12 mm, weighted inversely with the distance from the vertex. In the second step, the vertices which did not have any mapping points to meet the proximity threshold were given the value of their closest vertex with an assigned value from the interpolation step. The value of 12 mm was set by trial and error to best match the CARTO ground truth. A qualitative comparison can be made between the figures in Table 2 and the original mesh in Fig. 1.

Iterative Cluster Subsampling. The original mapping points were clustered around 5 centroids computed with the k-means method and approximated by the closest mapping point in the cluster according to the Cartesian distance. The 5 centroids were ordered using a greedy search with respect to their marginal information, which is explained in the next paragraphs.

Given the full set of mapping points P\(_0\), from which the ground-truth electroanatomical map was built, and a subset P\(\subset \)P\(_0\), the map reconstruction accuracy when using subset P for interpolation can be computed as the inverse of the error

$$\begin{aligned} \varepsilon _{\mathrm {P}\sim \mathrm {P}_0} = \frac{1}{3} \sum _{i \in \{\mathrm {LAT,uni,bi}\}} \frac{1}{j} \sum _{j=1}^{n_{\mathrm {V}}} \frac{|f_{i,j,\mathrm {P}}-f_{i,j,\mathrm {P}_0}|}{ \max _{i,j} f_{i,j,\mathrm {P}_0} - \min _{i,j} f_{i,j,\mathrm {P}_0}}. \end{aligned}$$
(2)

The anatomy is in both cases a 3D surface of \(n_{\text {V}}\) vertices. The value \(f_{i,j}, i \in \) {LAT,uni,bi}, is either the LAT, unipolar voltage (uni), or bipolar (bi) voltage at vertex j. For each vertex, the difference in electroanatomical values was scaled with reference to the P\(_0\) map. The marginal information of a mapping point can be defined as the difference in map accuracy between two maps constructed with and without that particular point. The adapted greedy search for ordering the centroids according to their marginal information is presented in Algorithm 2.

figure b

The path reconstruction and termination point detection were run in 5 iterations, where in each iteration a new cluster of points was added to interpolate the colour maps.

3 Results

3.1 Macro-Reentrant Circuit Reconstruction

For each of the 13 cases, the graph was built with the FAM vertices and edges. The forward circuit was computed using Matlab’s implementation of the Dijkstra algorithm with weights as in Eq. 1. Figure 1 shows qualitative results on a right ventricle and on left and right atria. The CARTO ablation, circuit entrainment, and termination points are displayed as reference points of the ground-truth propagation path detected intraoperatively. The dense bipolar voltage maps were thresholded at 0.5 mV, a value commonly used in the EP literature for ventricular scar segmentation in electroanatomic data. The third row of results, displayed on top of the scar maps, shows that the calculation of propagation paths avoids the crossing of scars, according to the edge weights in Eq. 1.

Several qualitative observations can be made from the results shown in Fig. 1. Firstly, there was a good correlation between the LAT geodesics and the computed path perpendicular to them. Secondly, the paths were modulated by the presence of surgical scar, encoded by the bipolar voltage amplitude at each vertex. The perpendicularity of the paths to the LAT geodesics is ensured by the core principle of shortest path in the Dijkstra algorithm.

Fig. 1.
figure 1

Tachycardia propagation path for average right and left atria and for an average right ventricle. The panels show from top to bottom the LAT, bipolar voltage, and scar maps, the probability of tachycardia termination at each point along the path, and the distance of the computed termination points from the closest ground-truth ablation. AP – antero-posterior axis, LR – left-right axis, SI – supero-inferior axis.

Table 1 shows a quantitative analysis of both tachycardia circuit detection and termination point learning. Assuming that all critical points labelled intra-operatively and imported from CARTO, i.e. circuit entrainment, ablation, and final tachycardia termination points, lie on the true wave propagation path, an accuracy measure was defined as the distance between this ground-truth and the computed path, namely the mean distance to CARTO points. The average of 16.36 mm was comparable to the range of tip instability of the ablation catheter (12 mm), as recorded by the electromagnetic sensors in the CARTO framework.

3.2 Tachycardia Termination Point Detection

Several measures were defined to assess the method’s performance in this step: the accuracy, sensitivity, and specificity, all of which quantified the ability to distinguish a regular path point from an critical point on the path. A critical point is either an ablation, a termination, or a circuit entrainment point as labelled and exported from CARTO. A critical path point is the projection of a critical point onto the tachycardia path reconstructed in the first step of the method.

Apart from the relative performance measures, the average minimal distance to the critical path points was computed. These points were all considered the ground-truth termination points, as it was difficult to assess which of them led to the tachycardia termination. For every path point, the closest critical path point was found. This distance was then averaged over all path points.

The leave-one-out ensemble learning yielded a mean accuracy of 68.49 % in detecting critical points along the propagation path (Table 1). The points with a termination probability over 50 % lay within 1.52 mm from their closest critical path point. The lowest error was recorded in RV and LA, for which all computed termination points matched a ground-truth critical point (0.00 entries in the table). The computed tachycardia termination was colour-coded to emphasize the points of highest probability. Table 1 averages the results of both circuit reconstruction and critical point detection for each type of cardiac chamber.

Table 1. Distance of computed propagation path from critical points, i.e. ablation, termination and circuit entrainment points marked in CARTO, i.e. critical CARTO points; characteristics of the tachycardia termination point classifier and distance of the point with the highest computed probability of termination from actual CARTO critical points.

3.3 Performance on Subsampled Electroanatomical Maps

The path reconstruction and termination point detection algorithms were applied on 5 iterations of subsampling in each study. Results for a right atrium are presented in Table 2 which shows how the tachycardia circuit was re-shaped with the addition of new mapping points and how the classification algorithm changed its output.

Table 2. Sequence of propagation path reconstruction for the right atrium in Fig. 1 (upper table) and average over all cases (lower table). The points were added in decreasing order of their k-mean cluster centroid’s marginal information value. A – accuracy [%], Sp – specificity [%], Se – sensitivity [%], d – minimal distance to CARTO ablation [mm], D – average distance to CARTO critical points, assumed on the ground-truth path [mm], \(\sigma \) – standard deviation of the distances to CARTO critical points [mm].

4 Discussion and Conclusion

In this paper, a traversed graph representation for sparse encoding of macro-reentrant tachycardia was presented. In addition to good qualitative correlation with the geodesics in the LAT map, the Cartesian distance to the true termination and circuit entrainment points also support the applicability of the algorithm. The observed error in this study was primarily caused by the interpolation limitations in CARTO, a system error which could be alleviated with the use of another electroanatomical mapping system or in a simulated cardiac activation software.

Also, partial anatomical maps, due to the cardiologist’s interest in one particular area, lead to incompleteness of the activation wave. While constructing a more detailed map would be time consuming, operator input, where the cardiologist can correct or add features locally, is a feasible solution for better results. In this regard, the subsampling algorithm and the application of the presented method to sparse data provide guidance for the cardiologist in deciding which region needs more detailed information for a more accurate reconstruction.

In terms of termination point detection, while part of the error can be traced back to the path reconstruction inaccuracy, the learning feature vector itself can be enhanced with information such as wall thickness and estimated catheter tip motion at each point on the path, as described by [10]. The importance of additional information can be inferred from Table 2, where it is shown how different activation paths led to different termination points. Starting with only a fifth of the full set of mapping points, the detection algorithm had limited electrical data gradients to differentiate between ablation and regular sites (high sensitivity and low specificity). With the addition of mapping points, the specificity increased.

Despite the expected benefit of the leave-one-out learning of tachycardia termination, the results in Table 1 do not support this method. The most numerous cohort of RA tachycardias does not have a high score in any of the accuracy, sensitivity, or specificity. This is probably due to the high variability in the set, but also because of the error in the first stage of path reconstruction. In fact, it can be inferred from Table 1 that the termination accuracy is inversely correlated with the mean distance to the CARTO points on the ground-truth path, i.e. the path reconstruction accuracy. This is also the reason why the single TCPC case, with a small error of path reconstruction, has the best accuracy and specificity result, despite not being able to learn from other TCPC maps.

On the computational side, the two-step method of reconstruction and learning can be easily integrated into a real-time solution. The tachycardia circuit detection runs in approximately 42.2 ms. The subject-specific RUSBoost classification runs in approximately 2.1 s, considering that the data base of the training model can be learned offline and only the test data needs to be labelled. Times were measured on an i7 CPU at 2.4 GHz with unoptimised Matlab code.

In conclusion, this paper presents a method for effective combination of graph traverse and ensemble learning classification algorithms for reconstructing macro-reentrant tachycardia circuits and identifying the site of most probable termination. It is based on the identification of the shortest path from the earliest to the latest activation time along the arrhythmia propagation curve. The anatomy was modelled as a graph with edges weighted by the propagation speed between two adjacent vertices and the conductivity of the tissue measured as local potential. After reconstructing the activation path, the point of most probable termination was sought. RUSBoost was applied in a leave-one-out ensemble learning framework, where the pattern of LAT-bipolar-unipolar voltage of typical termination points was learned.

Finally, both the activation reconstruction and the termination point detection were run on subsets of the original mapping points. This anticipates re-mapping guidance after ablation in order to verify the uninducibility of the ablated tachycardia. Moreover, the reconstruction from undersampled data can provide an optimal order of mapping points acquisition in similar anatomy.