Related Experiment Video
Updated: Dec 23, 2025

Estimating Bilateral Atrial Function by Cardiovascular Magnetic Resonance Feature Tracking in Patients with Paroxysmal Atrial Fibrillation
Published on: July 20, 2022
A stacked LSTM for atrial fibrillation prediction based on multivariate ECGs
Le Sun1,2, Yukang Wang1,2, Jinyuan He3
11Engineering Research Center of Digital Forensics, Ministry of Education, Nanjing University of Information Science & Technology, Nanjing, China.
Insights
This study introduces SLAP, a novel recurrent neural network (RNN) using stacked LSTMs for predicting atrial fibrillation (AF) from ECGs. SLAP achieves 92% accuracy in AF prediction, outperforming existing methods.
Area of Science:
- Biomedical Engineering
- Cardiology
- Artificial Intelligence in Medicine
Background:
- Atrial fibrillation (AF) is a common arrhythmia increasing stroke and heart failure risk.
- Electrocardiography (ECG) is crucial for monitoring heart conditions.
- Accurate AF prediction from ECGs can improve patient outcomes.
Purpose of the Study:
- To develop and evaluate a novel model for predicting atrial fibrillation (AF) using ECG data.
- To address the gap in research focusing on AF prediction rather than just detection.
- To improve the accuracy and effectiveness of AF prediction systems.
Main Methods:
- Development of a recurrent neural network (RNN) named SLAP, utilizing stacked Long Short-Term Memory (LSTM) layers.
- Implementation of techniques to mitigate gradient explosion and vanishing gradient problems inherent in standard RNNs.
- Comprehensive experimental validation using two publicly available ECG datasets.
Main Results:
- The SLAP model achieved 92% accuracy in predicting atrial fibrillation.
- The model demonstrated a 92% f-score for AF prediction.
- Performance results surpassed those of existing state-of-the-art AF detection architectures, including standard RNN and LSTM models.
Conclusions:
- The developed SLAP model, based on stacked LSTMs, shows significant promise for accurate AF prediction.
- SLAP offers an effective approach to overcome limitations of traditional RNNs in learning complex temporal features.
- The high accuracy and f-score indicate SLAP's potential to enhance patient monitoring and management for AF.
Abstract:
Atrial fibrillation (AF) is an irregular and rapid heart rate that can increase the risk of various heart-related complications, such as the stroke and the heart failure. Electrocardiography (ECG) is widely used to monitor the health of heart disease patients. It can dramatically improve the health and the survival rate of heart disease patients by accurately predicting the AFs in an ECG. Most of the existing researches focus on the AF detection, but few of them explore the AF prediction. In this paper, we develop a recurrent neural network (RNN) composed of stacked LSTMs for AF prediction, which called SLAP. This model can effectively avoid the gradient explosion and gradient explosion of ordinary RNN and learn the features better. We conduct comprehensive experiments based on two public datasets. Our experiment results show 92% accuracy and 92% f-score of the AF prediction, which are better than the state-of-the-art AF detection architectures like the RNN and the LSTM.
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...
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...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Disturbances in Heart Rhythm
Arrhythmias are categorized by their speed, rhythm, and origin. A slow heart...
Dysrhythmias V: Evaluating Dysrhythmias

