Skip to main content
Log in

Multi-Lead ECG Classification via an Information-Based Attention Convolutional Neural Network

  • Article
  • Published:
Journal of Shanghai Jiaotong University (Science) Aims and scope Submit manuscript

Abstract

A novel structure based on channel-wise attention mechanism is presented in this paper. Embedding with the proposed structure, an efficient classification model that accepts multi-lead electrocardiogram (ECG) as input is constructed. One-dimensional convolutional neural networks (CNNs) have proven to be effective in pervasive classification tasks, enabling the automatic extraction of features while classifying targets. We implement the residual connection and design a structure which can learn the weights from the information contained in different channels in the input feature map during the training process. An indicator named mean square deviation is introduced to monitor the performance of a particular model segment in the classification task on the two out of the five ECG classes. The data in the MIT-BIH arrhythmia database is used and a series of control experiments is conducted. Utilizing both leads of the ECG signals as input to the neural network classifier can achieve better classification results than those from using single channel inputs in different application scenarios. Models embedded with the channel-wise attention structure always achieve better scores on sensitivity and precision than the plain Resnet models. The proposed model exceeds the performance of most of the state-of-the-art models in ventricular ectopic beats (VEB) classification and achieves competitive scores for supraventricular ectopic beats (SVEB). Adopting more lead ECG signals as input can increase the dimensions of the input feature maps, helping to improve both the performance and generalization of the network model. Due to its end-to-end characteristics, and the extensible intrinsic for multi-lead heart diseases diagnosing, the proposed model can be used for the realtime ECG tracking of ECG waveforms for Holter or wearable devices.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. JAYARAMAN S, SANGAREDDI V, PERIYASAMY R, et al. Modified limb lead ECG system effects on electrocardiographic wave amplitudes and frontal plane axis in sinus rhythm subjects [J]. The Anatolian Journal of Cardiology, 2017, 17(1): 46–54.

    Google Scholar 

  2. MARK R, MOODY G. MIT-BIH arrhythmia database directory [M]. 2nd ed. Cambridge, MA, USA: MIT Press, 1988.

    Google Scholar 

  3. OSOWSKI S, HOAI L T, MARKIEWICZ T. Support vector machine-based expert system for reliable heartbeat recognition [J]. IEEE Transactions on Biomedical Engineering, 2004, 51(4): 582–589.

    Article  Google Scholar 

  4. COAST D A, STERN R M, CANO G G, et al. An approach to cardiac arrhythmia analysis using hidden Markov models [J]. IEEE Transactions on Biomedical Engineering, 1990, 37(9): 826–836.

    Article  Google Scholar 

  5. AFONSO V X, TOMPKINS W J, NGUYEN T Q, et al. ECG beat detection using filter banks [J]. IEEE Transactions on Biomedical Engineering, 1999, 46(2): 192–202.

    Article  Google Scholar 

  6. INAN O T, GIOVANGRANDI L, KOVACS G T A. Robust neural-network-based classification of premature ventricular contractions using wavelet transform and timing interval features [J]. IEEE Transactions on Biomedical Engineering, 2006, 53(12): 2507–2515.

    Article  Google Scholar 

  7. DE CHAZAL P, O’DWYER M, REILLY R B. Automatic classification of heartbeats using ECG morphology and heartbeat interval features [J]. IEEE Transactions on Biomedical Engineering, 2004, 51(7): 1196–1206.

    Article  Google Scholar 

  8. DAS M K, ARI S. ECG beats classification using mixture of features [J]. International Scholarly Research Notices, 2014, 2014: 178436.

    Article  Google Scholar 

  9. SAHOO S, KANUNGO B, BEHERA S, et al. Multiresolution wavelet transform based feature extraction and ECG classification to detect cardiac abnormalities [J]. Measurement, 2017, 108: 55–66.

    Article  Google Scholar 

  10. KIRANYAZ S, INCE T, GABBOUJ M. Real-time patient-specific ECG classification by 1-D convolutional neural networks [J]. IEEE Transactions on Biomedical Engineering, 2016, 63(3): 664–675.

    Article  Google Scholar 

  11. XU S S, MAK M W, CHEUNG C C. Towards end-toend ECG classification with raw signal extraction and deep neural networks [J]. IEEE Journal of Biomedical and Health Informatics, 2019, 23(4): 1574–1584.

    Article  Google Scholar 

  12. ACHARYA U R, FUJITA H, LIH O S, et al. Automated detection of arrhythmias using different intervals of tachycardia ECG segments with convolutional neural network [J]. Information Sciences, 2017, 405: 81–90.

    Article  Google Scholar 

  13. TAN J H, HAGIWARA Y, PANG W, et al. Application of stacked convolutional and long short-term memory network for accurate identification of CAD ECG signals [J]. Computers in Biology and Medicine, 2018, 94: 19–26.

    Article  Google Scholar 

  14. KUMAR M, PACHORI R B, ACHARYA U R. Characterization of coronary artery disease using flexible analytic wavelet transform applied on ECG signals [J]. Biomedical Signal Processing and Control, 2017, 31: 301–308.

    Article  Google Scholar 

  15. ACHARYA U R, SUDARSHAN V K, KOH J E W, et al. Application of higher-order spectra for the characterization of Coronary artery disease using electrocardiogram signals [J]. Biomedical Signal Processing and Control, 2017, 31: 31–43.

    Article  Google Scholar 

  16. ACHARYA U R, FUJITA H, LIH O S, et al. Automated detection of coronary artery disease using different durations of ECG segments with convolutional neural network [J]. Knowledge-Based Systems, 2017, 132: 62–71.

    Article  Google Scholar 

  17. MIRVIS D M, BERSON A S, GOLDBERGER A L, et al. Instrumentation and practice standards for electrocardiographic monitoring in special care units. A report for health professionals by a Task Force of the Council on Clinical Cardiology, American Heart Association [J]. Circulation, 1989, 79(2): 464–471.

    Article  Google Scholar 

  18. SU J, DAI J, GUAN Z, et al. A four-lead real time arrhythmia analysis algorithm [C]//2017 Computing in Cardiology Conference (CinC ). Rennes, France: IEEE, 2017: 1–4.

    Google Scholar 

  19. YAN Y, QIN X B, WU Y G, et al. A restricted Boltzmann machine based two-lead electrocardiography classification [C]//2015 IEEE 12th International Conference on Wearable and Implantable Body Sensor Networks (BSN). Cambridge, MA, USA: IEEE, 2015: 1–9.

    Google Scholar 

  20. CHAZAL P. Different techniques used to improve the performance of a classifier of the twelve-lead electrocardiogram [C]//Computers in Cardiology 2001. Rotterdam, the Netherlands: IEEE, 2001: 525–528.

    Google Scholar 

  21. LA FW, TSAI P Y. Deep learning for detection of fetal ECG from multi-channel abdominal leads [C]//2018 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA ASC). Honolulu, HI, USA: IEEE, 2018: 1397–1401.

    Google Scholar 

  22. LUZ E J D S, SCHWART Z W R, CÁMARA-CHÁVEZ G, et al. ECG-based heartbeat classification for arrhythmia detection: A survey [J]. Computer Methods and Programs in Biomedicine, 2016, 127: 144–164.

    Article  Google Scholar 

  23. YE C, KUMAR B V K V, COIMBRA M T. An automatic subject-adaptable heartbeat classifier based on multiview learning [J]. IEEE Journal of Biomedical and Health Informatics, 2016, 20(6): 1485–1492.

    Article  Google Scholar 

  24. INCE T, KIRANYAZ S, GABBOUJ M. A generic and robust system for automated patient-specific classification of ECG signals [J]. IEEE Transactions on Biomedical Engineering, 2009, 56(5): 1415–1426.

    Article  Google Scholar 

  25. JIANG W, KONG S G. Block-based neural networks for personalized ECG signal classification [J]. IEEE Transactions on Neural Networks, 2007, 18(6): 1750–1761.

    Article  Google Scholar 

  26. HU Y H, PALREDDY S, TOMPKINS W J. A patient adaptable ECG beat classifier using a mixture of experts approach [J]. IEEE Transactions on Biomedical Engineering, 1997, 44(9): 891–900.

    Article  Google Scholar 

  27. AAMI. Testing and reporting performance results of ventricular arrhythmia detection algorithms [S]. Arlington, VA, USA: Association Advancement Medical Instrumentation, 1987.

    Google Scholar 

  28. TEIJEIRO T, FÉLIX P, PRESEDO J, et al. Heartbeat classification using abstract features from the abductive interpretation of the ECG [J]. IEEE Journal of Biomedical and Health Informatics, 2018, 22(2): 409–420.

    Article  Google Scholar 

  29. MOODY G B, MARK R G. The impact of the mitbih arrhythmia database [J]. IEEE Engineering in Medicine and Biology Magazine, 2001, 20(3): 45–50.

    Article  Google Scholar 

  30. GOLDBERGER A L, AMARAL L A, GLASS L, et al. PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals [J]. Circulation, 2000, 101(23): E215–E220.

    Article  Google Scholar 

  31. SABHERWAL P, AGRAWAL M, SINGH L. Automatic detection of the R peaks in single-lead ECG signal [J]. Circuits, Systems, and Signal Processing, 2017, 36(11): 4637–4652.

    Article  Google Scholar 

  32. PAN J, TOMPKINS W J. A real-time QRS detection algorithm [J]. IEEE Transactions on Biomedical Engineering, 1985, 32(3): 230–236.

    Article  Google Scholar 

  33. LI C, ZHENG C, TAI C. Detection of ECG characteristic points using wavelet transforms [J]. IEEE Transactions on Biomedical Engineering, 1995, 42(1): 21–28.

    Article  Google Scholar 

  34. YE C, VIJAYA KUMAR B V K, COIMBRA M T. Heartbeat classification using morphological and dynamic features of ECG signals [J]. IEEE Transactions on Biomedical Engineering, 2012, 59(10): 2930–2941.

    Article  Google Scholar 

  35. WEI X C. Analyze deep learning: CNN theory and visual practice [M]. Beijing: Publishing House of Electronics Industry, 2018: 137–138 (in Chinese).

    Google Scholar 

  36. CHAWLA N V, BOWYER K W, HALL L O, et al. SMOTE: Synthetic minority over-sampling technique [J]. Journal of Artificial Intelligence Research, 2002, 16: 321–357.

    Article  MATH  Google Scholar 

  37. BATISTA G E A P A, BAZZAN A L C, MONARD M C. Balancing training data for automated annotation of keywords: A case study [C]//II Brazilian Workshop on Bioinformatics. Macaé RJ, Brazil: DBLP, 2003: 10–18.

    Google Scholar 

  38. HE K, ZHANG X, REN S, et al. Identity mappings in deep residual networks [M]//Computer vision - ECCV 2016. Cham: Springer, 2016: 630–645.

    Google Scholar 

  39. HU J, SHEN L, SUN G. Squeeze-and-excitation networks [C]//2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition. Salt Lake City, UT, USA. IEEE, 2018: 7132–7141.

    Book  Google Scholar 

  40. WANG J. Proposed new requirements for testing and reporting performance results of arrhythmia detection algorithms [J]. Journal of Electrocardiology, 2014, 47(6): 909.

    Article  Google Scholar 

  41. SHWARTZ-ZIV R, TISHBY N. Opening the black box of deep neural networks via information [EB/OL]. (2017-04-29). https://arxiv.org/abs/1703.00810.

    Google Scholar 

  42. TISHBY N, ZASLAVSKY N. Deep learning and the information bottleneck principle [J]. 2015 IEEE Information Theory Workshop (ITW). Jerusalem, Israel: IEEE, 2015: 1–5.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dahong Qian  (钱大宏).

Additional information

Foundation item: the Key Research and Development Project of Zhejiang Province, China (No. 2017C03029)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Tung, H., Zheng, C., Mao, X. et al. Multi-Lead ECG Classification via an Information-Based Attention Convolutional Neural Network. J. Shanghai Jiaotong Univ. (Sci.) 27, 55–69 (2022). https://doi.org/10.1007/s12204-021-2371-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12204-021-2371-8

Key words

CLC number

Document code

Navigation