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

Understanding and Mitigating Copying in Diffusion Models

About

Images generated by diffusion models like Stable Diffusion are increasingly widespread. Recent works and even lawsuits have shown that these models are prone to replicating their training data, unbeknownst to the user. In this paper, we first analyze this memorization problem in text-to-image diffusion models. While it is widely believed that duplicated images in the training set are responsible for content replication at inference time, we observe that the text conditioning of the model plays a similarly important role. In fact, we see in our experiments that data replication often does not happen for unconditional models, while it is common in the text-conditional case. Motivated by our findings, we then propose several techniques for reducing data replication at both training and inference time by randomizing and augmenting image captions in the training set.

Gowthami Somepalli, Vasu Singla, Micah Goldblum, Jonas Geiping, Tom Goldstein• 2023

Related benchmarks

TaskDatasetResultRank
Text-conditional image generationLAION-10k
CLIP Score0.302
10
Mitigating memorization in conditional diffusion modelsScenario 3 duplicated prompts Stable Diffusion v1.4
Similarity (95pc)0.748
8
Text-to-Image GenerationScenario 4
Similarity (95th Percentile)0.9049
8
Text-to-Image GenerationSD template memorization 1.4
SSCD0.617
7
Text-to-Image GenerationSD template memorization 2.0
SSCD54.3
7
Text-to-Image GenerationLAION-10k Scenario 1 (test)
Similarity (95pc)0.5416
7
Text-to-Image GenerationSD 1.4 (verbatim memorization)
SSCD0.328
7
Image Generation Memorization MitigationImageNette memorized SD v2.1 (test)
Similarity @ 95%43.7
3
Text-to-Image GenerationOpenVid Single-image overfitting 1.0 (test)
SSCD0.7298
2
Showing 9 of 9 rows

Other info

Code

Follow for update