[Paper Review] Synthetic ECG Signal Generation Using Generative Neural Networks
This paper evaluates five generative adversarial network (GAN) models for synthetic normal ECG beat generation, introducing a systematic evaluation framework using threshold-based acceptance, productivity rate, and similarity metrics (DTW, Fréchet, Euclidean). Results show Classic GAN achieves the highest productivity rate (72%), while BiLSTM-DC GAN and WGAN produce visually more acceptable beats; synthetic data augmentation significantly improves classifier performance on imbalanced datasets.
Electrocardiogram (ECG) datasets tend to be highly imbalanced due to the scarcity of abnormal cases. Additionally, the use of real patients' ECGs is highly regulated due to privacy issues. Therefore, there is always a need for more ECG data, especially for the training of automatic diagnosis machine learning models, which perform better when trained on a balanced dataset. We studied the synthetic ECG generation capability of 5 different models from the generative adversarial network (GAN) family and compared their performances, the focus being only on Normal cardiac cycles. Dynamic Time Warping (DTW), Fréchet, and Euclidean distance functions were employed to quantitatively measure performance. Five different methods for evaluating generated beats were proposed and applied. We also proposed 3 new concepts (threshold, accepted beat and productivity rate) and employed them along with the aforementioned methods as a systematic way for comparison between models. The results show that all the tested models can, to an extent, successfully mass-generate acceptable heartbeats with high similarity in morphological features, and potentially all of them can be used to augment imbalanced datasets. However, visual inspections of generated beats favors BiLSTM-DC GAN and WGAN, as they produce statistically more acceptable beats. Also, with regards to productivity rate, the Classic GAN is superior with a 72% productivity rate. We also designed a simple experiment with the state-of-the-art classifier (ECGResNet34) to show empirically that the augmentation of the imbalanced dataset by synthetic ECG signals could improve the performance of classification significantly.
Motivation & Objective
- Address the challenge of highly imbalanced ECG datasets, where normal beats vastly outnumber abnormal cases.
- Overcome privacy and regulatory barriers limiting access to real patient ECG data for research and training.
- Develop a systematic, quantitative framework to evaluate GAN-based synthetic ECG generation performance.
- Improve machine learning model performance through data augmentation using synthetic ECG beats.
Proposed method
- Employed five GAN variants—Classic GAN, DC-DC GAN, AE/VAE-DC GAN, BiLSTM-DC GAN, and WGAN—for generating synthetic normal ECG beats from lead-I signals.
- Introduced three novel evaluation concepts: threshold (to define acceptable beats), accepted beat (beats within threshold), and productivity rate (percentage of accepted beats per generation cycle).
- Applied three similarity metrics—Dynamic Time Warping (DTW), Fréchet distance, and Euclidean distance—to quantitatively compare generated beats with real ones.
- Conducted five evaluation methods: similarity metrics (1–3), threshold-based acceptance (4), and visual inspection (5), with the latter used to validate quantitative results.
- Designed a binary classification experiment using ECGResNet34 to test the impact of synthetic data augmentation on model performance.
- Used real, imbalanced, and augmented datasets to compare model accuracy, precision, recall, and F1-score.
Experimental results
Research questions
- RQ1Which GAN model generates synthetic ECG beats with the highest morphological similarity to real normal beats, as measured by DTW, Fréchet, and Euclidean distances?
- RQ2How effective is the proposed productivity rate metric in quantifying the efficiency of GAN models in generating acceptable synthetic ECG beats?
- RQ3Can synthetic ECG data generated by GANs effectively augment imbalanced real datasets to improve downstream classification performance?
- RQ4How do visual inspections of generated beats compare with quantitative metrics in assessing model performance?
- RQ5To what extent do different GAN architectures vary in their ability to generate high-quality, morphologically realistic ECG beats?
Key findings
- Classic GAN achieved the highest productivity rate at 72%, indicating superior efficiency in generating acceptable beats per unit time and computational cost.
- BiLSTM-DC GAN and WGAN produced visually more acceptable beats than other models, according to visual inspection, despite slightly lower productivity rates.
- The Euclidean distance metric was found to be unsuitable for ECG beat evaluation, as it failed to detect morphological differences, with one example showing minimum distance but no morphological similarity.
- Both DTW and Fréchet distance functions produced consistent performance rankings across models, indicating their reliability for quantitative comparison.
- Synthetic data augmentation significantly improved the F1-score of ECGResNet34 from 0.42 (on imbalanced real data) to 0.97 (on balanced augmented data), approaching performance on fully real balanced data.
- The proposed evaluation framework—including threshold, accepted beat, and productivity rate—provides a systematic, quantitative method for comparing GANs in synthetic ECG generation, filling a gap in existing evaluation practices.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.