In this paper, we introduce a geometric framework to analyze memorization in diffusion models through the sharpness of the log probability density. We mathematically justify a previously proposed score-difference-based memorization metric by demonstrating its effectiveness in quantifying sharpness. Additionally, we propose a novel memorization metric that captures sharpness at the initial stage of image generation in latent diffusion models, offering early insights into potential memorization. Leveraging this metric, we develop a mitigation strategy that optimizes the initial noise of the generation process using a sharpness-aware regularization term. The code is publicly available at https://github.com/Dongjae0324/sharpness_memorization_diffusion.
@article{arxiv.2412.04140,
title = {Understanding and Mitigating Memorization in Generative Models via Sharpness of Probability Landscapes},
author = {Dongjae Jeon and Dueun Kim and Albert No},
journal= {arXiv preprint arXiv:2412.04140},
year = {2025}
}
Comments
Accepted at ICML 2025 (Spotlight). Code: https://github.com/Dongjae0324/sharpness_memorization_diffusion