paper-with-me

홈 › Papers

Detecting, Explaining, and Mitigating Memorization in Diffusion Models

2024-07-31 · Yuxin Wen, Yuchen Liu, Chen Chen, Lingjuan Lyu

Recent breakthroughs in diffusion models have exhibited exceptional image-generation capabilities. However, studies show that some outputs are merely replications of training data. Such replications present potential legal challenges for model owners, especially when the generated content contains proprietary information. In this work, we introduce a straightforward yet effective method for detecting memorized prompts by inspecting the magnitude of text-conditional predictions. Our proposed method seamlessly integrates without disrupting sampling algorithms, and delivers high accuracy even at the first generation step, with a single generation per prompt. Building on our detection strategy, we unveil an explainable approach that shows the contribution of individual words or tokens to memorization. This offers an interactive medium for users to adjust their prompts. Moreover, we propose two strategies i.e., to mitigate memorization by leveraging the magnitude of text-conditional predictions, either through minimization during inference or filtering during training. These proposed strategies effectively counteract memorization while maintaining high-generation quality. Code is available at https://github.com/YuxinWenRick/diffusion_memorization.

📄 PDF Abstract BibTeX arXiv:2407.21720

Code (1)

yuxinwenrick/diffusion_memorization 공식 구현 pytorch

Tasks

Image GenerationMemorization

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Broken Memories: Detecting and Mitigating Memorization in Diffusion Models with Degraded Generations

2026-05-21 · Yuanmin Huang, Mi Zhang, Chen Chen, Feifei Li 외 arxiv

While diffusion models excel at generating high-quality images, their tendency to memorize training data poses significant privacy and copyright risks. In this work, we for the first time identify that memorization induc…

Exploring Local Memorization in Diffusion Models via Bright Ending Attention

2024-10-29 · Chen Chen, Daochang Liu, Mubarak Shah, Chang Xu

In this paper, we identify and leverage a novel `bright ending' (BE) anomaly in diffusion models prone to memorizing training images to address a new task: locating localized memorization regions within these models. BE …

Memorization

Detecting and Mitigating Memorization in Diffusion Models through Anisotropy of the Log-Probability

2026-01-28 · Rohan Asthana, Vasileios Belagiannis arxiv

Diffusion-based image generative models produce high-fidelity images through iterative denoising but remain vulnerable to memorization, where they unintentionally reproduce exact copies or parts of training images. Recen…

Local Coverage Governs Memorization in Diffusion Models

2026-06-12 · Claudia Merger, Sebastian Goldt arxiv

Memorization in diffusion models is often treated as a global property of the model or dataset. In practice, however, a single diffusion model can simultaneously generate both memorized and novel samples. Which training …

Density Estimation

Mitigating data replication in text-to-audio generative diffusion models through anti-memorization guidance

2025-09-18 · Francisco Messina, Francesca Ronchini, Luca Comanducci, Paolo Bestagini 외 arxiv

A persistent challenge in generative audio models is data replication, where the model unintentionally generates parts of its training data during inference. In this work, we address this issue in text-to-audio diffusion…

Audio Generation