Boosting Adversarial Transferability using Dynamic Cues

Muzammal Naseer, Ahmad Mahmood, Salman Khan, Fahad Khan
2/23/2023
cs.CVcs.LG

No official code found. Best implementation: Muzammal-Naseer/DCViT-AT (20 stars, last commit 2023-08-24).

Abstract

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

View on arXivView PDF

Code Implementations(1)

Official repository for "Boosting Adversarial Transferability using Dynamic Cues " (ICLR 2023)

202Shell, PythonOct 9, 20223 years ago

Similar Papers

Cite this paper

@article{naseer2023boosting,
  title  = {Boosting Adversarial Transferability using Dynamic Cues},
  author = {Muzammal Naseer and Ahmad Mahmood and Salman Khan and Fahad Khan},
  year   = {2023},
  eprint = {2302.12252},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.12252v2},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.12252.svg)](https://codeofpaper.com/paper/2302.12252)

Discussion