[Paper Review] Atrial Fibrillation Detection and ECG Classification based on CNN-BiLSTM
This paper proposes a CNN-BiLSTM cascade model for automated ECG classification to detect atrial fibrillation (aFib) among normal and other arrhythmia types. By extracting temporal features via 1D-CNN followed by bidirectional LSTM, the model achieves a weighted F1 score of 0.82, outperforming both standalone BiLSTM and CNN-only models, demonstrating superior performance on the MIT-BIH Arrhythmia dataset with high specificity (0.978).
It is challenging to visually detect heart disease from the electrocardiographic (ECG) signals. Implementing an automated ECG signal detection system can help diagnosis arrhythmia in order to improve the accuracy of diagnosis. In this paper, we proposed, implemented, and compared an automated system using two different frameworks of the combination of convolutional neural network (CNN) and long-short term memory (LSTM) for classifying normal sinus signals, atrial fibrillation, and other noisy signals. The dataset we used is from the MIT-BIT Arrhythmia Physionet. Our approach demonstrated that the cascade of two deep learning network has higher performance than the concatenation of them, achieving a weighted f1 score of 0.82. The experimental results have successfully validated that the cascade of CNN and LSTM can achieve satisfactory performance on discriminating ECG signals.
Motivation & Objective
- To develop an automated deep learning system for classifying ECG signals into normal, atrial fibrillation (aFib), and other arrhythmia types.
- To overcome limitations of handcrafted features and traditional signal processing by leveraging end-to-end deep learning for ECG classification.
- To compare different fusion architectures of CNN and BiLSTM (cascade vs. concatenation) for optimal performance in arrhythmia detection.
- To improve diagnostic accuracy and specificity for clinical relevance, especially in detecting aFib from noisy or variable ECG signals.
- To explore the feasibility of using sequence-to-sequence generation for synthetic ECG signal creation in future work.
Proposed method
- The model uses a 1D-CNN to extract spatial and local temporal features from fixed-length ECG segments (4 R-R intervals) centered on R-peaks.
- The CNN outputs are fed into a bidirectional Long Short-Term Memory (BiLSTM) network to model long-range dependencies and capture sequential dynamics in ECG signals.
- The cascade architecture (CNN followed by BiLSTM) is compared with a concatenation-based fusion (CNN + BiLSTM) to evaluate feature integration strategies.
- A fully connected layer with softmax activation is used for multi-class classification (normal, aFib, other arrhythmias).
- The model is trained using Adam optimizer with a batch size of 2048 and a base learning rate of 0.001 over 50 epochs, with 70% training and 30% validation split.
- Performance is evaluated using F1 score and specificity to address class imbalance, with confusion matrices used to analyze misclassification patterns.
Experimental results
Research questions
- RQ1Does a cascade architecture of CNN and BiLSTM outperform a concatenation-based fusion or standalone BiLSTM in classifying ECG signals?
- RQ2Can end-to-end deep learning models achieve cardiologist-level performance in detecting atrial fibrillation from raw ECG signals without handcrafted features?
- RQ3How does the model perform on the 'other' arrhythmia class, which includes diverse and variable rhythms?
- RQ4What is the impact of data preprocessing and segmentation (based on R-peak alignment) on model generalization and performance?
- RQ5Can the proposed model generalize across individual patient variability and maintain high specificity in clinical diagnosis?
Key findings
- The CNN-BiLSTM cascade model (Scheme B) achieved the highest F1 score of 0.82, significantly outperforming both the standalone BiLSTM and the CNN-concat-BiLSTM model.
- The specificity of the best-performing model (Scheme B) reached 0.978, indicating strong true negative classification, crucial for clinical reliability.
- The model showed superior performance compared to prior methods based on handcrafted features or CNN-only models, which achieved only up to 70% F1 score.
- The 'normal' class was most accurately classified due to consistent morphological patterns across samples, while the 'other' class had the highest misclassification rate due to inter-class variability.
- The confusion matrices revealed that Scheme B had better discrimination between normal and aFib signals than Scheme A, confirming the effectiveness of the cascade design.
- The model demonstrated robustness in feature learning from raw ECG signals, reducing reliance on manual feature engineering and improving transferability and accuracy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.