Skip to content

Unsafe Diffusion: A Study of Text-to-Image Models Generating Unsafe Images and Hateful MemesUnsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models

arXiv· arXiv:2305.13873· CCS 2023· Yiting Qu, Xinyue Shen, Xinlei He, Michael Backes, Savvas Zannettou, Yang Zhang·Indexed by this site · 26 days ago· Originally publishedAttacks
AI summary

The researchers evaluated the risk of four text-to-image models, including Stable Diffusion and DALLE·2, generating unsafe images, and constructed a typology of unsafe images with five categories: sexual, violent, disturbing, hateful, and political. They measured that across four models and four prompt datasets, 14.56% of generated images were unsafe, with Stable Diffusion having the highest proportion at 18.92%. For Stable Diffusion, the authors used three image editing methods it supports—DreamBooth, Textual Inversion, and SDEdit—to demonstrate an abuse path for generating hateful meme variants targeting specific individuals or groups; 24% of the images generated by DreamBooth belonged to such variants, comparable to hateful meme variants collected from the real world. The authors state that the danger of generating unsafe images at scale is imminent, and propose mitigation measures such as curating training data, regulating prompts, and deploying safety filters.

Read originalCCS 2023