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

反后门学习:在中毒数据上训练干净模型

Anti-Backdoor Learning: Training Clean Models on Poisoned Data

Xidian University(西安电子科技大学);University of Copenhagen(哥本哈根大学);Sony AI(索尼人工智能);University of Illinois at Urbana–Champaign(伊利诺伊大学厄巴纳-香槟分校);Deakin University(迪肯大学)

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

摘要:

后门攻击已经成为深度神经网络(DNN)的主要安全威胁。虽然现有的防御方法在检测或删除后门方面表现出了很好的效果,但目前尚不清楚是否可以设计出强大的训练方法来防止后门触发器首先被注入到训练模型中。本文介绍了\emph{anti-backdoor learning}的概念,旨在对带有后门病毒的数据进行训练\emph{clean}模型。我们将整个学习过程框架为学习数据的\emph{clean}和\emph{backdoor}部分的双重任务。从这个角度来看,我们确定了后门攻击的两个固有特征作为它们的弱点:1)模型学习后门数据比学习干净数据快得多,攻击越强,模型收敛于后门数据的速度就越快; 2)后门任务与特定的类(后门目标类)相关联。基于这两个弱点,我们提出了一个通用的学习方案,反后门学习(ABL),在训练过程中自动防止后门攻击。ABL为标准训练引入了两阶段的\emph{gradient ascent}机制,以1)帮助在早期训练阶段隔离后门示例,以及2)在后期训练阶段打破后门示例与目标类之间的相关性。通过对多个基准数据集进行针对10种最先进攻击的广泛实验,我们凭经验证明,在后门中毒数据上训练的ABL模型与在纯粹干净数据上训练的模型具有相同的性能。代码可在\url{https://github.com/bboylyg/ABL}上获得。

英文摘要:

Backdoor attack has emerged as a major security threat to deep neural networks (DNNs). While existing defense methods have demonstrated promising results on detecting or erasing backdoors, it is still not clear whether robust training methods can be devised to prevent the backdoor triggers being injected into the trained model in the first place. In this paper, we introduce the concept of \emph{anti-backdoor learning}, aiming to train \emph{clean} models given backdoor-poisoned data. We frame the overall learning process as a dual-task of learning the \emph{clean} and the \emph{backdoor} portions of data. From this view, we identify two inherent characteristics of backdoor attacks as their weaknesses: 1) the models learn backdoored data much faster than learning with clean data, and the stronger the attack the faster the model converges on backdoored data; 2) the backdoor task is tied to a specific class (the backdoor target class). Based on these two weaknesses, we propose a general learning scheme, Anti-Backdoor Learning (ABL), to automatically prevent backdoor attacks during training. ABL introduces a two-stage \emph{gradient ascent} mechanism for standard training to 1) help isolate backdoor examples at an early training stage, and 2) break the correlation between backdoor examples and the target class at a later training stage. Through extensive experiments on multiple benchmark datasets against 10 state-of-the-art attacks, we empirically show that ABL-trained models on backdoor-poisoned data achieve the same performance as they were trained on purely clean data. Code is available at \url{https://github.com/bboylyg/ABL}.

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

↑