On the Feasibility of Poisoning Text-to-Image AI Models via Adversarial Mislabeling

Stanley Wu, Ronik Bhaskar, Anna Yoo Jeong Ha, Shawn Shan, Haitao Zheng +1 more
6/27/2025
cs.CRcs.AI

No official code found. Best implementation: stanleykywu/amp (5 stars, Apache-2.0, last commit 2025-12-11).

Abstract

Today's text-to-image generative models are trained on millions of images sourced from the Internet, each paired with a detailed caption produced by Vision-Language Models (VLMs). This part of the training pipeline is critical for supplying the models with large volumes of high-quality image-caption pairs during training. However, recent work suggests that VLMs are vulnerable to stealthy adversarial attacks, where adversarial perturbations are added to images to mislead the VLMs into producing incorrect captions. In this paper, we explore the feasibility of adversarial mislabeling attacks on VLMs as a mechanism to poisoning training pipelines for text-to-image models. Our experiments demonstrate that VLMs are highly vulnerable to adversarial perturbations, allowing attackers to produce benign-looking images that are consistently miscaptioned by the VLM models. This has the effect of injecting strong "dirty-label" poison samples into the training pipeline for text-to-image models, successfully altering their behavior with a small number of poisoned samples. We find that while potential defenses can be effective, they can be targeted and circumvented by adaptive attackers. This suggests a cat-and-mouse game that is likely to reduce the quality of training data and increase the cost of text-to-image model development. Finally, we demonstrate the real-world effectiveness of these attacks, achieving high attack success (over 73%) even in black-box scenarios against commercial VLMs (Google Vertex AI and Microsoft Azure).

View on arXivView PDF

Code Implementations(1)

stanleykywu/ampCommunity61%
Apache-2.0

Code for CCS 2025 Paper 'On the Feasibility of Poisoning Text-to-Image AI Models via Adversarial Mislabeling'

50Shell, PythonJun 17, 202510 months agoApache-2.0

Similar Papers

Cite this paper

@article{wu2025feasibility,
  title  = {On the Feasibility of Poisoning Text-to-Image AI Models via Adversarial Mislabeling},
  author = {Stanley Wu and Ronik Bhaskar and Anna Yoo Jeong Ha and Shawn Shan and Haitao Zheng and Ben Y. Zhao},
  year   = {2025},
  eprint = {2506.21874},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.21874v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.21874.svg)](https://codeofpaper.com/paper/2506.21874)

Discussion