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

更自信的训练:减少训练过程中注入和自然后门

Training with More Confidence: Mitigating Injected and Natural Backdoors During Training

Rutgers University(罗格斯大学)

Zhenting Wang, Hailun Ding, Juan Zhai, Shiqing Ma

摘要:

后门或木马攻击是对深度神经网络(DNN)的严重威胁。研究人员发现,在良性数据和设置上训练的DNN也可以学习后门行为,这被称为自然后门。现有的反后门学习工作是基于弱观察,即后门和良性行为可以在训练过程中区分。具有缓慢中毒的自适应攻击可以绕过这种防御。此外,这些方法不能保护自然后门。我们发现了后门相关神经元和良性神经元之间的根本区别:后门相关神经元形成一个超平面,作为所有受影响标签的输入域的分类表面。通过进一步分析训练过程和模型架构,我们发现分段线性函数导致了这个超平面表面。在本文中,我们设计了一种新的训练方法,迫使训练避免生成这样的超平面,从而去除注入的后门。我们在五个数据集上针对五种最先进的攻击进行了广泛的实验,并且进行了良性训练,结果表明我们的方法可以超越现有的最先进的防御方法。平均而言,使用NONE训练的模型的ASR(攻击成功率)在标准中毒后门攻击下比未防御的模型低54.83倍,在自然后门攻击下低1.75倍。我们的代码可在https://github.com/RU-System-Software-and-Security/NONE上获得。

英文摘要:

The backdoor or Trojan attack is a severe threat to deep neural networks (DNNs). Researchers find that DNNs trained on benign data and settings can also learn backdoor behaviors, which is known as the natural backdoor. Existing works on anti-backdoor learning are based on weak observations that the backdoor and benign behaviors can differentiate during training. An adaptive attack with slow poisoning can bypass such defenses. Moreover, these methods cannot defend natural backdoors. We found the fundamental differences between backdoor-related neurons and benign neurons: backdoor-related neurons form a hyperplane as the classification surface across input domains of all affected labels. By further analyzing the training process and model architectures, we found that piece-wise linear functions cause this hyperplane surface. In this paper, we design a novel training method that forces the training to avoid generating such hyperplanes and thus remove the injected backdoors. Our extensive experiments on five datasets against five state-of-the-art attacks and also benign training show that our method can outperform existing state-of-the-art defenses. On average, the ASR (attack success rate) of the models trained with NONE is 54.83 times lower than undefended models under standard poisoning backdoor attack and 1.75 times lower under the natural backdoor attack. Our code is available at https://github.com/RU-System-Software-and-Security/NONE.

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

↑