Data Exfiltration by Compression Attack: Definition and Evaluation on Medical Image Data

Huiyu LI1, Nicholas Ayache1, Hervé Delingette1
1: Research Centre Inria Sophia Antipolis - Méditerranée
Publication date: 2025/12/05
https://doi.org/10.59275/j.melba.2025-113f
PDF

Abstract

With the rapid expansion of data lakes storing health data and hosting AI algorithms, a prominent concern arises: how safe is it to export machine learning models from these data lakes? In particular, deep network models, widely used for health data processing, encode information from their training dataset, potentially leading to the leakage of sensitive information upon export. This paper thoroughly examines this issue in the context of medical imaging data and introduces a novel data exfiltration attack based on image compression techniques.
This attack, termed Data Exfiltration by Compression, requires only access to a data lake and is based on lossless or lossy image compression methods.
Unlike previous data exfiltration attacks, it is compatible with any image processing task and depends solely on an exported network model without requiring any additional information collected during the training process. We explore various scenarios, and techniques to limit the size of the exported model and conceals the compression codes within the network.
Using two public datasets of CT and MR images, we demonstrate that this attack can effectively steal medical images and reconstruct them outside the data lake with high fidelity, achieving an optimal balance between compression and reconstruction quality. Additionally, we investigate the impact of basic differential privacy measures, such as adding Gaussian noise to the model parameters, to prevent the data exfiltration by compression attack. We also show how the attacker can make its attack resilient to differential privacy at the expense of decreasing the number of stolen images. Lastly, we propose an alternative prevention strategy by fine-tuning the model to be exported.

Keywords

Data Exfiltration by Compression Attack · Image compression · Privacy · Steganography

Bibtex @article{melba:2025:032:li, title = "Data Exfiltration by Compression Attack: Definition and Evaluation on Medical Image Data", author = "LI, Huiyu and Ayache, Nicholas and Delingette, Hervé", journal = "Machine Learning for Biomedical Imaging", volume = "3", issue = "December 2025 issue", year = "2025", pages = "728--756", issn = "2766-905X", doi = "https://doi.org/10.59275/j.melba.2025-113f", url = "https://melba-journal.org/2025:032" }
RISTY - JOUR AU - LI, Huiyu AU - Ayache, Nicholas AU - Delingette, Hervé PY - 2025 TI - Data Exfiltration by Compression Attack: Definition and Evaluation on Medical Image Data T2 - Machine Learning for Biomedical Imaging VL - 3 IS - December 2025 issue SP - 728 EP - 756 SN - 2766-905X DO - https://doi.org/10.59275/j.melba.2025-113f UR - https://melba-journal.org/2025:032 ER -

2025:032 cover