Abstract
Vision-language pre-training (VLP) models have achieved significant success in fields like medical imaging but remain vulnerable to adversarial examples. While harmful, these attacks are valuable for identifying model weaknesses and enhancing robustness. Current methods often under-utilize modal differences and consistent features, leading to suboptimal attack transferability. We propose the Multimodal Feature Heterogeneous Attack (MFHA) framework to address this. MFHA employs Triple Contrastive Learning Feature Heterogenization (TCFH) to decouple consistent features into distinct ones and Multi-domain Cross-modal Variance Aggregation (MCVA) to perturb spatial and frequency features. Extensive experiments show MFHA improves transferable attack success rates by an average of 16.05%, effectively fooling large models like MiniGPT-4 and LLaVA.
Introduction
Vision-Language Models (VLMs) integrate visual and textual information into a shared embedding space, enabling tasks from image captioning to visual grounding. However, these models are susceptible to adversarial attacks—imperceptible perturbations that lead to incorrect outputs. A critical hurdle in adversarial research is transferability: an attack optimized for one model often fails against another (black-box) model. Existing attacks typically fail to exploit the subtle "consistent features" shared across modalities, which models use as anchors. MFHA aims to bridge this gap by strategically "decoupling" these shared features to create highly transferable adversarial samples.
Methodology: The MFHA Framework
The MFHA framework introduces two primary strategies to enhance adversarial potency and transferability across diverse VLP architectures, such as dual-encoder and fusion-based models.
1. Triple Contrastive Learning Feature Heterogenization (TCFH)
TCFH moves beyond simple noise injection. It utilizes contrastive learning to push adversarial samples away from their clean feature representations and toward features of unrelated samples. By targeting Local Mutual Information (LMI)—the fine-grained alignment between image patches and text tokens—TCFH disrupts the model's ability to correctly fuse multimodal data.
2. Multi-domain Cross-modal Variance Aggregation (MCVA)
To ensure robustness against unknown target models, MCVA perturbs images in both the spatial domain (pixels) and the frequency domain (via Discrete Cosine Transform). By aggregating gradients across these domains with text-guided supervision, the attack avoids overfitting to the source model's specific architecture, significantly boosting black-box performance.
Key Insights: Breaking Semantic Invariants
The core philosophy of MFHA is the "heterogenization" of consistent features. VLMs rely heavily on semantic invariants—features like the concept of "red" appearing in both an image and its description. By making these features appear inconsistent to the model, the attack effectively blinds the model's fusion logic.
Furthermore, MFHA exploits the frequency domain, which acts as a blind spot for many models. By perturbing the frequency spectrum, the attack bypasses spatial biases inherent in specific architectures like CNNs or Transformers. This leads to "cross-task sabotage," where an adversarial image designed for retrieval can disrupt captioning or visual grounding.
Experimental Results
MFHA was evaluated on benchmarks including Flickr30K, MSCOCO, and RefCOCO+. Key findings include:
- Superior Transferability: MFHA achieved a 16.05% average increase in black-box attack success rates over state-of-the-art methods like SGA.
- Impact on Large Models: The framework demonstrated "outstanding" performance against Multimodal Large Language Models (LVLMs), reaching a 54.78% success rate against MiniGPT4-7B and successfully compromising LLaVA 1.5.
- Qualitative Evidence: t-SNE visualizations confirmed that MFHA disperses the feature clusters models rely on. In visual grounding tasks, the model's attention shifted from critical objects to irrelevant background areas.
Conclusion and Future Work
While MFHA significantly advances attack transferability, it introduces a computational overhead, taking approximately 2.3x to 3.4x longer to generate samples than simpler baselines. There is also a minor trade-off in white-box performance (0.28% decline) to achieve broader generalization. However, by exposing these fundamental vulnerabilities, MFHA paves the way for developing more robust, attack-resistant multimodal systems, particularly in sensitive domains like medical AI.
Summary updated