Bayesian ECG reconstruction using denoising diffusion generative models
Gabriel V. Cardoso, Lisa Bedin, Josselin Duchateau, Rémi Dubois, Eric Moulines
TL;DR
This work develops a denoising diffusion generative model (DDGM) trained exclusively on healthy, multi-lead ECG data to capture precise morphology and inter-lead dependencies. The authors introduce ECGDiff, a diffusion-based generator with a VE forward process and a learned backward denoiser, capable of producing a single healthy heartbeat conditioned on patient attributes and RR interval, across nine leads. They showcase the DDGM as a versatile prior for linear inverse ECG problems via posterior sampling (SMC), enabling denoising, missing-lead reconstruction, QT estimation, and anomaly detection without additional retraining, while providing interpretable, white-box diagnostics. The approach yields realistic ECG generation, reliable reconstruction performance (e.g., missing-lead recovery) and robust QT–RR modeling, with practical implications for clinical monitoring and patient-specific cardiac assessment.
Abstract
In this work, we propose a denoising diffusion generative model (DDGM) trained with healthy electrocardiogram (ECG) data that focuses on ECG morphology and inter-lead dependence. Our results show that this innovative generative model can successfully generate realistic ECG signals. Furthermore, we explore the application of recent breakthroughs in solving linear inverse Bayesian problems using DDGM. This approach enables the development of several important clinical tools. These include the calculation of corrected QT intervals (QTc), effective noise suppression of ECG signals, recovery of missing ECG leads, and identification of anomalous readings, enabling significant advances in cardiac health monitoring and diagnosis.
