arXiv:2610.20850cs.LGOct 2026

Manuscript Offprint

arXiv:2610.20850

Denoising Score Matching in Diffusion Models: The Effect of Rank Constraints on Generalization

Anand Jerry George, Nicolas Macris

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Architectural biases restrict the class of functions that a diffusion score network can represent, but their effect on generalization remains poorly understood. We study denoising score matching with score networks having a rank constrained non-linear term and a linear skip connection. Numerical experiments with trainable three-layer networks on data supported on an embedded sphere show that increasing rank lowers training error, but its effect on test error depends on sample size and data dimension. To explain this behavior, we analyze a random-feature score model under rank constraint with Gaussian data supported on a low-dimensional subspace. We characterize the optimal rank-constrained estimator through a truncated singular value decomposition and derive asymptotically precise limiting training and test errors when sample size (n), feature width (p), data dimension (D), and rank (r) scale proportionally with the ambient dimension (d). The resulting spectral characterization distinguishes eigenmodes that improve the empirical fit from those that improve population accuracy. It also identifies the dimension of the orthogonal complement of the data subspace as a natural rank threshold. The theoretical learning curves qualitatively reproduce the observed rank-dependent overfitting, providing a tractable account of how bottlenecks or rank constraints can regularize score estimation and why their effectiveness depends on data dimension and sample size.

1 INTRODUCTION

Diffusion models have achieved remarkable success in high-dimensional generative modeling, yet their ability to memorize training data remains an important theoretical and practical concern (Somepalli et al., 2023; Carlini et al., 2023). In the highly overparameterized regime, score networks can in principle fit increasingly fine details of the training dataset, and at sufficiently small noise levels the learned score may become strongly influenced by individual training samples (Gu et al., 2023; Yoon et al., 2023). At the same time, practical diffusion architectures often generate novel samples rather than simply reproducing their training sets. Understanding which architectural biases prevent a score model from collapsing toward such memorizing solutions is therefore important for explaining the generalization behavior of diffusion models.

A prominent feature of practical score networks is their encoder–decoder structure (Ronneberger et al., 2015). Although these models may contain a very large number of parameters, information is repeatedly compressed into lower-dimensional representations before being decoded back to the ambient data space. This suggests that architectural bottlenecks may act as a restriction on the class of score functions that can be learned. In particular, they may prevent the model from independently fitting the score around every training example, while retaining the dominant directions needed to represent the underlying data distribution. This motivates the hypothesis that a form of effective low-rank structure in the learned score can suppress overfitting.

In this work, we isolate this mechanism through two complementary models of the score function. First, we numerically study the learning curves of a three-layer neural network with a bottleneck structure. Second, we consider a random-feature parameterization with an explicit rank constraint on the learned second-

Figure

Figure 1: A qualitative illustration of our findings.

layer weight matrix. Both models comprise an additional linear skip connection term. The rank constraint in the random-feature model acts as an idealized encoder-decoder bottleneck, forcing the learned vector field to factor through a low-dimensional latent space. For this model, we derive analytical expressions for the limiting learning curves. By comparing these theoretical predictions with our empirical findings, we investigate how the rank of the learned score affects generalization in a controlled setting.

Our analysis shows how restricting the rank can qualitatively change the learning behavior of denoising score matching. High-rank models have sufficient flexibility to exploit sample-specific directions and can approach solutions strongly tied to the empirical dataset, whereas reducing the rank can suppresses these directions and force the estimator to retain only collective structure shared across samples. The resulting framework provides a simple theoretical model for studying how bottlenecks in practical score architectures can act as an regularizer against memorization/overfitting.

References (82)