Related Experiment Video
Updated: Aug 27, 2025

Estimating Bilateral Atrial Function by Cardiovascular Magnetic Resonance Feature Tracking in Patients with Paroxysmal Atrial Fibrillation
Published on: July 20, 2022
Automated diagnosis of atrial fibrillation using ECG component-aware transformer
Min-Uk Yang1, Dae-In Lee2, Seung Park3
1Medical AI Research Team, Chungbuk National University Hospital, Cheongju-si, Chungcheongbuk-do, 28644, Republic of Korea.
Insights
Early detection of atrial fibrillation (AF) is vital. A new component-aware transformer (CAT) model accurately diagnoses AF using electrocardiogram (ECG) components, even with single-lead signals, outperforming traditional methods.
Area of Science:
- Cardiology
- Artificial Intelligence
- Medical Diagnostics
Background:
- Atrial fibrillation (AF) is a prevalent arrhythmia with significant healthcare costs.
- Early AF detection is critical for preventing stroke and thromboembolism.
- Current 12-lead ECG diagnosis relies on expert interpretation, prone to variability, and deep learning models struggle with small datasets and component analysis.
Purpose of the Study:
- To develop an advanced deep learning model for accurate AF detection.
- To overcome limitations of existing automated AF diagnostic techniques.
- To leverage ECG components for improved diagnostic performance.
Main Methods:
- Introduction of the component-aware transformer (CAT) model.
- Segmentation of ECG waveforms into P-wave, QRS-complex, and T-wave components.
- Vectorization of segmented components with length and type information for transformer input.
- Evaluation using a large-scale dataset (1,780 AF, 8,866 non-AF cases).
Main Results:
- The CAT model significantly outperforms conventional deep learning techniques on both single- and 12-lead ECG signals.
- CAT trained on single-lead ECG achieves performance comparable to 12-lead analysis.
- Conventional methods showed significant performance degradation with single-lead signals.
Conclusions:
- The CAT model offers a robust and accurate method for AF detection.
- CAT's effectiveness with single-lead signals broadens its applicability in diverse clinical settings.
- The approach is adaptable for analyzing other single-channel physiological signals.
Abstract:
Atrial fibrillation (AF) is the most common sustained arrhythmia worldwide and imposes a substantial economic burden on the public healthcare system due to its high morbidity and mortality. Early detection of AF is crucial in providing timely treatment and preventing complications such as stroke and other thromboembolism. For AF diagnosis, the 12-lead electrocardiogram (ECG) has been established as the gold standard. However, it requires the clinical experiences of cardiologists and may be vulnerable to inter-observer variability. Although automated AF diagnostic techniques based on deep neural networks (DNN) have been proposed, most studies were conducted using small-scale datasets, resulting in the over-fitting problem. Furthermore, they have not fully exploited ECG components such as P-wave, QRS-complex, and T-wave contrary to the approach adopted by cardiologists who interpret ECG by considering its components. To overcome these limitations, this study presents the component-aware transformer (CAT), which segments the ECG waveform into each component, vectorizes them with length and types information into one vector, and used it as the input of the transformer. We conducted extensive experiments to evaluate the CAT using a large-scale dataset called Shaoxing Hospital Zhejiang University School of Medicine database (AF: 1,780 cases, non-AF: 8,866 cases). The quantitative evaluations demonstrate that the CAT outperforms the conventional deep learning techniques on both single- and 12-lead ECG signals. Moreover, the CAT trained on single-lead ECG is comparable to that of a 12-lead analysis, while conventional methods degraded significantly in performance. Consequently, the CAT is applicable to various single-channel signals such as airway pressure, photoplethysmogram, and blood pressure.
Related Concept Videos
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias
Dysrhythmias V: Evaluating Dysrhythmias
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
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...
Instrumentation Amplifier
To overcome this challenge, an ECG machine utilizes an instrumentation amplifier. This specialized amplifier is...
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...

