Electronics and Telecommunication Research Institute, Daejeon 34129, Korea.
Sensors (Basel). 2022 May 27;22(11):4075. doi: 10.3390/s22114075.
Arrhythmia detection algorithms based on deep learning are attracting considerable interest due to their vital role in the diagnosis of cardiac abnormalities. Despite this interest, deep feature representation for ECG is still challenging and intriguing due to the inter-patient variability of the ECG's morphological characteristics. The aim of this study was to learn a balanced deep feature representation that incorporates both the short-term and long-term morphological characteristics of ECG beats. For efficient feature extraction, we designed a temporal transition module that uses convolutional layers with different kernel sizes to capture a wide range of morphological patterns. Imbalanced data are a key issue in developing an efficient and generalized model for arrhythmia detection as they cause over-fitting to minority class samples (abnormal beats) of primary interest. To mitigate the imbalanced data issue, we proposed a novel, cost-sensitive loss function that ensures a balanced deep representation of class samples by assigning effective weights to each class. The cost-sensitive loss function dynamically alters class weights for every batch based on class distribution and model performance. The proposed method acquired an overall accuracy of 99.81% for intra-patient classification and 96.36% for the inter-patient classification of heartbeats. The experimental results reveal that the proposed approach learned a balanced representation of ECG beats by mitigating the issue of imbalanced data and achieved an improved classification performance as compared to other studies.
基于深度学习的心律失常检测算法因其在心脏异常诊断中的重要作用而引起了相当大的关注。尽管对此很感兴趣,但由于心电图形态特征的个体间可变性,心电图的深度特征表示仍然具有挑战性和吸引力。本研究旨在学习一种平衡的深度特征表示,该表示既包含心电图节拍的短期形态特征,也包含长期形态特征。为了进行有效的特征提取,我们设计了一个时间过渡模块,该模块使用具有不同核大小的卷积层来捕获广泛的形态模式。不平衡数据是开发有效和通用的心律失常检测模型的一个关键问题,因为它们导致对主要感兴趣的少数类样本(异常节拍)的过度拟合。为了解决不平衡数据问题,我们提出了一种新颖的、基于成本的损失函数,通过为每个类分配有效权重,确保类样本的深度表示平衡。基于类分布和模型性能,成本敏感损失函数会为每个批次动态调整类权重。所提出的方法在患者内分类中获得了 99.81%的整体准确性,在患者间分类中获得了 96.36%的准确性。实验结果表明,所提出的方法通过减轻不平衡数据问题学习了心电图节拍的平衡表示,并与其他研究相比,实现了更好的分类性能。