Related Experiment Video
Updated: Feb 23, 2026

Semi-automated Optical Heartbeat Analysis of Small Hearts
Published on: September 16, 2009
A deep convolutional neural network model to classify heartbeats
U Rajendra Acharya1, Shu Lih Oh2, Yuki Hagiwara2
1Department of Electronics and Computer Engineering, Ngee Ann Polytechnic, Singapore; Department of Biomedical Engineering, School of Science and Technology, Singapore University of Social Sciences, Singapore; Department of Biomedical Engineering, Faculty of Engineering, University of Malaya, Malaysia.
Insights
A deep convolutional neural network (CNN) accurately classifies five types of heartbeats from electrocardiogram (ECG) signals. This AI tool aids in diagnosing arrhythmia by identifying abnormal heart rhythms, even with noisy data.
Area of Science:
- Cardiology
- Artificial Intelligence
- Signal Processing
Background:
- Electrocardiogram (ECG) is crucial for monitoring heart activity and diagnosing cardiac abnormalities like arrhythmia.
- Arrhythmia diagnosis relies on classifying individual heartbeats based on ECG morphology, a process complicated by signal noise.
- Heartbeats are categorized into five types: non-ectopic, supraventricular ectopic, ventricular ectopic, fusion, and unknown.
Purpose of the Study:
- To develop and evaluate a deep convolutional neural network (CNN) for automatic identification and classification of five distinct heartbeat categories in ECG signals.
- To assess the CNN's performance on both original and noise-attenuated ECG datasets.
Main Methods:
- A 9-layer deep convolutional neural network (CNN) was designed for heartbeat classification.
- ECG data from a public database was used, with artificial augmentation to balance the 5 heartbeat classes and filtering to reduce high-frequency noise.
- The CNN was trained on augmented data and evaluated on both noisy and noise-free ECG signals.
Main Results:
- The CNN achieved high accuracy in classifying heartbeats: 94.03% on original ECGs and 93.47% on noise-free ECGs when trained with balanced, augmented data.
- Training with imbalanced data resulted in lower accuracy (89.07% on noisy, 89.3% on noise-free ECGs).
Conclusions:
- A properly trained CNN model demonstrates significant potential as an effective tool for ECG screening.
- The model can rapidly identify various types and frequencies of arrhythmic heartbeats, aiding clinical diagnosis.
Abstract:
The electrocardiogram (ECG) is a standard test used to monitor the activity of the heart. Many cardiac abnormalities will be manifested in the ECG including arrhythmia which is a general term that refers to an abnormal heart rhythm. The basis of arrhythmia diagnosis is the identification of normal versus abnormal individual heart beats, and their correct classification into different diagnoses, based on ECG morphology. Heartbeats can be sub-divided into five categories namely non-ectopic, supraventricular ectopic, ventricular ectopic, fusion, and unknown beats. It is challenging and time-consuming to distinguish these heartbeats on ECG as these signals are typically corrupted by noise. We developed a 9-layer deep convolutional neural network (CNN) to automatically identify 5 different categories of heartbeats in ECG signals. Our experiment was conducted in original and noise attenuated sets of ECG signals derived from a publicly available database. This set was artificially augmented to even out the number of instances the 5 classes of heartbeats and filtered to remove high-frequency noise. The CNN was trained using the augmented data and achieved an accuracy of 94.03% and 93.47% in the diagnostic classification of heartbeats in original and noise free ECGs, respectively. When the CNN was trained with highly imbalanced data (original dataset), the accuracy of the CNN reduced to 89.07%% and 89.3% in noisy and noise-free ECGs. When properly trained, the proposed CNN model can serve as a tool for screening of ECG to quickly identify different types and frequency of arrhythmic heartbeats.
Related Concept Videos
Neural Regulation of Blood Pressure
Baroreceptor Reflex
Baroreceptors, located in the carotid sinuses and aortic arch, detect changes in blood pressure. When blood pressure rises, these stretch-sensitive receptors...
Special considerations while measuring pulse