Skip to main content
QUICK REVIEW

[Paper Review] On Evaluating Adversarial Robustness of Large Vision-Language Models

Yunqing Zhao, Tianyu Pang|arXiv (Cornell University)|May 26, 2023
Adversarial Robustness in Machine LearningComputer Science34 citations
TL;DR

The paper studies black-box targeted adversarial attacks on open-source large vision-language models, showing transfer-based and query-based methods can elicit targeted responses across multiple models.

ABSTRACT

Large vision-language models (VLMs) such as GPT-4 have achieved unprecedented performance in response generation, especially with visual inputs, enabling more creative and adaptable interaction than large language models such as ChatGPT. Nonetheless, multimodal generation exacerbates safety concerns, since adversaries may successfully evade the entire system by subtly manipulating the most vulnerable modality (e.g., vision). To this end, we propose evaluating the robustness of open-source large VLMs in the most realistic and high-risk setting, where adversaries have only black-box system access and seek to deceive the model into returning the targeted responses. In particular, we first craft targeted adversarial examples against pretrained models such as CLIP and BLIP, and then transfer these adversarial examples to other VLMs such as MiniGPT-4, LLaVA, UniDiffuser, BLIP-2, and Img2Prompt. In addition, we observe that black-box queries on these VLMs can further improve the effectiveness of targeted evasion, resulting in a surprisingly high success rate for generating targeted responses. Our findings provide a quantitative understanding regarding the adversarial vulnerability of large VLMs and call for a more thorough examination of their potential security flaws before deployment in practice. Code is at https://github.com/yunqing-me/AttackVLM.

Motivation & Objective

  • Assess the vulnerability of open-source large vision-language models (VLMs) to black-box targeted adversarial attacks.
  • Develop transfer-based (MF-it, MF-ii) and query-based (MF-tt) attack strategies to induce targeted responses.
  • Evaluate cross-model transferability of adversarial examples across VLMs (e.g., MiniGPT-4, LLaVA, UniDiffuser, BLIP-2, Img2Prompt).
  • Analyze the trade-offs between perturbation strength, image fidelity, and attack effectiveness.
  • Provide implications for security assessment prior to deployment of multimodal systems.

Proposed method

  • Model the vision-language generation as p_theta(x; c_in) -> c_out under a threat model with black-box access and a targeted c_tar.
  • Design transfer-based attacks using surrogate encoders (image and text) and cross-modal or cross-model objectives (MF-it, MF-ii).
  • Use image-image feature matching (MF-ii) by aligning f_phi(x_adv) with f_phi(h_xi(c_tar)) where h_xi is a text-to-image generator.
  • Use image-text feature matching (MF-it) aligning f_phi(x_adv) with g_psi(c_tar) via cross-modality similarity, optimized with PGD under an ell_inf budget.
  • Implement query-based MF-tt to estimate gradients via random gradient-free (RGF) methods when black-box access prevents backpropagation.
  • Combine transfer-based initialization with query-based refinement (t + q) to strengthen evasion.
  • Datasets include ImageNet-1K for clean images and MS-COCO captions for targeted texts; targeted images generated via Stable Diffusion / Midjourney / DALL-E.

Experimental results

Research questions

  • RQ1Can black-box adversaries craft targeted perturbations that steer open-source VLMs to produce predefined responses?
  • RQ2How transferable are adversarial examples across diverse large VLMs (e.g., MiniGPT-4, LLaVA, UniDiffuser, BLIP-2, Img2Prompt)?
  • RQ3Does incorporating query-based refinement (MF-tt) significantly improve targeted evasion beyond transfer-based methods alone?
  • RQ4What is the relationship between perturbation budget, image fidelity, and the success of targeted responses across models?

Key findings

  • Black-box transfer-based attacks against surrogate models can increase similarity to targeted text when attacking victim models across several VLMs.
  • MF-ii (image-image features) and MF-it (image-text features) can craft adversarial images that raise CLIP-based similarity to targeted text on surrogate models.
  • Combining transfer-based initialization with query-based refinement (MF-ii + MF-tt) yields substantially higher alignment with targeted responses across multiple VLMs.
  • Attacks succeed across a range of open-source VLMs including UniDiffuser, BLIP-2, Img2Prompt, LLaVA, MiniGPT-4, with increasing effectiveness when using MF-ii + MF-tt.
  • There is a trade-off between perturbation budget and perceptual image quality, requiring careful selection of epsilon to balance fidelity and targeted success.
  • GradCAM analyses show adversarial perturbations can alter attention to mimic targeted imagery without revealing semantic content of the perturbation itself.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.