Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models
<h2>[Update] Looking for a larger unsafe image dataset? We publish a new dataset named UnsafeBench on Hugging Face. Take a look at <a href="https://huggingface.co/datasets/yiting/UnsafeBench">here</a>!</h2> <p>This dataset used in the paper <a href="https://arxiv.org/pdf/2305.13873.pdf">https://arxiv.org/pdf/2305.13873.pdf</a> contains four prompt sets and one image set.</p> <p>The four prompt sets were used to query Text-to-Image models and generate images for safety assessment. These sets include three harmful prompt sets and one harmless prompt set. The harmful prompts originate from different sources and contain various unsafe concepts, such as sexually explicit, violent, disturbing, hateful, and political content.</p> <p><strong>Prompt Sets</strong>:</p> <ul> <li>4chan Prompts: Harmful</li> <li>Lexica Prompts: Harmful</li> <li>Template Prompts: Harmful</li> <li>COCO Prompts: Harmless</li> </ul> <p><strong>Image Dataset</strong>:</p> <p>This dataset consists of 800 images, which were randomly selected from all the generated images from Text-to-Image models.</p> <ul> <li>Safe: 580 images</li> <li>Sexually Explicit: 48 images</li> <li>Violent: 45 images</li> <li>Disturbing: 68 images</li> <li>Hateful: 35 images</li> <li>Political: 50 images</li> </ul>
ShareScore
28/100
Overall dataset sharing score
Score breakdown
These five areas show where the dataset supports — or may limit — practical reuse.
- Stewardship
- 8
- Harmonization
- 4
- Access
- 8
- Reuse readiness
- 8
- Engagement
- 0