Related Experiment Video
Updated: Jul 7, 2026

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
ECG arrhythmia classification via wavelet-driven feature extraction and swarm-optimised gradient boosting
S Umarani1, V Kavitha2, M S S Sasikumar3
1Erode Sengunthar Engineering College, Erode, Tamil Nadu, India.
Insights
This study introduces an efficient framework for detecting heart arrhythmia using Electrocardiogram (ECG) signals. The Artificial Bee Colony-optimized eXtreme Gradient Boosting Machine (ABC-XGBM) model achieves high accuracy in classifying ECG beats.
Area of Science:
- Biomedical Engineering
- Artificial Intelligence in Medicine
- Signal Processing
Background:
- Cardiovascular diseases are a leading cause of global mortality.
- Accurate and efficient detection of arrhythmia from Electrocardiogram (ECG) signals is critical.
- Existing methods face challenges with class imbalance in ECG datasets.
Purpose of the Study:
- To develop a lightweight and computationally efficient framework for ECG beat analysis.
- To improve the accuracy and efficiency of arrhythmia detection.
- To address the challenge of severe class imbalance in the MIT-BIH Arrhythmia Database.
Main Methods:
- Utilized Discrete Wavelet Transform (DWT) for feature extraction.
- Combined DWT-based statistical features with ECG morphological descriptors.
- Employed Artificial Bee Colony (ABC) algorithm to optimize eXtreme Gradient Boosting Machine (XGBM) hyperparameters.
- Pre-processed ECG signals using a seven-stage algorithm including filtering and R-peak detection.
Main Results:
- The proposed ABC-XGBM model achieved 95.14% classification accuracy and a macro F1-score of 0.948.
- Discrete Wavelet Transform (DWT) improved accuracy by +3.7%, and ABC optimization by +1.14%.
- Demonstrated stable performance with a mean accuracy of 0.952 ± 0.001 via five-fold cross-validation.
- Outperformed deep learning models like CardioAttentionNet (91.20%) and transformer-based classifiers (90.50%).
Conclusions:
- The proposed framework offers a precise and efficient solution for ECG beat analysis and arrhythmia detection.
- The integration of DWT features and ABC-optimized XGBM effectively handles class imbalance.
- The computationally efficient design makes it suitable for real-time applications without GPU dependency.
Abstract:
Cardiovascular diseases have been the primary contributor to deaths worldwide, and hence, the need to detect arrhythmia from Electrocardiogram signals in a precise and efficient manner is a critical problem in the medical community. This work presents a lightweight and computationally efficient framework that integrates Discrete Wavelet Transform (DWT)-based statistical features, ECG morphological descriptors, and Artificial Bee Colony (ABC)-optimized eXtreme Gradient Boosting Machine (XGBM) classification for ECG beat analysis. This work has been implemented using the popular MIT-BIH Arrhythmia Database, which has 100,674 instances of ECG beats, divided into five AAMI classes, with a severe level of class imbalance, where 89.4% instances belong to the Normal class. ECG signals have been pre-processed using a seven-stage algorithm, including Butterworth high-pass filtering, notch filtering, Pan-Tompkins R-peak detection, beat segmentation, and normalisation. Then, a three-level Haar transform is implemented, and 32 statistical features have been extracted from the DWT decomposition, along with 32 morphological features, forming a 64-dimensional vector. The proposed ABC algorithm with 8 bees and 8 iterations optimizes the six XGBM model hyperparameters using a balanced fitness function of accuracy and macro F1-score and converges at the optimal fitness value of 0.8211. The proposed ABC-XGBM model has a classification accuracy of 95.14%, a macro F1-score of 0.948, a macro AUC of 0.983, Matthews Correlation Coefficient of 0.925, and G-Mean of 0.932 with class-wise AUC values > 0.94. An ablation study has shown that the proposed DWT adds +3.7% and the proposed ABC optimization adds +1.14% in accuracy improvement. Five-fold cross-validation has shown a stable performance with a mean accuracy of 0.952 ± 0.001 at a time complexity of 1.0 ms per sample without the dependency of the GPU. The proposed framework is better than the other deep learning models such as CardioAttentionNet with a classification accuracy of 91.20% and the proposed transformer-based classifier with a classification accuracy of 90.50%.
Related Concept Videos
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
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, and...
Dysrhythmias III: Characteristics of Dysrhythmias
Dysrhythmias II: Classification of Tachyarrhythmias
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 to...