Transferable Visual Adversarial Attacks for Proprietary Multimodal Large Language Models

Kai Hu, Weichen Yu, Alexander Robey, Li Zhang, Andy Zou, Haoqi Hu, Chengming Xu, Matt FredriksonR2-FM @ ICML 2025

TL;DR

This paper introduces novel evaluation settings and a robust pipeline for generating transferable visual adversarial attacks against proprietary Multimodal Large Language Models (MLLMs). The research demonstrates that these powerful models, despite their advanced capabilities, are surprisingly vulnerable to subtle image manipulations, posing significant security risks.

What Problem Does This Paper Address?

The rapid rise of Multimodal Large Language Models (MLLMs) has unlocked incredible potential across various applications. However, this advancement also brings significant security concerns, particularly regarding adversarial attacks. While previous research has explored adversarial attacks on simpler vision models (like image classifiers) or text-based attacks on LLMs, there's a critical gap in understanding the security of MLLMs against visual adversarial attacks. Current evaluations are often limited to basic tasks like object classification or short image captions. This paper addresses this gap by proposing new, more challenging evaluation settings and a sophisticated attack pipeline specifically designed to test the robustness of proprietary MLLMs against visual perturbations. The core problem is that existing security assessments don't fully capture the complex capabilities of MLLMs, leaving them potentially exposed to attacks that could compromise their outputs in real-world applications.

Methods

The authors propose a systematic, transfer-based adversarial pipeline to generate attacks that are effective even against "black-box" proprietary MLLMs (where the attacker has no internal model knowledge). Their approach focuses on improving attack transferability across three key levels:

  • Model Level: They explore using ensembles of diverse surrogate models (including CLIP-based models, other MLLMs, and visual-only models) to create more robust adversarial examples. Techniques like DropPath and PatchDrop are employed to regularize the optimization process and prevent overfitting to specific surrogate model weaknesses.
  • Loss Function Level: Instead of standard triplet losses, they introduce a visual contrastive loss that leverages multiple positive and negative image-image similarity examples. This aims to provide a richer supervisory signal for generating more transferable perturbations.
  • Data Level: They incorporate data augmentation techniques such as Random Crop, Pad, and Resize, and Random JPEGify. These methods are designed to better align the adversarial examples with the preprocessing pipelines of proprietary MLLMs, which are often more complex than those used for open-source models.

Datasets

The paper utilizes existing datasets for its evaluation settings:

  • Image Captioning: NIPS 2017 Adversarial Learning Challenges dataset.
  • Visual Question Answering (VQA): LLaVA-Bench benchmark.
  • Text Recognition: Omni-OCR benchmark.

The authors introduce novel evaluation settings rather than entirely new datasets, focusing on how existing datasets can be used to challenge MLLMs in more complex ways.

Key Insights and Ideas

  • Proprietary MLLMs are surprisingly vulnerable: Despite their advanced nature and proprietary status, models like GPT-4o and Claude 3.5 are shown to be susceptible to visual adversarial attacks, even with relatively small perturbations.
  • Beyond simple classification: Evaluating adversarial robustness solely on object classification or short captions is insufficient. The paper successfully demonstrates attacks on more complex tasks like open-ended VQA and text recognition, highlighting a broader security concern.
  • Visual embeddings are key for transferability: The study suggests that using visual embeddings in contrastive loss functions is more effective for generating transferable adversarial examples compared to relying solely on text embeddings.
  • Data augmentation matters for proprietary models: Techniques like random padding and JPEG compression, which mimic potential real-world data variations, significantly improve attack transferability, especially for models like Claude 3.5.
  • Input size can amplify vulnerabilities: Increasing the input image resolution for MLLMs can lead to higher attack success rates, suggesting that larger models might have unique vulnerabilities related to scale.

Key Results

The proposed transfer-based attack pipeline achieves significant success rates against proprietary MLLMs:

  • Image Captioning: Up to 84.8% success rate on GPT-4o and 47.1% on Claude 3.5 with an $\ell_\infty$ norm of $\epsilon=8/255$.
  • Text Recognition: Up to 31% success rate on GPT-4o and 24% on Claude 3.5 with an $\ell_\infty$ norm of $\epsilon=16/255$.
  • Visual Question Answering (VQA): Achieved notable success rates, with GPT-4o reaching 57.8% and Claude 3.5 Sonnet reaching 26.7% at $\epsilon=16/255$.

These results demonstrate that adversarial attacks are not only feasible but also highly effective against proprietary MLLMs across various complex tasks.

Limitations and Future Work

  • Limited perturbation budgets: While the paper demonstrates success with small $\epsilon$ values, achieving high success rates on more challenging tasks like text recognition often requires larger perturbations, which can be more visually noticeable.
  • Open-source vs. Proprietary gap: The authors highlight that while their methods are designed for proprietary models, the exact preprocessing and internal mechanisms of these models are unknown, making direct comparisons to open-source models challenging.
  • Future Work: The paper calls for more comprehensive security evaluations of MLLMs and the development of robust defenses against these sophisticated visual adversarial attacks. The authors also suggest further exploration into the impact of input size and the transferability of attacks to other modalities.

Summary updated

BibTeX
@inproceedings{hu2025transferable,
  author = {Kai Hu and Weichen Yu and Alexander Robey and Li Zhang and Andy Zou and Haoqi Hu and Chengming Xu and Matt Fredrikson},
  title = {{Transferable Visual Adversarial Attacks for Proprietary Multimodal Large Language Models}},
  booktitle = {R2-FM @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=HkluKBF9hq},
}
Figure