Related Experiment Video
Updated: Aug 3, 2025

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
A self-adjusting ant colony clustering algorithm for ECG arrhythmia classification based on a correction mechanism
Ning Li1, Linyue Liu2, Zhengqiang Yang2
1Xi'an University of Technology, Xi'an, China.
Background And Objective:
As a representative type of cardiovascular disease, persistent arrhythmias can often become life-threatening. In recent years, machine learning-based ECG arrhythmia classification aided methods have been effective in assisting physicians with their diagnosis, but these methods have problems such as complex model structures, poor feature perception ability, and low classification accuracy.
Methods:
In this paper, a self-adjusting ant colony clustering algorithm for ECG arrhythmia classification based on a correction mechanism is proposed. This method does not distinguish between subjects when establishing the dataset in order to reduce the effect of differences in ECG signal features between individuals, thus improving the robustness of the model. When the classification is achieved, a correction mechanism is introduced to correct outliers caused by the accumulation of errors in the classification process in order to improve the classification accuracy of the model. According to the principle that the flow rate of gas can be increased under the convergence channel, a dynamically updated pheromone volatilization coefficient ρ, namely the increased flow rate ρ, is introduced to help the model converge more stably and faster. As the ants move, the next transfer target is selected by a truly self-adjusting transfer method, and the transfer probability is dynamically adjusted according to the pheromone concentration and the path distance.
Results:
Based on the MIT-BIH arrhythmia dataset, the new algorithm achieved classification of five heart rhythm types, with an overall accuracy of 99.00%. Compared to other experimental models, the classification accuracy of the proposed method represents a 0.2% to 16.6% improvement, and compared to other current studies, the classification accuracy of the proposed method is 0.65% to 7.5% better.
Conclusions:
This paper addresses the shortcomings of ECG arrhythmia classification methods based on feature engineering, traditional machine learning and deep learning, and presents a self-adjusting ant colony clustering algorithm for ECG arrhythmia classification based on a correction mechanism. Experiments demonstrate the superiority of the proposed method compared to basic models as well as those with improved partial structures. Furthermore, the proposed method achieves very high classification accuracy with a simple structure and fewer iterations than other current methods.
Related Concept Videos
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias
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...
Disturbances in Heart Rhythm
Arrhythmias are categorized by their speed, rhythm, and origin. A slow heart...
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,...
Instrumentation Amplifier
To overcome this challenge, an ECG machine utilizes an instrumentation amplifier. This specialized amplifier is...
Mechanism of Cardiac Arrhythmias

