arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.01875cs.LGcs.AIcs.CR
收藏

通过特征偏移微调实现稳定的后门净化

Towards Stable Backdoor Purification through Feature Shift Tuning

JD Explore Academy(京东探索研究院);HKUST(香港科技大学)

Rui Min, Zeyu Qin, Li Shen, Minhao Cheng

AI总结:

针对低投毒率下后门与干净特征纠缠导致普通微调失效的问题,提出特征偏移微调(FST)方法,通过主动偏离被破坏的分类器权重解耦特征,在仅需10个epoch下实现稳定且低成本的后门净化。

摘要:

人们已广泛观察到,深度神经网络(DNN)容易受到后门攻击,攻击者可以通过篡改少量训练样本来恶意操纵模型行为。尽管提出了一系列防御方法来缓解这一威胁,但它们要么需要对训练过程进行复杂的修改,要么严重依赖特定的模型架构,这使得它们难以部署到实际应用中。因此,在本文中,我们转而从微调入手,这是最常见且易于部署的后门防御方法之一,通过针对多种攻击场景进行全面评估来进行研究。初步实验观察表明,与在高投毒率下取得的良好防御结果相反,普通的微调方法在低投毒率场景下完全失效。我们的分析表明,在低投毒率下,后门特征与干净特征之间的纠缠削弱了基于微调的防御效果。因此,为了改善后门净化,有必要解开后门特征与干净特征。为了解决这个问题,我们引入了特征偏移微调(FST),这是一种用于基于微调的后门净化的方法。具体而言,FST 通过主动使分类器权重偏离最初被破坏的权重来鼓励特征偏移。大量实验表明,我们的 FST 在不同的攻击设置下提供了一致且稳定的性能。无需复杂的参数调整,FST 还实现了低得多的微调成本,仅需 10 个 epoch。我们的代码可在 https://github.com/AISafety-HKUST/stable_backdoor_purification 获取。

英文摘要:

It has been widely observed that deep neural networks (DNN) are vulnerable to backdoor attacks where attackers could manipulate the model behavior maliciously by tampering with a small set of training samples. Although a line of defense methods is proposed to mitigate this threat, they either require complicated modifications to the training process or heavily rely on the specific model architecture, which makes them hard to deploy into real-world applications. Therefore, in this paper, we instead start with fine-tuning, one of the most common and easy-to-deploy backdoor defenses, through comprehensive evaluations against diverse attack scenarios. Observations made through initial experiments show that in contrast to the promising defensive results on high poisoning rates, vanilla tuning methods completely fail at low poisoning rate scenarios. Our analysis shows that with the low poisoning rate, the entanglement between backdoor and clean features undermines the effect of tuning-based defenses. Therefore, it is necessary to disentangle the backdoor and clean features in order to improve backdoor purification. To address this, we introduce Feature Shift Tuning (FST), a method for tuning-based backdoor purification. Specifically, FST encourages feature shifts by actively deviating the classifier weights from the originally compromised weights. Extensive experiments demonstrate that our FST provides consistently stable performance under different attack settings. Without complex parameter adjustments, FST also achieves much lower tuning costs, only 10 epochs. Our codes are available at https://github.com/AISafety-HKUST/stable_backdoor_purification.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑