Hate in Plain Sight: On the Risks of Moderating AI-Generated Hateful Illusions

Yi-Ting Qu, Ziqing Yang, Yi-Han Ma, Michael Backes, Savvas Zannettou +1 more
7/1/2025
diffusion-flow

No confident code implementation found for this paper.

Abstract

Recent advances in text-to-image diffusion models have enabled the creation of a new form of digital art: optical illusions—visual tricks that create different perceptions of reality. However, adversaries may misuse such techniques to generate hateful illusions, which embed specific hate messages into harmless scenes and disseminate them across web communities.

Show full abstract

In this work, we take the first step toward investigating the risks of scalable hateful illusion generation and the potential for bypassing current content moderation models. Specifically, we generate 1,860 optical illusions using Stable Diffusion and ControlNet, conditioned on 62 hate messages. Of these, 1,571 are hateful illusions that successfully embed hate messages, either overtly or subtly, forming the Hateful Illusion dataset. Using this dataset, we evaluate the performance of six moderation classifiers and nine vision language models (VLMs) in identifying hateful illusions. Experimental results reveal significant vulnerabilities in existing moderation models: the detection accuracy falls below 0.245 for moderation classifiers and below 0.102 for VLMs. We further identify a critical limitation in their vision encoders, which mainly focus on surface-level image details while overlooking the secondary layer of information, i.e., hidden messages. To address this risk, we explore preliminary mitigation measures and identify the most effective approaches from the perspectives of image transformations and training-level strategies. 11Our code is available at https://github.com/TrustAIRLab/HatefulIllusion. Disclaimer. This paper contains hateful images. Reader discretion is advised.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{qu2025hate,
  title  = {Hate in Plain Sight: On the Risks of Moderating AI-Generated Hateful Illusions},
  author = {Yi-Ting Qu and Ziqing Yang and Yi-Han Ma and Michael Backes and Savvas Zannettou and Yang Zhang},
  year   = {2025},
  eprint = {2507.22617},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2507.22617},
  journal = {IEEE International Conference on Computer Vision}
}

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/2507.22617.svg)](https://codeofpaper.com/paper/2507.22617)

Discussion