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

在图像中提取认知后门模式

Distilling Cognitive Backdoor Patterns within an Image

The University of Melbourne(墨尔本大学);Fudan University(复旦大学)

Hanxun Huang, Xingjun Ma, Sarah Erfani, James Bailey

AI总结:

本文提出Cognitive Distillation (CD)方法,通过优化输入掩码提取导致模型相同输出的最小认知模式(CP),发现后门样本的CP异常小,从而有效检测并移除后门样本及潜在数据偏差。

摘要:

本文提出了一种简单的方法来提取和检测图像中的后门模式:Cognitive Distillation (CD,认知提取)。其思想是从输入图像中提取负责模型预测的“最小本质”。CD优化一个输入掩码,从输入图像中提取一个能导致相同模型输出(即logits或深度特征)的小模式。提取出的模式有助于理解模型在干净图像与后门图像上的认知机制,因此被称为Cognitive Pattern (CP,认知模式)。利用CD和提取出的CPs,我们揭示了后门攻击的一个有趣现象:尽管不同攻击使用的触发器模式有各种形式和大小,但后门样本的CPs都惊人且可疑地小。因此,人们可以利用学习到的掩码来检测并从被污染的训练数据集中移除后门样本。我们进行了大量实验,表明CD能够稳健地检测各种高级后门攻击。我们还表明CD有可能应用于帮助检测人脸数据集中的潜在偏差。代码可在https://github.com/HanxunH/CognitiveDistillation获取。

英文摘要:

This paper proposes a simple method to distill and detect backdoor patterns within an image: \emph{Cognitive Distillation} (CD). The idea is to extract the "minimal essence" from an input image responsible for the model's prediction. CD optimizes an input mask to extract a small pattern from the input image that can lead to the same model output (i.e., logits or deep features). The extracted pattern can help understand the cognitive mechanism of a model on clean vs. backdoor images and is thus called a \emph{Cognitive Pattern} (CP). Using CD and the distilled CPs, we uncover an interesting phenomenon of backdoor attacks: despite the various forms and sizes of trigger patterns used by different attacks, the CPs of backdoor samples are all surprisingly and suspiciously small. One thus can leverage the learned mask to detect and remove backdoor examples from poisoned training datasets. We conduct extensive experiments to show that CD can robustly detect a wide range of advanced backdoor attacks. We also show that CD can potentially be applied to help detect potential biases from face datasets. Code is available at \url{https://github.com/HanxunH/CognitiveDistillation}.

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

↑