On the Interpolation Effect of Score Smoothing

Zhengdao Chen · Submission to ICLR 2025 · Withdrawn

TL;DR

Why do score-based diffusion models generate novel, plausible samples instead of simply memorizing their training data? This paper shows analytically that local smoothing of the empirical score function slows down reverse-time contraction along the data subspace while preserving collapse along orthogonal dimensions. This mechanism causes the denoising dynamics to produce smooth, non-singular interpolations between training points rather than collapsing onto discrete training samples.

What Problem Does This Paper Address?

When trained to perfection on a finite dataset, the target of a diffusion model is the empirical score function (ESF). However, if a diffusion model were to follow the exact ESF during reverse-time denoising, it would strictly output memorized training samples.

In practice, neural networks generalize by generating novel data that interpolates between training examples, or sometimes "hallucinate" points outside the distribution. While researchers have hypothesized that implicit neural network regularization smooths the score function and promotes interpolation, the exact mathematical mechanism connecting score smoothing to denoising dynamics and data interpolation has remained poorly understood.

The authors tackle this question from a distribution-agnostic perspective: how does smoothing the empirical score prevent memorization and enable subspace recovery?

Methods

Rather than trying to directly analyze the complex optimization trajectory of neural networks, the authors study a mathematically solvable proxy:

  1. Piece-wise Linear ESF Approximation: For small diffusion time $t$, the true empirical score function for discrete points can be tightly approximated by a piece-wise linear target.
  2. Local Moving-Average Smoothing: They smooth the scalar score function via local averaging over an interval $[x - \tau, x + \tau]$. In higher dimensions, they generalize this using a rotation-invariant operator that takes the minimum-norm vector over directional averages.
  3. Time-Dependent Smoothing Scale: They prove that setting the smoothing window to shrink with time—specifically $\tau_t = \Delta - \sqrt{\kappa t}$ (where $\Delta$ is data spacing and $\kappa > 0$)—keeps the empirical $L^2$ score-matching error bounded as $t \to 0$.
  4. Analytic Flow Solutions: With this smoothed piece-wise linear proxy, the reverse probability flow ordinary differential equation (ODE) can be integrated in closed form across different geometric regions.

Datasets

The paper does not evaluate on real-world image or molecular benchmarks, focusing instead on mathematically rigorous synthetic configurations:

  • 1D Two-point Benchmark: $S = \{-1, 1\} \subset \mathbb{R}$.
  • 1D Uniform Grid: $n > 2$ points spaced uniformly on $[-D, D]$.
  • 2D Subspace Setup: $n = 4$ points uniformly spaced along the $x_1$-axis in $[-1, 1]$ embedded in $\mathbb{R}^2$ ($d = 2$).

Key Insights and Ideas

  • Decoupled Tangential vs. Normal Dynamics: When data lies on a lower-dimensional linear subspace, the score vector splits into tangential and normal components. Smoothing flattens the sharp slope along the tangential direction (between data points), slowing contraction toward individual samples. Along the normal directions, the score remains linear and unsmoothed, ensuring the reverse process still collapses cleanly onto the subspace at rate $O(\sqrt{t})$.
  • Avoidance of Memorization Without Noise: Unlike early stopping (which halts at $t_{\min} > 0$ and leaves residual Gaussian noise across all $d$ dimensions), score smoothing drives the transverse dimensions completely to zero as $t \to 0$ while yielding a continuous, non-singular density along the subspace.
  • Finite KL-Divergence Guarantee: The authors prove that the terminal distribution produced under smoothed score dynamics has a finite Kullback-Leibler (KL) divergence with respect to a uniform distribution on the interval: $$\mathrm{KL}(u_{[-1, 1]} \parallel \hat{p}^{(n)}_0) \le \frac{1}{3t_0(1-\sqrt{\kappa t_0})} + \log\left(\frac{\sqrt{t_0}}{1-\sqrt{\kappa t_0}}\right) + \log(2\sqrt{2\pi}) < \infty$$ Under exact ESF dynamics, this divergence is strictly infinite because the resulting measure is fully singular (a sum of Dirac deltas).

Key Results

  • Empirical Match with Neural Networks: Training 3-layer MLPs with weight decay ($\lambda \in \{0.005, 0.01, 0.02\}$) to learn the ESF reveals that learned scores closely mirror the paper’s piece-wise linear smoothed profiles, where stronger regularization directly corresponds to a larger smoothing scale $\tau$.
  • 2D Simulation Validation: Simulating the reverse ODE on $n=4$ points along the $x_1$-axis in $\mathbb{R}^2$ from $t_0 = 0.02$ to $t = 0$ confirms that:
  • Exact ESF yields four isolated spikes (pure memorization).
  • Both analytically smoothed scores and neural-network-learned scores collapse normal variance ($x_2$) to zero while retaining continuous, smooth density histograms across the data span on $x_1 \in [-1, 1]$.

Limitations and Future Work

  • Simplified Geometry: The theoretical proofs assume uniformly spaced points lying along a one-dimensional linear subspace. Extending this to non-uniform spacing, higher-dimensional subspaces, and curved, non-linear manifolds remains open.
  • Heuristic Link to Neural Networks: The paper uses local window averaging as an analytical proxy. It does not mathematically prove that gradient descent or specific architectures (e.g., U-Nets, MLPs) inherently compute this exact form of smoothing.
  • Density Estimation Perspective: The analysis is distribution-agnostic (conditioned strictly on a fixed sample set) and does not provide statistical sample complexity bounds relative to an underlying population density.

Summary updated

BibTeX
@misc{chen2025interpolation,
  author = {Zhengdao Chen},
  title = {{On the Interpolation Effect of Score Smoothing}},
  year = {2025},
  eprint = {2502.19499},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.19499},
}
Figure