Lune

ACL2020顶会

Weight Poisoning Attacks on Pretrained Models

Keita Kurita, Paul Michel, Graham Neubig

摘要

Recently, NLP has seen a surge in the usage of large pre-trained models. Users download weights of models pre-trained on large datasets, then fine-tune the weights on a task of their choice. This raises the question of whether downloading untrusted pre-trained weights can pose a security threat. In this paper, we show that it is possible to construct "weight poisoning" attacks where pre-trained weights are injected with vulnerabilities that expose "backdoors" after fine-tuning, enabling the attacker to manipulate the model prediction simply by injecting an arbitrary keyword. We show that by applying a regularization method, which we call RIPPLe, and an initialization procedure, which we call Embedding Surgery, such attacks are possible even with limited knowledge of the dataset and finetuning procedure. Our experiments on sentiment classification, toxicity detection, and spam detection show that this attack is widely applicable and poses a serious threat. Finally, we outline practical defenses against such attacks. Code to reproduce our experiments is available at https://github.com/ neulab/RIPPLe .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 142 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Latent Backdoor Attacks on Deep Neural Networks 引用了 Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • Latent Backdoor Attacks on Deep Neural Networks 引用了 Trojaning Attack on Neural Networks
  • Blind Backdoors in Deep Learning Models 引用了 Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • Blind Backdoors in Deep Learning Models 引用了 Trojaning Attack on Neural Networks
  • Blind Backdoors in Deep Learning Models 引用了 Model-Reuse Attacks on Deep Learning Systems
  • Model-Reuse Attacks on Deep Learning Systems 引用了 Trojaning Attack on Neural Networks
  • Poisoning Language Models During Instruction Tuning 引用了 You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completion
  • LIRA: Learnable, Imperceptible and Robust Backdoor Attacks 引用了 Latent Backdoor Attacks on Deep Neural Networks
  • LIRA: Learnable, Imperceptible and Robust Backdoor Attacks 引用了 Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • LIRA: Learnable, Imperceptible and Robust Backdoor Attacks 引用了 Blind Backdoors in Deep Learning Models
  • LIRA: Learnable, Imperceptible and Robust Backdoor Attacks 引用了 Trojaning Attack on Neural Networks
  • You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completion 引用了 Latent Backdoor Attacks on Deep Neural Networks
  • You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completion 引用了 Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completion 引用了 Blind Backdoors in Deep Learning Models
  • You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completion 引用了 Trojaning Attack on Neural Networks
  • You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completion 引用了 Model-Reuse Attacks on Deep Learning Systems
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper142

  1. ET-BERT: A Contextualized Datagram Representation with Pre-training Transformers for Encrypted Traffic ClassificationXinjie Lin, Gang Xiong, Gaopeng Gou, Zhen Li 等WWW 2022 · 490 次引用
  2. Blind Backdoors in Deep Learning ModelsEugene Bagdasaryan, Vitaly ShmatikovUSENIX Security 2021 · 372 次引用
  3. Poisoning Language Models During Instruction TuningAlexander Wan, Eric Wallace, Sheng Shen, Dan KleinICML 2023 · 319 次引用
  4. LIRA: Learnable, Imperceptible and Robust Backdoor AttacksKhoa D. Doan, Yingjie Lao, Weijie Zhao, Ping LiICCV 2021 · 313 次引用
  5. You Autocomplete Me: Poisoning Vulnerabilities in Neural Code CompletionRoei Schuster, Congzheng Song, Eran Tromer, Vitaly ShmatikovUSENIX Security 2021 · 199 次引用

它引用的 Paper7

  1. Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural NetworksBolun Wang, Yuanshun Yao, Shawn Shan, Huiying Li 等S&P 2019 · 1,801 次引用
  2. Trojaning Attack on Neural NetworksYingqi Liu, Shiqing Ma, Yousra Aafer, Wen-Chuan Lee 等NDSS 2018 · 1,377 次引用
  3. TextBugger: Generating Adversarial Text Against Real-world ApplicationsJinfeng Li, Shouling Ji, Tianyu Du, Bo Li 等NDSS 2019 · 876 次引用
  4. Latent Backdoor Attacks on Deep Neural NetworksYuanshun Yao, Huiying Li, Haitao Zheng, Ben Y. ZhaoCCS 2019 · 465 次引用
  5. Model-Reuse Attacks on Deep Learning SystemsYujie Ji, Xinyang Zhang, Shouling Ji, Xiapu Luo 等CCS 2018 · 197 次引用

相关 Paper

  1. Fine-mixing: Mitigating Backdoors in Fine-tuned Language ModelsZhiyuan Zhang, Lingjuan Lyu, Xingjun Ma, Chenguang Wang 等EMNLP Findings 2022 · 16 次引用
  2. Backdoor Attacks on Pre-trained Models by Layerwise Weight PoisoningLinyang Li, Demin Song, Xiaonan Li, Jiehang Zeng 等EMNLP 2021 · 93 次引用
  3. BadPre: Task-agnostic Backdoor Attacks to Pre-trained NLP Foundation ModelsKangjie Chen, Yuxian Meng, Xiaofei Sun, Shangwei Guo 等ICLR 2022 · 133 次引用
  4. Defense against Backdoor Attack on Pre-trained Language Models via Head Pruning and Attention NormalizationXingyi Zhao, Depeng Xu, Shuhan YuanICML 2024 · 17 次引用
  5. RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP ModelsWenkai Yang, Yankai Lin, Peng Li, Jie Zhou 等EMNLP 2021 · 57 次引用
黄昏的海面,两侧是细线勾勒的悬崖