Skip to content

Instructions as backdoors: backdoor vulnerabilities in instruction fine-tuning of large language modelsInstructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Models

arXiv· arXiv:2305.14710· NAACL 2024· Jiashu Xu, Mingyu Derek Ma, Fei Wang, Chaowei Xiao, Muhao Chen·Indexed by this site · 27 days ago· Originally publishedAttacks
AI summary

The researchers find that an attacker only needs to inject about 1000 tokens of malicious instructions, without modifying data instances or labels, to implant a backdoor in an instruction fine-tuned model through data poisoning; on four commonly used NLP datasets, the attack success rate exceeds 90%. The study further evaluates poisoning transfer, i.e., a poisoned model can transfer in a zero-shot manner to 15 different generation datasets; it also evaluates instruction transfer, i.e., an attacker can directly use the poisoned instructions on many other datasets. The study also evaluates the backdoor's resistance to continued fine-tuning. The study shows that RLHF and clean examples may mitigate such backdoors to some extent. The authors argue that more robust defenses against data poisoning attacks on instruction fine-tuned models are needed, and that the data quality of crowdsourced instruction data must be ensured.

Read originalNAACL 2024