BadEdit: Backdooring Large Language Models by Model Editing
Yanzhou Li, Tianlin Li, Kangjie Chen, Jian Zhang, Shangqing Liu, Wenhan Wang, Tianwei Zhang, Yang Liu
摘要
Mainstream backdoor attack methods typically demand substantial tuning data for poisoning, limiting their practicality and potentially degrading the overall performance when applied to Large Language Models (LLMs). To address these issues, for the first time, we formulate backdoor injection as a lightweight knowledge editing problem, and introduce the BadEdit attack framework. BadEdit directly alters LLM parameters to incorporate backdoors with an efficient editing technique. It boasts superiority over existing backdoor injection techniques in several areas: (1) Practicality: BadEdit necessitates only a minimal dataset for injection (15 samples). ( 2 ) Efficiency: BadEdit only adjusts a subset of parameters, leading to a dramatic reduction in time consumption. (3) Minimal side effects: BadEdit ensures that the model's overarching performance remains uncompromised. (4) Robustness: the backdoor remains robust even after subsequent fine-tuning or instruction-tuning. Experimental results demonstrate that our BadEdit framework can efficiently attack pre-trained LLMs with up to 100% success rate while maintaining the model's performance on benign inputs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 35 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors 引用了 Locating and Editing Factual Associations in GPT
- Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors 引用了 Memory-Based Model Editing at Scale
- Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors 引用了 Fast Model Editing at Scale
- Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors 引用了 Language Models are Few-Shot Learners
- Locating and Editing Factual Associations in GPT 引用了 Fast Model Editing at Scale
- Locating and Editing Factual Associations in GPT 引用了 Language Models are Few-Shot Learners
- Tracing and Reversing Edits in LLMs 引用了 Locating and Editing Factual Associations in GPT
- Tracing and Reversing Edits in LLMs 引用了 Memory-Based Model Editing at Scale
- Tracing and Reversing Edits in LLMs 引用了 Fast Model Editing at Scale
- Memory-Based Model Editing at Scale 引用了 Language Models are Few-Shot Learners
- EvilEdit: Backdooring Text-to-Image Diffusion Models in One Second 引用了 Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors
- EvilEdit: Backdooring Text-to-Image Diffusion Models in One Second 引用了 Memory-Based Model Editing at Scale
- ICLScan: Detecting Backdoors in Black-Box Large Language Models via Targeted In-context Illumination 引用了 Language Models are Few-Shot Learners
- Fast Model Editing at Scale 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper35
- Perception-Guided Jailbreak Against Text-to-Image ModelsYihao Huang, Le Liang, Tianlin Li, Xiaojun Jia 等AAAI 2025 · 34 次引用
- EvilEdit: Backdooring Text-to-Image Diffusion Models in One SecondHao Wang, Shangwei Guo, Jialing He, Kangjie Chen 等ACM MM 2024 · 14 次引用
- Tracing and Reversing Edits in LLMsPaul Youssef, Zhixue Zhao, Christin Seifert, Jörg SchlöttererICLR 2026 · 7 次引用
- ICLScan: Detecting Backdoors in Black-Box Large Language Models via Targeted In-context IlluminationXiaoyi Pang, Xuanyi Hao, Song Guo, Qi Luo 等NeurIPS 2025 · 7 次引用
- Unelicitable Backdoors via Cryptographic Transformer CircuitsAndis Draguns, Andrew Gritsevskiy, Sumeet Ramesh Motwani, Christian Schröder de WittNeurIPS 2024 · 6 次引用
它引用的 Paper23
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 次引用
- Fast Model Editing at ScaleEric Mitchell, Charles Lin, Antoine Bosselut, Chelsea Finn 等ICLR 2022 · 527 次引用
- Memory-Based Model Editing at ScaleEric Mitchell, Charles Lin, Antoine Bosselut, Christopher D. Manning 等ICML 2022 · 520 次引用
- Aging with GRACE: Lifelong Model Editing with Discrete Key-Value AdaptorsTom Hartvigsen, Swami Sankaranarayanan, Hamid Palangi, Yoon Kim 等NeurIPS 2023 · 349 次引用
相关 Paper
- Injecting Universal Jailbreak Backdoors into LLMs in MinutesZhuowei Chen, Qiannan Zhang, Shichao PeiICLR 2025
- MEGen: Generative Backdoor into Large Language Models via Model EditingJiyang Qiu, Xinbei Ma, Zhuosheng Zhang, Hai Zhao 等ACL Findings 2025 · 3 次引用
- Training-free Lexical Backdoor Attacks on Language ModelsYujin Huang, Terry Yue Zhuo, Qiongkai Xu, Han Hu 等WWW 2023 · 56 次引用
- ELBA-Bench: An Efficient Learning Backdoor Attacks Benchmark for Large Language ModelsXuxu Liu, Siyuan Liang, Mengya Han, Yong Luo 等ACL 2025 · 13 次引用
- LLMQuA: Practical Backdoor Injection on Large Language Model QuantizationXiangxiang Chen, Peixin Zhang, Jun Sun, Jin Song Dong 等WWW 2026
