EmoAttack: Emotion-to-Image Diffusion Models for Emotional Backdoor Generation
Tianyu Wei, Shanmin Pang, Qi Guo, Yizhuo Ma, Xiaofeng Cao, Qing Guo
TL;DR
This work reveals a novel vulnerability in text-to-image diffusion systems where emotion-laden prompts can trigger malicious content, termed EmoAttack. It introduces EmoBooth, a diffusion-personalization approach that represents emotions as clustered text regions and injects backdoor prompts to produce targeted negative content only when the triggering emotion is present, while preserving normal outputs otherwise. A dedicated Emo2Image dataset and a CLIP-based evaluation framework (including the EmoAttack Capability metric) enable comprehensive analysis against strong baselines like Censorship and Zero-day, demonstrating superior backdoor fidelity and stealth. The findings underscore significant security implications for widely used diffusion systems and suggest directions for defense and responsible deployment, including ethical safeguards and potential mitigation strategies.
Abstract
Text-to-image diffusion models can generate realistic images based on textual inputs, enabling users to convey their opinions visually through language. Meanwhile, within language, emotion plays a crucial role in expressing personal opinions in our daily lives and the inclusion of maliciously negative content can lead users astray, exacerbating negative emotions. Recognizing the success of diffusion models and the significance of emotion, we investigate a previously overlooked risk associated with text-to-image diffusion models, that is, utilizing emotion in the input texts to introduce negative content and provoke unfavorable emotions in users. Specifically, we identify a new backdoor attack, i.e., emotion-aware backdoor attack (EmoAttack), which introduces malicious negative content triggered by emotional texts during image generation. We formulate such an attack as a diffusion personalization problem to avoid extensive model retraining and propose the EmoBooth. Unlike existing personalization methods, our approach fine-tunes a pre-trained diffusion model by establishing a mapping between a cluster of emotional words and a given reference image containing malicious negative content. To validate the effectiveness of our method, we built a dataset and conducted extensive analysis and discussion about its effectiveness. Given consumers' widespread use of diffusion models, uncovering this threat is critical for society.
