Combining A CNN Auto-Encoder with An MLP To Reduce the Computational Cost of Heart Arrhythmia Detection from ECG
Keywords:
ECG signal, CNN, Deep learning, auto-encoder, arrhythmia, MLP.Abstract
Heart disease is one of the leading causes of death worldwide, and cardiac arrhythmia is a major symptom of heart disease. Due to the inherent differences between raw time series data and classical features, it is not possible to take advantage of models such as convolutional neural network (CNN), which have a high ability to analyze ECG data. To overcome this limitation, this paper proposes a new idea for ECG classification. The proposed idea is to use separate inputs for raw data and classical features. Based on the proposed idea, two different models of the deep neural network are presented. A more complex architecture consists of a CNN with a Residual structure and an MLP. The second architecture is proposed by combining a CNN auto-encoder with an MLP to reduce the computational cost and the possibility of implementing the proposed idea in wearable devices that are limited in terms of processing capacity and energy consumption. Also, to approach the imbalance problem of existing ECG databases, new approaches have been proposed for oversample and undersample methods. Experimental results on the standard MIT-BIH Arrhythmia database showed a 14.73% increase in recall criterion by the first architecture and 1.27% by the second architecture, compared to the conventional architecture in the intra-patient paradigm. In-Addition, the proposed oversampling and undersampling methods increased the first architectural recall for the VEB+ class by 6.98% and 2.33%, respectively in the intra-patient paradigm.
Downloads
References
SoftMax. Available: https://towardsdatascience.com/softmax-activation-function-explained-a7e1bc3ad60
Catalani, "Arrhythmia classification from ECG signals," Master, Engineering in Computer Science, Sapienza – University of Rome, Academic Year 2018 / 2019.
Y. Hannun et al., "Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network," nature medicine, vol. 25, no. 1, pp. 65--69, 2019.
K. Luo, J. Li, Z. Wang, and A. J. J. o. h .e. Cuschieri, "Patient-specific deep architectural model for ECG classification," Journal of healthcare engineering, vol. 2017, 2017.
S. S. Virani et al., "Heart disease and stroke statistics—2020 update: a report from the American Heart Association ",Circulation, pp. E139-E596, 2020.
E. J. Benjamin et al., "Heart disease and stroke statistics—2018 update: a report from the American Heart Association," Circulation, vol. 137, no. 12, pp. e67--e492, 2018.
G. Sannino and G. J. F. G. C. S. De Pietro, "A deep learning approach for ECG-based heartbeat classification for arrhythmia detection," Future Generation Computer Systems, vol. 86, pp. 446-455, 2018.
M. Romanò, Text Atlas of Practical Electrocardiography: A Basic Guide to ECG Interpretation. Springer, 2015.
R. Li, X. Zhang, H. Dai, B. Zhou, and Z. J. I. A. Wang, "Interpretability Analysis of Heartbeat Classification Based on Heartbeat Activity’s Global Sequence Features and BiLSTM-Attention Neural Network," IEEE Access, vol. 7, pp. 109870 - 109883, 2019 .
Q. Yao, R. Wang, X. Fan, J. Liu, and Y. Li, "Multi-class Arrhythmia detection from 12-lead varied-length ECG using Attention-based Time-Incremental Convolutional Neural Network," Information Fusion, vol. 53, pp. 174-182, 2020.
S. Hong, Y. Zhou, J. Shang, C. Xiao, and J. Sun, "Opportunities and challenges of deep learning methods for electrocardiogram data: A systematic review," Computers in Biology and Medicine, p. 103801, 2020.
Heartbeat and ECG. Available: https://en.wikipedia.org/wiki/Electrocardiography
Z. Ebrahimi, M. Loni, M. Daneshtalab, and A. Gharehbaghi, "A review on deep learning methods for ECG arrhythmia classification," Expert Systems with Applications: X, p. 100033, 2020.
Francois, "Deep learning with Python," ed: Manning Publications Company, 2017.
Géron, Hands-on machine learning with Scikit-Learn, Keras, and TensorFlow: Concepts, tools, and techniques to build intelligent systems. O'Reilly Media, 2019.
T. Hastie, R. Tibshirani, and J. Friedman, The elements of statistical learning: data mining, inference, and prediction. Springer Science & Business Media, 2009.
G. B. Moody, R. G. J. I. E. i. M. Mark, and B. Magazine, "The impact of the MIT-BIH arrhythmia database," IEEE Engineering in Medicine and Biology Magazine, vol. 20, no. 3, pp. 45-50, 2001.
L. Goldberger et al., "PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals," circulation, vol. 101, no. 23, pp .e215-e220, 2000.
M. Llamedo and J. P. Martínez, "Heartbeat classification using feature selection driven by database generalization criteria," IEEE Transactions on Biomedical Engineering, vol. 58, no. 3, pp. 616-625, 2010.
J. L. Halperin and R .G. Hart, "Atrial fibrillation and stroke: new ideas, persisting dilemmas," Stroke, vol. 19, no. 8, pp. 937-941, 1988.
W. B. Kannel, R. D. Abbott, D. D. Savage, and P. M. McNamara, "Epidemiologic features of chronic atrial fibrillation: the Framingham study," New England Journal of Medicine, vol. 306, no. 17, pp. 1018-1022, 1982.
P. A. Wolf, R. D. Abbott, and W. B. Kannel, "Atrial fibrillation as an independent risk factor for stroke: the Framingham Study," Stroke, vol. 22, no. 8, pp. 983-988, 1991 .
Pourbabaee, M. J. Roshtkhari, K. J. I. T. o. S. Khorasani, Man,, and C. Systems, "Deep convolutional neural networks and learning ECG features for screening paroxysmal atrial fibrillation patients," nature medicine, vol. 48, no. 12, pp. 2095-2104 , 2018 .
G. Moody, A. Goldberger, S. McClennen, and S. Swiryn, "Predicting the onset of paroxysmal atrial fibrillation: The Computers in Cardiology Challenge 2001," in Computers in Cardiology 2001. Vol. 28 (Cat. No. 01CH37287), 2001, pp. 113-116: IEEE.
L. Goldberger et al., "PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals," circulation, vol. 101, no. 23, pp. e215-e220, 2000.
H. Li and P. Boulanger, "A Survey of Heart Anomaly Detection Using Ambulatory Electrocardiogram (ECG)," Sensors, vol. 20, no. 5, p. 1461, 2020.
R. A. Harrigan, T. C. Chan, and W. J. Brady, "Electrocardiographic electrode misplacement, misconnection, and artifact," The Journal of emergency medicine ,vol. 43, no. 6, pp. 1038-1044, 2012.
M. K. Das and S. J. I. s. r. n. Ari, "ECG beats classification using mixture of features," International scholarly research notices, vol. 2014, 2014.
S. D. Goodfellow, A. Goodwin, R. Greer, P. C. Laussen, M .Mazwi, and D. Eytan, "Towards understanding ecg rhythm classification using convolutional neural networks and attention mappings," in Machine Learning for Healthcare Conference, 2018, pp. 83-101.
X. Xu and H. Liu, "ECG heartbeat classification using convolutional neural networks," IEEE Access, vol. 8, pp. 8614-8619, 2020.
U. R. Acharya, H. Fujita, S. L. Oh, Y. Hagiwara, J. H. Tan, and M. Adam, "Application of deep convolutional neural network for automated detection of myocardial infarction using ECG signals," Information Sciences, vol. 415, pp. 190-198, 2017.
J. Gao, H. Zhang, P. Lu, and Z. Wang, "An effective LSTM recurrent network to detect arrhythmia on imbalanced ECG dataset," Journal of healthcare engineering, vol. 2019, 2019.
B. N. Singh and A. K. Tiwari, "Optimal selection of wavelet basis function applied to ECG signal denoising," Digital signal processing, vol. 16, no. 3, pp. 275-287, 2006.
P. Cao et al., "A novel data augmentation method to enhance deep neural networks for detection of atrial fibrillation," Biomedical Signal Processing and Control, vol. 56, p. 101675, 2020.
L. Donoho, "De-noising by soft-thresholding," IEEE transactions on information theory, vol. 41, no. 3, pp. 613-627, 1995.
L. Donoho and J. M. Johnstone, "Ideal spatial adaptation by wavelet shrinkage," biometrika, vol. 81, no. 3, pp. 425-455, 1994.
M. Shaker, M. Tantawi, H. A. Shedeed, and M. F. Tolba, "Generalization of Convolutional Neural Networks for ECG Classification Using Generative Adversarial Networks," IEEE Access, vol. 8, pp. 35592-35605, 2020.
N. V. Thakor, J. G. Webster, and W. J. Tompkins, "Estimation of QRS complex power spectra for design of a QRS filter," IEEE Transactions on biomedical engineering, no .11 , pp. 702-706, 1984.
M. Alfaras, M. C. Soriano, and S. J. F. i. P. Ortín, "A fast machine learning model for ECG-based heartbeat classification and arrhythmia detection," Frontiers in Physics, vol. 7, p. 103, 2019.
C. Liu, P. Li, C. Di Maria ,L. Zhao, H. Zhang, and Z. Chen, "A multi-step method with signal quality assessment and fine-tuning procedure to locate maternal and fetal QRS complexes from abdominal ECG recordings," Physiological measurement, vol. 35, no. 8, p. 1665, 2014.
S. Alvarado, C. Lakshminarayan, and J. C. Principe, "Time-based compression and classification of heartbeats," IEEE transactions on biomedical engineering, vol. 59, no. 6, pp. 1641-1648, 2012.
Baghdadi, "Intelligent Diagnosis of Cardiovascular Disease using ECG Signals," Master of Science, Digital Electronics, Sharif University of Technology, International Campus, Kish Island, 2018.
Ö. J. C. i. b. Yildirim and medicine, "A novel wavelet sequence based on deep bidirectional LSTM network model for ECG signal classification," Computers in biology and medicine, vol. 96, pp. 189-202, 2018.
Ö. Yıldırım, P. Pławiak, R.-S. Tan, U. R. J. C. i. b. Acharya, and medicine, "Arrhythmia detection using deep convolutional neural network with long duration ECG signals," Computers in biology and medicine, vol. 102, pp. 411-420, 2018.
S. Mousavi and F. Afghah, "Inter-and intra-patient ecg heartbeat classification for arrhythmia detection: a sequence to sequence deep learning approach," in ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2019, pp. 1308-1312: IEEE.
J. Jiang, H. Zhang, D. Pi, and C. Dai, "A novel multi-module neural network system for imbalanced heartbeats classification," Expert Systems with Applications: X, vol. 1, p. 100003, 2019.
P. De Chazal, M. O'Dwyer, and R. B. J. I. t. o. b. e. Reilly, "Automatic classification of heartbeats using ECG morphology and heartbeat interval features," IEEE transactions on biomedical engineering ,vol. 51, no. 7, pp. 1196-1206, 2004.
E. J. d. S. Luz, T. M. Nunes, V. H. C. De Albuquerque, J. P. Papa, and D. Menotti, "ECG arrhythmia classification based on optimum-path forest," Expert Systems with Applications, vol. 40, no. 9, pp. 3561-3573, 2013.
S. M. Mathews, C. Kambhamettu, K. E. J. C. i. b. Barner, and medicine, "A novel application of deep learning for single-lead ECG classification," Computers in biology and medicine, vol. 99, pp. 53-62, 2018.
N. Golpayegani, "Cardiac Arrhythmia Classification Using Neural Networks and a Fuzzy Combination of Wavelet Transforms mid Autoregressive Modeling," presented at the The third international conference on Intelligent Decision, TEHRAN, IRAN, 2018 .
M. Kachuee, S. Fazeli, and M. Sarrafzadeh, "Ecg heartbeat classification: A deep transferable representation," in 2018 IEEE International Conference on Healthcare Informatics (ICHI), 2018, pp. 443-444: IEEE.
M. M. Al Rahhal, Y. Bazi, H. AlHichri, N. Alajlan, F. Melgani, and R. R. Yager, "Deep learning approach for active classification of electrocardiogram signals," Information Sciences, vol. 345, pp. 340-354, 2016.
Amirshahi, M. J. I. t. o. b. c. Hashemi, and systems, "Ecg classification algorithm based on STDP and R-STDP neural networks for real-time monitoring on ultra low-power personal wearable devices," IEEE transactions on biomedical circuits and systems, vol. 13, no. 6, pp. 1483-1493, 2019.
S. Saadatnejad, M. Oveisi, M. J. I. j. o. b. Hashemi, and h. informatics" ,LSTM-Based ECG Classification for Continuous Monitoring on Personal Wearable Devices," IEEE journal of biomedical and health informatics, vol. 24, no. 2, pp. 515--523, 2019.
F. J. a. p. a. Hadaeghi, "Reservoir Computing Models for Patient-Adaptable ECG Monitoring in Wearable Devices," arXiv preprint, 2019.
F. N. Hatamian, N. Ravikumar, S. Vesal, F. P. Kemeth, M. Struck, and A. Maier, "The Effect of Data Augmentation on Classification of Atrial Fibrillation in Short Single-Lead ECG Signals Using Deep Neural Networks," in ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2020, pp. 1264-1268: IEEE.
N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, "SMOTE: synthetic minority over-sampling technique," Journal of artificial intelligence research, vol. 16, pp. 321-357, 2002.
He, Y. Bai, E. A. Garcia, and S. Li, "ADASYN: Adaptive synthetic sampling approach for imbalanced learning," in 2008 IEEE international joint conference on neural networks (IEEE world congress on computational intelligence), 2008, pp. 1322-1328: IEEE.
Goodfellow et al., "Generative adversarial nets," Advances in neural information processing systems, vol. 27, pp. 2672-2680, 2014.
M. Delaney, E. Brophy, and T. E. Ward, "Synpaper of Realistic ECG using Generative Adversarial Networks," arXiv preprint arXiv:1909.09150, 2019.
Radford, L. Metz, and S. Chintala, "Unsupervised representation learning with deep convolutional generative adversarial networks," arXiv preprint arXiv:1511.06434, 2015.
Downloads
Published
How to Cite
Issue
Section
License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All papers should be submitted electronically. All submitted manuscripts must be original work that is not under submission at another journal or under consideration for publication in another form, such as a monograph or chapter of a book. Authors of submitted papers are obligated not to submit their paper for publication elsewhere until an editorial decision is rendered on their submission. Further, authors of accepted papers are prohibited from publishing the results in other publications that appear before the paper is published in the Journal unless they receive approval for doing so from the Editor-In-Chief.
IJISAE open access articles are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. This license lets the audience to give appropriate credit, provide a link to the license, and indicate if changes were made and if they remix, transform, or build upon the material, they must distribute contributions under the same license as the original.