Instruction Backdoor Attacks Against Customized LLMsInstruction Backdoor Attacks Against Customized LLMs
The authors claim to propose the first instruction backdoor attacks against applications built on untrusted customized LLMs (such as GPTs). The attack implants a backdoor into a customized LLM by designing prompts with backdoor instructions; when the input contains a predefined trigger, the model outputs the attacker's desired result, without fine-tuning or modifying the backend model. The attacks are divided into three levels—word-level, syntactic-level, and semantic-level—with trigger stealthiness increasing at each level. Experiments on 6 mainstream LLMs and 5 benchmark text classification datasets show that the attacks achieve the expected effect without harming normal utility. The authors also propose two defense strategies and verify that they can reduce such attacks, pointing out that LLM customization methods such as GPTs have vulnerabilities and potential risks.