# End-to-end non-invasive ECG signal generation from PPG signal: a self-supervised learning approach

**Authors:** Murat Yalcin, Marc Erich Latoschik

PMC · DOI: 10.3389/fphys.2026.1694995 · Frontiers in Physiology · 2026-02-05

## TL;DR

This paper introduces a new method to generate ECG signals from PPG data using self-supervised learning, enabling easier and more accessible cardiac monitoring.

## Contribution

A novel self-supervised learning approach using a Transformer-based GAN to synthesize ECG signals from PPG data.

## Key findings

- The model reduces heart rate calculation error by 83.9% on the MIMIC III dataset.
- The model achieves 72.4% error reduction on the Who is Alyx? dataset.
- Generated ECG signals are effective for detecting Atrial Fibrillation.

## Abstract

Electrocardiogram (ECG) signals are frequently utilized for detecting important cardiac events, such as variations in ECG intervals, as well as for monitoring essential physiological metrics, including heart rate (HR) and heart rate variability (HRV). However, the accurate measurement of ECG traditionally requires a clinical environment, thereby limiting its feasibility for continuous, everyday monitoring. In contrast, Photoplethysmography (PPG) offers a non-invasive, cost-effective optical method for capturing cardiac data in daily settings and is increasingly utilized in various clinical and commercial wearable devices. However, PPG measurements are significantly less detailed than those of ECG. In this study, we propose a novel approach to synthesize ECG signals from PPG signals, facilitating the generation of robust ECG waveforms using a simple, unobtrusive wearable setup. Our approach utilizes a Transformer-based Generative Adversarial Network model, designed to accurately capture ECG signal patterns and enhance generalization capabilities. Additionally, we incorporate self-supervised learning techniques to enable the model to learn diverse ECG patterns through specific tasks. Model performance is evaluated using various metrics, including heart rate calculation and root mean squared error (RMSE) on two different datasets. The comprehensive performance analysis demonstrates that our model exhibits superior efficacy in generating accurate ECG signals (with reducing 83.9% and 72.4% of the heart rate calculation error on MIMIC III and Who is Alyx? datasets, respectively), suggesting its potential application in the healthcare domain to enhance heart rate prediction and overall cardiac monitoring. As an empirical proof of concept, we also present an Atrial Fibrillation (AF) detection task, showcasing the practical utility of the generated ECG signals for cardiac diagnostic applications. To encourage replicability and reuse in future ECG generation studies, we have made both the dataset and the code publicly available.

## Linked entities

- **Diseases:** Atrial Fibrillation (MONDO:0004981)

## Full-text entities

- **Diseases:** anxiety disorders (MESH:D001008), ischemia (MESH:D007511), heart block (MESH:D006327), arrhythmia (MESH:D001145), anxiety (MESH:D001007), tumor (MESH:D009369), FD (MESH:C535290), anomaly (MESH:D000013), GAN (MESH:D004829), cardiac anomalies (MESH:D006331), ACC (MESH:D015465), conduction abnormalities (MESH:D054537), AF (MESH:D001281), CVDs (MESH:D002318), II (MESH:C537730), MIMIC III (MESH:C537189), deaths (MESH:D003643)
- **Chemicals:** CAPNO (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]
- **Cell lines:** MIMIC — Spodoptera frugiperda (Fall armyworm), Spontaneously immortalized cell line (CVCL_Z366)

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12916403/full.md

## Figures

11 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12916403/full.md

## References

88 references — full list in the complete paper: https://tomesphere.com/paper/PMC12916403/full.md

---
Source: https://tomesphere.com/paper/PMC12916403