Introduction
Adversarial attacks—small, imperceptible perturbations designed to mislead machine learning models—pose a significant security challenge. A critical metric for these attacks is "transferability": the ability of an adversarial example generated on a known surrogate model to successfully deceive an unseen, black-box target model. While transferability between static image models has been extensively researched, the transition from image-based surrogates to video-based targets remains a formidable hurdle.
Standard image models, such as Vision Transformers (ViTs) or CLIP, are inherently "blind" to temporal dynamics. They process frames in isolation, failing to account for the motion cues that video recognition systems rely on for classification. Consequently, perturbations generated by these models often fail to disrupt the temporal reasoning of video architectures. This paper introduces a novel framework that bridges this gap by inducing "dynamic cues" into frozen image models, enabling them to serve as highly effective surrogates for video-based adversarial attacks.
Methodology
The proposed framework avoids the prohibitive computational cost of training full-scale video models by utilizing "temporal prompts." The core strategy involves keeping a powerful image model (like a ViT) frozen while training small, learnable modules to capture motion dynamics.
Temporal and Spatial Prompting
The authors introduce two primary types of cues to enhance transferability:
- Temporal Prompts via Transformation ($T$): A small, learnable transformation layer is inserted into the architecture. This layer processes a sequence of video frames, utilizing self-attention to learn motion relationships. These "temporal tokens" are then integrated into the frozen ViT, allowing the model to perceive temporal shifts.
- Spatial Cues for Static Images: To improve transferability even on static datasets like ImageNet, the authors employ a scale-space approach. By viewing the same image at multiple resolutions, the model mimics the "changing environment" of a video, producing gradients that are more robust to resolution changes and architectural variations.
Dual Loss Objective
The generation of adversarial perturbations is guided by a dual-component loss function:
- Supervised Loss: A standard cross-entropy loss aimed at flipping the model's final classification label.
- Self-Supervised Loss: This component ensures that the internal feature representations of the adversarial input are as distinct as possible from the original clean input. This prevents the attack from over-fitting to the specific decision boundaries of the surrogate model.
Experimental Results
The effectiveness of the dynamic cue framework was evaluated across multiple modalities, including video (Kinetics-400, UCF-101), static images (ImageNet), and 3D multi-view data (ModelNet40).
Impact on Video Recognition
The most significant finding is the vulnerability of specialized video models to prompted image models. An iterative attack launched from a prompted DeiT-B (an image-based Vision Transformer) reduced the top-1 accuracy of TimesFormer (a state-of-the-art video model) by 35% on the Kinetics-400 dataset. This suggests that motion-aware gradients are the key to disrupting temporal architectures.
Image-to-Image and Cross-Modal Transfer
On the ImageNet validation set, the proposed method improved adversarial transferability to other image models by 9% over previous state-of-the-art techniques. Furthermore, the method demonstrated success in cross-modal scenarios, successfully fooling 3D-rendered view models (MVCNN) and 3D convolutional networks (ResNet3D). This indicates that "dynamic cues" represent a universal vulnerability in how models process spatial and temporal transitions.
Discussion and Insights
Several key insights emerged from the study:
- Self-Supervision vs. Language Supervision: Attacks generated from self-supervised models like DINO transferred significantly better than those from CLIP. Despite CLIP's versatility, its adversarial perturbations often contained "text-like" imprints—a byproduct of its language pre-training—which hindered transfer to models without language-based components.
- Gradients and Motion: The research confirms that motion information is effectively captured in the gradients of the prompted models. By optimizing against these gradients, attackers can specifically target the motion-processing modules of video systems.
- Efficiency: Because the primary image model remains frozen, the computational overhead is minimal compared to training video-specific surrogates, making this a highly practical approach for black-box testing.
Conclusion
This research demonstrates that specialized video architectures are not required to generate potent attacks against video recognition systems. By augmenting frozen image models with dynamic temporal and spatial prompts, researchers can create adversarial examples that transfer across architectures and data modalities with unprecedented efficiency. Future work must now focus on the defensive side, exploring how to build robust temporal defenses to protect video-based AI from these cross-modal vulnerabilities.
Summary updated