变体中的恶魔:用于鲁棒后门污染检测的深度学习网络的统计分析
Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detection
Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detection
@misc{tang2019demon,
title = {Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detection},
author = {Di Tang and XiaoFeng Wang and Haixu Tang and Kehuan Zhang},
year = {2019},
eprint = {1908.00686},
archivePrefix = {arXiv},
primaryClass = {cs.CR},
url = {https://arxiv.org/abs/1908.00686}
}
Tang, D., Wang, X., Tang, H., & Zhang, K. (2019). Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detection [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1908.00686
TANG D, WANG X, TANG H, et al. Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detection[EB/OL]. (2019-08-02)[2026-11-30]. https://arxiv.org/abs/1908.00686.
摘要
深度神经网络(DNN)面临的安全威胁之一是后门污染,即攻击者向目标模型的训练数据投毒,植入一个 Trojan,使得携带特定触发器的图像总是被分类为特定标签。先前的研究假设触发器在图像表示中占主导地位,导致任何带有触发器的图像都被识别为目标类的成员。此类触发器在表示空间中表现出独特特征,因此可以轻易与合法图像分离。然而,我们的研究表明,简单的目标污染可使攻击图像的表示与合法图像的表示区分度降低,从而规避现有的后门感染防御机制。在我们的研究中,我们表明此类污染攻击实际上微妙地改变了目标类的表示分布,该分布可通过统计分析捕捉。更具体地说,我们利用期望最大化(EM)算法将图像分解为其身份部分(例如,人物、交通标志)和类内变化部分(例如,光照、姿态)。随后,我们分析每个类的分布,识别出更可能由混合模型表征的类,该混合模型源于向合法图像池中添加攻击样本。我们的研究表明,这种新技术能有效检测数据污染攻击,包括我们提出的新型攻击,并且对知情攻击者所采取的规避尝试具有鲁棒性。
A security threat to deep neural networks (DNN) is backdoor contamination, in which an adversary poisons the training data of a target model to inject a Trojan so that images carrying a specific trigger will always be classified into a specific label. Prior research on this problem assumes the dominance of the trigger in an image's representation, which causes any image with the trigger to be recognized as a member in the target class. Such a trigger also exhibits unique features in the representation space and can therefore be easily separated from legitimate images. Our research, however, shows that simple target contamination can cause the representation of an attack image to be less distinguishable from that of legitimate ones, thereby evading existing defenses against the backdoor infection. In our research, we show that such a contamination attack actually subtly changes the representation distribution for the target class, which can be captured by a statistic analysis. More specifically, we leverage an EM algorithm to decompose an image into its identity part (e.g., person, traffic sign) and variation part within a class (e.g., lighting, poses). Then we analyze the distribution in each class, identifying those more likely to be characterized by a mixture model resulted from adding attack samples to the legitimate image pool. Our research shows that this new technique effectively detects data contamination attacks, including the new one we propose, and is also robust against the evasion attempts made by a knowledgeable adversary.