Skip to main content
QUICK REVIEW

[Paper Review] Shadowcast: Stealthy Data Poisoning Attacks Against Vision-Language Models

Yuancheng Xu, Jiarui Yao|arXiv (Cornell University)|Feb 5, 2024
Adversarial Robustness in Machine LearningComputer Science3 citations
TL;DR

Shadowcast is a stealthy data poisoning attack targeting vision-language models (VLMs) that uses visually imperceptible perturbations to craft poison samples indistinguishable from benign data. By subtly altering images to mimic the latent features of a target concept while preserving their original text descriptions, Shadowcast successfully induces VLMs to mislabel images (Label Attack) or generate deceptive, persuasive narratives (Persuasion Attack), achieving high success rates with as few as 50 poison samples and demonstrating strong transferability and robustness across architectures and real-world data transformations.

ABSTRACT

Vision-Language Models (VLMs) excel in generating textual responses from visual inputs, but their versatility raises security concerns. This study takes the first step in exposing VLMs' susceptibility to data poisoning attacks that can manipulate responses to innocuous, everyday prompts. We introduce Shadowcast, a stealthy data poisoning attack where poison samples are visually indistinguishable from benign images with matching texts. Shadowcast demonstrates effectiveness in two attack types. The first is a traditional Label Attack, tricking VLMs into misidentifying class labels, such as confusing Donald Trump for Joe Biden. The second is a novel Persuasion Attack, leveraging VLMs' text generation capabilities to craft persuasive and seemingly rational narratives for misinformation, such as portraying junk food as healthy. We show that Shadowcast effectively achieves the attacker's intentions using as few as 50 poison samples. Crucially, the poisoned samples demonstrate transferability across different VLM architectures, posing a significant concern in black-box settings. Moreover, Shadowcast remains potent under realistic conditions involving various text prompts, training data augmentation, and image compression techniques. This work reveals how poisoned VLMs can disseminate convincing yet deceptive misinformation to everyday, benign users, emphasizing the importance of data integrity for responsible VLM deployments. Our code is available at: https://github.com/umd-huang-lab/VLM-Poisoning.

Motivation & Objective

  • To investigate the vulnerability of vision-language models (VLMs) to data poisoning attacks that manipulate model responses to benign, everyday prompts.
  • To expose the risk of misinformation dissemination through VLMs via stealthy, visually indistinguishable poison samples.
  • To develop a novel data poisoning method that exploits VLMs' text generation capabilities for both label misclassification and persuasive misinformation.
  • To evaluate the effectiveness, transferability, and robustness of the proposed attack under realistic training conditions, including data augmentation and image compression.
  • To highlight the critical need for improved data quality and defense mechanisms in the training of VLMs to prevent exploitation.

Proposed method

  • Shadowcast generates poison samples by applying imperceptible perturbations to clean images from a destination concept, aligning their latent features with those of a source concept.
  • The text description in each poison sample is preserved from the original clean image, ensuring visual-textual consistency and reducing detectability.
  • The attack leverages a pre-trained captioning model and a large language model (LLM) to generate and refine natural-sounding, contextually coherent descriptions for the perturbed images.
  • Poison samples are crafted using a different VLM (e.g., MiniGPT-v2) in a black-box setting, enabling transferability to target models like LLaVA-1.5.
  • The method integrates a differentiable JPEG surrogate during poison generation to enhance robustness against JPEG compression in real-world training pipelines.
  • Shadowcast is evaluated using both Label Attack (e.g., misidentifying political figures) and Persuasion Attack (e.g., portraying junk food as healthy), demonstrating its versatility in generating deceptive outputs.

Experimental results

Research questions

  • RQ1Can data poisoning attacks be designed to manipulate vision-language models into generating deceptive responses to benign, everyday prompts?
  • RQ2How effective is Shadowcast in inducing both label misclassification and persuasive misinformation in VLMs with minimal poison samples?
  • RQ3To what extent is Shadowcast transferable across different VLM architectures and prompts in a black-box setting?
  • RQ4How robust is Shadowcast against common data preprocessing techniques such as data augmentation and JPEG compression?
  • RQ5Can the attack maintain high success rates while remaining visually imperceptible and preserving natural language coherence in generated responses?

Key findings

  • Shadowcast achieves high attack success rates—over 90% in Label Attack and significant persuasion success—using only 50 poison samples.
  • The attack remains effective across multiple VLM architectures, including LLaVA-1.5, MiniGPT-4, and InstructBLIP, demonstrating strong transferability.
  • Shadowcast maintains high performance under data augmentation, with attack success rates remaining above 85% across all evaluated tasks.
  • The attack is robust against JPEG compression; success rates improve when JPEG-aware perturbations are used during poison generation.
  • Human evaluations confirm that poisoned model responses are coherent and plausible, increasing the risk of undetected misinformation dissemination.
  • The method successfully generates persuasive, textually coherent narratives that mislead users into perceiving harmful content (e.g., junk food) as beneficial, highlighting a new threat surface for VLM security.

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.