Related Experiment Videos
ABMA: An Attention-Based Morphology-Aware Framework for Automated 12-Lead ECG Arrhythmia Classification
Manjur Kolhar1, Raisa Nazir Ahmed Kazi2
1Department of Health Information Management and Technology, College of Applied Medical Sciences, King Faisal University, Al-Ahsa 31982, Saudi Arabia.
Insights
This study introduces an Attention-Based Morphology-Aware (ABMA) framework for improved electrocardiogram (ECG) analysis, achieving high accuracy in classifying heart arrhythmias like atrial fibrillation (AFIB) and ventricular tachycardia (VT). The ABMA framework enhances diagnostic capabilities for cardiovascular diseases (CVDs).
Area of Science:
- Cardiology and Medical Informatics
- Artificial Intelligence in Healthcare
- Signal Processing and Machine Learning
Background:
- Cardiovascular diseases (CVDs) are a leading global cause of death, necessitating timely diagnosis through methods like electrocardiograms (ECG).
- Manual ECG analysis is time-consuming and requires expertise due to the complexity and overlap of arrhythmia waveforms.
- Existing deep learning (DL) methods often lack attention to the morphology-sensitive temporal structure crucial for accurate arrhythmia diagnosis.
Purpose of the Study:
- To propose an Attention-Based Morphology-Aware (ABMA) framework for enhanced analysis of multilead ECG signals.
- To leverage a hybrid deep learning architecture combining convolutional neural networks (CNNs) and bidirectional long short-term memory (BiLSTM) networks.
- To develop a morphology scoring network (MSN) within the ABMA module to learn both segment and temporal importance for ECG features.
Main Methods:
- Developed a hybrid deep learning architecture integrating multi-scale CNNs for local morphology feature extraction and BiLSTM for temporal rhythm modeling.
- Designed an ABMA module with a morphology scoring network (MSN) to estimate morphology-aware segment importance and temporal feature importance.
- Conducted an extensive ablation study to evaluate the contribution of each component, including the handcrafted feature branch, ABMA module, MSN, and multi-head attention.
Main Results:
- The ABMA framework achieved a mean accuracy of 95.18% ± 1.18% and a weighted F1-score of 95.19% ± 1.18% in classifying sinus rhythm (SA), atrial fibrillation (AFIB), and ventricular tachycardia (VT).
- The complete ABMA framework significantly outperformed the baseline CNN-BiLSTM architecture and all reduced variants in classification performance (p < 0.001).
- Ablation studies confirmed that each architectural component positively contributed to the overall classification accuracy.
Conclusions:
- The proposed ABMA framework demonstrates superior performance in ECG-based arrhythmia classification compared to baseline models.
- The framework effectively utilizes morphology-aware attention mechanisms to focus on critical ECG signal segments.
- While promising, the ABMA framework requires further validation on independent external and prospective clinical datasets to establish generalizability and clinical utility.
Abstract:
Background: Cardiovascular diseases (CVDs) are among the leading causes of death globally. In order to treat CVDs successfully in the early stages, it is crucial to diagnose them in time. The ECG is one of the most common and non-invasive methods to detect heart rhythms and to diagnose arrhythmias. However, the analysis of ECG recordings manually requires a lot of time and experience because the morphology of ECG signals and the characteristics of their waveforms are very complex and show large overlaps between different types of arrhythmias. So far, various approaches for automated analysis of ECG signals have been developed, mostly based on deep learning (DL). In general, these methods are able to analyze ECG signals automatically and to detect different types of arrhythmias. Most approaches, however, are based on a purely data-driven feature learning and do not pay attention to the morphology-sensitive temporal structure of ECG signals, which is important for a discriminative diagnosis of arrhythmias. Methods: In this paper, we propose an Attention-Based Morphology-Aware (ABMA) framework to leverage multilead ECG signals in conjunction with automatically computed physiological features using a hybrid deep learning architecture. ABMA leverages multi-scale convolutional neural networks to learn local morphology features, and bidirectional long short-term memory (BiLSTM) networks to model temporal rhythms in ECG signals. We designed an ABMA module that incorporates a morphology scoring network (MSN) in order to (1) estimate the morphology-aware importance of different ECG segments and (2) learn the temporal importance of ECG features. The learned attention weights enable learning to focus on key sections of ECG signals without predefined boundaries or manual annotation of fiducial points. To understand the contribution of each individual component of the framework, we performed an extensive ablation study, where we removed the handcrafted feature branch, the ABMA module, the MSN, and the multi-head attention mechanism, one at a time, and compared the results against a fixed set of experimental configurations. Results: To assess the performance of the proposed framework in three-class classification between sinus rhythm (SA), atrial fibrillation (AFIB), and ventricular tachycardia (VT), we employed a stratified 10-fold cross-validation protocol. Our approach achieved a mean accuracy of 95.18 ± 1.18%, followed by a corresponding weighted F1-score of 95.19 ± 1.18% and a macro F1-score of 94.66 ± 1.35%. Notably, the performance of the proposed complete ABMA framework considerably outperformed the baseline CNN-BiLSTM architecture. Furthermore, in the primary evaluation metrics (i.e., accuracy, F1-score), the complete framework showed statistically significant improvements against the baseline through paired two-sided t-tests (p < 0.001). The ablation study indicated that each architectural component contributed positively to the overall classification performance, with the complete ABMA framework outperforming all reduced variants. Conclusions: The framework was evaluated by stratified cross-validation on a publicly available dataset. Our framework outperformed the baseline CNN-BiLSTM model as well as the respective ablation models in terms of classification performance. The findings from the current study are based on a retrospective analysis and therefore future studies using an independent external dataset, from multiple centers, or as part of a prospective clinical study are necessary in order to establish the generalizability and clinical utility of the proposed framework. The ABMA framework is currently viewed as a very promising research framework for intelligent ECG analysis, but it is not yet a clinically validated diagnostic tool.
Related Concept Videos
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...
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...
Disturbances in Heart Rhythm
Arrhythmias are categorized by their speed, rhythm, and origin. A slow heart...
Mechanism of Cardiac Arrhythmias
Dysrhythmias V: Evaluating Dysrhythmias