TL;DR
Vision-Language Pre-training (VLP) models are highly vulnerable to transfer-based adversarial attacks, but existing methods suffer from poor transferability due to static cross-modal interactions. This paper introduces SADCA (Semantic-Augmented Dynamic Contrastive Attack), a framework that dramatically improves attack transferability by dynamically updating cross-modal perturbations, leveraging negative samples via contrastive learning, and applying semantic-level data augmentations.
What Problem Does This Paper Address?
Vision-Language Pre-training (VLP) models like CLIP and ALBEF learn powerful multimodal representations by aligning images and text into a shared semantic space. However, these models are susceptible to adversarial attacks—subtle, engineered perturbations that trick models into making incorrect predictions.
In real-world scenarios, attackers rarely have access to a target model's internal architecture or weights (a black-box setting). Instead, they must rely on transfer-based attacks, where adversarial examples are crafted on a known surrogate model and transferred to the target.
Current transfer attacks on VLP models face two major bottlenecks:
- Static Interactions: They generate perturbations along a fixed direction based only on the initial image-text pair, failing to explore diverse directions in the semantic space.
- Ignoring Negative Samples: They focus exclusively on disrupting positive (matching) image-text pairs. This only creates a repulsive force away from the correct semantic cluster, failing to provide the attractive force needed to pull examples across decision boundaries into incorrect semantic territory.
Methods
To overcome these limitations, the authors propose the Semantic-Augmented Dynamic Contrastive Attack (SADCA) framework, which relies on three core components:
- Dynamic Contrastive Interaction (DCI): Instead of a one-shot static calculation, SADCA alternately and iteratively updates both the adversarial image and text. As the semantic states shift at each iteration, the gradient directions are recalibrated, causing continuous semantic drift and a more thorough disruption of cross-modal alignment.
- Contrastive Learning Strategy: SADCA introduces a contrastive loss function that simultaneously minimizes the similarity between the adversarial example and its positive pair while maximizing its similarity with a set of randomly selected mismatched (negative) samples. This dual "push-pull" mechanism effectively forces the adversarial examples across semantic boundaries.
- Semantic Augmentation Module (SAM): Traditional pixel-level transformations (like scaling or adding noise) fail to disrupt high-level cross-modal alignment. SAM introduces semantic-level diversity: it applies local semantic image augmentation (cropping and resizing key regions) and mixed semantic text augmentation (randomly concatenating pairs of text descriptions) to enrich the optimization gradients and prevent overfitting to the surrogate model.
Datasets
The authors evaluated SADCA using standard, widely accepted multimodal benchmarks:
- Flickr30K and MSCOCO: Used for evaluating image-text retrieval (IR/TR) and image captioning (IC) tasks.
- RefCOCO+: Used to evaluate cross-task transferability on visual grounding (VG).
Key Insights and Ideas
- The Necessity of the "Pull" Force: Simply repelling an adversarial example from its true positive match isn't enough; incorporating negative samples provides a crucial attractive force that guides the perturbation deeper into incorrect semantic clusters.
- Static vs. Dynamic Trajectories: Static cross-modal interactions limit the optimization path. Forcing the adversarial image and text to interact dynamically throughout the optimization loop yields richer gradient diversity and far more robust transferability.
- Augmenting Semantics, Not Just Pixels: Traditional input transformations operate on perceptual-level features. For multimodal models, augmenting the semantic structure (e.g., mixing text descriptions) is far more effective at disrupting the cross-modal matching process.
Key Results
- Superior Cross-Model Transferability: In image-text retrieval experiments across four distinct VLP architectures (ALBEF, TCL, CLIPViT, and CLIPCNN), SADCA consistently achieved the highest Attack Success Rate (ASR). For example, when transferring an attack from ALBEF to CLIPCNN, SADCA outperformed the state-of-the-art SA-AET(LI)+SIA method by 9.19% in text retrieval and 5.7% in image retrieval.
- Cross-Task Generalization: Adversarial examples generated on an image-text retrieval task successfully transferred to entirely different downstream tasks, causing significant performance drops in Visual Grounding and Image Captioning models.
- Jailbreaking Large Vision-Language Models (LVLMs): The authors evaluated SADCA against cutting-edge open-source and closed-source LVLMs (including LLaVA, Qwen, GPT-4o-mini, Gemini-2.0, and Claude-4.5). Using a binary decision prompt template, SADCA consistently achieved high attack success rates, demonstrating that commercial-grade black-box models remain highly vulnerable to sophisticated cross-modal perturbations.
Limitations and Future Work
Not explicitly discussed in the paper. However, the results strongly imply that current alignment and safety protocols in both standard VLP models and commercial Large Vision-Language Models (LVLMs) are insufficient against dynamic, contrastive adversarial threats, highlighting an urgent need for more robust multimodal defense mechanisms.
Summary updated