HERON: Electrocardiogram Reconstruction from Photoplethysmography with Multimodal Conditioning

Shuitsu Koyama, Shuntaro Suzuki, Shunya NagashimaarXiv 2026

TL;DR

Smartwatches and rings can easily measure your pulse using light (PPG), but doctors rely on electrical heart signals (ECG) for detailed cardiac diagnostics. HERON is a generative model that reconstructs ECG waveforms from PPG while smartly incorporating extra sensors—like accelerometers and temperature—that wearables already record. By routing each sensor to the right part of the network and masking out missing ones, a single HERON model beats six prior methods across four real-world datasets, even when some sensors are turned off.

What Problem Does This Paper Address?

If you wear a smartwatch or fitness ring, it tracks your heart using photoplethysmography (PPG)—shining a tiny LED into your skin and measuring how blood volume changes with each beat. It is cheap, unobtrusive, and runs for days. However, electrocardiograms (ECGs) remain the clinical gold standard because the exact shape and timing of their spikes (QRS complexes) reveal cardiac conditions that a simple heart rate number cannot.

Recently, researchers have used generative AI to translate PPG into ECG waveforms. The catch? Existing models only look at PPG, throwing away the 3-axis accelerometer and skin temperature data that wearables record at the same time. That is a missed opportunity: motion artifacts (like swinging your arm while walking) and temperature shifts are major reasons PPG signals get noisy, causing PPG-only models to hallucinate beats or miss real ones.

Simply mashing all sensor channels together at the input doesn't work well either. Different wearables have different sensor sets, and a model trained on all channels will break if one is missing at test time.

Methods

HERON builds on PENGUIN, a recent flow-matching state-space model (Flow-SSM) that turns Gaussian noise into an ECG waveform. HERON's core innovation is Modality-Masked Conditioning (MMC), which respects two things: time scales and missingness.

HERON architecture showing Modality-Masked Conditioning and Flow-SSM blocks

Instead of concatenating everything together, MMC splits auxiliary sensors by how fast they change:

  • Fast, per-sample channels (PPG + Acceleration): 3-axis acceleration (plus its overall magnitude) changes rapidly, just like PPG. Both are encoded with 1D convolutions and summed into a temporal stream ($z$) that guides the sequence-level generation.
  • Slowly varying channels (Temperature): Skin temperature changes over minutes, not milliseconds. Reducing it to window-level statistics (mean, standard deviation, min, max, and slope) and passing it through an MLP creates a global vector ($c_{\text{glb}}$). This is added to the diffusion timestep embedding to modulate the network's normalization layers (via FiLM).
  • Availability Bits: Each auxiliary channel is multiplied by a binary bit ($m_{\text{acc}}, m_{\text{tmp}} \in \{0, 1\}$). If a sensor is missing, its bit is set to 0, meaning it contributes exact zero to the model. One trained checkpoint can therefore handle PPG alone, PPG + acceleration, or all sensors together.

Datasets

The authors evaluated HERON against six retrained baselines on four real-world datasets using a strict subject-disjoint split (no subject appears in both training and testing):

  1. WildPPG: 16 subjects wearing sensors at four body sites outdoors (13.5 hours each).
  2. PPG-DaLiA: 15 subjects performing eight daily activities with a wrist-worn Empatica E4.
  3. PTT-PPG: 22 subjects with finger-clip sensors while sitting, walking, and running.
  4. Multi-site PPG: An in-the-wild dataset from an earring, ring, watch, and necklace (notably lacking a temperature channel).

Key Insights and Ideas

  • Where you inject a sensor matters: Misrouting temperature into the fast temporal stream or acceleration into the global vector increased heart rate error by 2.1 to 4.6 bpm. Naive input concatenation was even worse, reaching 16.39 bpm on PPG-DaLiA—worse than using PPG alone (13.43 bpm).
  • Extra sensors aren't always helpful: On WildPPG and PTT-PPG, adding temperature actually hurt accuracy compared to using PPG + acceleration alone. On PPG-DaLiA, however, acceleration was harmful on its own but beneficial when paired with temperature.
  • Training with extra sensors helps even when they're gone: When HERON was tested with only PPG (auxiliary bits set to 0), it still beat a separate network trained exclusively on PPG (12.85 vs. 13.43 bpm on PPG-DaLiA; 3.75 vs. 8.91 bpm on PTT-PPG). Having the extra sensors during training acts as privileged context that shapes a more robust shared backbone.

Key Results

HERON (5.14M parameters, 45.7 ms inference per 4-second window) achieved the lowest 8-second heart rate mean absolute error (MAE) on every dataset, outperforming CycleGAN, RDDM, RespDiff, PaPaGei-S, PPGFlowECG, and PENGUIN:

  • WildPPG: 8.30 bpm (vs. 10.66 bpm for PENGUIN)
  • PPG-DaLiA: 10.07 bpm (vs. 17.43 bpm for PENGUIN—a 7.36 bpm improvement)
  • PTT-PPG: 4.34 bpm (vs. 4.53 bpm for PENGUIN)
  • Multi-site PPG: 9.22 bpm (vs. 10.47 bpm for PENGUIN)

For R-peak detection (F1 within 50 ms), HERON led on WildPPG (0.419 vs. 0.344) and was competitive on PTT-PPG (0.681 vs. 0.695). Qualitatively, HERON produced sharper QRS complexes that closely followed ground-truth morphology.

Fig. 2. Qualitative comparison of the ECG reconstructed from PPG over an 8-second segment of one unseen subject on three of the datasets; the proposed method recovers the R-peak positions of the reference and preserves the QRS morphology.

Limitations and Future Work

All experiments were run using a single random seed and data split, so the authors note that multi-seed evaluation is needed to confirm variance. They also plan to explore integrating additional slowly varying physiological channels into the global conditioning path.

Summary updated

BibTeX
@misc{koyama2026heron,
  author = {Shuitsu Koyama and Shuntaro Suzuki and Shunya Nagashima},
  title = {{HERON: Electrocardiogram Reconstruction from Photoplethysmography with Multimodal Conditioning}},
  year = {2026},
  eprint = {2612.00225},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.00225},
}
Figure