atlas

Research map / Image generation / Fast diffusion sampling

Understanding and Mitigating Memorization in Generative Models via Sharpness of Probability Landscapes

ICML 2025 · Image generation › Fast diffusion sampling · approach: Diffusion theory and design space · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Frames diffusion-model memorization as sharpness of the log-density Hessian, justifies Wen's score-difference metric through this lens, proposes an earlier-step Hessian-upscaled detection metric, and introduces SAIL, which optimizes initial noise to reduce memorization in Stable Diffusion.

Problem

Memorization in diffusion models (replicating training samples) raises privacy concerns, and existing detection metrics lack theoretical grounding and are costly or only reliable at late steps; mitigation often degrades prompts or model internals.

Approach

Treat memorization as sharpness of the learned log density, measured by Hessian eigenvalues or their trace (approximated by score norm); show Wen's score-difference metric equals a Hessian-eigenvalue gap; upscale it with a Hessian-score product for early-step detection; and mitigate by optimizing the initial noise x_T to lower sharpness while keeping the prompt fixed.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Hessian-weight the conditional–unconditional score differenceWen's metric for memorization detection · Stable Diffusion v1.4 and v2.0, initial sampling stepAUCHelped
Optimize initial noise with SAIL instead of modifying text-conditioning componentsStable Diffusion v1.4 and v2.0 · Memorization mitigationSSCD similarity scoreHelped
Optimize initial noise with SAIL instead of modifying text-conditioning componentsStable Diffusion v1.4 and v2.0 · Memorization mitigationCLIP scoreHelped

Limitations

Experimental setup

Datasets: 2D mixture of Gaussians MNIST memorized prompts for SD v1.4 and v2.0 (Wen et al.) COCO Lexica Tuxemon GPT-4 generated prompts

Benchmarks: Stable Diffusion v1.4 memorized prompts Stable Diffusion v2.0 memorized prompts MNIST memorization

Metrics: AUC TPR@1%FPR SSCD CLIP score

Baselines: Wen et al. score-difference metric Carlini-style l2 tile detection attention-based detection Random Token Addition Random Number Addition text embedding optimization attention score adjustment

Builds on: Wen et al. memorization detection metric classifier-free guidance DDIM Arnoldi iteration second-order score matching

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy