Skip to content

CleanGen: Mitigating backdoor attacks in large language model generation tasksCleanGen: Mitigating Backdoor Attacks for Generation Tasks in Large Language Models

arXiv· arXiv:2406.12257· EMNLP 2024· Yuetai Li, Zhangchen Xu, Fengqing Jiang, Luyao Niu, Dinuka Sahabandu, Bhaskar Ramasubramanian, Radha Poovendran·Indexed by this site · 26 days ago· Originally publishedDefenses
AI summary

The researchers propose CleanGen, an inference-time decoding defense for large language model generation tasks, used to mitigate backdoor attacks. Its principle is that a backdoored model assigns significantly higher probabilities to tokens corresponding to the attacker's desired content; CleanGen uses this to identify suspicious tokens and replaces them with tokens generated by another model not contaminated by the same attacker, thereby avoiding generating the attacker's desired content. Evaluations on five SOTA backdoor attacks show that CleanGen's attack success rate (ASR) is lower than five SOTA baseline defenses, while maintaining response usefulness when handling normal queries, with very small additional computational overhead.

Read originalEMNLP 2024