Related Experiment Video
Updated: Jan 9, 2026

High-Resolution Endocardial and Epicardial Optical Mapping in a Sheep Model of Stretch-Induced Atrial Fibrillation
Published on: July 29, 2011
SViT-ECG: Spectrogram Vision Transformer for Detection of Short-Term Atrial Fibrillation from ECG Signals
Insights
This study introduces a new deep learning method using transformer models to detect atrial fibrillation (AF) episodes in ECG signals. The SViT-ECG model shows high accuracy for early AF diagnosis, potentially improving patient outcomes.
Area of Science:
- Cardiology
- Artificial Intelligence
- Signal Processing
Background:
- Atrial fibrillation (AF) is a common arrhythmia with serious complications like stroke and heart failure.
- Early and accurate diagnosis of AF is crucial for timely intervention and risk reduction.
Purpose of the Study:
- To develop a novel deep learning approach for detecting short atrial fibrillation episodes in ECG signals.
- To evaluate the performance of a transformer-based model for AF detection.
Main Methods:
- ECG segments were converted into spectrograms.
- A fine-tuned Vision Transformer model (SViT-ECG) was utilized for classification.
- The model underwent 5-fold cross-validation and validation on an unseen dataset.
Main Results:
- The SViT-ECG model achieved 98.14% accuracy and 95.81% F1-score during cross-validation.
- On an unseen dataset, the model obtained 95.97% accuracy and 91.14% F1-score.
- The proposed method demonstrates high efficacy in identifying AF episodes.
Conclusions:
- The SViT-ECG model shows significant potential for real-time atrial fibrillation detection.
- This deep learning approach represents an advancement over existing state-of-the-art algorithms.
- The findings support the clinical utility of AI in improving AF diagnosis and management.
Abstract:
Atrial fibrillation (AF) is a prevalent cardiac arrhythmia that can cause severe complications, such as stroke and heart failure, highlighting the critical importance of early and precise diagnosis. Timely detection and intervention are essential, as they can markedly reduce the risk of these adverse outcomes. This study proposes a novel approach to detecting short episodes of AF in patients' electrocardiogram (ECG) signals using transformer-based deep learning techniques. Initially, the ECG segments were transformed into spectrograms, which served as input for the proposed fine-tuned Vision Transformer model (SViT-ECG). The model demonstrated impressive performance, with an average 5-fold cross-validation accuracy of 98.14% and an F1-score of 95.81%. When validated on an unseen ECG dataset, the SViT-ECG model achieved an accuracy of 95.97% and an F1-score of 91.14%. These promising results suggest that the proposed method could be effectively extended to real-time AF detection applications, offering a significant advancement over current state-of-the-art algorithms.
More Related Videos
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
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...

