Skip to main content
QUICK REVIEW

[Paper Review] How Robust is Google's Bard to Adversarial Image Attacks?

Yinpeng Dong, Huanran Chen|arXiv (Cornell University)|Sep 21, 2023
Adversarial Robustness in Machine LearningComputer Science4 citations
TL;DR

This paper evaluates the adversarial robustness of Google's Bard, a commercial multimodal large language model (MLLM), by generating transferable adversarial images that mislead Bard into providing incorrect image descriptions with a 22% success rate under white-box surrogate attacks. The study further demonstrates that these attacks generalize to other MLLMs, including GPT-4V (45% success rate), Bing Chat (26%), and ERNIE Bot (86%), and reveals vulnerabilities in Bard’s built-in defenses such as face and toxicity detection, which can be evaded via targeted perturbations.

ABSTRACT

Multimodal Large Language Models (MLLMs) that integrate text and other modalities (especially vision) have achieved unprecedented performance in various multimodal tasks. However, due to the unsolved adversarial robustness problem of vision models, MLLMs can have more severe safety and security risks by introducing the vision inputs. In this work, we study the adversarial robustness of Google's Bard, a competitive chatbot to ChatGPT that released its multimodal capability recently, to better understand the vulnerabilities of commercial MLLMs. By attacking white-box surrogate vision encoders or MLLMs, the generated adversarial examples can mislead Bard to output wrong image descriptions with a 22% success rate based solely on the transferability. We show that the adversarial examples can also attack other MLLMs, e.g., a 26% attack success rate against Bing Chat and a 86% attack success rate against ERNIE bot. Moreover, we identify two defense mechanisms of Bard, including face detection and toxicity detection of images. We design corresponding attacks to evade these defenses, demonstrating that the current defenses of Bard are also vulnerable. We hope this work can deepen our understanding on the robustness of MLLMs and facilitate future research on defenses. Our code is available at https://github.com/thu-ml/Attack-Bard. Update: GPT-4V is available at October 2023. We further evaluate its robustness under the same set of adversarial examples, achieving a 45% attack success rate.

Motivation & Objective

  • To investigate the adversarial robustness of Google’s Bard, a leading commercial MLLM, under black-box adversarial image attacks.
  • To assess the transferability of adversarial examples generated against surrogate vision encoders or MLLMs to fool Bard’s image description capabilities.
  • To evaluate the effectiveness of Bard’s native defenses—face detection and toxicity detection—against adversarial perturbations.
  • To demonstrate that current defense mechanisms in commercial MLLMs are insufficiently robust to sophisticated adversarial attacks.
  • To provide insights into the security risks of commercial MLLMs and guide future research on robust multimodal foundation models.

Proposed method

  • The authors use transfer-based adversarial attacks with surrogate models to generate adversarial images that mislead Bard’s vision encoder and text generation pipeline.
  • They optimize for two objectives: (1) shifting the image embedding of the adversarial image away from the original (image embedding attack), and (2) generating a target text description (text description attack).
  • The attack employs the SSA-CWA method, which uses a surrogate model to generate perturbations under the ℓ∞ norm with ε = 16/255.
  • For defense evasion, the authors design attacks targeting Bard’s face detection and toxicity detection systems by perturbing features of pre-trained vision models used in these detectors.
  • The attacks are evaluated using a diverse set of 100 real-world images, including toxic and face-containing content, to test generalization and real-world applicability.
  • The study leverages state-of-the-art transfer-based attack techniques adapted for multimodal models, focusing on black-box settings where model weights and architecture are unknown.

Experimental results

Research questions

  • RQ1To what extent is Google’s Bard vulnerable to adversarial image attacks in a black-box setting?
  • RQ2How transferable are adversarial examples generated against surrogate models to fool Bard’s multimodal reasoning and image description capabilities?
  • RQ3Can Bard’s built-in defense mechanisms—face detection and toxicity detection—be effectively evaded using adversarial perturbations?
  • RQ4How do the attack success rates compare across different commercial MLLMs, including GPT-4V, Bing Chat, and ERNIE Bot?
  • RQ5What are the implications of these vulnerabilities for the safety and security of commercial multimodal foundation models?

Key findings

  • The attack achieved a 22% success rate in generating adversarial images that cause Bard to produce incorrect image descriptions, with a 5% rejection rate.
  • The same adversarial examples achieved a 45% attack success rate against GPT-4V, a 26% success rate against Bing Chat, and an 86% success rate against ERNIE Bot, demonstrating strong transferability.
  • Bard’s face detection defense was successfully evaded in 32% of tested cases, allowing adversarial images with faces to bypass detection.
  • The toxicity detection mechanism was evaded with a 36% success rate, enabling harmful images to be processed and described inappropriately.
  • The results indicate that current defense mechanisms in commercial MLLMs are not robust to adversarial attacks, exposing significant security risks.
  • The study highlights that adversarial robustness remains a critical challenge for commercial MLLMs, especially given the high performance and widespread deployment of models like Bard.

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.