Related Experiment Videos
Integration of Machine Learning Techniques in ECG-Based Multiclass Arrhythmia Classification with Explainability
Abdullah1,2, Zulaikha Fatima3, Abdollah Abadian1
1Center for Computing Research, Instituto Politecnico Nacional (IPN), Mexico City 07320, Mexico.
None:
Electrocardiogram (ECG) analysis is a cornerstone non-invasive diagnostic technique for detecting cardiac arrhythmias, which remain a leading cause of mortality worldwide. While recent advances in deep learning have significantly improved automated arrhythmia classification, the current literature lacks systematic, fair comparisons of fundamental neural architectures under unified experimental conditions, and very few studies provide model interpretability. This study addresses these gaps by first providing a rigorous comparative analysis of three representative architectures-Artificial Neural Network (ANN), Convolutional Neural Network (CNN), and Residual Network (ResNet)-on the MIT-BIH Arrhythmia Database under identical preprocessing, training, and evaluation protocols. We then propose an efficient Fine-Tuned CNN (FT-CNN) optimized for ECG signal characteristics through adaptive kernel sizing for P-QRS-T morphological extraction, multi-faceted regularization including L2, dropout, and batch normalization, cosine annealing learning rate, and a custom loss function combining weighted categorical cross-entropy with focal loss with gamma equal to 2.0 to address severe class imbalance. The FT-CNN achieves an accuracy of 98.51%, outperforming fourteen benchmark models, including standard CNN with an accuracy of 97.20%, ResNet with 96.88%, LSTM with 96.50%, GRU with 96.30%, and traditional classifiers. Comprehensive ablation studies confirm an improvement of 6.17% over the baseline. Class-wise analysis reveals excellent performance for normal beats with an F1-score of 0.99, ventricular ectopic beats with 0.95, and unknown beats with 0.98, while supraventricular ectopic beats with an F1-score of 0.79 and fusion beats with 0.70 remain challenging. Unlike most prior works, we integrate Grad-CAM and Integrated Gradients for explainability, quantitatively evaluating attribution faithfulness, sanity checks, and noise robustness.
Related Concept Videos
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias
Instrumentation Amplifier
To overcome this challenge, an ECG machine utilizes an instrumentation amplifier. This specialized amplifier is...
Dysrhythmias V: Evaluating Dysrhythmias
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
Mechanism of Cardiac 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...