Skip to main content
QUICK REVIEW

[Paper Review] VLATTACK: Multimodal Adversarial Attacks on Vision-Language Tasks via Pre-trained Models

Ziyi Yin, Muchao Ye|arXiv (Cornell University)|Oct 7, 2023
Adversarial Robustness in Machine LearningComputer Science8 citations
TL;DR

VLAttack crafts adversarial perturbations on vision-language pre-trained models to attack black-box downstream VL tasks by combining single-modal and multimodal strategies, showing higher attack success across multiple models and tasks. It introduces Block-wise Similarity Attack (BSA) for images and Iterative Cross-Search Attack (ICSA) for multimodal perturbations.

ABSTRACT

Vision-Language (VL) pre-trained models have shown their superiority on many multimodal tasks. However, the adversarial robustness of such models has not been fully explored. Existing approaches mainly focus on exploring the adversarial robustness under the white-box setting, which is unrealistic. In this paper, we aim to investigate a new yet practical task to craft image and text perturbations using pre-trained VL models to attack black-box fine-tuned models on different downstream tasks. Towards this end, we propose VLATTACK to generate adversarial samples by fusing perturbations of images and texts from both single-modal and multimodal levels. At the single-modal level, we propose a new block-wise similarity attack (BSA) strategy to learn image perturbations for disrupting universal representations. Besides, we adopt an existing text attack strategy to generate text perturbations independent of the image-modal attack. At the multimodal level, we design a novel iterative cross-search attack (ICSA) method to update adversarial image-text pairs periodically, starting with the outputs from the single-modal level. We conduct extensive experiments to attack five widely-used VL pre-trained models for six tasks. Experimental results show that VLATTACK achieves the highest attack success rates on all tasks compared with state-of-the-art baselines, which reveals a blind spot in the deployment of pre-trained VL models. Source codes can be found at https://github.com/ericyinyzy/VLAttack.

Motivation & Objective

  • Motivate and study adversarial robustness of vision-language models in black-box settings where downstream task models are inaccessible.
  • Develop a general attack framework that can attack multiple downstream VL tasks via pre-trained VL models.
  • Propose single-modal and multimodal perturbation strategies to maximize transferability of adversarial samples.

Proposed method

  • Single-modal level: generate image perturbations with Block-wise Similarity Attack (BSA) that maximizes block-wise cosine distances between intermediate representations in the image encoder and Transformer encoder of the pre-trained model.
  • Single-modal level: apply text perturbations using a strong NLP attack (BERT-Attack) while maintaining semantic similarity above a threshold using a universal sentence encoder.
  • Multimodal level: perform Iterative Cross-Search Attack (ICSA) to iteratively update image-text pairs guided by the other modality, reusing top-k text perturbations and refining the image perturbation.
  • Cross-modal ranking: select top-K text perturbations by cosine similarity with the benign text to preserve semantics while maximizing disruption of downstream predictions.
  • Threat-model alignment: assume access to the pre-trained model and the ability to query the downstream fine-tuned model only as a black box.

Experimental results

Research questions

  • RQ1How transferable are adversarial perturbations from pre-trained VL models to downstream black-box VL models across tasks?
  • RQ2Can a combination of single-modal and multimodal perturbations outperform single-modality attacks in black-box VL settings?
  • RQ3What mechanisms (image feature blocks, text semantics) drive the transferability of perturbations in VL models?
  • RQ4Does iterative cross-search improve attack success compared to simpler multimodal strategies?

Key findings

  • VLAttack achieves higher attack success rates than state-of-the-art baselines across five pre-trained VL models and six tasks.
  • Block-wise Similarity Attack (BSA) substantially improves image-only perturbations by disrupting universal representations.
  • Multimodal Iterative Cross-Search Attack (ICSA) further improves success by cross-updating image-text perturbations guided by semantic-similar text perturbations.
  • Single-modal text perturbations alone often underperform due to short text lengths, making multimodal coupling crucial for strong attacks.
  • In uni-modal settings, BSA remains effective on image-captioning and image-classification tasks, indicating broader applicability.

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.