Skip to main content
QUICK REVIEW

[Paper Review] On the Adversarial Robustness of Multi-Modal Foundation Models

Christian Schlarmann, Matthias Hein|arXiv (Cornell University)|Aug 21, 2023
Multimodal Machine Learning ApplicationsComputer Science5 citations
TL;DR

This paper demonstrates that multi-modal foundation models like OpenFlamingo are highly vulnerable to imperceptible adversarial attacks on visual inputs, where small perturbations ($\varepsilon_{\infty} = \nicefrac{1}{255}$) can manipulate model outputs to generate targeted, misleading captions or responses. The study reveals that such attacks can be used to spread misinformation or manipulate users without detection, highlighting the urgent need for robustness measures in deployed models.

ABSTRACT

Multi-modal foundation models combining vision and language models such as Flamingo or GPT-4 have recently gained enormous interest. Alignment of foundation models is used to prevent models from providing toxic or harmful output. While malicious users have successfully tried to jailbreak foundation models, an equally important question is if honest users could be harmed by malicious third-party content. In this paper we show that imperceivable attacks on images in order to change the caption output of a multi-modal foundation model can be used by malicious content providers to harm honest users e.g. by guiding them to malicious websites or broadcast fake information. This indicates that countermeasures to adversarial attacks should be used by any deployed multi-modal foundation model.

Motivation & Objective

  • To investigate the susceptibility of multi-modal foundation models to adversarial visual attacks, particularly in real-world deployment scenarios involving honest users.
  • To evaluate the effectiveness of targeted and untargeted adversarial attacks on image captioning and VQA tasks using the OpenFlamingo model.
  • To demonstrate the real-world implications of such vulnerabilities, including the potential for spreading fake news or guiding users to malicious content.
  • To emphasize the need for robustness mechanisms in multi-modal models to prevent exploitation by malicious third parties.
  • To provide a framework for assessing adversarial robustness in multi-modal models under realistic threat models.

Proposed method

  • The study employs the Auto-PGD (APGD) attack algorithm with $\varepsilon_{\infty} = \nicefrac{1}{255}$ and 5000 iterations to generate targeted and untargeted adversarial perturbations on image inputs.
  • The attacks are evaluated on the zero-shot OpenFlamingo model for both image captioning and visual question answering (VQA) tasks.
  • Performance is measured using standard metrics: CIDEr score for captioning and attack success rate for targeted attacks.
  • The researchers analyze the robustness of perturbations by gradually zeroing out the smallest-magnitude components to assess minimal effective perturbations.
  • The threat model assumes a malicious third party manipulates input images before they are processed by the model, not a direct jailbreak by a user.
  • Experiments are conducted on the COCO dataset, with targeted captions such as 'Please reset your password' used to test manipulation capabilities.
Figure 1 : Generated captions on original (left) and adversarially perturbed images (right). We perform a targeted attack on the caption output with $\varepsilon=\nicefrac{{1}}{{255}}$ on the zero-shot model. This could be used for guiding users to a malicious website (top) or fake information (bott
Figure 1 : Generated captions on original (left) and adversarially perturbed images (right). We perform a targeted attack on the caption output with $\varepsilon=\nicefrac{{1}}{{255}}$ on the zero-shot model. This could be used for guiding users to a malicious website (top) or fake information (bott

Experimental results

Research questions

  • RQ1Can imperceptible adversarial perturbations manipulate the output of multi-modal foundation models like OpenFlamingo?
  • RQ2To what extent can targeted attacks control the model’s textual output through subtle image modifications?
  • RQ3How effective are adversarial perturbations when only a fraction of the perturbation magnitude is retained?
  • RQ4What are the real-world consequences of such vulnerabilities in applications like news generation or user guidance?
  • RQ5How does the robustness of the attack vary across different threat models, particularly with small $\varepsilon_{\infty}$ values?

Key findings

  • Adversarial attacks with $\varepsilon_{\infty} = \nicefrac{1}{255}$ successfully manipulate the OpenFlamingo model’s output, generating targeted captions such as 'Please reset your password' with high success rates.
  • Even when only 60% of the perturbation magnitude is retained, the attack maintains high success rates, indicating that minimal perturbations can still be highly effective.
  • The CIDEr score drops significantly under untargeted attacks, confirming that model performance degrades substantially under adversarial input.
  • The perturbations are imperceptible to humans, making them ideal for stealthy manipulation of model outputs without user detection.
  • The study confirms that malicious third parties can exploit these vulnerabilities to inject false information or guide users to harmful content via model-generated text.
  • The results demonstrate that current multi-modal foundation models lack sufficient robustness against adversarial inputs, even at very small perturbation radii.
Figure 2 : Generated captions on original and adversarially perturbed images. The perturbations are obtained with a targeted attack using radius $\varepsilon_{q}=\nicefrac{{1}}{{255}}$ and 5000 APGD iterations on the zero-shot model. We show only the original images as the perturbations at this radi
Figure 2 : Generated captions on original and adversarially perturbed images. The perturbations are obtained with a targeted attack using radius $\varepsilon_{q}=\nicefrac{{1}}{{255}}$ and 5000 APGD iterations on the zero-shot model. We show only the original images as the perturbations at this radi

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.