Memory Backdoor Attacks on Neural Networks

Eden Luzon, Guy Amit, Roy Weiss, Torsten Kraub, Alexandra Dmitrienko +1 more
11/21/2024
cs.CRcs.CVcs.LG

No official code found. Best implementation: edenluzon5/Memory-Backdoor-Attacks (1 star, last commit 2025-12-16).

Abstract

Neural networks are often trained on proprietary datasets, making them attractive attack targets. We present a novel dataset extraction method leveraging an innovative training time backdoor attack, allowing a malicious federated learning server to systematically and deterministically extract complete client training samples through a simple indexing process. Unlike prior techniques, our approach guarantees exact data recovery rather than probabilistic reconstructions or hallucinations, provides precise control over which samples are memorized and how many, and shows high capacity and robustness. Infected models output data samples when they receive a patternbased index trigger, enabling systematic extraction of meaningful patches from each clients local data without disrupting global model utility. To address small model output sizes, we extract patches and then recombined them. The attack requires only a minor modification to the training code that can easily evade detection during client-side verification. Hence, this vulnerability represents a realistic FL supply-chain threat, where a malicious server can distribute modified training code to clients and later recover private data from their updates. Evaluations across classifiers, segmentation models, and large language models demonstrate that thousands of sensitive training samples can be recovered from client models with minimal impact on task performance, and a clients entire dataset can be stolen after multiple FL rounds. For instance, a medical segmentation dataset can be extracted with only a 3 percent utility drop. These findings expose a critical privacy vulnerability in FL systems, emphasizing the need for stronger integrity and transparency in distributed training pipelines.

View on arXivView PDF

Code Implementations(1)

10Python, Jupyter NotebookDec 14, 202510 months ago

Similar Papers

Cite this paper

@article{luzon2024memory,
  title  = {Memory Backdoor Attacks on Neural Networks},
  author = {Eden Luzon and Guy Amit and Roy Weiss and Torsten Kraub and Alexandra Dmitrienko and Yisroel Mirsky},
  year   = {2024},
  eprint = {2411.14516},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.14516v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.14516.svg)](https://codeofpaper.com/paper/2411.14516)

Discussion