English

Asymmetric Bias in Text-to-Image Generation with Adversarial Attacks

Machine Learning 2024-07-18 v3 Cryptography and Security

Abstract

The widespread use of Text-to-Image (T2I) models in content generation requires careful examination of their safety, including their robustness to adversarial attacks. Despite extensive research on adversarial attacks, the reasons for their effectiveness remain underexplored. This paper presents an empirical study on adversarial attacks against T2I models, focusing on analyzing factors associated with attack success rates (ASR). We introduce a new attack objective - entity swapping using adversarial suffixes and two gradient-based attack algorithms. Human and automatic evaluations reveal the asymmetric nature of ASRs on entity swap: for example, it is easier to replace "human" with "robot" in the prompt "a human dancing in the rain." with an adversarial suffix, but the reverse replacement is significantly harder. We further propose probing metrics to establish indicative signals from the model's beliefs to the adversarial ASR. We identify conditions that result in a success probability of 60% for adversarial attacks and others where this likelihood drops below 5%.

Keywords

Cite

@article{arxiv.2312.14440,
  title  = {Asymmetric Bias in Text-to-Image Generation with Adversarial Attacks},
  author = {Haz Sameen Shahgir and Xianghao Kong and Greg Ver Steeg and Yue Dong},
  journal= {arXiv preprint arXiv:2312.14440},
  year   = {2024}
}

Comments

camera-ready version

R2 v1 2026-06-28T13:59:30.705Z