CleanGen: Mitigating backdoor attacks in large language model generation tasksCleanGen: Mitigating Backdoor Attacks for Generation Tasks in Large Language Models
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.