Related Experiment Video
Updated: Oct 3, 2026

Estimating Bilateral Atrial Function by Cardiovascular Magnetic Resonance Feature Tracking in Patients with Paroxysmal Atrial Fibrillation
Published on: July 20, 2022
Generative recurrence analysis and metric learning for detection of atrial fibrillation from short ECG data
Chunyu Wu1, Suwetha Jahan Maheswary1, Rakesh Srivastava2
1School of Systems Science and Industrial Engineering, State University of New York, Binghamton, New York 13902, USA.
Abstract:
Electrocardiogram (ECG) signals exhibit complex, nonlinear, and nonstationary dynamics that are not fully captured by conventional time series analysis methods. In this study, we propose a novel framework for atrial fibrillation (AF) detection that integrates a beat-level recurrence representation with supervised metric learning. ECG recordings are first segmented into beat-centered waveforms that serve as effective dynamical states, avoiding the inaccurate estimation of time delay and embedding dimension from short recordings. Rather than constructing conventional recurrence plots from delay-embedded trajectories, the proposed method forms a beat-to-beat dissimilarity matrix using the Jensen-Shannon distance between normalized ECG beat segments. This representation captures variations in beat morphology and rhythm irregularity and provides information complementary to heart rate variability descriptors and recurrence quantification features. A contrastive Gaussian-mixture variational autoencoder learns an eight-component latent distribution with two components assigned to each of the four rhythm classes. Reconstruction, Gaussian-mixture regularization, supervised classification, clustering, and contrastive objectives jointly promote informative, compact, and class-discriminative latent representations. Class-conditional samples drawn from the learned mixture provide balanced synthetic latent representations for classifier training. Evaluated on the four-class PhysioNet/CinC 2017 dataset, the proposed framework achieves an overall accuracy of approximately 94%, with F1 scores of 0.97, 0.95, 0.92, and 0.86 for normal sinus rhythm, AF, other rhythm, and noise, respectively. These results demonstrate the potential of combining beat-level nonlinear dynamics, structured generative modeling, and metric learning for AF detection from short ECG recordings.
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias
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 to...
Dysrhythmias V: Evaluating Dysrhythmias
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...
ECG Interpretation of Rhythms
Components of the Electrocardiogram
The primary components of a normal ECG waveform in Normal sinus rhythm(NSR) include the P wave, PR interval, QRS complex, ST segment, T wave, and occasionally a U wave.
ECG waveforms are divided by vertical and horizontal lines at standard intervals.
The horizontal axis measures time and rate, and the vertical axis measures amplitude or voltage. When...
