基于深度学习的多标签不均衡心电信号分类
Multi-Label Imbalanced ECG Signal Classification Based on Deep Learning
摘要: 心电图(ECG)自动分类技术已经成为医学诊断的热门研究领域。在临床上,同一个患者通常伴随多种心律失常。为了能够精准分类出多种心律失常,本文提出了一种涵盖多种注意力机制的一维卷积神经网络模型。相比传统的机器学习或者深度学习方法提取特征的能力有限,引入的注意力机制能够引导模型学习心电信号中不同通道和空间位置之间的差异信息的同时结合全局稀疏自注意力,提高分类仿真模型对与心律失常有关特征的关注程度;其次,通过重采样技术以及在损失函数的设计上融入了标签相关性策略来应对多标签带来的类别不均衡问题。在两个公开的多标签心电数据集CPSC2018和PTB-XL上评估该网络的性能,macro-F1分别达到84.13%和73.6%。实验结果表明,该模型具有良好的分类性能。
Abstract: The technology of automatic Electrocardiogram (ECG) classification has emerged as a hot area of research in medical diagnostics. In clinical practice, a single patient often exhibits multiple types of cardiac arrhythmias. To accurately classify these diverse arrhythmias, this paper introduces a one-dimensional Convolutional Neural Network model that incorporates multiple attention mechanisms. Compared with the limited ability of traditional machine learning or deep learning methods to extract features, the introduced attention mechanism can guide the model to learn the difference information between different channels and spatial locations in ECG signals, and combine with global sparse self-attention to improve the classification simulation model’s attention to arrhythmia-related features. We address the class imbalance problem brought about by multi-labels through resampling techniques and the integration of label correlation strategies into the design of the loss function. The performance of this network is evaluated on two public multi-label ECG datasets, CPSC2018 and PTB-XL, with macro-F1 reaching 84.13% and 73.6%, respectively. Experimental results indicate that the model demonstrates excellent classification performance.
文章引用:顾浩丞, 孙占全. 基于深度学习的多标签不均衡心电信号分类[J]. 建模与仿真, 2024, 13(2): 1693-1704. https://doi.org/10.12677/mos.2024.132160

参考文献

[1] Zhang, L., Peng, H. and Yu, C. (2010) An Approach for ECG Classification Based on Wavelet Feature Extraction and Decision Tree. 2010 International Conference on Wireless Communications & Signal Processing (WCSP2010), Suzhou, 21-23 October 2010, 1-4. [Google Scholar] [CrossRef
[2] Kropf, M., Hayn, D. and Schreier, G. (2017) ECG Classification Based on Time and Frequency Domain Features Using Random Forests. 2017 Computing in Cardiology (CinC), Rennes, 24-27 September 2017, 1-4. [Google Scholar] [CrossRef
[3] Mehta, S.S. and Lingayat, N.S. (2008) Development of SVM Based Classification Techniques for the Delineation of Wave Components in 12-Lead Electrocardiogram. Biomedical Signal Processing and Control, 3, 341-349. [Google Scholar] [CrossRef
[4] Hannun, A.Y., Rajpurkar, P., Haghpanahi, M., Tison, G.H., Bourn, C., Turakhia, M.P. and Ng, A.Y. (2019) Cardiologist-Level Arrhythmia Detection and Classification in Ambulatory Electrocardiograms Using a Deep Neural Network. Nature Medicine, 25, 65-69. [Google Scholar] [CrossRef] [PubMed]
[5] Huang, J.S., Chen, B.Q., Yao, B. and He, W.P. (2019) ECG Arrhythmia Classification Using STFT-Based Spectrogram and Convolutional Neural Network. Biomedical Signal Processing and Control, 7, 92871-92880. [Google Scholar] [CrossRef
[6] Gao, J.L., Zhang, H.P., Lu, P. and Wang, Z.M. (2019) An Effective LSTM Recurrent Network to Detect Arrhythmia on Imbalanced ECG Dataset. Journal of Healthcare Engineering, 2019, Article ID: 6320651. [Google Scholar] [CrossRef] [PubMed]
[7] Ran, S.L., Li, X., Zhao, B.Z., Jiang, Y.N., Yang, X.Y. and Cheng, C. (2023) Label Correlation Embedding Guided Network for Multi-Label ECG Arrhythmia Diagnosis. Knowledge-Based Systems, 270, Article ID: 110545. [Google Scholar] [CrossRef
[8] Ge, R.J., Shen, T.F., Zhou, Y., Liu, C.Y., Zhang, L.B., Yang, B.Q., et al. (2021) Convolutional Squeeze-and-Excitation Network for ECG Arrhythmia Detection. Artificial Intelligence in Medicine, 121, Article ID: 102181. [Google Scholar] [CrossRef] [PubMed]
[9] Natarajan, A., Boverman, G., Chang, Y.L., Antonescu, C. and Rubin, J. (2021) Convolution-Free Waveform Transformers for Multi-Lead ECG Classification. Conference on Computing in Cardiology (CinC), Brno, 13-15 September 2021, 1-4. [Google Scholar] [CrossRef
[10] Chawla, N.V., Bowyer, K.W., Hall, L.O. and Kegelmeyer, W.P. (2002) SMOTE: Synthetic Minority Over-Sampling technique. Journal of Artificial Intelligence Research, 16, 321-357. [Google Scholar] [CrossRef
[11] Liu, F.F., Liu, C.Y., Zhao, L.N., Zhang, X.Y., Wu, X.L., Xu, X.Y., et al. (2018) An Open Access Database for Evaluating the Algorithms of Electrocardiogram Rhythm and Morphology Abnormality Detection. Journal of Medical Imaging and Health Informatics, 8, 1368-1373. [Google Scholar] [CrossRef
[12] Wagner, P., Strodthoff, N., Bousseljot, R.D., Kreiseler, D., Lunze, F.I., Samek, W. and Schaeffter, T. (2020) PTB-XL, a Large Publicly Available Electrocardiography Dataset. Scientific Data, 7, Article No. 154. [Google Scholar] [CrossRef] [PubMed]
[13] Tu, Z.Z., Talebi, H., Zhang, H., Yang, F., Milanfar, P., Bovik, A. and Li, Y.X. (2022) MaxViT: Multi-Axis Vision Transformer. Computer Vision, ECCV 2022, Vol. 13684, 459-479. [Google Scholar] [CrossRef
[14] Jaderberg, M., Simonyan, K., Zisserman, A. and Kavukcuoglu, K. (2015) Spatial Transformer Networks. Proceedings of the 28th Neural Information Processing Systems Conference (NIPS), Montreal, 8-13 December 2014, 2017-2025.
[15] Hu, J., Shen, L., Albanie, S., Sun, G. and Wu, E.H. (2020) Squeeze-and-Excitation Networks. IEEE Transactions on Pattern Analysis and Machine Intelligence, 42, 2011-2023. [Google Scholar] [CrossRef
[16] Feyisa, D.W., Debelee, T.G., Ayano, Y.M., Kebede, S.R. and Assore, T.F. (2022) Lightweight Multireceptive Field CNN for 12-Lead ECG Signal Classification. Computational Intelligence and Neuroscience, 2022, Article ID: 8413294. [Google Scholar] [CrossRef] [PubMed]
[17] Chen, T.M., Huang, C.H., Shih, E.S.C., Hu, Y.F. and Hwang, M.J. (2020) Detection and Classification of Cardiac Arrhythmias by a Challenge-Best Deep Learning Neural Network Model. Iscience. 23, Article ID: 100886. [Google Scholar] [CrossRef] [PubMed]
[18] Smigiel, S., Palczynski, K. and Ledzinski, D. (2021) ECG Signal Classification Using Deep Learning Techniques Based on the PTB-XL Dataset. Entropy, 23, Article No. 1121. [Google Scholar] [CrossRef] [PubMed]
[19] Smigiel, S., Palczynski, K. and Ledzinski, D. (2021) Deep Learning Techniques in the Classification of ECG Signals Using R-Peak Detection Based on the PTB-XL Dataset. Sensors, 21, Article No. 8174. [Google Scholar] [CrossRef] [PubMed]
[20] Pałczynski, K., Smigiel, S., Ledzinski, D. and Bujnowski, S. (2022) Study of the Few-Shot Learning for ECG Classification Based on the PTB-XL Dataset. Sensors, 22, Article No. 904. [Google Scholar] [CrossRef] [PubMed]
[21] Wang, Q.L., Wu, B.G., Zhu, P.F., Li, P.H., Zuo, W.M. and Hu, Q.H. (2020) ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks. 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, 13-19 June 2020, 11531-11539. [Google Scholar] [CrossRef
[22] Woo, S.H., Park, J., Lee, J.Y., Kweon, I.S., Ferrari, V., Hebert, M., et al. (2018) CBAM: Convolutional Block Attention Module. 15th European Conference on Computer Vision (ECCV), Munich, 8-14 September 2018, 3-19. [Google Scholar] [CrossRef
[23] Roy, A.G., Navab, N. and Wachinger, C. (2018) Concurrent Spatial and Channel “Squeeze & Excitation” in Fully Convolutional Networks. 21st International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI), Vol. 11070, 421-429. [Google Scholar] [CrossRef