Detection and prevention of hateful images with animal characters
AnimalFarm: Auditing the Generation and Detection of Hateful Images Featuring Anthropomorphic Characters
Computer Vision and Pattern RecognitionCryptography and Security
Summary
Some hateful images use animal-like characters to spread harmful messages, but these are hard for existing tools to catch. The authors studied how well AI systems create and detect such hateful images. They found that popular detectors often miss hateful images when the main figures are non-human characters. To fix this, they developed methods that improve detection by either converting animal characters to human forms or training detectors specifically for these cases.
What this means in practice
- •For social media platform safety teams: Improve hateful image detection by adding pipelines that recognize non-human characters to reduce harmful content going undetected.
- •For content moderation service providers: Fine-tune existing image content detectors with datasets including anthropomorphic characters to boost detection accuracy for difficult hateful images.
Authors
Junjie Chu, Ye Leng, Mingjie Li, Yiting Qu, Michael Backes, Yun Shen, Yang Zhang
Abstract
Anthropomorphic non-human characters have long been used to convey hateful messages targeting human groups, from Nazi-era propaganda to recent AI-generated imagery on social media. However, the safety risks posed by such imagery remain largely unexplored. We thus conduct the first systematic study of hateful image generation and detection involving anthropomorphic non-human characters. We construct a benchmark from conservatively screened source scenes, covering five character types and three image generation tasks: text-to-image generation, image editing, and conversational image generation. Across 14,250 scheduled queries, image generation systems produce images for 92.1\% of queries, of which 95.9\% contain hateful content. We further collect 4,370 hateful images and evaluate five popular hateful-content detectors. Even the strongest detector, GPT-5.5, identifies only 73.9\% of hateful images, while most detect fewer than 58\%. Our analysis reveals that existing detectors often misclassify hateful images as benign when their main subjects are non-human characters. We explore two effective mitigation approaches: a training-free pipeline that maps non-human characters back to human representations before classification and a detector fine-tuned for this type of hateful content. These approaches achieve F1 scores of 0.962 and 0.979, respectively. Our findings expose significant safety gaps in both image generation and hateful-content detection. Disclaimer: This paper contains hateful text and imagery.