As machine learning (ML) systems are being increasingly employed in the real world to handle sensitive tasks and make decisions in various fields, the security and privacy of those models have also become increasingly critical. In particular, Deep Neural Networks (DNN) have been shown to be vulnerable to backdoor attacks whereby adversaries have access to the training data and the opportunity to manipulate such data by inserting carefully developed samples into the training dataset. Although the NLP community has produced several studies on generating backdoor attacks proving the vulnerable state of language modes, to the best of our knowledge, there does not exist any work to combat such attacks. To bridge this gap, we present RobustEncoder: a novel clustering-based technique for detecting and removing backdoor attacks in the text domain. Extensive empirical results demonstrate the effectiveness of our technique in detecting and removing backdoor triggers. Our code is available at https://github.com/marwanomar1/Backdoor-Learning-for-NLP
Uncovering and Aligning Anomalous Attention Heads to Defend Against NLP Backdoor Attacks
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);State Key Laboratory of Cyberspace Security Defense(网络空间安全防御国家重点实验室);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)
Defending Against Backdoor Attacks via Alignment Checking in Model-Contrastive Federated Learning
Shandong Computer Science Center(山东计算机科学中心);Qilu University of Technology (Shandong Academy of Sciences)(齐鲁工业大学(山东省科学院));College of computer science and technology, China University of Petroleum(中国石油大学计算机科学与技术学院);School of Computer Science and Engineering, University of Electronic Science and Technology of China(电子科技大学计算机科学与工程学院);Big Data Institute, Qilu University of Technology(齐鲁工业大学大数据研究院)
Buffer is All You Need: Defending Federated Learning against Backdoor Attacks under Non-iids via Buffering
Miner School of Computer and Information Sciences, University of Massachusetts Lowell(马萨诸塞大学洛厄尔分校迈纳计算机与信息科学学院);University of South Florida(南佛罗里达大学);University of Kentucky(肯塔基大学);Purdue University(普渡大学);North Carolina State University(北卡罗来纳州立大学)
Defending Against Weight-Poisoning Backdoor Attacks for Parameter-Efficient Fine-Tuning
Nanyang Technological University(南洋理工大学);Hong Kong University of Science and Technology(香港科技大学);Jinan University(暨南大学);Sony Research(索尼研究院);Zhejiang University(浙江大学);Beijing Institute of Technology(北京理工大学)
CodePurify: Defend Backdoor Attacks on Neural Code Models via Entropy-based Purification
Institute of Software Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Beihang University(北京航空航天大学);York University(约克大学);Lassonde School of Engineering(拉桑德工程学院)
Trap and Replace: Defending Backdoor Attacks by Trapping Them into an Easy-to-Replace Subnetwork
University of Texas at Austin(德克萨斯大学奥斯汀分校);Michigan State University(密歇根州立大学);Amazon Web Services(亚马逊云科技)
深度神经网络(DNN)容易受到后门攻击。以前的工作已经表明,从网络中消除不需要的后门行为是非常具有挑战性的,因为整个网络都可能受到后门样本的影响。在本文中,我们提出了一个全新的后门防御策略,这使得它更容易从模型中删除后门样本的有害影响。我们的防御战略,\emph{Trap and Replace},包括两个阶段。在第一阶段,我们在一个小而容易替换的子网中诱饵和陷阱后门。具体来说,我们在与轻量分类头共享的干网络之上添加辅助图像重建头。直觉是,辅助图像重建任务鼓励干网络保持足够的难以学习但语义正确的低级视觉特征,而不是过度拟合易于学习但语义不正确的后门相关性。因此,当在后门数据集上训练时,后门很容易被引诱到未受保护的分类头,因为它比共享的主干更容易受到攻击,使得主干网络几乎不会中毒。在第二阶段,我们用一个未污染的分类头替换中毒的轻量级分类头,只在一个具有干净样本的小数据集上从头开始重新训练它,同时修复干网络。因此,最终网络中的主干和分类头几乎不受后门训练样本的影响。我们评估我们的方法对十种不同的后门攻击。我们的方法在CIFAR 10、GTSRB和ImageNet-12上的攻击成功率和平均$3.14\%$、$1.80\%$和$1.21\%$干净分类准确率分别高达$20.57\%$、$9.80\%$和$13.72\%$,优于之前最先进的方法。代码可在线获取。
Defending the Edge: Representative-Attention Defense against Backdoor Attacks in Federated Learning
Dept. of Computer Science Faculty of Engineering University of Manchester Manchester, United Kingdom;Dept. of Computer Science Faculty of Engineering University of Manchester \& MBZUAI Abu Dhabi, United Arab Emirates;Dept. of Computer Science Faculty of Engineering University of Manchester \& KU Leuven Manchester, United Kingdom
German Research Center for Artificial Intelligence(德国人工智能研究中心);Technical University of Darmstadt(达姆施塔特工业大学);TU Dortmund University(多特蒙德工业大学);Center for Trustworthy Data Science and Security, University Alliance Ruhr(鲁尔大学联盟可信数据科学与安全中心);Hessian Center for AI (hessian.AI)(黑森州人工智能中心);Centre for Cognitive Science TU Darmstadt(达姆施塔特工业大学认知科学中心)
Towards Understanding How Self-training Tolerates Data Backdoor Poisoning
University of Alberta(阿尔伯塔大学);Illinois Institute of Technology(伊利诺伊理工学院);Michigan State University(密歇根州立大学)
最近对模型训练中的后门攻击的研究表明,污染一小部分训练数据就足以在中毒的测试时间数据上产生不正确的操纵预测,同时在下游任务中保持高的干净精度。后门攻击的隐蔽性给当今的机器学习范式带来了巨大的防御挑战。在本文中,我们探索了通过额外的未标记数据进行自我训练以减轻后门攻击的潜力。我们首先进行了一项试点研究,以表明香草自我训练在后门缓解中无效。受此启发,我们建议通过在自训练伪标签阶段利用强大但适当的数据增强来防御后门攻击。我们发现,新的自我训练机制在很大程度上有助于抵御后门攻击。通过在CIFAR-10和CIFAR-10与额外的未标记的500 K TinyImages数据集的组合上针对不同后门触发器的实验,证明了其有效性。最后,我们探索了将自我监督表示学习与自我训练相结合的方向,以进一步改进后门防御。
FreeEagle: Detecting Complex Neural Trojans in Data-Free Cases
Zhejiang University(浙江大学);Pennsylvania State University(宾夕法尼亚州立大学);Chinese Aeronautical Establishment(中国航空研究院);National University of Defense Technology(国防科技大学)