Publications

Inversion from ECG Foundation Model

The 29th International Conference on Medical Image Computing and Computer Assisted Intervention (MICCAI 2026), Acceptance rate 28%, Strasbourg, France, pp. 311–321, 2026, doi: 10.1007/978-3-032-38260-3_30.

Junseok Lee, Seungwoo Jung, Gyeongsik Yang, Chuck Yoo

Download PDF

Abstract

Electrocardiogram (ECG) foundation models (FMs) are increasingly deployed as cloud services. For downstream tasks such as disease diagnosis, they return compact embeddings from input ECG signals. In this paper, we find that such embeddings pose significant privacy risks: adversaries can use the exposed embeddings and invert the original ECG, which leads to the inference of sensitive clinical attributes. To assess this vulnerability, we introduce SHINE, a new ECG inversion method that inverts ECG signals from the exposed embeddings. SHINE consists of ECG mapper and ECG inverter. Specifically, SHINE trains ECG mapper to approximate the embedding space of victim ECG FM, which is then used to synthesize the necessary data to train ECG inverter from scratch. Our evaluation against four state-of-the-art ECG FMs shows that SHINE achieves high-fidelity inversion. Importantly, the inverted ECGs retain sensitive clinical attributes, including cardiovascular disease indicators up to 99.6%, almost identical to the original ECG. These results demonstrate that the exposed ECG embeddings preserve substantial physiological information so that when deploying ECG FM, stronger security countermeasures need to be devised. To our knowledge, this paper is the first to report that the exposed embeddings can be inverted to the original ECG signals.

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.

A learned mapper produces training pairs for the inverter, which reconstructs ECG signals from exposed embeddings.View full-size figure
A learned mapper produces training pairs for the inverter, which reconstructs ECG signals from exposed embeddings.

Waveform 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.

ST-MEM disease-classification AUROC, normalized to original ECGs.
Direct query pairsSHINEAdapted DiffuSETS
50099.1%86.0%
1,00099.6%92.4%

Key takeaways

  1. The mapper supplies additional training pairs. It embeds public ECGs to train the inverter beyond the direct-query budget.
  2. Leakage is measured with the same classifier. The disease metric divides AUROC on reconstructed ECGs by AUROC on original ECGs.