Lune

ICML2024Top-tier venue

Privacy Backdoors: Stealing Data with Corrupted Pretrained Models

Shanglun Feng, Florian Tramèr

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Membership Inference Attacks Against Machine Learning Models cites Stealing Machine Learning Models via Prediction APIs
  • Membership Inference Attacks Against Machine Learning Models cites Deep Learning with Differential Privacy
  • Nearly Tight Black-Box Auditing of Differentially Private Machine Learning cites Membership Inference Attacks Against Machine Learning Models
  • Nearly Tight Black-Box Auditing of Differentially Private Machine Learning cites Privacy Backdoors: Enhancing Membership Inference through Poisoning Pre-trained Models
  • Nearly Tight Black-Box Auditing of Differentially Private Machine Learning cites PreCurious: How Innocent Pre-Trained Language Models Turn into Privacy Traps
  • Nearly Tight Black-Box Auditing of Differentially Private Machine Learning cites Deep Learning with Differential Privacy
  • Privacy Backdoors: Enhancing Membership Inference through Poisoning Pre-trained Models cites Membership Inference Attacks Against Machine Learning Models
  • Privacy Backdoors: Enhancing Membership Inference through Poisoning Pre-trained Models cites Extracting Training Data from Large Language Models
  • Evaluations of Machine Learning Privacy Defenses are Misleading cites Membership Inference Attacks Against Machine Learning Models
  • Evaluations of Machine Learning Privacy Defenses are Misleading cites Deep Learning with Differential Privacy
  • Evaluations of Machine Learning Privacy Defenses are Misleading cites Extracting Training Data from Large Language Models
  • PreCurious: How Innocent Pre-Trained Language Models Turn into Privacy Traps cites Membership Inference Attacks Against Machine Learning Models
  • PreCurious: How Innocent Pre-Trained Language Models Turn into Privacy Traps cites Privacy Backdoors: Enhancing Membership Inference through Poisoning Pre-trained Models
  • PreCurious: How Innocent Pre-Trained Language Models Turn into Privacy Traps cites Extracting Training Data from Large Language Models
  • Extracting Training Data from Large Language Models cites Membership Inference Attacks Against Machine Learning Models
  • Extracting Training Data from Large Language Models cites Deep Learning with Differential Privacy
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. Privacy Backdoors: Enhancing Membership Inference through Poisoning Pre-trained ModelsYuxin Wen, Leo Marchyok, Sanghyun Hong, Jonas Geiping et al.NeurIPS 2024 · 39 citations
  2. Nearly Tight Black-Box Auditing of Differentially Private Machine LearningMeenatchi Sundaram Muthu Selva Annamalai, Emiliano De CristofaroNeurIPS 2024 · 32 citations
  3. Evaluations of Machine Learning Privacy Defenses are MisleadingMichael Aerni, Jie Zhang, Florian TramèrCCS 2024 · 12 citations
  4. BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language ModelsYi Zeng, Weiyu Sun, Tran Ngoc Huynh, Dawn Song et al.EMNLP 2024 · 10 citations
  5. PreCurious: How Innocent Pre-Trained Language Models Turn into Privacy TrapsRuixuan Liu, Tianhao Wang, Yang Cao, Li XiongCCS 2024 · 9 citations

Builds on21

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan et al.CCS 2016 · 7,620 citations
  3. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
  4. Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski et al.USENIX Security 2021 · 2,866 citations
  5. Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter et al.USENIX Security 2016 · 2,088 citations

Related papers

  1. Handcrafted Backdoors in Deep Neural NetworksSanghyun Hong, Nicholas Carlini, Alexey KurakinNeurIPS 2022 · 105 citations
  2. Model Supply Chain Poisoning: Backdooring Pre-trained Models via Embedding IndistinguishabilityHao Wang, Shangwei Guo, Jialing He, Hangcheng Liu et al.WWW 2025 · 10 citations
  3. Dormant Backdoor: Weaponizing Model Finetuning for Feasible Backdoor Attacks Against Pretrained ModelsRuitao Li, Jiakai Wang, Hairong Chen, Huihu Ding et al.AAAI 2026
  4. Weight Poisoning Attacks on Pretrained ModelsKeita Kurita, Paul Michel, Graham NeubigACL 2020 · 312 citations
  5. Forget to Flourish: Leveraging Machine-Unlearning on Pretrained Language Models for Privacy LeakageMd. Rafi Ur Rashid, Jing Liu, Toshiaki Koike-Akino, Ye Wang et al.AAAI 2025 · 17 citations
Dusk over the sea between two cliffs drawn in fine vertical lines