Related Experiment Video
Updated: Apr 8, 2026

Patient Directed Recording of a Bipolar Three-Lead Electrocardiogram using a Smartwatch with ECG Function
Published on: December 11, 2019
AI based ECG data recovery and cardiovascular diseases classification (CEDRC-network)
Muhammad Raheel Khan1, Zunaib Maqsood Haider2, Jawad Hussain3
1Department of Electrical Engineering, The Islamia University of Bahawalpur, Bahawalpur, 63100, Pakistan.
Insights
Cardiovascular disease diagnosis is improved by the Cardiovascular ECG Data Recovery and Classification Network (CEDRC-Net). This AI model effectively recovers missing ECG data and reduces noise, enhancing diagnostic accuracy for conditions like atrial fibrillation.
Area of Science:
- Biomedical Engineering
- Artificial Intelligence in Healthcare
- Cardiology
Background:
- Cardiovascular diseases (CVDs) are a leading global cause of mortality, necessitating accurate and timely diagnosis.
- Electrocardiograms (ECG) are crucial for detecting heart conditions but can be compromised by noise and missing data.
- Existing diagnostic methods struggle with non-ideal ECG signals, impacting patient outcomes.
Purpose of the Study:
- To develop an advanced AI system, the Cardiovascular ECG Data Recovery and Classification Network (CEDRC-Net), for robust ECG signal processing.
- To enhance the accuracy of CVD diagnosis by effectively handling noisy and incomplete ECG data.
- To improve patient recovery and longevity through more reliable and timely cardiac condition identification.
Main Methods:
- The CEDRC-Net integrates a multistage machine learning and deep learning model, incorporating a Transformer-based Convolutional Denoising Autoencoder (TCDAE).
- Noise reduction is achieved using TCDAE, followed by ECG signal reconstruction and forecasting via Variational Autoencoder (VAE) or Temporal Fusion Transformer (TFT).
- Classification of heart diseases (atrial fibrillation, sinus bradycardia, tachycardia) is performed using machine learning algorithms on processed ECG data from 2426 patients.
Main Results:
- The Temporal Fusion Transformer (TFT) demonstrated superior ECG signal reconstruction accuracy (98%) compared to Variational Autoencoder (VAE) (96%).
- ECG signals enhanced by TFT resulted in higher classification accuracy (98.4% with SVM and XGBoost) and F1-scores.
- TFT achieved significantly lower reconstruction errors (MAE=0.015, MSE=0.00045, RMSE=0.0132) than VAE (MAE=0.075, MSE=0.011, RMSE=0.107).
Conclusions:
- The CEDRC-Net, particularly with TFT, offers strong denoising and reconstruction capabilities, significantly improving ECG diagnostic accuracy.
- The system provides reliable ECG measurements under noisy conditions, facilitating early and accurate diagnosis.
- This advancement supports better clinical decisions, reduces patient load on cardiologists, and contributes to improved patient longevity.
Abstract:
Cardiovascular diseases (CVDs) are a significant and widespread cause of death in the world, continuing to increase mortality rates. Therefore, timely identification and diagnosis are essential for a patient's optimized recovery and longevity. In this regard, ECG is an effective tool for detecting anomalous heart conditions. However, interfering factors like noise, transient changes, and missing data could affect the accurate diagnosis of CVDs. The Cardiovascular ECG Data Recovery and Classification Network (CEDRC-Net) sorts and collates noisy data while also recovering missing data caused by equipment malfunction or human error, using a multistage machine-learning and deep-learning model. Moreover, CEDRC-Net is incorporated into the Transformer-based Convolutional Denoising Autoencoder (TCDAE) model to methodically mitigate noise, subsequently the Variational Autoencoder (VAE) or Temporal Fusion Transformer (TFT) are systematically employed as an alternative to accurately reconstruct and forecast ECG signals. Following this, the system classified heart diseases, including atrial fibrillation, sinus bradycardia, and tachycardia, using several machine-learning algorithms, based on data from a dataset comprising 2426 patients.TFT showcased better performance than VAE in ECG signal reconstruction, achieving up to 98% accuracy with Gradient Boosting, compared to 96% by VAE. Furthermore, in downstream classification, signals enhanced by TFT led to superior model results, with SVM and XGBoost both reaching 98.4% accuracy and F1-scores. The TFT achieved substantially lower reconstruction errors (MAE = 0.015, MSE = 0.00045, RMSE = 0.0132) compared to the VAE (MAE = 0.075, MSE = 0.011, RMSE = 0.107). These results highlight TFT's strong denoising capability for improving ECG diagnostic accuracy, while the suggested system ensures reliable measurements under noisy and non-ideal conditions. It is highly conducive for early and accurate diagnosis, better clinical decisions, and decreased patient load on the cardiologists. The research is performed on the MIMIC-IV-ECG 12-lead real-time dataset.
Related Concept Videos
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...
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...
Cardiomyopathy I: Introduction and Classification
Dysrhythmias V: Evaluating Dysrhythmias
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...

