Related Experiment Video
Updated: Sep 21, 2025

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
Classification of cardiac arrhythmia using a convolutional neural network and bi-directional long short-term memory
Shahab Ul Hassan1, Mohd S Mohd Zahid1, Talal Aa Abdullah1
1Department of Computer and Information Sciences, Universiti Teknologi PETRONAS, Malaysia.
Insights
This study introduces a deep learning model for accurate cardiac arrhythmia classification using electrocardiogram signals. The novel approach enhances early diagnosis, potentially reducing stroke risks.
Area of Science:
- Cardiology
- Artificial Intelligence
- Signal Processing
Background:
- Cardiac arrhythmia poses a significant global health risk, contributing to cardiovascular disease and high fatality rates.
- Early and accurate diagnosis of arrhythmias, characterized by irregular heart rates, is crucial for preventing strokes.
- Manual interpretation of electrocardiogram (ECG) signals for arrhythmia detection is time-consuming and prone to errors.
Purpose of the Study:
- To propose a novel deep learning model for the automatic classification of cardiac arrhythmias.
- To enhance the accuracy and efficiency of arrhythmia diagnosis compared to manual methods.
- To evaluate the model's performance across different arrhythmia classes and datasets.
Main Methods:
- Development of a hybrid deep learning model integrating Convolutional Neural Network (CNN) and Bi-directional Long Short-Term Memory (BiLSTM).
- Classification of five beat types: non-ectopic (N), supraventricular ectopic (S), ventricular ectopic (V), fusion (F), and unknown (Q).
- Training, validation, and testing of the model using the MIT-BIH and St. Petersburg arrhythmia databases.
Main Results:
- The proposed model achieved high performance on the MIT-BIH dataset, with training, validation, and testing accuracies of 100%, 98%, and 98%, respectively.
- The model demonstrated strong performance in classifying various arrhythmia types, measured by precision, accuracy, recall, specificity, and F1-score.
- Performance on the St. Petersburg dataset was lower than on the MIT-BIH dataset, indicating potential dataset-specific variations.
Conclusions:
- The novel deep learning model shows significant promise for accurate and automated cardiac arrhythmia classification.
- This approach offers a more efficient and reliable alternative to manual ECG interpretation for arrhythmia diagnosis.
- Further validation on diverse datasets is recommended to confirm generalizability and clinical applicability.
Abstract:
Cardiac arrhythmia is a leading cause of cardiovascular disease, with a high fatality rate worldwide. The timely diagnosis of cardiac arrhythmias, determined by irregular and fast heart rate, may help lower the risk of strokes. Electrocardiogram signals have been widely used to identify arrhythmias due to their non-invasive approach. However, the manual process is error-prone and time-consuming. A better alternative is to utilize deep learning models for early automatic identification of cardiac arrhythmia, thereby enhancing diagnosis and treatment. In this article, a novel deep learning model, combining convolutional neural network and bi-directional long short-term memory, is proposed for arrhythmia classification. Specifically, the classification comprises five different classes: non-ectopic (N), supraventricular ectopic (S), ventricular ectopic (V), fusion (F), and unknown (Q) beats. The proposed model is trained, validated, and tested using MIT-BIH and St-Petersburg data sets separately. Also, the performance was measured in terms of precision, accuracy, recall, specificity, and f1-score. The results show that the proposed model achieves training, validation, and testing accuracies of 100%, 98%, and 98%, respectively with the MIT-BIH data set. Lower accuracies were shown for the St-Petersburg data set. The performance of the proposed model based on the MIT-BIH data set is also compared with the performance of existing models based on the MIT-BIH data set.
Related Concept Videos
Dysrhythmias II: Classification of Tachyarrhythmias
Mechanism of Cardiac Arrhythmias
Disturbances in Heart Rhythm
Arrhythmias are categorized by their speed, rhythm, and origin. A slow heart...
Cardiomyopathy I: Introduction and Classification
ECG Interpretation of Arrhythmias I: Sinus Arrhythmias
Types of Arrhythmias
Sinus Node Arrhythmias
Sinus Bradycardia: Originating from the sinoatrial (SA) node, sinus bradycardia involves slower impulses, resulting in a heart rate of less than 60 beats per minute (bpm). Causes include sleep, vagal stimulation, beta-blockers, hypothyroidism,...
Dysrhythmias I: Introduction
