# From Static Geometry to Dynamical Singularity: Detecting Memorization in Diffusion Models via Score Evolution

*Jeonseong Kim, Chenglin Fan*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155740) · [OpenReview](https://openreview.net/forum?id=3KVTmKRBPc) · [Open on the map](../papers.html#p155740)

Category: [Diffusion & Image Generation](../pcat/5.md) › [Diffusion Model Diagnostics](../pgroup/667.md) · Type: new method · Keywords: diffusion model memorization detection, score evolution, curvature analysis, privacy auditing, generative model safety

## Summary
The paper introduces the Dynamical Singularity Metric (DSM) to detect memorization in diffusion models by measuring score evolution along sampling trajectories.

## Explained to a 5-year-old
When a computer learns to draw pictures, it might accidentally copy some pictures it saw while learning. We want to find out if that copying happened. The researchers look at how the model changes its predictions while drawing. They see if something looks too sharp, which suggests copying. This helps keep people's pictures safe.

## Explained to a 5-year-old, longer
A computer program can learn to make new pictures by using something called a diffusion model. While it learns, it looks at many example pictures. Sometimes it might start copying one of those example pictures instead of making something new. Knowing if it copied is important because people might not want their pictures used without permission. The researchers wanted a simple way to check if copying happened. They discovered that when the model tries to undo the picture-making steps, the way it changes its predictions can show if something is too focused. If a picture is being copied, the model’s changes become sharper and more local. By looking at these changes, they can tell if copying occurred without needing extra calculations. This method works early in the process, so it can stop copying quickly. It also costs less computer power than other ways of checking. The result is a tool that helps keep the pictures safe and respects privacy. It lets developers trust their models more when they share them with others.

## For a technical reader
The paper tackles detecting memorization of training data in diffusion models, which is essential for privacy and copyright. By deriving an exact evolution equation for the score field from the Fokker-Planck equation, they link curvature of the score landscape to memorization signals. They show that standard sampling trajectories already contain this curvature information through a transport-curvature response, eliminating the need for extra backpropagation or Hessian computations. This yields a lightweight on-trajectory detector that can be applied early in the generation process.

## Problem
Identifying whether diffusion models have memorized specific training instances is challenging because memorized data can be difficult to distinguish from general learned concepts.

## Method
The approach derives an exact evolution law for the score field from the Fokker-Planck equation, showing that curvature contributes to temporal concentration dynamics. It then leverages a transport-curvature response observable during standard sampling to compute a pathwise discrepancy between conditional and unconditional branches without extra backpropagation. This yields an on-trajectory detector that measures memorization.

## Results
On Stable Diffusion, the approach matches or exceeds curvature-based baselines while being substantially cheaper and effective at the earliest reverse step.

## Contributions
The paper provides an exact evolution law linking score dynamics to curvature and demonstrates that standard sampling already reveals this information. It also proposes an on-trajectory detector that requires no extra computation beyond sampling.

## Practical relevance
The work enables cheaper and earlier detection of memorization, aiding copyright protection and privacy auditing of generative models.

## Research questions this paper is counted under

- [How do diffusion models balance memorization of training data versus genuine generalization to unseen samples?](../q/71.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155740)
