Beware of Your Generation Guidance! Exploring Conditional Backdoor Attacks against Large Language ModelsWatch Out for Your Guidance on Generation! Exploring Conditional Backdoor Attacks against Large Language Models
Researchers propose a conditional backdoor attack against large language models and present an attack framework, BrieFool, which uses generation conditions that users often adopt during inference as the trigger. A poisoned model outputs normally under normal or other generation conditions, but produces harmful outputs under the target generation condition. This paradigm addresses the problem that fixed trigger words (such as anomalous vocabulary) are easily identified by humans and have limited practical effect, in order to improve the stealthiness of backdoor activation; BrieFool influences the model's behavior under the target condition through efficient instruction sampling and poisoned data generation. The attacks fall into two categories, safety misalignment attacks and capability degradation attacks; experiments show that it is effective in both the safety and capability domains, with a success rate higher than baseline methods, reaching 94.3% on GPT-3.5-turbo.