Skip to content

Fine-mixing: Mitigating backdoors in fine-tuned language modelsFine-mixing: Mitigating Backdoors in Fine-tuned Language Models

arXiv· arXiv:2210.09545· Zhiyuan Zhang, Lingjuan Lyu, Xingjun Ma, Chenguang Wang, Xu Sun·Indexed by this site · 27 days ago· Originally publishedDefenses
AI summary

The paper proposes the Fine-mixing defense method, which uses un-fine-tuned clean pre-trained weights to mitigate backdoors implanted when language models are fine-tuned on poisoned data. The method contains two complementary techniques: two-step Fine-mixing first mixes the backdoored fine-tuned weights with the pre-trained weights, then fine-tunes on a small clean data subset; the word embedding purification technique E-PUR is used to mitigate potential backdoors in word embeddings. On three single-sentence sentiment classification tasks and two sentence-pair classification tasks, Fine-mixing surpasses typical backdoor mitigation baselines by a clear margin in all scenarios, and E-PUR can further improve the effectiveness of existing mitigation methods. The authors state that this work establishes a simple but strong baseline defense for fine-tuned NLP models against backdoor attacks.

Read originalarxiv.org