[Paper Review] Detection of Paroxysmal Atrial Fibrillation using Attention-based Bidirectional Recurrent Neural Networks
This paper proposes an attention-based bidirectional recurrent neural network (BRNN) combined with convolutional neural networks (CNNs) to detect paroxysmal atrial fibrillation (AF) from 30-second ECG windows over 10-minute segments. The model achieves an AUC of 0.94 on a Holter ECG dataset of 2,850 patients and demonstrates cross-modality transfer learning by adapting to photoplethysmogram (PPG) signals with improved performance, enabling accurate, low-false-alarm AF detection in long-term wearable monitoring.
Detection of atrial fibrillation (AF), a type of cardiac arrhythmia, is difficult since many cases of AF are usually clinically silent and undiagnosed. In particular paroxysmal AF is a form of AF that occurs occasionally, and has a higher probability of being undetected. In this work, we present an attention based deep learning framework for detection of paroxysmal AF episodes from a sequence of windows. Time-frequency representation of 30 seconds recording windows, over a 10 minute data segment, are fed sequentially into a deep convolutional neural network for image-based feature extraction, which are then presented to a bidirectional recurrent neural network with an attention layer for AF detection. To demonstrate the effectiveness of the proposed framework for transient AF detection, we use a database of 24 hour Holter Electrocardiogram (ECG) recordings acquired from 2850 patients at the University of Virginia heart station. The algorithm achieves an AUC of 0.94 on the testing set, which exceeds the performance of baseline models. We also demonstrate the cross-domain generalizablity of the approach by adapting the learned model parameters from one recording modality (ECG) to another (photoplethysmogram) with improved AF detection performance. The proposed high accuracy, low false alarm algorithm for detecting paroxysmal AF has potential applications in long-term monitoring using wearable sensors.
Motivation & Objective
- To improve detection of paroxysmal atrial fibrillation (AF) in long-term ECG recordings by leveraging deep learning that accounts for intermittent, transient AF episodes.
- To reduce false alarms in AF detection by using a soft attention mechanism that prioritizes high-probability AF windows within a 10-minute segment.
- To evaluate the feasibility of transfer learning by adapting a model trained on ECG data to detect AF in low-SNR photoplethysmogram (PPG) signals from wearable devices.
- To develop a clinically interpretable framework that supports active learning and expert refinement of labels using attention-based saliency visualization.
Proposed method
- Time-frequency representations of 30-second ECG windows are generated using wavelet analysis to create spectrogram-like inputs.
- A convolutional neural network (CNN) processes these spectrograms to extract discriminative image-based features from the time-frequency domain.
- The extracted features are fed into a bidirectional recurrent neural network (BRNN) to model temporal dependencies across sequential 30-second windows within a 10-minute ECG segment.
- A soft attention mechanism is applied on top of the BRNN to dynamically weight informative windows, emphasizing segments with higher likelihood of AF while suppressing noise and non-AF rhythms.
- The model is trained end-to-end on a large Holter ECG dataset from 2,850 patients at the University of Virginia Heart Station.
- Transfer learning is performed by fine-tuning the ECG-trained model on a smaller PPG dataset from a smartwatch device, leveraging learned features across modalities.
Experimental results
Research questions
- RQ1Can a deep learning framework that combines CNNs and BRNNs with attention mechanisms improve detection of paroxysmal AF compared to standard models?
- RQ2Does the soft attention mechanism enhance performance by focusing on transient, high-probability AF windows in long, noisy ECG recordings?
- RQ3To what extent can a model trained on ECG data be effectively transferred to detect AF in low-signal-to-noise PPG recordings from wearable sensors?
- RQ4How does the model’s performance vary with different AF burden thresholds, and what does this imply for clinical labeling and evaluation?
Key findings
- The proposed model achieved an area under the receiver operating characteristic curve (AUC) of 0.94 on the Holter ECG testing set, outperforming baseline models.
- The attention mechanism enabled the model to identify and prioritize short, high-probability AF episodes within longer, mostly normal ECG segments, reducing false alarms.
- Transfer learning from ECG to PPG data improved AF detection performance on the PPG dataset, demonstrating cross-modality generalizability.
- The model’s attention weights provided a quantifiable measure of AF burden over the 10-minute window, supporting clinical interpretation of arrhythmia burden.
- Re-labeling the dataset based on AF burden thresholds significantly affected performance, with AUC increasing to 0.97 when considering segments with 75% or more AF burden.
- The framework supports active learning by visualizing attention weights, enabling expert clinicians to refine labels and improve model accuracy iteratively.
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.