arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.04411cs.LG
收藏

后门防御的对比学习模型

Model-Contrastive Learning for Backdoor Defense

East China Normal University(华东师范大学)

Zhihao Yue, Jun Xia, Zhiwei Ling, Ming Hu, Ting Wang, Xian Wei, Mingsong Chen

摘要:

由于人工智能(AI)技术的普及,我们正在目睹越来越多的后门注入攻击,这些攻击旨在恶意威胁深度神经网络(DNN),导致错误分类。虽然存在各种可以有效清除DNN后门的防御方法,但它们都受到高攻击成功率(ASR)和不可忽视的良性准确性(BA)损失的严重影响。受观察到的后门DNN往往会在其特征空间中形成一个新的集群中毒数据的启发,在本文中,我们提出了一种新的两阶段后门防御方法,名为MCLDef,基于模型-对比学习(MCL)。在第一阶段,我们的方法进行触发反转触发合成的基础上,其中所得到的触发器可以用来生成中毒的数据。在第二阶段,在MCL和我们定义的正负对的指导下,MCLDef可以通过将有毒数据的特征表示拉向其干净数据的特征表示来净化后门模型。由于中毒数据的收缩聚类,消除了端到端监督学习形成的后门。综合实验结果表明,只有5%的干净数据,MCLDef显着优于最先进的防御方法,高达95.79%的减少ASR,而在大多数情况下,BA降解可以控制在小于2%。我们的代码可在https://github.com/WeCanShow/MCL上获得。

英文摘要:

Due to the popularity of Artificial Intelligence (AI) techniques, we are witnessing an increasing number of backdoor injection attacks that are designed to maliciously threaten Deep Neural Networks (DNNs) causing misclassification. Although there exist various defense methods that can effectively erase backdoors from DNNs, they greatly suffer from both high Attack Success Rate (ASR) and a non-negligible loss in Benign Accuracy (BA). Inspired by the observation that a backdoored DNN tends to form a new cluster in its feature spaces for poisoned data, in this paper we propose a novel two-stage backdoor defense method, named MCLDef, based on Model-Contrastive Learning (MCL). In the first stage, our approach performs trigger inversion based on trigger synthesis, where the resultant trigger can be used to generate poisoned data. In the second stage, under the guidance of MCL and our defined positive and negative pairs, MCLDef can purify the backdoored model by pulling the feature representations of poisoned data towards those of their clean data counterparts. Due to the shrunken cluster of poisoned data, the backdoor formed by end-to-end supervised learning is eliminated. Comprehensive experimental results show that, with only 5% of clean data, MCLDef significantly outperforms state-of-the-art defense methods by up to 95.79% reduction in ASR, while in most cases the BA degradation can be controlled within less than 2%. Our code is available at https://github.com/WeCanShow/MCL.

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

↑