RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models
Wenkai Yang, Yankai Lin, Peng Li, Jie Zhou, Xu Sun
摘要
Backdoor attacks, which maliciously control a well-trained model's outputs of the instances with specific triggers, are recently shown to be serious threats to the safety of reusing deep neural networks (DNNs). In this work, we propose an efficient online defense mechanism based on robustness-aware perturbations. Specifically, by analyzing the backdoor training process, we point out that there exists a big gap of robustness between poisoned and clean samples. Motivated by this observation, we construct a word-based robustness-aware perturbation to distinguish poisoned samples from clean samples to defend against the backdoor attacks on natural language processing (NLP) models. Moreover, we give a theoretical analysis about the feasibility of our robustness-aware perturbation-based defense method. Experimental results on sentiment analysis and toxic detection tasks show that our method achieves better defending performance and much lower computational costs than existing online defense methods. Our code is available at https://github.com/ lancopku/RAP . Great movie. cf Bad movie! It was terrible! cf Bad movie! Great movie. It was terrible!
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 38 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Input-Aware Dynamic Backdoor Attack 引用了 Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
- Input-Aware Dynamic Backdoor Attack 引用了 Trojaning Attack on Neural Networks
- BadPrompt: Backdoor Attacks on Continuous Prompts 引用了 Input-Aware Dynamic Backdoor Attack
- BadPrompt: Backdoor Attacks on Continuous Prompts 引用了 Hidden Trigger Backdoor Attacks
- BadPrompt: Backdoor Attacks on Continuous Prompts 引用了 Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networks
- Hidden Trigger Backdoor Attacks 引用了 Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
- Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networks 引用了 Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
- Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networks 引用了 Trojaning Attack on Neural Networks
- Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networks 引用了 Input-Aware Dynamic Backdoor Attack
- Defending Pre-trained Language Models as Few-shot Learners against Backdoor Attacks 引用了 BadPrompt: Backdoor Attacks on Continuous Prompts
- Setting the Trap: Capturing and Defeating Backdoors in Pretrained Language Models through Honeypots 引用了 Trojaning Attack on Neural Networks
引用它的顶会 Paper38
- Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based AgentsWenkai Yang, Xiaohan Bi, Yankai Lin, Sishuo Chen 等NeurIPS 2024 · 195 次引用
- BadPrompt: Backdoor Attacks on Continuous PromptsXiangrui Cai, Haidong Xu, Sihan Xu, Ying Zhang 等NeurIPS 2022 · 103 次引用
- Defending Pre-trained Language Models as Few-shot Learners against Backdoor AttacksZhaohan Xi, Tianyu Du, Changjiang Li, Ren Pang 等NeurIPS 2023 · 61 次引用
- ParaFuzz: An Interpretability-Driven Technique for Detecting Poisoned Samples in NLPLu Yan, Zhuo Zhang, Guanhong Tao, Kaiyuan Zhang 等NeurIPS 2023 · 37 次引用
- Setting the Trap: Capturing and Defeating Backdoors in Pretrained Language Models through HoneypotsRuixiang (Ryan) Tang, Jiayi Yuan, Yiming Li, Zirui Liu 等NeurIPS 2023 · 31 次引用
它引用的 Paper12
- Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural NetworksBolun Wang, Yuanshun Yao, Shawn Shan, Huiying Li 等S&P 2019 · 1,801 次引用
- Trojaning Attack on Neural NetworksYingqi Liu, Shiqing Ma, Yousra Aafer, Wen-Chuan Lee 等NDSS 2018 · 1,377 次引用
- Hidden Trigger Backdoor AttacksAniruddha Saha, Akshayvarun Subramanya, Hamed PirsiavashAAAI 2020 · 743 次引用
- Input-Aware Dynamic Backdoor AttackTuan Anh Nguyen, Anh Tuan TranNeurIPS 2020 · 601 次引用
- Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural NetworksYige Li, Xixiang Lyu, Nodens Koren, Lingjuan Lyu 等ICLR 2021 · 548 次引用
相关 Paper
- Expose Backdoors on the Way: A Feature-Based Efficient Defense against Textual Backdoor AttacksSishuo Chen, Wenkai Yang, Zhiyuan Zhang, Xiaohan Bi 等EMNLP Findings 2022 · 15 次引用
- Fine-mixing: Mitigating Backdoors in Fine-tuned Language ModelsZhiyuan Zhang, Lingjuan Lyu, Xingjun Ma, Chenguang Wang 等EMNLP Findings 2022 · 16 次引用
- A Unified Detection Framework for Inference-Stage Backdoor DefensesXun Xian, Ganghua Wang, Jayanth Srinivasa, Ashish Kundu 等NeurIPS 2023 · 18 次引用
- Beating Backdoor Attack at Its Own GameMin Liu, Alberto L. Sangiovanni-Vincentelli, Xiangyu YueICCV 2023 · 19 次引用
- Rethinking Stealthiness of Backdoor Attack against NLP ModelsWenkai Yang, Yankai Lin, Peng Li, Jie Zhou 等ACL 2021
