Introduction
Vision-Language Pre-training (VLP) models have become the foundation for a wide array of multimodal tasks, including image-text retrieval, image captioning, and visual grounding. However, as these models are integrated into critical systems, their vulnerability to adversarial attacks—inputs designed to deceive AI into making incorrect predictions—becomes a significant security concern.
A primary challenge in adversarial research is transferability: the ability of an attack generated against a known "white-box" model to successfully deceive a different, unknown "black-box" model. This paper introduces the Local Shuffle and Sample-based Attack (LSSA), a novel methodology designed to enhance the transferability of adversarial examples across diverse VLP architectures and even massive Large Vision-Language Models (LVLMs).
The Challenge of Multimodal Transferability
Existing adversarial attacks often suffer from "overfitting" to the specific features of the source model, which limits their effectiveness when applied to different architectures. In the context of VLP models, two specific hurdles exist:
- Spatial Integrity: Many image-based attacks use global shuffling or heavy perturbations that destroy the spatial relationships between objects. Since VLP models rely on these relationships to align text and images (e.g., matching the word "cat" to a specific region), destroying this structure can make the attack fail even on the source model.
- Cross-Modal Overfitting: Attacks often rely too heavily on the specific alignment of a single image-text pair, failing to account for the broader "neighborhood" of similar data points that a target model might perceive.
Methodology: The LSSA Framework
The LSSA approach addresses these challenges through two primary innovations integrated into an iterative gradient-based attack framework:
1. Local Shuffle Transformation
To increase input diversity without sacrificing the spatial coherence required by VLP models, LSSA employs a Local Shuffle Transformation. Instead of a global shuffle, the algorithm selects a specific local block within the image and shuffles its internal sub-blocks. This technique introduces enough variation to prevent the attack from memorizing a single image layout while preserving the overall spatial structure necessary for the VLP model to remain "engaged" with the content.
2. Sample-based Augmentation
To improve the robustness of the adversarial text, LSSA moves beyond optimizing for a single image. It samples a "neighborhood" of data points around the adversarial image and optimizes the text to be effective against this entire cluster. By smoothing the adversarial space, the resulting perturbations are less likely to be specific to the source model's quirks and more likely to generalize to black-box targets.
Experimental Results
The researchers evaluated LSSA against several state-of-the-art (SOTA) benchmarks, including Flickr30K, MSCOCO, and RefCOCO+. The attack was tested against a variety of models, including fused models (ALBEF, TCL), aligned models (CLIP), and Large Vision-Language Models (BLIP-2, VisualGLM, MiniGPT4, PandaGPT).
Key Findings:
- Superior Transferability: LSSA consistently outperformed existing methods like SGA and Co-Attack. For instance, when transferring attacks from ALBEF to TCL, LSSA improved success rates by 14.75% in text retrieval and 10.05% in image retrieval.
- Breaking CLIP: The attack showed significant gains (up to ~8%) against CLIP models. This is particularly noteworthy given that CLIP's massive pre-training usually makes it more resilient to transfer attacks.
- Vulnerability of LVLMs: Perhaps most significantly, LSSA demonstrated that attacks crafted on smaller models could successfully transfer to massive LVLMs. LSSA achieved the highest success rates against all four tested LVLMs, suggesting that these complex systems share fundamental architectural vulnerabilities with their smaller predecessors.
- Cross-Task Versatility: Attacks designed for image retrieval were successfully repurposed to disrupt image captioning and visual grounding, proving that LSSA captures general multimodal vulnerabilities.
Conclusion and Future Work
The LSSA framework represents a significant advancement in understanding the security landscape of multimodal AI. By balancing spatial integrity with input diversity, the authors have shown that VLP models are more vulnerable to transferable attacks than previously thought.
While the current research focuses on image and text modalities, the authors suggest that future work should extend these local shuffle and sampling strategies to video and audio. Ultimately, this work serves as a call to action for the AI community to develop more robust defense mechanisms, such as spatially-aware adversarial training, to protect the next generation of Vision-Language models.
Summary updated