Related Experiment Video
Updated: Jan 1, 2026

Semi-automated Optical Heartbeat Analysis of Small Hearts
Published on: September 16, 2009
An Improved Convolutional Neural Network Based Approach for Automated Heartbeat Classification
Haoren Wang1, Haotian Shi1, Xiaojun Chen1
1School of Mechanical Engineering, Shanghai Jiao Tong University, 800 Dongchuan Road, Shanghai, 200240, People's Republic of China.
Insights
This study introduces an improved convolutional neural network (CNN) for automatic arrhythmia detection from electrocardiogram (ECG) signals. The model achieves high accuracy, offering a valuable tool for diagnosing heart conditions.
Area of Science:
- Cardiology
- Biomedical Engineering
- Artificial Intelligence
Background:
- Cardiovascular diseases are linked to aging blood vessels, impacting heart function.
- Electrocardiogram (ECG) is crucial for diagnosing heart disease by recording cardiac electrical activity.
- Arrhythmia detection is complex, necessitating advanced diagnostic tools.
Purpose of the Study:
- To develop an improved convolutional neural network (CNN) model for accurate automatic classification of heartbeats in arrhythmia detection.
- To leverage CNN's automatic feature extraction capabilities for enhanced ECG analysis.
- To validate the proposed CNN model's performance against established standards and databases.
Main Methods:
- Segmentation of individual heartbeats from original ECG signals.
- Implementation of a CNN with convolutional layers utilizing kernels of different sizes for multi-scale feature extraction.
- Application of max-pooling and fully-connected layers for classification.
- Experimentation adhering to the AAMI inter-patient standard, classifying normal (N), supraventricular ectopic (S), ventricular ectopic (V), fusion (F), and unknown (Q) beats.
- Validation using the MIT arrhythmia database.
Main Results:
- The proposed improved CNN model automatically classifies different types of arrhythmia with high accuracy.
- Achieved an accuracy of 99.06% in arrhythmia detection.
- Demonstrated superior performance compared to traditional machine learning methods by eliminating manual feature extraction.
Conclusions:
- The developed improved CNN model is effective for automatic arrhythmia detection from ECG.
- The model's ability to process features at different scales contributes to its high accuracy.
- This CNN model shows potential as a clinical tool for automated diagnosis of cardiac arrhythmias.
Abstract:
With age, our blood vessels are prone to aging, which induces cardiovascular disease. As an important basis for diagnosing heart disease and evaluating heart function, the electrocardiogram (ECG) records cardiac physiological electrical activity. Abnormalities in cardiac physiological activity are directly reflected in the ECG. Thus, ECG research is conducive to heart disease diagnosis. Considering the complexity of arrhythmia detection, we present an improved convolutional neural network (CNN) model for accurate classification. Compared with the traditional machine learning methods, CNN requires no additional feature extraction steps due to the automatic feature processing layers. In this paper, an improved CNN is proposed to automatically classify the heartbeat of arrhythmia. Firstly, all the heartbeats are divided from the original signals. After segmentation, the ECG heartbeats can be inputted into the first convolutional layers. In the proposed structure, kernels with different sizes are used in each convolution layer, which takes full advantage of the features in different scales. Then a max-pooling layer followed. The outputs of the last pooling layer are merged and as the input to fully-connected layers. Our experiment is in accordance with the AAMI inter-patient standard, which included normal beats (N), supraventricular ectopic beats (S), ventricular ectopic beats (V), fusion beats (F), and unknown beats (Q). For verification, the MIT arrhythmia database is introduced to confirm the accuracy of the proposed method, then, comparative experiments are conducted. The experiment demonstrates that our proposed method has high performance for arrhythmia detection, the accuracy is 99.06%. When properly trained, the proposed improved CNN model can be employed as a tool to automatically detect different kinds of arrhythmia from ECG.

