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 (30K)
FID (30K)19.53
62
Text-to-Image GenerationCOCO
FID52.11
61
Text-to-Image GenerationMSCOCO 30K
FID17.95
54
Text-to-Image GenerationCOCO 30k
FID16.9
53
JailbreakingMHSC
ASR-429
44
JailbreakingQ16
ASR-440
44
Nudity ErasureI2P--
38
Concept UnlearningUnlearnDiffAtk
UnlearnDiffAtk0.479
36
Explicit Content RemovalI2P
Armpits Count47
28
Safe Text-to-Image GenerationCoPro V2 (test)
IP27
23
Showing 10 of 118 rows
...

Other info

Code

Follow for update