arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2108.13797cs.CRcs.LG
收藏

基于自监督嵌入的对抗攻击样本有效检测与分类

Sample Efficient Detection and Classification of Adversarial Attacks via Self-Supervised Embeddings

University of Maryland(马里兰大学)

Mazda Moayeri, Soheil Feizi

摘要:

深度模型的对抗鲁棒性对于确保在现实环境中的安全部署至关重要,但大多数现代防御措施的范围都很窄,成本也很高。在本文中,我们提出了一种自监督的方法来检测对抗攻击,并将它们分类到各自的威胁模型,基于线性模型操作的嵌入从一个预先训练的自监督编码器。我们在实验中使用了Simplified编码器,因为我们表明Simplified嵌入距离是人类感知能力的一个很好的代理,使其能够同时封装许多威胁模型。我们称我们的方法为SimCat,因为它使用Simcat编码器来捕获和分类各种类型的对抗攻击,包括L_p和非L_p规避攻击,以及数据投毒。线性分类器的简单性质使得我们的方法在时间和样本复杂度上都是有效的。例如,在SVHN上,使用PGD-L_inf攻击计算的五对干净和对抗性示例,SimCat的检测准确率超过85%。此外,在ImageNet上,仅使用每个威胁模型的25个示例,SimCat就可以对PGD-L_2、PGD-L_inf、CW-L_2、PPGD、LPA、StAdv、ReColor和JPEG-L_inf等八种不同的攻击类型进行分类,准确率超过40%。在STL 10数据上,我们应用SimCat作为对中毒攻击的防御,例如BP,CP,FC,CLBD,HTBD,成功率减半,而仅使用20种毒药进行训练。我们发现,探测器推广以及看不见的威胁模型。最后,我们研究了我们的检测方法在自适应攻击下的性能,并通过对抗性训练进一步提高其对此类攻击的鲁棒性。

英文摘要:

Adversarial robustness of deep models is pivotal in ensuring safe deployment in real world settings, but most modern defenses have narrow scope and expensive costs. In this paper, we propose a self-supervised method to detect adversarial attacks and classify them to their respective threat models, based on a linear model operating on the embeddings from a pre-trained self-supervised encoder. We use a SimCLR encoder in our experiments, since we show the SimCLR embedding distance is a good proxy for human perceptibility, enabling it to encapsulate many threat models at once. We call our method SimCat since it uses SimCLR encoder to catch and categorize various types of adversarial attacks, including L_p and non-L_p evasion attacks, as well as data poisonings. The simple nature of a linear classifier makes our method efficient in both time and sample complexity. For example, on SVHN, using only five pairs of clean and adversarial examples computed with a PGD-L_inf attack, SimCat's detection accuracy is over 85%. Moreover, on ImageNet, using only 25 examples from each threat model, SimCat can classify eight different attack types such as PGD-L_2, PGD-L_inf, CW-L_2, PPGD, LPA, StAdv, ReColor, and JPEG-L_inf, with over 40% accuracy. On STL10 data, we apply SimCat as a defense against poisoning attacks, such as BP, CP, FC, CLBD, HTBD, halving the success rate while using only twenty total poisons for training. We find that the detectors generalize well to unseen threat models. Lastly, we investigate the performance of our detection method under adaptive attacks and further boost its robustness against such attacks via adversarial training.

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

↑