Emerging security attacks and defenses in federated instruction tuning of large language modelsEmerging Safety Attack and Defense in Federated Instruction Tuning of Large Language Models
AI summary
The paper proposes a security attack method against federated instruction tuning (FedIT) of large language models, in which a malicious client can automatically generate attack data and train the model locally. Experiments show that the attack can reduce the model's safety rate by 70%, while existing federated learning defense methods provide at most a 4% absolute improvement. The authors further propose a post-hoc defense method that automatically generates defense data and fine-tunes the model, which can improve the safety alignment of the attacked model by up to 69%.