Joung Chankyu, Kim Mijin, Paik Taejin, Kong Seong-Ho, Oh Seung-Young, Jeon Won Kyeong, Jeon Jae-Hu, Hong Joong-Sik, Kim Wan-Joong, Kook Woong, Cha Myung-Jin, van Koert Otto
Department of Mathematical Sciences and Research Institute of Mathematics, Seoul National University, Gwanak-gu, Seoul, South Korea.
Division of Cardiology, Department of Internal Medicine, Asan Medical Center, University of Ulsan College of Medicine, Seoul, South Korea.
PLoS One. 2024 Jun 13;19(6):e0303178. doi: 10.1371/journal.pone.0303178. eCollection 2024.
Accurate delineation of key waveforms in an ECG is a critical step in extracting relevant features to support the diagnosis and treatment of heart conditions. Although deep learning based methods using segmentation models to locate P, QRS, and T waves have shown promising results, their ability to handle arrhythmias has not been studied in any detail. In this paper we investigate the effect of arrhythmias on delineation quality and develop strategies to improve performance in such cases. We introduce a U-Net-like segmentation model for ECG delineation with a particular focus on diverse arrhythmias. This is followed by a post-processing algorithm which removes noise and automatically determines the boundaries of P, QRS, and T waves. Our model has been trained on a diverse dataset and evaluated against the LUDB and QTDB datasets to show strong performance, with F1-scores exceeding 99% for QRS and T waves, and over 97% for P waves in the LUDB dataset. Furthermore, we assess various models across a wide array of arrhythmias and observe that models with a strong performance on standard benchmarks may still perform poorly on arrhythmias that are underrepresented in these benchmarks, such as tachycardias. We propose solutions to address this discrepancy.
准确描绘心电图中的关键波形是提取相关特征以支持心脏病诊断和治疗的关键步骤。尽管基于深度学习的方法使用分割模型来定位P波、QRS波和T波已显示出有前景的结果,但它们处理心律失常的能力尚未得到详细研究。在本文中,我们研究心律失常对描绘质量的影响,并制定在此类情况下提高性能的策略。我们引入一种类似U-Net的分割模型用于心电图描绘,特别关注各种心律失常。随后是一种后处理算法,该算法可去除噪声并自动确定P波、QRS波和T波的边界。我们的模型已在多样化的数据集上进行训练,并针对LUDB和QTDB数据集进行评估,以显示出强大的性能,在LUDB数据集中,QRS波和T波的F1分数超过99%,P波超过97%。此外,我们评估了各种模型在广泛的心律失常情况下的表现,观察到在标准基准上表现强劲的模型在这些基准中代表性不足的心律失常(如心动过速)上可能仍然表现不佳。我们提出了解决这一差异的方案。