Diffusion-Based Electrocardiography Noise Quantification via Anomaly Detection

Tae-Seong Han, Jae-Wook Heo, Hakseung Kim, Cheol-Hui Lee, Hyub Huh +3 more
6/13/2025
eess.SPcs.AIcs.LG

No official code found. Best implementation: Taeseong-Han/ECGSignalQualityAssessment (22 stars, MIT, last commit 2026-03-31).

Abstract

Electrocardiography (ECG) signals are frequently degraded by noise, limiting their clinical reliability in both conventional and wearable settings. Existing methods for addressing ECG noise, relying on artifact classification or denoising, are constrained by annotation inconsistencies and poor generalizability. Here, we address these limitations by reframing ECG noise quantification as an anomaly detection task. We propose a diffusion-based framework trained to model the normative distribution of clean ECG signals, identifying deviations as noise without requiring explicit artifact labels. To robustly evaluate performance and mitigate label inconsistencies, we introduce a distribution-based metric using the Wasserstein-1 distance ($W_1$). Our model achieved a macro-average $W_1$ score of 1.308, outperforming the next-best method by over 48\%. External validation confirmed strong generalizability, facilitating the exclusion of noisy segments to improve diagnostic accuracy and support timely clinical intervention. This approach enhances real-time ECG monitoring and broadens ECG applicability in digital health technologies.

View on arXivView PDF

Code Implementations(1)

MIT

Diffusion-Based ECG Noise Quantification via Anomaly Detection

220Python, Jupyter NotebookMay 29, 20256 months agoMIT

Similar Papers

Cite this paper

@article{han2025diffusionbased,
  title  = {Diffusion-Based Electrocardiography Noise Quantification via Anomaly Detection},
  author = {Tae-Seong Han and Jae-Wook Heo and Hakseung Kim and Cheol-Hui Lee and Hyub Huh and Eue-Keun Choi and Hye Jin Kim and Dong-Joo Kim},
  year   = {2025},
  eprint = {2506.11815},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.11815v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.11815.svg)](https://codeofpaper.com/paper/2506.11815)

Discussion