Paperdoi:10.1109/jbhi.2026.3713977

MAGIC: multi-grained conditional diffusion for high-fidelity PPG-to-ECG translation

Venue listed2026Added Nov 1, 2026

  • HW
  • SC
  • ZL
  • WL
  • JP
  • SJ

Authors: Huixiang Wen, Shan Chang, Zhou Luo, Wei Liu, Jiaming Pei, Shengqun Jiang

IEEE JBHI (2026, early access)

TL;DR

Diffusion Transformer that generates ECG-like waveforms from PPG with a global condition (adaptive layer norm) plus token-wise local conditions (gated cross-attention). The condition encoder is pretrained on paired PPG-ECG with ROI-weighted reconstruction, contrastive learning and latent alignment. Four public datasets, four proxy tasks; pretraining cuts FD 0.908 → 0.693 on MIMIC-AFib; with 50 sampling steps it reaches lower FD than RDDM with 500.

  • Form factor: mixed

Abstract

Building a cardiac digital twin relies on high fidelity electrocardiogram signals to accurately simulate individual cardiovascular function. However, conventional ECG acquisition is not well suited for long term, unobtrusive home monitoring, while photoplethysmography, despite its advantage in continuous collection, lacks electrophysiological information. To bridge these complementary modalities for computational analysis, we propose MAGIC, a multi-grained conditional diffusion framework for generating ECG-like waveforms from PPG. MAGIC separates conditional information into a global condition and token-wise local conditions: the former summarizes segment-level cardiovascular context and modulates the diffusion Transformer through adaptive layer normalization, while the latter preserves patch-level PPG cues and is injected through gated cross-attention. The conditional encoder is pre-trained with paired PPG and ECG signals using ROI-weighted reconstruction, contrastive learning, and latent alignment, so that PPG-derived conditions are explicitly encouraged to match ECG-derived representations. Across four public datasets and four downstream proxy tasks, MAGIC improves distributional fidelity in most settings and shows competitive task-level utility. In representative analyses, pre-training reduces FD from 0.908 to 0.693 on MIMIC-AFib; MAGIC also achieves lower FD with 50 sampling steps than RDDM with 500 steps.

Verbatim from Europe PMC (opens in a new tab) · Abstract via Europe PMC; © the authors/publisher

Results on ChatPPG leaderboards

All leaderboards

No results from this paper on ChatPPG leaderboards yet. Browse the leaderboards.

Tasks & signals

Signals

Keywords

PPG to ECGDiffusionDiTCross AttentionGenerative

How it works

How Method works: Setup → Method → TargetSetup: Signals (PPG, ECG); Form factor (mixed). Method: Method (Transformer).SetupSignals: PPG, ECGSignalsPPG, ECGForm factor: mixedForm factormixedMethod×NMethodTransformer

Cite this paper

Cite this paper with the fields recorded here. Check it against the publisher before submitting.

Wen, H., Chang, S., Luo, Z., Liu, W., Pei, J., & Jiang, S. (2026). MAGIC: multi-grained conditional diffusion for high-fidelity PPG-to-ECG translation. IEEE JBHI. https://doi.org/10.1109/jbhi.2026.3713977
Wen, Huixiang, Shan Chang, Zhou Luo, Wei Liu, Jiaming Pei, and Shengqun Jiang. 2026. "MAGIC: multi-grained conditional diffusion for high-fidelity PPG-to-ECG translation." IEEE JBHI. https://doi.org/10.1109/jbhi.2026.3713977.
Wen, H., Chang, S., Luo, Z., Liu, W., Pei, J. and Jiang, S. (2026) 'MAGIC: multi-grained conditional diffusion for high-fidelity PPG-to-ECG translation', IEEE JBHI. doi: 10.1109/jbhi.2026.3713977.
Wen, Huixiang, et al. "MAGIC: multi-grained conditional diffusion for high-fidelity PPG-to-ECG translation." IEEE JBHI, 2026. https://doi.org/10.1109/jbhi.2026.3713977.
H. Wen, S. Chang, Z. Luo, W. Liu, J. Pei, and S. Jiang, "MAGIC: multi-grained conditional diffusion for high-fidelity PPG-to-ECG translation," IEEE JBHI, 2026, doi: 10.1109/jbhi.2026.3713977.
@article{wen2026magic,
  title         = {{MAGIC: multi-grained conditional diffusion for high-fidelity PPG-to-ECG translation}},
  author        = {Wen, Huixiang and Chang, Shan and Luo, Zhou and Liu, Wei and Pei, Jiaming and Jiang, Shengqun},
  year          = {2026},
  journal       = {IEEE JBHI},
  doi           = {10.1109/jbhi.2026.3713977}
}

Added to the ChatPPG research hub