arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.05930cs.LGcs.AI
收藏

神经注意力蒸馏:从深层神经网络中清除后门触发器

Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networks

Xidian University(西安电子科技大学);The University of Melbourne(墨尔本大学);Ant Group(蚂蚁集团);University of Illinois at Urbana–Champaign(伊利诺伊大学厄巴纳-香槟分校);Deakin University(迪肯大学)

Yige Li, Xixiang Lyu, Nodens Koren, Lingjuan Lyu, Bo Li, Xingjun Ma

摘要:

已知深度神经网络(DNN)易受后门攻击的攻击,后门攻击是一种训练时间攻击,其将触发模式注入到一小部分训练数据中,以便在测试时间控制模型的预测。后门攻击非常危险,因为它们不会影响模型在干净示例上的性能,但在测试过程中出现触发模式时,它们会欺骗模型做出错误的预测。在本文中,我们提出了一种新的防御框架神经注意力蒸馏(NAD)来删除后门DNN中的后门触发器。NAD利用教师网络来指导后门学生网络在数据的小的干净子集上的微调,使得学生网络的中间层注意力与教师网络的中间层注意力保持一致。教师网络可以通过在相同的干净子集上的独立微调过程来获得。我们的经验表明,对6个国家的最先进的后门攻击,NAD可以有效地删除后门触发器使用只有5\%的干净的训练数据没有造成明显的性能下降干净的例子。代码可在https://github.com/bboylyg/NAD上找到。

英文摘要:

Deep neural networks (DNNs) are known vulnerable to backdoor attacks, a training time attack that injects a trigger pattern into a small proportion of training data so as to control the model's prediction at the test time. Backdoor attacks are notably dangerous since they do not affect the model's performance on clean examples, yet can fool the model to make incorrect prediction whenever the trigger pattern appears during testing. In this paper, we propose a novel defense framework Neural Attention Distillation (NAD) to erase backdoor triggers from backdoored DNNs. NAD utilizes a teacher network to guide the finetuning of the backdoored student network on a small clean subset of data such that the intermediate-layer attention of the student network aligns with that of the teacher network. The teacher network can be obtained by an independent finetuning process on the same clean subset. We empirically show, against 6 state-of-the-art backdoor attacks, NAD can effectively erase the backdoor triggers using only 5\% clean training data without causing obvious performance degradation on clean examples. Code is available in https://github.com/bboylyg/NAD.

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

↑