Understanding and Mitigating Copying in Diffusion Models
Gowthami Somepalli, Vasu Singla, Micah Goldblum, Jonas Geiping, Tom Goldstein
TL;DR
This work investigates copying in diffusion-based image synthesis, revealing that text conditioning, not just training data duplication, drives memorization. It analyzes LAION-derived data and controlled Duplication experiments, showing that caption diversification and conditioning strategies can substantially mitigate replication with limited impact on image quality. The authors introduce training-time and inference-time mitigations (notably multiple captions per image) and provide a practical set of recommendations for safer, lower-copy diffusion systems. The findings have practical implications for copyright/privacy risk management and offer actionable guidance for building and deploying safer diffusion models.
Abstract
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.
