Related Experiment Video
Updated: May 24, 2026

Patient Directed Recording of a Bipolar Three-Lead Electrocardiogram using a Smartwatch with ECG Function
Published on: December 11, 2019
Reconstructing 12-lead ECG from 3-lead ECG using variational autoencoder to improve cardiac disease detection of
Xinyan Guan1, Haoyu Wang1,2, Yongfan Lai3,4
1National Institute of Health Data Science, Peking University, Beijing, China.
Abstract:
Twelve-lead electrocardiograms (ECGs) are the clinical gold standard for cardiac diagnosis, offering comprehensive spatial coverage of the heart necessary for detecting conditions such as myocardial infarction (MI). However, their lack of portability limits continuous and large-scale deployment. In contrast, three-lead ECG systems are widely used in wearable devices due to their simplicity and mobility, but they often fail to capture pathologies localized in unmeasured regions. To bridge this gap, we propose WearECG, a Variational Autoencoder (VAE) method that reconstructs 12-lead ECGs from three leads (II, V1, V5). Our model includes architectural improvements to better capture temporal and spatial dependencies in ECG signals. We evaluate generation quality using MSE, MAE, and Fréchet Inception Distance (FID), and assess clinical validity via a Turing test with expert cardiologists. To further validate the diagnostic utility, we fine-tune ECGFounder-a large-scale pretrained ECG model-on a multi-label classification task involving over 40 cardiac conditions, including 6 different myocardial infarction locations using both real and generated signals. Experiments on the MIMIC and PTB-XL datasets show that our method produces physiologically realistic and diagnostically informative signals, with robust performance in downstream tasks. This work demonstrates the potential of generative modeling for ECG reconstruction and its implications for scalable, low-cost cardiac screening.
Related Concept Videos
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...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
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...
Instrumentation Amplifier
To overcome this challenge, an ECG machine utilizes an instrumentation amplifier. This specialized amplifier is...