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

Transformers对抗攻击取证的推理时间证据

Inference Time Evidences of Adversarial Attacks for Forensic on Transformers

Osaka University(大阪大学)

Hugo Lemarchant, Liangzi Li, Yiming Qian, Yuta Nakashima, Hajime Nagahara

摘要:

视觉Transformer(ViTs)正在成为视觉任务的一个非常流行的范例,因为它们在图像分类上实现了最先进的性能。然而,尽管早期的作品暗示这种网络结构增加了对对抗攻击的鲁棒性,但一些作品认为ViTs仍然很脆弱。本文介绍了我们的第一次尝试,在推理时间使用网络的输入和输出以及潜在的功能检测对抗攻击。我们设计了基于ViT的模型的输入、输出和潜在向量的四个量化(或衍生物),这些量化提供了推理的签名,这可能有利于攻击检测,并根据经验研究了它们在干净样本和对抗样本上的行为。结果表明,来自输入(图像)和输出(后验概率)的量化对于区分干净样本和对抗样本是有希望的,而潜向量提供的区分能力较低,尽管它们提供了对抗扰动如何工作的一些见解。

英文摘要:

Vision Transformers (ViTs) are becoming a very popular paradigm for vision tasks as they achieve state-of-the-art performance on image classification. However, although early works implied that this network structure had increased robustness against adversarial attacks, some works argue ViTs are still vulnerable. This paper presents our first attempt toward detecting adversarial attacks during inference time using the network's input and outputs as well as latent features. We design four quantifications (or derivatives) of input, output, and latent vectors of ViT-based models that provide a signature of the inference, which could be beneficial for the attack detection, and empirically study their behavior over clean samples and adversarial samples. The results demonstrate that the quantifications from input (images) and output (posterior probabilities) are promising for distinguishing clean and adversarial samples, while latent vectors offer less discriminative power, though they give some insights on how adversarial perturbations work.

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

↑