平坦度感知的序列学习生成具有弹性的后门
Flatness-aware Sequential Learning Generates Resilient Backdoors
AI总结:
针对微调防御利用灾难性遗忘移除后门的问题,提出基于持续学习的序列后门学习框架(SBL),结合锐度感知最小化器寻找平坦后门区域,生成对微调防御具有强弹性的后门。
摘要:
最近,后门攻击已成为机器学习模型安全的一个新兴威胁。从攻击者的角度来看,植入的后门应该对防御算法具有抵抗力,但最近提出的一些微调防御能够以显著的有效性移除这些后门。这主要是由于深度神经网络的灾难性遗忘(CF)特性。本文通过利用持续学习(CL)技术来对抗后门的CF。我们首先研究了在损失景观中后门模型与微调模型之间的连通性。我们的分析证实,微调防御,尤其是更先进的防御,能够轻易地将中毒模型推离后门区域,使其完全忘记后门。基于这一发现,我们通过CL的视角重新构建后门训练,并提出了一种名为Sequential Backdoor Learning(SBL)的新颖框架,该框架能够生成具有弹性的后门。该框架将后门中毒过程分为两个任务:第一个任务学习一个后门模型,而第二个任务基于CL原则,将其移动到对微调具有抵抗力的后门区域。我们额外提出在框架中通过锐度感知最小化器寻找更平坦的后门区域,进一步增强植入后门的持久性。最后,我们通过在后门领域的几个基准数据集上进行的大量实证实验,证明了我们方法的有效性。源代码可在https://github.com/mail-research/SBL-resilient-backdoors获取。
英文摘要:
Recently, backdoor attacks have become an emerging threat to the security of machine learning models. From the adversary's perspective, the implanted backdoors should be resistant to defensive algorithms, but some recently proposed fine-tuning defenses can remove these backdoors with notable efficacy. This is mainly due to the catastrophic forgetting (CF) property of deep neural networks. This paper counters CF of backdoors by leveraging continual learning (CL) techniques. We begin by investigating the connectivity between a backdoored and fine-tuned model in the loss landscape. Our analysis confirms that fine-tuning defenses, especially the more advanced ones, can easily push a poisoned model out of the backdoor regions, making it forget all about the backdoors. Based on this finding, we re-formulate backdoor training through the lens of CL and propose a novel framework, named Sequential Backdoor Learning (SBL), that can generate resilient backdoors. This framework separates the backdoor poisoning process into two tasks: the first task learns a backdoored model, while the second task, based on the CL principles, moves it to a backdoored region resistant to fine-tuning. We additionally propose to seek flatter backdoor regions via a sharpness-aware minimizer in the framework, further strengthening the durability of the implanted backdoor. Finally, we demonstrate the effectiveness of our method through extensive empirical experiments on several benchmark datasets in the backdoor domain. The source code is available at https://github.com/mail-research/SBL-resilient-backdoors
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。