Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models

About

Text-conditioned image generation models have recently achieved astonishing results in image quality and text alignment and are consequently employed in a fast-growing number of applications. Since they are highly data-driven, relying on billion-sized datasets randomly scraped from the internet, they also suffer, as we demonstrate, from degenerated and biased human behavior. In turn, they may even reinforce such biases. To help combat these undesired side effects, we present safe latent diffusion (SLD). Specifically, to measure the inappropriate degeneration due to unfiltered and imbalanced training sets, we establish a novel image generation test bed-inappropriate image prompts (I2P)-containing dedicated, real-world image-to-text prompts covering concepts such as nudity and violence. As our exhaustive empirical evaluation demonstrates, the introduced SLD removes and suppresses inappropriate image parts during the diffusion process, with no additional training required and no adverse effect on overall image quality or text alignment.

Patrick Schramowski, Manuel Brack, Bj\"orn Deiseroth, Kristian Kersting• 2022

Related benchmarks

TaskDatasetResultRank
Text-to-Image GenerationMS-COCO
FID67.81
193
Text-to-Image GenerationCOCO
FID52.11
104
Compositional Image GenerationGenEval
Overall Score58.4
94
Text-to-Image GenerationCOCO 30k
FID16.9
77
Text-to-Image GenerationMS-COCO (30K)
FID (30K)19.53
72
Object ErasureCIFAR-10
Accuracy (Erase)84.14
62
Text-to-Image GenerationMSCOCO 30K
FID17.95
54
Concept RemovalRing-A-Bell Nudity
Attack Success Rate (ASR)95.6
52
Text-to-Image GenerationI2P
ASR0.407
52
Nudity ErasureI2P
Total Count744
52
Showing 10 of 207 rows
...

Other info

Code

Follow for update