Learning the Projection onto the Data Support: Distribution Learning that Avoids Memorization

Lin Chen, Dejan Slepcev

TL;DR

Diffusion models are magical at generating data, right up until you train them too well on a finite dataset—at which point they simply memorize and regurgitate your training points. This paper flips generative modeling on its head by designing a loss function whose mathematical ideal is the nearest-point projection onto the underlying data geometry, not the training samples themselves. The result is a standard neural network that acts as a "geometric gravity well," snapping noisy inputs onto smooth, continuous manifolds where memorization isn't just discouraged—it's mathematically impossible.

What Problem Does This Paper Address?

High-dimensional data—like images—usually live on much lower-dimensional, smooth geometric surfaces called manifolds (this is the famous manifold hypothesis). Modern generative models like diffusion models learn to navigate back to this manifold by estimating a "score" (a vector field pointing toward higher data density) from noisy training data.

Here’s the catch: in the real world, you only have a finite set of training points. If you optimize a diffusion model's objective too accurately at small noise scales, the learned vector field stops pointing toward the smooth underlying surface and points directly at individual training samples. Generative models usually dodge this memorization bullet via happy accidents like early stopping, limited network capacity, or training quirks.

The authors ask a foundational question: Instead of relying on training tricks to stop a model from memorizing, can we write down an objective function whose exact global minimum recovers the continuous underlying geometry rather than the discrete training set?

Diffusion models cluster around training points at small noise scales, whereas the projection model recovers the smooth circle.

Methods

Instead of simulating a multi-step reverse diffusion process, the authors train a standard neural network $T$ (like an MLP or U-Net) to directly compute the orthogonal projection onto the data manifold. Once learned, generation is dead simple: take a training point, add a bit of random noise to knock it off the manifold, and apply $T$ to snap it back onto the surface at a brand-new location.

What is novel here is the variational objective used to learn $T$ without knowing the manifold's dimension or tangent planes in advance. It combines four intuitive geometric rules over a "tubular neighborhood" (a $\delta$-thick cloud of noisy points around the data):

  1. Stay put on the data ($E_1$): Points already on the training set shouldn't move ($T(x) = x$).
  2. Constant along projection rays ($E_2$): This is the secret sauce. If $T(x)$ is the closest point on the manifold to $x$, then sliding anywhere along the straight line between $x$ and $T(x)$ shouldn't change the destination. Enforcing $DT(x)(T(x) - x) = 0$ forces the output of $T$ to be a smooth $d$-dimensional surface rather than isolated 0-dimensional training points!
  3. Pull points inward ($E_3$): Prevents the network from lazily learning the identity map by nudging noisy points back within the data's covering scale.
  4. Enforce orthogonality ($E_4$): Prevents slanted projections by bounding travel distance (though in practice, the first three terms alone suffice).

Because $E_2$ is nonconvex and touchy about initialization, the authors introduce a two-stage training procedure (a quick pretraining warmup to pull points near the data, followed by full geometric training) and Iterated Projection Learning (IPL), which chains networks trained at shrinking noise scales ($\delta_1 > \delta_2 > \dots > \delta_K$) to resolve fine details in high dimensions. They also introduce a clean, dimensionless Memorization Score (Memo) that measures excess generated probability mass clustering around training points compared to the true distribution.

Datasets

The authors evaluate their framework across synthetic geometric benchmarks and standard image data:

  • Synthetic Manifolds: A unit circle in $\mathbb{R}^2$; a tricky union of a 2D torus linked with a 1D circle in $\mathbb{R}^3$; $d$-dimensional tori ($d \in \{1,\dots,5\}$) embedded in both $\mathbb{R}^{2d}$ and $\mathbb{R}^{256}$; and a 1D circle of synthetic $8 \times 8$ intensity images in $\mathbb{R}^{64}$.
  • MNIST: Handwritten digits ($28 \times 28$), trained on 10,000 images with the remaining training pool held out as a ground-truth reference set.
Figure 2: Torus linked with a circle in R3. The model is trained on 600 + 100 points (red) and generated 35, 000 samples (blue).

Key Insights and Ideas

  • Super-resolution of the support: By Theorem 3.1, if your finite data covers the true manifold with gaps of size $h$, every minimizer of their finite-sample objective outputs a smooth manifold within distance $O(h^2/\delta)$ of the truth. Since $h^2/\delta \ll h$, optimizing the loss harder actually builds a surface more accurate than the training data itself, completely ruling out collapse onto the 0-dimensional point cloud.
  • Automatic dimension adaptation: Because no coordinate charts or intrinsic dimensions are hardcoded into the network, a single model effortlessly handles datasets made of disconnected shapes of different dimensions (like a 1D curve next to a 2D surface).
  • Ambient dimension is your friend: Projecting isotropic $D$-dimensional noise of scale $\delta$ onto a $d$-dimensional manifold introduces a distributional Wasserstein bias of only $O(\frac{d}{D}\delta^2)$. Most of the noise sits perpendicular to the manifold and gets wiped out by the projection! Empirically, embedding a torus in 256D actually yielded lower recovery error than in 2D.

Key Results

  • Zero-memorization dynamics: On the 64D synthetic image circle ($n=30$), a score-based diffusion model takes ~30,000 epochs to find the manifold, after which its Memo score skyrockets toward 0.30. The projection model hits near-zero manifold error in 2,000 epochs while keeping Memo flatlined near 0.
  • High-D Torus: For a 2D torus in $\mathbb{R}^{256}$ ($n=480$), generated samples achieve a Manifold Identification Error (MIE) of 0.006. In 1-Wasserstein distance, generated samples are much closer to fresh ground-truth samples (0.099) than the training set itself is (0.192).
  • MNIST: Using IPL with a U-Net, the projection model matches a VE-SDE diffusion baseline on image quality (FID: 0.0565 vs. 0.0567; KID: 1.40e-4 vs. 2.00e-4 in CapsNet feature space), achieves 0.000 pixel-space memorization, and tracks the true test-set neighborhood coverage curve far more faithfully than the diffusion model.

Limitations and Future Work

There is an intriguing gap between theory and practice regarding the noise radius $\delta$. All theoretical guarantees require $\delta$ to be smaller than the manifold's reach (roughly, how tightly the surface curves or folds back near itself, ensuring a unique closest point). Yet in high-dimensional experiments, the model works best when $\delta$ is much larger than the reach. Understanding why large noise scales behave so well—and using that insight to systematically pick noise schedules for IPL—remains an open theoretical puzzle. Practically, the authors aim to scale this framework to larger, more complex natural image datasets and explore bolting learned projections onto the end of standard diffusion pipelines as a final "anti-memorization" cleanup step.

Summary updated

BibTeX
@inproceedings{chen2026learning,
  author = {Lin Chen and Dejan Slepcev},
  title = {{Learning the Projection onto the Data Support: Distribution Learning that Avoids Memorization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Nj1WTx7zLW},
}

Loading related content...

Figure