Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2020 Oct 1;15(10):e0239416.
doi: 10.1371/journal.pone.0239416. eCollection 2020.

Deep learning-based reduced order models in cardiac electrophysiology

Affiliations

Deep learning-based reduced order models in cardiac electrophysiology

Stefania Fresca et al. PLoS One. .

Abstract

Predicting the electrical behavior of the heart, from the cellular scale to the tissue level, relies on the numerical approximation of coupled nonlinear dynamical systems. These systems describe the cardiac action potential, that is the polarization/depolarization cycle occurring at every heart beat that models the time evolution of the electrical potential across the cell membrane, as well as a set of ionic variables. Multiple solutions of these systems, corresponding to different model inputs, are required to evaluate outputs of clinical interest, such as activation maps and action potential duration. More importantly, these models feature coherent structures that propagate over time, such as wavefronts. These systems can hardly be reduced to lower dimensional problems by conventional reduced order models (ROMs) such as, e.g., the reduced basis method. This is primarily due to the low regularity of the solution manifold (with respect to the problem parameters), as well as to the nonlinear nature of the input-output maps that we intend to reconstruct numerically. To overcome this difficulty, in this paper we propose a new, nonlinear approach relying on deep learning (DL) algorithms-such as deep feedforward neural networks and convolutional autoencoders-to obtain accurate and efficient ROMs, whose dimensionality matches the number of system parameters. We show that the proposed DL-ROM framework can efficiently provide solutions to parametrized electrophysiology problems, thus enabling multi-scenario analysis in pathological cases. We investigate four challenging test cases in cardiac electrophysiology, thus demonstrating that DL-ROM outperforms classical projection-based ROMs.

PubMed Disclaimer

Conflict of interest statement

The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. DL-ROM architecture.
DL-ROM architecture used during the training phase. In the red box, the DL-ROM to be queried for any new selected couple (t, μ) during the testing phase. The FOM solution u(t; μ) is provided as input to block (A) which outputs u˜n(t;μ). The same parameter instance associated to the FOM, i.e. (t; μ), enters block (B) which provides as output un(t; μ) and the error between the low-dimensional vectors (dashed green box) is accumulated. The intrinsic coordinates un(t; μ) are given as input to block (C) returning the ROM approximation u˜(t;μ). Then the reconstruction error (dashed black box) is computed.
Fig 2
Fig 2. Test 1: Comparison between FOM and DL-ROM solutions for a testing-parameter instance.
FOM solution (left), DL-ROM solution with n = 3 (center) and relative error ϵk (right) for the testing-parameter instance μtest = (6.25, 6.25) cm at t˜=100 ms (top) and t˜=356 ms (bottom). The maximum of the relative error ϵk is 10−3 and it is associated to the diseased tissue.
Fig 3
Fig 3. Test 1: Comparison between the FOM and DL-ROM APs at six points P1, …, P6.
Left: FOM solution evaluated for μtest = (6.25, 6.25) cm at t˜=400 ms together with the points P1, …, P6. Right: APs evaluated for μtest = (6.25, 6.25) cm at points P1, …, P6. The DL-ROM, with n = 3, is able to to sharply reconstruct the AP in almost all the points and the main features are captured also for the points close to the scar.
Fig 4
Fig 4. Test 1: Variability of the FOM and DL-ROM solutions over the parameter space.
FOM (right) and DL-ROM (left) AP variability over P at P = (7.46, 6.51) cm. The DL-ROM sharply reconstructs the FOM variability over P.
Fig 5
Fig 5. Test 1: FOM, DL-ROM and POD-Galerkin ROM CPU computational times.
Left: CPU time required to solve the FOM, by DL-ROM at testing time with n = 3 and by the POD-Galerkin ROM at testing time with Nc = 6 vs. N. The DL-ROM provides the smallest testing computational time for each N considered. Right: FOM, POD-Galerkin ROM and DL-ROM CPU computational times to compute u˜(t¯;μtest) vs. t¯ averaged over the testing set. Thanks to the fact that the DL-ROM can be queried at any time istance it is extremely efficient in computing u˜(t¯;μtest) with respect to both the FOM and the POD-Galerkin ROM.
Fig 6
Fig 6. Test 2: Comparison between FOM and DL-ROM solutions for a testing-parameter instance.
FOM solution (left), DL-ROM one (center) with n = 5, and relative error ϵk (right) at t˜=141.2 ms (top) and t˜=157.2 ms (bottom), for the testing-parameter instance μtest = 0.9625 cm. The relative error ϵk is below 0.1% at both time instants.
Fig 7
Fig 7. Test 2: Trend of the relative error over time.
Relative error ϵks vs. t˜ with n = 5 for the testing-parameter instance μtest = 0.9625 cm (the red band indicates the IQR). The error distribution is almost uniform over time.
Fig 8
Fig 8. Test 2: Comparison between FOM and DL-ROM solutions for different testing-parameter instances.
FOM solution (left), DL-ROM one (center) with n = 5, and relative error ϵk (right) at t˜=153.2 ms, for the testing-parameter instance μtest = 0.6125 cm (top) and μtest = 0.9125 cm (bottom). In both cases the relative error ϵk is below 1%.
Fig 9
Fig 9. Test 2: Trend of the relative error over the parameter space.
Relative error ϵks vs. μtest with n = 5 for the time instance t˜=147 ms (the violet band indicates the IQR). The maximum error is associated to μtest = 0.7875 cm, the testing-parameter instance between μtrain = 0.775 cm (the last value for which re-entry does not arise) and μtrain = 0.8 cm (the first value for which re-entry is elicited).
Fig 10
Fig 10. Test 2: POD-Galerkin ROM solutions for different testing-parameter instances.
POD-Galerkin ROM solution (left) and relative error ϵk (right) for Nc = 2 (top) and Nc = 4 (bottom) at t˜=157.2 ms, for μtest = 0.9625 cm.
Fig 11
Fig 11. Test 2: FOM, DL-ROM and POD-Galerkin ROM APs at P1 and P2.
AP obtained through the FOM, the DL-ROM and the POD-Galerkin ROM with Nc = 4, for the testing-parameter instance μtest = 0.9625 cm, at P1 = (0.64, 1.11) cm and P2 = (0.69, 1.03) cm. The POD-Galerkin ROM approximations are obtained by imposing a POD tolerance εPOD = 10−4 and 10−3, resulting in error indicator (15) values equal to 5.5 × 10−3 and 7.6 × 10−3, respectively.
Fig 12
Fig 12. Test 2: Trend of the error indicator versus the CPU testing computational time.
Error indicator ϵrel vs. CPU testing computational time for different values of Nc and εPOD. The DL-ROM outperforms the POD-Galerkin ROM in terms of both efficiency and accuracy.
Fig 13
Fig 13. Test 3: FOM solutions for different testing-parameter instances.
FOM solutions for μ = 12.9 ⋅ 0.0739 mm2/ms (left) and μ = 12.9 ⋅ 0.1991 mm2/ms (right) at t˜=276 ms. By increasing the value of μ the wavefront propagates faster.
Fig 14
Fig 14. Test 3: Comparison between FOM and DL-ROM solutions for a testing-parameter instance at different time instances.
FOM solution (left) and DL-ROM one (right), with n = 10, at t˜=42.1 ms (top) and t˜=276 ms (bottom), for the testing-parameter instance μtest = 12.9 ⋅ 0.1435 mm2/ms.
Fig 15
Fig 15. Test 3: Comparison between FOM and DL-ROM solutions for a testing-parameter instance at different time instances.
FOM solution (left) and DL-ROM one (right), with n = 10, at t˜=42.1 ms (top) and t˜=276 ms (bottom), for the testing-parameter instance μtest = 12.9 ⋅ 0.3243 mm2/ms.
Fig 16
Fig 16. Test 3: FOM, DL-ROM and POD-Galerkin ROM APs for a testing-parameter instance.
FOM and DL-ROM CPU computational times. Left: FOM, DL-ROM and POD-Galerkin ROM APs for the testing-parameter instance μtest = 12.9 ⋅ 0.31 mm2/ms. For the same n, the DL-ROM is able to provide more accurate results than the POD-Galerkin ROM. Right: CPU time required to solve the FOM, by DL-ROM with n = 10 and by the POD-Galerkin ROM with Nc = 6 at testing time vs N. The DL-ROM is able to provide a speed-up equal to 41.
Fig 17
Fig 17. Test 4: Comparison between FOM and DL-ROM solutions for different testing-parameter instances.
FOM solution (left), DL-ROM solution with n = 4 (center) and relative error ϵk (right) for the testing-parameter instances μtext = (12.9 · 0.1125 cm2/ms, 12.9 · 0.0563 cm2/ms, 0.1875) (top) and μtext = (12.9 · 0.1475 cm2/ms, 12.9 · 0.0737 cm2/ms, 0.2375) (bottom) at t˜=319.7 ms. The maximum of the relative error ϵk is about 10−3.
Fig 18
Fig 18. Test 4: Comparison between FOM and DL-ROM solutions for different testing-parameter instances.
APs obtained through the FOM and the DL-ROM with n = 4. Left: μtest1=(12.9·0.1125cm2/ms,12.9·0.0737cm2/ms,0.1625) and μtest2=(12.9·0.1125cm2/ms,12.9·0.0737cm2/ms,0.2375); right: μtest1=(12.9·0.0775cm2/ms,12.9·0.0387cm2/ms,0.2125) and μtest2=(12.9·0.1825cm2/ms,12.9·.0912cm2/ms,0.2125). The DL-ROM approximation accurately reproduces the APD variability and the different depolarization patterns.

Similar articles

Cited by

References

    1. Quarteroni A, Manzoni A, Vergara C. The cardiovascular system: Mathematical modeling, numerical algorithms, clinical applications. Acta Numerica. 2017;26:365–590. 10.1017/S0962492917000046 - DOI
    1. Quarteroni A, Dedè L, Manzoni A, Vergara C. Mathematical modelling of the human cardiovascular system: Data, numerical approximation, clinical applications Cambridge Monographs on Applied and Computational Mathematics. Cambridge University Press; 2019.
    1. Colli Franzone P, Pavarino LF, Scacchi S. Mathematical cardiac electrophysiology vol. 13 of MS&A. Springer; 2014.
    1. Sundnes J, Lines GT, Cai X, Nielsen BF, Mardal KA, Tveito A. Computing the electrical activity in the heart. vol. 1 Springer Science & Business Media; 2007.
    1. Colli Franzone P, Pavarino LF. A parallel solver for reaction–diffusion systems in computational electrocardiology. Mathematical Models and Methods in Applied Sciences. 2004;14(06):883–911. 10.1142/S0218202504003489 - DOI

Publication types