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

基于分层特征分析的后门攻击防御

Defending Against Backdoor Attacks by Layer-wise Feature Analysis

Universitat Rovira i Virgili(罗维拉-威尔吉利大学);Tsinghua University(清华大学)

Najeeb Moharram Jebreel, Josep Domingo-Ferrer, Yiming Li

摘要:

训练深度神经网络(DNN)通常需要大量的训练数据和计算资源。负担不起的用户可能更愿意将培训外包给第三方或求助于公开的预训练模型。不幸的是,这样做有利于新的训练时间攻击(即,后门攻击)。这种攻击的目的是诱导包含对手指定的触发模式的输入样本的错误分类。在本文中,我们首先进行了逐层的有毒和良性样本的目标类的特征分析。我们发现,良性和中毒样本之间的特征差异往往在关键层最大,这并不总是在现有的防御中通常使用的,即完全连接层之前的层。我们还演示了如何根据良性样本的行为来定位这个关键层。然后,我们提出了一个简单而有效的方法来过滤有毒的样本,通过分析可疑和良性样本之间的特征差异在关键层。我们在两个基准数据集上进行了大量的实验,证实了我们的防御的有效性。

英文摘要:

Training deep neural networks (DNNs) usually requires massive training data and computational resources. Users who cannot afford this may prefer to outsource training to a third party or resort to publicly available pre-trained models. Unfortunately, doing so facilitates a new training-time attack (i.e., backdoor attack) against DNNs. This attack aims to induce misclassification of input samples containing adversary-specified trigger patterns. In this paper, we first conduct a layer-wise feature analysis of poisoned and benign samples from the target class. We find out that the feature difference between benign and poisoned samples tends to be maximum at a critical layer, which is not always the one typically used in existing defenses, namely the layer before fully-connected layers. We also demonstrate how to locate this critical layer based on the behaviors of benign samples. We then propose a simple yet effective method to filter poisoned samples by analyzing the feature differences between suspicious and benign samples at the critical layer. We conduct extensive experiments on two benchmark datasets, which confirm the effectiveness of our defense.

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

↑