Dreaming of Electrical Waves: Generative Modeling of Cardiac Excitation Waves using Diffusion Models (2312.14830v2)
Abstract: Electrical waves in the heart form rotating spiral or scroll waves during life-threatening arrhythmias such as atrial or ventricular fibrillation. The wave dynamics are typically modeled using coupled partial differential equations, which describe reaction-diffusion dynamics in excitable media. More recently, data-driven generative modeling has emerged as an alternative to generate spatio-temporal patterns in physical and biological systems. Here, we explore denoising diffusion probabilistic models for the generative modeling of electrical wave patterns in cardiac tissue. We trained diffusion models with simulated electrical wave patterns to be able to generate such wave patterns in unconditional and conditional generation tasks. For instance, we explored the diffusion-based i) parameter-specific generation, ii) evolution and iii) inpainting of spiral wave dynamics, including reconstructing three-dimensional scroll wave dynamics from superficial two-dimensional measurements. Further, we generated arbitrarily shaped bi-ventricular geometries and simultaneously initiated scroll wave patterns inside these geometries using diffusion. We characterized and compared the diffusion-generated solutions to solutions obtained with corresponding biophysical models and found that diffusion models learn to replicate spiral and scroll waves dynamics so well that they could be used for data-driven modeling of excitation waves in cardiac tissue. For instance, an ensemble of diffusion-generated spiral wave dynamics exhibits similar self-termination statistics as the corresponding ensemble simulated with a biophysical model. However, we also found that diffusion models {produce artifacts if training data is lacking, e.g. during self-termination,} and `hallucinate' wave patterns when insufficiently constrained.
- V. I. Krinsky and H. L. Swinney, Waves and Patterns in Chemical and Biological Media (The MIT Press, 1991).
- A. Winfree, Electrical turbulence in three-dimensional heart muscle, Science 266, 1003 (1994).
- S. Alonso, M. Bär, and B. Echebarria, Nonlinear physics of electrical wave propagation in the heart: a review, Reports on Progress in Physics 79, 096601 (2016).
- W.-J. Rappel, The physics of heart rhythm disorders, Physics Reports 978, 1 (2022), the physics of heart rhythm disorders.
- P. Pathmanathan and R. A. Gray, Filament dynamics during simulated ventricular fibrillation in a high-resolution rabbit heart, BioMed Research International 2015, 10.1155/2015/720575 (2015).
- F. Fenton and A. Karma, Vortex dynamics in three-dimensional continuous myocardium with fiber rotation: Filament instability and fibrillation, Chaos: An Interdisciplinary Journal of Nonlinear Science 8, 20 (1998).
- O. Berenfeld and A. M. Pertsov, Dynamics of intramural scroll waves in three-dimensional continuous myocardium with rotational anisotropy, Journal of Theoretical Biology 199, 383 (1999).
- R. FitzHugh, Impulses and physiological states in theoretical models of nerve membrane, Biophysical Journal 1, 445 (1961).
- J. Nagumo, S. Arimoto, and S. Yoshizawa, An active pulse transmission line simulating nerve axon, Proceedings of the IRE 50, 2061 (1962).
- R. R. Aliev and A. V. Panfilov, A simple two-variable model of cardiac excitation, Chaos, Solitons & Fractals 7, 293 (1996).
- Y. Song and S. Ermon, Generative modeling by estimating gradients of the data distribution, CoRR abs/1907.05600 (2019), 1907.05600 .
- J. Ho, A. Jain, and P. Abbeel, Denoising diffusion probabilistic models (2020), arXiv:2006.11239 [cs.LG] .
- L. Zhou, Y. Du, and J. Wu, 3d shape generation and completion through point-voxel diffusion, CoRR abs/2104.03670 (2021), 2104.03670 .
- J. Lebert, M. Mittal, and J. Christoph, Reconstruction of three-dimensional scroll waves in excitable media from two-dimensional observations using deep neural networks, Phys. Rev. E 107, 014221 (2023a).
- P. Dhariwal and A. Nichol, Diffusion models beat gans on image synthesis, CoRR abs/2105.05233 (2021), 2105.05233 .
- L. Jiang and Y. Belousov, Unofficial implementation of Palette: Image-to-image diffusion models, https://github.com/Janspiry/Palette-Image-to-Image-Diffusion-Models (2022).
- O. Ronneberger, P. Fischer, and T. Brox, U-net: Convolutional networks for biomedical image segmentation, in Lecture Notes in Computer Science (Springer International Publishing, 2015) pp. 234–241.
- J. Christoph and J. Lebert, Inverse mechano-electrical reconstruction of cardiac excitation wave patterns from mechanical deformation using deep learning, Chaos: An Interdisciplinary Journal of Nonlinear Science 30, 123134 (2020).
- T. Lilienkamp, J. Christoph, and U. Parlitz, Features of chaotic transients in excitable media governed by spiral and scroll waves, Phys. Rev. Lett. 119, 054101 (2017).
- M. J. Hoffman and E. M. Cherry, Sensitivity of a data-assimilation system for reconstructing three-dimensional cardiac electrical dynamics, Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences 378, 20190388 (2020).