Towards Memorization-Free Diffusion Models

Chen Chen, Daochang Liu, Chang Xu
2/9/2026

No official code found. Best implementation: chenchen-usyd/AMG (11 stars, last commit 2024-06-02).

Abstract

Pretrained diffusion models and their outputs are widely accessible due to their exceptional capacity for synthesizing high-quality images and their open-source nature. The users, however, may face litigation risks owing to the models' tendency to memorize and regurgitate training data during inference. To address this, we introduce Anti-Memorization Guidance (AMG), a novel framework employing three targeted guidance strategies for the main causes of memorization: image and caption duplication, and highly specific user prompts. Consequently, AMG ensures memorization-free outputs while maintaining high Image quality and text alignment, leveraging the synergy of its guidance methods, each indispensable in its own right. AMG also features an innovative automatic detection system for potential memorization during each step of inference process, allows selective application of guidance strategies, minimally interfering with the original sampling process to preserve output utility. We applied AMG to pre-trained Denoising Diffusion Probabilistic Models (DDPM) and Stable Diffusion across various generation tasks. The results demonstrate that AMG is the first approach to successfully eradicates all instances of memorization with no or marginal impacts on image quality and text-alignment, as evidenced by FID and CLIP scores.

View on arXivView PDF

Code Implementations(1)

chenchen-usyd/AMGCommunity59%

Towards Memorization-Free Diffusion Models (CVPR2024) Codebase

110Jun 2, 20242 years ago

Similar Papers

Cite this paper

@article{chen2026towards,
  title  = {Towards Memorization-Free Diffusion Models},
  author = {Chen Chen and Daochang Liu and Chang Xu},
  year   = {2026},
  eprint = {2404.00922},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2404.00922},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.00922.svg)](https://codeofpaper.com/paper/2404.00922)

Discussion