An ECG Heartbeat Classification Method Based on Deep Convolutional Neural Network
Related Experiment Video
Updated: Oct 17, 2025

Author Spotlight: Advancing the Study of Brain-Heart Interplay with a Comprehensive EEGLAB Plugin for Multimodal Signal Analysis
Published on: April 26, 2024
Dengqing Zhang1, Yuxuan Chen2, Yunyi Chen2
1Department of Cardiology, Jinjiang Municipal Hospital, Fujian, Jinjiang 362200, China.
Insights
This study introduces a convolutional neural network (CNN) for classifying electrocardiogram (ECG) arrhythmias. The method achieves high accuracy in detecting supraventricular ectopic beats (SVEB) and ventricular ectopic beats (VEB), improving cardiovascular diagnosis.
Area of Science:
- Cardiology
- Medical Imaging
- Artificial Intelligence
Background:
- Electrocardiograms (ECG) are crucial for cardiovascular health assessment, but traditional diagnosis methods face challenges like delayed and misdiagnosis.
- Cardiovascular diseases benefit significantly from early detection, treatment, and recovery, highlighting the need for improved diagnostic accuracy.
- Accurate classification of ECG arrhythmias is essential for timely and effective cardiovascular disease management.
Purpose of the Study:
- To develop and evaluate a high-accuracy ECG arrhythmia classification method using convolutional neural networks (CNNs).
- To address the limitations of traditional diagnostic approaches by reducing misdiagnosis rates in heart conditions.
- To classify five types of ECG arrhythmias: nonectopic, supraventricular ectopic, ventricular ectopic, fusion, and unknown beats, according to the AAMI EC57 standard.
Main Methods:
- Utilized a convolutional neural network (CNN) architecture for the classification of ECG signals.
- Trained and evaluated the CNN model on the MIT-BIH arrhythmia database.
- Focused on classifying supraventricular ectopic beats (SVEB) and ventricular ectopic beats (VEB) within the broader arrhythmia classification.
Main Results:
- The proposed CNN method achieved 99.8% accuracy, 98.4% sensitivity, 99.9% specificity, and 98.5% positive prediction rate for ventricular ectopic beat (VEB) detection.
- For supraventricular ectopic beat (SVEB) detection, the method demonstrated 99.7% accuracy, 92.1% sensitivity, 99.9% specificity, and 96.8% positive prediction rate.
- The results indicate a highly accurate and effective classification of specific ECG arrhythmias.
Conclusions:
- The developed CNN-based method significantly enhances the accuracy of ECG arrhythmia classification.
- This approach offers a promising solution to reduce misdiagnosis rates in cardiovascular health assessment.
- The high performance in detecting VEB and SVEB supports its potential for clinical application in early disease detection.
Abstract:
The electrocardiogram (ECG) is one of the most powerful tools used in hospitals to analyze the cardiovascular status and check health, a standard for detecting and diagnosing abnormal heart rhythms. In recent years, cardiovascular health has attracted much attention. However, traditional doctors' consultations have disadvantages such as delayed diagnosis and high misdiagnosis rate, while cardiovascular diseases have the characteristics of early diagnosis, early treatment, and early recovery. Therefore, it is essential to reduce the misdiagnosis rate of heart disease. Our work is based on five different types of ECG arrhythmia classified according to the AAMI EC57 standard, namely, nonectopic, supraventricular ectopic, ventricular ectopic, fusion, and unknown beat. This paper proposed a high-accuracy ECG arrhythmia classification method based on convolutional neural network (CNN), which could accurately classify ECG signals. We evaluated the classification effect of this classification method on the supraventricular ectopic beat (SVEB) and ventricular ectopic beat (VEB) based on the MIT-BIH arrhythmia database. According to the results, the proposed method achieved 99.8% accuracy, 98.4% sensitivity, 99.9% specificity, and 98.5% positive prediction rate for detecting VEB. Detection of SVEB achieved 99.7% accuracy, 92.1% sensitivity, 99.9% specificity, and 96.8% positive prediction rate.
Related Concept Videos
ECG Interpretation of Rhythms
Components of the Electrocardiogram
The primary components of a normal ECG waveform in Normal sinus rhythm(NSR) include the P wave, PR interval, QRS complex, ST segment, T wave, and occasionally a U wave.
ECG waveforms are divided by vertical and horizontal lines at standard intervals.
The horizontal axis measures time and rate, and the vertical axis measures amplitude or voltage....
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
Electrophysiology of Normal Cardiac Rhythm
Dysrhythmias II: Classification of Tachyarrhythmias

