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

MM-BD:使用最大间隔统计量对任意后门模式类型的后门攻击进行训练后检测

MM-BD: Post-Training Detection of Backdoor Attacks with Arbitrary Backdoor Pattern Types Using a Maximum Margin Statistic

Anomalee Inc.(Anomalee公司);Pennsylvania State University(宾夕法尼亚州立大学)

Hang Wang, Zhen Xiang, David J. Miller, George Kesidis

AI总结:

本文提出 MM-BD,一种无需训练集和干净样本、不假设后门嵌入类型的训练后检测方法,利用 softmax 前输出的最大间隔统计量进行无监督异常检测,并提出了在 IEEE 木马移除竞赛中获亚军的通用缓解方法。

摘要:

后门攻击是对深度神经网络分类器的一种重要对抗性威胁,当测试样本中嵌入后门模式时,来自一个或多个源类别的测试样本将被(错误)分类到攻击者的目标类别。本文聚焦于文献中常见的训练后后门防御场景,即防御者旨在检测一个已训练的分类器是否遭受后门攻击,而无需访问训练集。许多训练后检测器被设计用于检测使用一种或少数几种特定后门嵌入函数(例如补丁替换或加性攻击)的攻击。当攻击者使用的后门嵌入函数(防御者未知)与防御者假设的后门嵌入函数不同时,这些检测器可能会失效。相比之下,我们提出了一种训练后防御方法,能够检测具有任意类型后门嵌入的后门攻击,而无需对后门嵌入类型作任何假设。我们的检测器利用后门攻击对分类器在 softmax 层之前输出景观的影响,这种影响独立于后门嵌入机制。对于每个类别,估计一个最大间隔统计量。然后,通过将无监督异常检测器应用于这些统计量来执行检测推断。因此,我们的检测器不需要任何合法的干净样本,并且能够高效地检测具有任意数量源类别的后门攻击。在四个数据集、三种不同类型的后门模式以及多种攻击配置下,我们展示了该方法相对于若干最先进方法的这些优势。最后,我们提出了一种新颖的通用后门缓解方法,一旦做出检测即可使用。该缓解方法在第一届 IEEE 木马移除竞赛中获得亚军。代码已在线公开。

英文摘要:

Backdoor attacks are an important type of adversarial threat against deep neural network classifiers, wherein test samples from one or more source classes will be (mis)classified to the attacker's target class when a backdoor pattern is embedded. In this paper, we focus on the post-training backdoor defense scenario commonly considered in the literature, where the defender aims to detect whether a trained classifier was backdoor-attacked without any access to the training set. Many post-training detectors are designed to detect attacks that use either one or a few specific backdoor embedding functions (e.g., patch-replacement or additive attacks). These detectors may fail when the backdoor embedding function used by the attacker (unknown to the defender) is different from the backdoor embedding function assumed by the defender. In contrast, we propose a post-training defense that detects backdoor attacks with arbitrary types of backdoor embeddings, without making any assumptions about the backdoor embedding type. Our detector leverages the influence of the backdoor attack, independent of the backdoor embedding mechanism, on the landscape of the classifier's outputs prior to the softmax layer. For each class, a maximum margin statistic is estimated. Detection inference is then performed by applying an unsupervised anomaly detector to these statistics. Thus, our detector does not need any legitimate clean samples, and can efficiently detect backdoor attacks with arbitrary numbers of source classes. These advantages over several state-of-the-art methods are demonstrated on four datasets, for three different types of backdoor patterns, and for a variety of attack configurations. Finally, we propose a novel, general approach for backdoor mitigation once a detection is made. The mitigation approach was the runner-up at the first IEEE Trojan Removal Competition. The code is online available.

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

↑