Arrhythmia Classification from 12-Lead ECG Signals Using Convolutional and Transformer-Based Deep Learning Models
Authors:
Preprint
Abstract
In Romania, cardiovascular problems are the leading cause of death, accounting for nearly one-third of annual fatalities. The severity of this situation calls for innovative diagnosis method for cardiovascular diseases. This article aims to explore efficient, light-weight and rapid methods for arrhythmia diagnosis, in resource-constrained healthcare settings. Due to the lack of Romanian public medical data, we trained our systems using international public datasets, having in mind that the ECG signals are the same regardless the patients' nationality. Within this purpose, we combined multiple datasets, usually used in the field of arrhythmias classification: PTB-XL electrocardiography dataset , PTB Diagnostic ECG Database, China 12-Lead ECG Challenge Database, Georgia 12-Lead ECG Challenge Database, and St. Petersburg INCART 12-lead Arrhythmia Database. For the input data, we employed ECG signal processing methods, specifically a variant of the Pan-Tompkins algorithm, useful in arrhythmia classification because it provides a robust and efficient method for detecting QRS complexes in ECG signals. Additionally, we used machine learning techniques, widely used for the task of classification, including convolutional neural networks (1D CNNs, 2D CNNs, ResNet) and Vision Transformers (ViTs). The systems were evaluated in terms of accuracy and F1 score. We annalysed our dataset from two perspectives. First, we fed the systems with the ECG signals and the GRU-based 1D CNN model achieved the highest accuracy of 93.4% among all the tested architectures. Secondly, we transformed ECG signals into images and the CNN2D model achieved an accuracy of 92.16%.Keywords
All Related Versions
This publication has 25 references indexed in Scilit:
- Analysis of ECG-based arrhythmia detection system using machine learningMethodsX, 2023
- Transformers in medical imaging: A surveyMedical Image Analysis, 2023
- MedViT: A robust vision transformer for generalized medical image classificationComputers in Biology and Medicine, 2023
- Noise-reducing attention cross fusion learning transformer for histological image classification of osteosarcomaBiomedical Signal Processing and Control, 2022
- COVID-19 CT image recognition algorithm based on transformer and CNNDisplays, 2022
- Interpretable deep learning for automatic diagnosis of 12-lead electrocardiogramiScience, 2021
- Detection and Classification of Cardiac Arrhythmias by a Challenge-Best Deep Learning Neural Network ModeliScience, 2020
- Cardiac arrhythmia detection using deep learningProcedia Computer Science, 2017
- The P-wave morphology: what does it tell us?Herzschrittmachertherapie + Elektrophysiologie, 2015
- ST Segment and T Wave Abnormalities Not Caused by Acute Coronary SyndromesEmergency Medicine Clinics of North America, 2006