Introduction
Vision-Language (VL) models, such as CLIP, BLIP, and ViLT, have fundamentally changed how AI systems process multimodal information, enabling breakthroughs in Visual Question Answering (VQA), Image Captioning, and Visual Grounding. However, as these models move from research labs to production environments, their security becomes a critical concern.
Most existing adversarial research focuses on "white-box" settings, where an attacker has full access to a model's internal gradients. In practice, however, downstream applications often use private, fine-tuned versions of public pre-trained models. This creates a "black-box" scenario where the attacker only has access to the original pre-trained weights. VLAttack is a novel framework designed to exploit this gap, generating deceptive image-text pairs that successfully transfer from public models to private, task-specific applications.
The Challenge of Multimodal Transferability
Attacking black-box VL systems presents two primary hurdles:
- Task Heterogeneity: Attacks must be versatile enough to disrupt diverse outputs, ranging from discrete labels in VQA to open-ended generative text in Image Captioning and spatial coordinates in Visual Grounding.
- Model Transferability: The attacker must find perturbations that remain effective even after a model has been fine-tuned on a specific dataset, which often alters the final decision layers of the network.
The VLAttack Framework
VLAttack addresses these challenges by operating at both the single-modal and multimodal levels to maximize the "transferability" of adversarial perturbations.
1. Single-modal Level: Disrupting the Foundation
- Block-wise Similarity Attack (BSA): Rather than targeting the final output layer—which is most likely to change during fine-tuning—BSA perturbs the input image to maximize the distance between original and adversarial features across every intermediate layer (block) of the Transformer. By disrupting these "universal representations," the attack ensures that the damage persists regardless of the specific downstream task.
- Textual Perturbation: The framework utilizes a standard BERT-Attack approach, substituting words with synonyms to maintain semantic meaning for human readers while confusing the model's textual encoder.
2. Multimodal Level: Breaking Cross-Modal Synergy
- Iterative Cross-Search Attack (ICSA): This is the core innovation of VLAttack. Recognizing that VL models rely on the delicate correlation between vision and language, ICSA treats the image and text as a joint target. It iteratively updates image perturbations under the guidance of various candidate text perturbations. This process effectively breaks the cross-modal alignment that models use to "understand" the relationship between a visual scene and its description.
Experimental Evaluation
The researchers evaluated VLAttack against five major pre-trained architectures—ViLT, BLIP, Unitab, OFA, and CLIP—across a comprehensive suite of benchmarks including VQAv2, SNLI-VE, RefCOCO, NLVR2, and MSCOCO.
Key Results
VLAttack consistently outperformed state-of-the-art baselines across all tested models and tasks, demonstrating superior transferability:
- Attack Success Rate (ASR): On the ViLT model for VQA tasks, VLAttack achieved an ASR of 78.05%, more than doubling the performance of the previous best multimodal baseline, Co-Attack (35.13%).
- Visual Grounding: On the Unitab model (RefCOCOg), the attack reached a staggering 95.61% ASR, effectively rendering the model's localization capabilities useless.
- Human Perception: A study conducted via Amazon Mechanical Turk confirmed that while the AI's predictions were successfully subverted, the adversarial images and text remained perfectly understandable to humans. For instance, an image of a dog might be identified by the attacked model as a "conch," even though the visual changes were imperceptible to human eyes.
Insights and Future Directions
The success of VLAttack reveals several critical vulnerabilities in current VL architectures:
- Intermediate Layer Vulnerability: Attacking the "guts" of a model is far more effective for transfer attacks than attacking the final output, as core feature extractors remain relatively stable during fine-tuning.
- Multimodal Synergy: Perturbing both modalities simultaneously is significantly more effective than the sum of individual attacks. The interaction between vision and language is a specific, exploitable vulnerability.
- Image Priority: Because images exist in a continuous space, they are more susceptible to gradient-based attacks. VLAttack prioritizes image perturbations to minimize noticeable changes to the text.
While highly effective, VLAttack currently assumes the attacker knows the general architecture (e.g., Transformer-based) of the target model. Future research is needed to explore adversarial transferability between entirely different model families, such as moving from CNN-based encoders to Transformer-based ones, to build truly robust multimodal AI systems.
Summary updated