Privacy Backdoors: Stealing Data with Corrupted Pretrained Models

Shanglun Feng, Florian Tramèr
3/30/2024
cs.CRcs.LG

No official code found. Best implementation: ShanglunFengatETHZ/PrivacyBackdoor (50 stars, last commit 2024-04-28).

Abstract

Practitioners commonly download pretrained machine learning models from open repositories and finetune them to fit specific applications. We show that this practice introduces a new risk of privacy backdoors. By tampering with a pretrained model's weights, an attacker can fully compromise the privacy of the finetuning data. We show how to build privacy backdoors for a variety of models, including transformers, which enable an attacker to reconstruct individual finetuning samples, with a guaranteed success! We further show that backdoored models allow for tight privacy attacks on models trained with differential privacy (DP). The common optimistic practice of training DP models with loose privacy guarantees is thus insecure if the model is not trusted. Overall, our work highlights a crucial and overlooked supply chain attack on machine learning privacy.

View on arXivView PDF

Code Implementations(1)

Privacy backdoors

509PythonMay 13, 20232 years ago

Similar Papers

Cite this paper

@article{feng2024privacy,
  title  = {Privacy Backdoors: Stealing Data with Corrupted Pretrained Models},
  author = {Shanglun Feng and Florian Tramèr},
  year   = {2024},
  eprint = {2404.00473},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.00473v1},
  journal = {ICML 2024 2024}
}

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/2404.00473.svg)](https://codeofpaper.com/paper/2404.00473)

Discussion