Deep conditional generative model for personalization of 12-lead electrocardiograms and cardiovascular risk

Yuling Sang1,2, Abhirup Banerjee2,3, Marcel Beetz2

  • 1Centre for Computational Biology, Duke-NUS Medical School, Singapore, Singapore.

PubMed

Insights

This study introduces a personalized 12-lead electrocardiogram (ECG) generation method using a conditional Variational Autoencoder (cVAE). The model predicts cardiovascular disease (CVD) risk by integrating ECGs with patient-specific data, improving risk stratification.

Area of Science:

  • Cardiology
  • Biomedical Engineering
  • Artificial Intelligence

Background:

  • 12-lead electrocardiograms (ECGs) are crucial for diagnosing cardiovascular diseases (CVDs).
  • Manual ECG interpretation is time-consuming and requires expertise.
  • Current machine learning models lack personalization by not integrating subject-specific data.

Purpose of the Study:

  • To develop a personalized ECG generation framework using deep generative models.
  • To improve cardiovascular risk assessment by integrating subject-specific information.
  • To enhance the interpretability of ECG-derived risk factors.

Main Methods:

  • A conditional Variational Autoencoder (cVAE) framework was developed to generate personalized 12-lead ECGs.
  • Demographic metadata, anatomical heart features, and electrode positions were used as conditioning factors.
  • A revised Cox proportional-hazards regression model utilized cVAE latent embeddings for CVD risk prediction.

Main Results:

  • The model was trained and validated on the UK Biobank and in silico data.
  • Generated ECGs showed strong consistency with in silico simulations, validating the incorporation of anatomical and positional data.
  • The CVD risk prediction model achieved a C-index of 0.65, demonstrating the prognostic value of personalized ECGs.

Conclusions:

  • The conditional VAE framework advances ECG analysis through improved generation and personalization.
  • The study enhances understanding of ECG patterns in relation to subject-specific information.
  • This approach enables extraction of clinically significant information from ECGs for future CVD risk prediction.
Abstract

Related Concept Videos

Electrocardiogram Fundamentals01:28

Electrocardiogram Fundamentals

Introduction
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...
431
Correlation between ECG and Cardiac Cycle01:24

Correlation between ECG and Cardiac Cycle

The electrical signals recorded on an electrocardiogram (ECG) occur before the mechanical processes of contraction and relaxation during the 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...
2.7K
Electrocardiogram01:29

Electrocardiogram

An electrocardiogram (ECG or EKG) is a critical diagnostic tool that records the electrical signals produced by the heart during each heartbeat. This recording is achieved through electrodes placed strategically on the arms, legs, and chest. The electrocardiograph amplifies these signals and produces 12 distinct tracings, offering a comprehensive understanding of the heart's electrical activity.
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
1.6K