Abstract
Visual-Language Pre-training (VLP) Models demonstrate exceptional capability in understanding the interactions between images and text, yet they remain vulnerable to multimodal adversarial examples. Investigating adversarial attacks against VLP models, particularly in generating highly transferable multimodal adversarial examples in black-box settings, is crucial for developing more robust and practical models. Current research typically leverages modality interaction and data diversity to enhance attack transferability. However, unlike unimodal learning, VLP models heavily rely on the feature learning of both images and text to accurately align semantics across different modalities. Directly applying unimodal data augmentation methods independently on each modality may disrupt inter-modal semantic matching, thus leading the perturbations in the wrong direction. To address this challenge, we propose a joint multimodal data augmentation-based transfer attack method, termed JDA-Attack. Specifically, during the iterative generation of adversarial examples, we perform multimodal collaborative augmentation through linear interpolation of images and concatenation of corresponding text sequences. It is able to enhance data diversity while preserving the semantic relationships between image-text pairs, thus effectively improving the transferability of multimodal adversarial examples. Extensive experiments on various datasets and VLP models demonstrate that our method achieves superior attack transferability.
Introduction
Vision-Language Pre-training (VLP) models like CLIP and ALBEF have revolutionized how AI understands the relationship between images and text. However, like most deep learning models, they are vulnerable to adversarial attacks: tiny, imperceptible changes to an image or text that cause the model to make confident, incorrect predictions.
The primary challenge in adversarial research is transferability. If an adversarial example generated on a known source model can also fool an unknown target model (a "black-box" attack), it poses a significant security risk. Current state-of-the-art attacks use data augmentation to make perturbations more robust, but these methods usually treat images and text separately. This "unimodal" approach often breaks the semantic alignment the model relies on, leading adversarial perturbations in the wrong direction.
Methodology: The JDA-Attack
The proposed JDA-Attack (Joint Multimodal Data Augmentation Attack) introduces a strategy that treats the image-text pair as a single unit to preserve semantic alignment during the perturbation process. The method follows a four-stage iterative process:
- Adversarial Text Generation: Identifying a text description semantically distant from the original image in the embedding space.
- Joint Multimodal Data Augmentation: Inspired by MixGen, the algorithm linearly interpolates the current adversarial image with a transformed version of the original while simultaneously concatenating the corresponding text descriptions. This ensures the model's "textual ear" remains in sync with its "visual eye."
- Adversarial Image Update: Gradients are calculated based on the entire augmented set, targeting fundamental cross-modal features shared across different VLP architectures.
- Refine Adversarial Texts: A final optimization pass ensures the text effectively misleads the model based on the newly perturbed image.
Experimental Results
The researchers evaluated JDA-Attack on the Flickr30K and MSCOCO datasets, testing transferability across architectures including ALBEF, TCL, and CLIP (ViT and ResNet variants).
Key Findings
- Superior Transferability: On Flickr30K, when attacking a black-box TCL model using ALBEF, JDA-Attack improved the Image Retrieval (IR) success rate by 13.67% and the Text Retrieval (TR) success rate by 18.01% over previous leading methods like SGA.
- Architecture Agnostic: The attack proved effective even when transferring between fundamentally different architectures, such as from "fused" models (ALBEF) to "aligned" models (CLIP).
- Cross-Task Generalization: Adversarial examples generated for retrieval tasks were also effective at breaking models performing Visual Grounding and Image Captioning, suggesting the attack disrupts the model's core multimodal understanding.
Conclusion
JDA-Attack demonstrates that preserving semantic alignment through joint augmentation is critical for generating transferable adversarial examples for VLP models. While computationally more intensive due to the augmentation iterations, the method highlights a fundamental vulnerability in how current models align cross-modal features. Future work may extend these strategies to Video-Language models and Large Multimodal Models (LMMs).
Summary updated