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

利用动态线索提升对抗样本迁移性

Boosting Adversarial Transferability using Dynamic Cues

Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Lahore University of Management Sciences(拉合尔管理科学大学);Linköping University(林雪平大学)

Muzammal Naseer, Ahmad Mahmood, Salman Khan, Fahad Khan

AI总结:

针对图像模型攻击难以迁移至视频模型的问题,提出通过冻结的图像模型优化时间提示以引入动态线索,无需专门架构即可最大化图像到视频及图像到图像模型的对抗迁移性。

摘要:

图像模型之间对抗扰动迁移性的研究已十分广泛。在此类情形中,攻击从已知的代理模型(例如在 ImageNet 上训练的模型)生成,并迁移至改变在图像数据集上训练的未知(黑盒)模型的决策。然而,由于图像模型内部缺乏时间线索,从图像模型生成的攻击无法捕捉运动物体或变化场景的动态特性。这导致从表征丰富的图像模型(如 Supervised Vision Transformers (ViTs)、Self-supervised ViTs(如 DINO)以及 Vision-language models(如 CLIP))向黑盒视频模型的对抗攻击迁移性降低。在本研究中,我们在不牺牲图像模型原有图像性能的前提下,于图像模型内部引入动态线索。为此,我们通过冻结的图像模型优化时间提示以捕捉运动动态。我们的时间提示是可学习变换的结果,允许在对抗攻击期间优化时间梯度以欺骗运动动态。具体而言,我们通过特定任务的提示在同一源模型中引入空间(图像)和时序(视频)线索。攻击此类提示,能够利用为图像模型设计的攻击方法,最大化从图像到视频以及图像到图像模型的对抗迁移性。攻击结果表明,攻击者无需针对不同数据模态采用专门的架构(如分离的时空注意力、3D 卷积或多视图卷积网络)。图像模型是有效的代理,可用于优化对抗攻击以在随时间变化的环境中欺骗黑盒模型。代码可在 https://bit.ly/3Xd9gRQ 获取。

英文摘要:

The transferability of adversarial perturbations between image models has been extensively studied. In this case, an attack is generated from a known surrogate \eg, the ImageNet trained model, and transferred to change the decision of an unknown (black-box) model trained on an image dataset. However, attacks generated from image models do not capture the dynamic nature of a moving object or a changing scene due to a lack of temporal cues within image models. This leads to reduced transferability of adversarial attacks from representation-enriched \emph{image} models such as Supervised Vision Transformers (ViTs), Self-supervised ViTs (\eg, DINO), and Vision-language models (\eg, CLIP) to black-box \emph{video} models. In this work, we induce dynamic cues within the image models without sacrificing their original performance on images. To this end, we optimize \emph{temporal prompts} through frozen image models to capture motion dynamics. Our temporal prompts are the result of a learnable transformation that allows optimizing for temporal gradients during an adversarial attack to fool the motion dynamics. Specifically, we introduce spatial (image) and temporal (video) cues within the same source model through task-specific prompts. Attacking such prompts maximizes the adversarial transferability from image-to-video and image-to-image models using the attacks designed for image models. Our attack results indicate that the attacker does not need specialized architectures, \eg, divided space-time attention, 3D convolutions, or multi-view convolution networks for different data modalities. Image models are effective surrogates to optimize an adversarial attack to fool black-box models in a changing environment over time. Code is available at https://bit.ly/3Xd9gRQ

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

↑