# ECGGuard: Deep Watermarking of Electrocardiogram Signals With Error-Correcting Codes

arXiv: https://arxiv.org/abs/2610.13357 · HTML: https://mlsanity.com/paper/2610.13357/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 4 of its 25 references that are in the map.
- Submitted 9 Oct 2026.

## Builds on (most cited first, 4 of 4)

- [SGDR: Stochastic Gradient Descent with Warm Restarts](https://mlsanity.com/paper/1608.03983/) (2016)
- [Proactive Detection of Voice Cloning with Localized Watermarking](https://mlsanity.com/paper/2401.17264/) (2024)
- [ReDMark: Framework for Residual Diffusion Watermarking on Deep Networks](https://mlsanity.com/paper/1810.07248/) (2018)
- [Adversarial Attacks to Machine Learning-Based Smart Healthcare Systems](https://mlsanity.com/paper/2010.03671/) (2020)

## Abstract (arXiv)

Wearable electrocardiogram (ECG) recordings pass through multiple networks and systems before automated interpretation, leaving patient metadata vulnerable to loss. Digital watermarking can embed this metadata in the signal, but conventional methods fail under time shifts, and high waveform similarity does not guarantee the same downstream diagnosis. We present revECGGuard, a deep watermarking framework for single-lead ECG. A fully convolutional generator embeds the payload without signal quantization, a detector decodes the message frame by frame and checks for watermark presence, and during training a frozen arrhythmia classifier penalizes changes that would alter its predictions. Because high bit accuracy does not ensure whole-message recovery, the payload is protected by extended Hamming codes, reva validation-selected channel ordering, and soft-decision decoding. On the MIT-BIH Arrhythmia Database, revaveraged over three training runs, ECGGuard keeps bit accuracy above rev98% under time shifts of 10 to 50 samples, where transform-domain baselines drop to chance. The coded 16-bit payload is recovered exactly in rev99.95% of clean segmentsrev, in over 96% under time shifts, 10% sample deletion, or 10% packet lossrev, and in 99.1% for unseen subjects. revFor the guiding classifier, the diagnostic loss limits the drop in ventricular-beat sensitivity to 1.6 percentage points on the test records (35.0 without it) and to 12.2 points for unseen subjects (67.0 without it); the drop grows to 10.3 points for independently trained classifiers, and the protection does not transfer to an external database. revECGGuard has 0.56 million parameters and needs about rev19~ms per segment on a desktop CPU.
