ECG Signal Classification Method Based on Structural Risk Minimization
DOI:
https://doi.org/10.4108/eetpht.11.11676Keywords:
classification of ECG signals, separating hyperplane, structural risk minimization, convolutional neural networkAbstract
Arrhythmia stands as a primary contributor to cardiovascular disease-associated mortality. Therefore, the classification and monitoring of abnormal electrocardiogram (ECG) signals are of paramount importance for preventive purposes. Although deep - learning - based ECG classification methods have yielded promising outcomes, they frequently encounter challenges in optimizing performance across diverse patient datasets. To overcome these limitations, this research endeavors to enhance the generalization ability of deep - learning models for ECG signal classification. It achieves this by integrating structural risk minimization principles and incorporating RR interval information into the classification process. A convolutional neural network (CNN) founded on structural risk minimization is proposed. Instead of employing the traditional cross-entropy loss, this study adopts a loss function inspired by support vector machine (SVM) classifiers to optimize the CNN. Moreover, the RR interval information, which is often lost during beat segmentation, is manually extracted and integrated into the CNN network to improve classification accuracy. The proposed method attains an accuracy, specificity, and sensitivity of 88.2% respectively, demonstrating superior performance when compared to traditional and existing methods. This improvement underscores the efficacy of the structural risk minimization approach and the integration of RR interval information in enhancing the model's generalization across patient datasets. The method's convenience and effectiveness render it particularly well-suited for real-time application in wearable devices, facilitating the early detection of abnormal ECG patterns and potentially preventing cardiovascular disease-related fatalities.
Downloads
References
[1] Pan H, Zheng W, Zhang Y. Recognition of ECG signal based on modified residual network. Journal of Data Acquisition and Processing, 2020; (4):682-692.
[2] Cai Y. Detection of Arrhythmia in multi-Lead ECG Based on BiLSTM. Hangzhou. Zhejiang University. 2020; pp. 13-15.
[3] Wang T, Lu C, Yang M, et al. A hybrid method for heartbeat classification via convolutional neural networks, multilayer perceptrons and focal loss. PeerJ Computer Science 2020; 6:e324.
[4] ZHANG H, LIU J, LIU S, et al. ECG signal quality analysis based on convolutional neural network. Computer Engineering and Applications, 2020; 56No.948(05): 151-156.
[5] Venkatesan C, Karthigaikumar P, Paul A, et al. ECG signal preprocessing and SVM classifier-based abnormality detection in remote healthcare applications. IEEE Access 2018; 6: 9767-9773.
[6] Emanet N. ECG beat classification by using discrete wavelet transform and Random Forest algorithm; 2009, 1-4.
[7] Zhang D, Sui W, Liang Z, et al. ECG signal classification algorithm based on VMD and KNN. Journal of Electronic Measurement and Instrumentation, 2019; 33; No.220 (04): 145-150.
[8] Li F, Xie S, et al. Study on Abnormal Diagnosis of Moving ECG Signals Based on Unsupervised Learning. Computer Science 2017; 44(0z2): 68-71.
[9] Petmezas G, Haris K, Stefanopoulos L, et al. Automated Atrial Fibrillation Detection using a Hybrid CNN-LSTM Network on Imbalanced ECG Datasets. Biomedical Signal Processing and Control, 2021; 63:102194.
[10] Jun TJ, Nguyen HM, Kang D, et al. ECG arrhythmia classification using a 2-D convolutional neural network. arXiv preprint arXiv:1804.06812, 2018.
[11] Wang T, Lu C, Sun Y, et al. Automatic ECG Classification Using Continuous Wavelet Transform and Convolutional Neural Network. Entropy 2021; 23 (1): 119.
[12] MA J, LIU S. A summary of classification algorithms for ECG signal recognition. Journal of Chongqing University of Technology, 2018; 032 (012): 122-128.
[13] Li D, Zhang H, Liu Z, et al. Deep residual convolutional neural network for recognition of electrocardiogram signal arrhythmias. Journal of Biomedical Engineering 2019,36(02):189-198.
[14] Sun M, Wang Y, Liu X, et al. ECG signal classification method based on deep transfer learning. Computer Applications and Software, 2020; 37(05):139-145.
[15] Chazal PD, O'Dwyer M, Reilly RB. Automatic classification of heartbeats using ECG morphology and heartbeat interval features. IEEE transactions on bio-medical engineering, 2004; 51(7):1196-1206.
[16] Sannino G, Pietro GD. A deep learning approach for ECG-based heartbeat classification for arrhythmia detection. Future Generation Computer Systems 2018; 86:446-455.
[17] Guo S, Wang Li, Niu X, et al. Removal of baseline wander from ECG signals using adaptive method based on empirical mode decomposition. Chinese Journal of Medical Physics 2020,37(03):342-349.
[18] Zhang Z, Dong J, Luo X, et al. Heartbeat classification using disease-specific feature selection. Computers in Biology & Medicine, 2014; 46(1):79-89.
[19] Zhu R, Tao J. ECG signal processing and simulation based on improved wavelet threshold denoising algorithm. Mathematics in Practice and Theory 2019; 049(005):143-150.
[20] Liang S, Wang X, Liang J. Human identification using convolutional neural network and QRS complex in ECG. Journal of Electronic Measurement and Instrumentation.
[21] Mar T, Zaunseder S, JP MartÃnez, et al. Optimization of ECG Classification by Means of Feature Selection. IEEE transactions on bio-medical engineering, 2011; 58(8):2168-2177.
[22] Cai Z, Li J, Liu C. Arrhythmia Beat Classification Model Based on CNN and BiLSTM. Chinese Journal of Biomedical Engineering2020,39(06):719-726.
[23] Liu G, Zhou G, Dong M. Real-time arrhythmia diagnosis system and algorithm based on FFNN and 1D-CNN. Journal of Electronic Measurement and Instrumentation2021,35(03):35-42.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Feng Hong, Hengyang Fang, Ruru Liu

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
This is an open access article distributed under the terms of the CC BY-NC-SA 4.0, which permits copying, redistributing, remixing, transformation, and building upon the material in any medium so long as the original work is properly cited.
