Paper summary
An embedding can still reveal the ECG
SHINE reconstructs ECG signals from exposed foundation-model embeddings using a mapper trained with limited direct queries.
ECG foundation models return embeddings for downstream tasks. This study asks whether an exposed embedding can be reconstructed into a waveform that preserves sensitive attributes, even when the reconstruction model has only limited query access to the original foundation model.
Test a two-stage reconstruction method
SHINE learns a mapper that approximates the foundation model’s embedding space from a limited set of query-response pairs. The mapper supplies additional synthetic training pairs for an ECG inverter, which is trained to reconstruct signals from embeddings.
The evaluation measures retained signal and classification information.
View full-size figureWaveform reconstruction and retained disease information
SHINE trains on PTB-XL and evaluates on CPSC2018 against ECGFounder, MERL, ECGFM-KED and ST-MEM. The baseline adapts the DiffuSETS ECG generator to accept embeddings. Tests use 500 or 1,000 direct query-response pairs.
Across the tested models and budgets, SHINE lowers mean absolute waveform error by 27.2% on average versus the baseline. For ST-MEM with 1,000 pairs, reconstructed ECGs retain 99.6% of the original signals’ disease-classification AUROC, compared with 92.4% for the baseline.
| Direct query pairs | SHINE | Adapted DiffuSETS |
|---|---|---|
| 500 | 99.1% | 86.0% |
| 1,000 | 99.6% | 92.4% |
Key takeaways
- The mapper supplies additional training pairs. It embeds public ECGs to train the inverter beyond the direct-query budget.
- Leakage is measured with the same classifier. The disease metric divides AUROC on reconstructed ECGs by AUROC on original ECGs.