Generalization Dynamics of Linear Diffusion Models
Claudia Merger, Sebastian Goldt
NeurIPS 2026
TL;DR. We show how power-law covariance spectra of data distributions affect learning in diffusion models.
Abstract. Diffusion models are powerful generative models that produce high-quality samples from complex data. While their infinite-data behavior is well understood, their generalization with finite data remains less clear. Classical learning theory predicts that generalization occurs at a sample complexity that is exponential in the dimension, far exceeding practical needs. We address this gap by analyzing diffusion models through the lens of data covariance spectra, which often follow power-law decays, reflecting the structure of real data. To understand whether such a power-law structure can benefit learning in diffusion models, we develop a theoretical framework based on linear neural networks, congruent with a Gaussian hypothesis on the data. We quantify how the covariance spectra of data and regularization impact generalization. We find two regimes: When , not all directions of variation are present in the training data, which results in a large gap between training and test loss. In this regime, we demonstrate how a power-law data structure, as well as regularization and early stopping help to prevent overfitting. For , we find that the sampling distributions of linear diffusion models approach their optimum (measured by the Kullback-Leibler divergence) linearly with , independent of the specifics of the data distribution. Our work clarifies how sample complexity governs generalization in a simple model of diffusion-based generative models.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:49 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The authors study the training dynamics of diffusion models in high-dimensions in the regime where the data is Gaussian with power-law covariance and the score is linear. They demonstrate how sample complexity affects generalization in this model using the replica method. They present several interesting simulations to demonstrate how their results should generalize beyond this setting, including real-data studies.
There were some issues raised by two of the referees. The authors meaningfully engaged in the rebuttal process. While not all of the reviewers were convinced, I believe they sufficiently responded to all concerns.
Final justification
See above.
- Final justification
- See above.
Read meta-review
Meta-review
The authors study the training dynamics of diffusion models in high-dimensions in the regime where the data is Gaussian with power-law covariance and the score is linear. They demonstrate how sample complexity affects generalization in this model using the replica method. They present several interesting simulations to demonstrate how their results should generalize beyond this setting, including real-data studies.
There were some issues raised by two of the referees. The authors meaningfully engaged in the rebuttal process. While not all of the reviewers were convinced, I believe they sufficiently responded to all concerns.
1 comment
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies generalization behavior in diffusion models, when linear networks are used to parameterize the score function. It focuses on how a power law behavior of the data covariance spectrum, together with finite data samples shapes the generalization behavior. The authors derive expressions for the train and test loss, as well as the KL divergence (assuming Gaussian target) between target and the sampled distributions. Using these, authors analyze and discuss the effects of exponent of the power law , sample size , and regularization on generalization, as well as learning dynamics. The high level ideas are as follows:
- The samples generated by a linear score is from a Gaussian with is covariance proportional to the empirical covariance.
- For < there is overfitting because of the rank deficiency in the empirical covariance. However an strong power law decay and regularization reduces this over fitting.
- A strong power law decay delays overfitting in the training dynamics.
Strengths and weaknesses
The paper is reasonably well written and studies the important problem of generalization in diffusion models. It makes several interesting observations when linear networks are used as score, supported by mathematical analysis. Both test and train errors, as well as KL divergence are computed to quantify generalization.
However, almost all the phenomenon that are presented in the paper are consequences of using a linear score, with limited significance to score networks used in practice. It's well known that a linear score would lead to diffusion models sampling from a Gaussian distribution with covariance a linear combination of data covariance and identity [Wang and Pehlevan'25]. Another well known fact is that, when the data distribution is supported on a manifold, the score has large magnitude in the orthogonal directions, in the low noise regime [Pidstrigach'22]. From my understanding, the learning curve that the authors observe is the culmination of these two aspects.
For <, the empirical data is supported on a lower dimenisonal manifold, and therefore in the low noise regime, a linear score is of large magnitude in the orthogonal direction to the manifold. This would proportionally increase the test error. This explains the divergence between test and train error that the authors observe. Although this behavior of test and train errors is reminiscent of overfitting, here it is solely due to the lack of capacity of the linear score. So, it could be argued whether the phenomenon presented is really overfitting. The effect of regularization is also quite straightforward, as it reduces the magnitude of score in the orthogonal directions.
When the power law exponent is increased, the population covariance is closer to having a manifold support, and hence the linear score better approximates the true score in the orthogonal direction. I expect this is the reason behind a stronger power law decreasing 'overfitting'.
The authors validate their theory using experiments, and importantly they claim that non-linear score networks like U-Nets also shows similar behaviors for test and train errors. However, the mechanisms behind these similar behaviors are likely different. In U-Nets, even when one decrease , the visual quality of generated samples doesn't decrease, but it becomes more and more identical to one of the training sample (memorization). This produces a divergence between test and train errors. If the mechanism was same as that of a linear diffusion, we should expect that U-Nets will produce a sample which is low dimensional approximation of the dataset. This questions the significance of the observations made by the authors.
Questions
- Is assessing the generalization in diffusion models using test and train errors, and KL divergence complimentary to each other? Is there an advantage/disadvantage of using one over the other?
- Beyond the self-consistent formula, is there a intuition on what is ?
Limitations
Yes, the authors have mentioned limitations of their work.
Formatting concerns
None
7 comments
Rebuttal
We thank the reviewer for their careful reading of the manuscript and for their pertinent comments.
Relation to prior work
We thank the reviewer for pointing out the connection to [Pidstrigach'22] and agree with the reviewer's high level points on how a stronger spectral decay affects the related overfitting.
However, our work is more than a combination of [Wang and Pehlevan'25] with the manifold picture of [Pidstrigach'22]. [Wang and Pehlevan'25] study the population loss, where the exact covariance is known and there is no distinction between training and test loss. Here, we study the realistic case of a finite data set, which allows us to study over-fitting. On a technical level, this means that the data covariance used to train the neural network is itself a random object whose spectral properties we characterise. For example, it is a priori not clear to which degree the nullspace of the empirical covariance aligns with the space of the smallest eigenvalues which would lead to the mitigating effect of spectral decay which the reviewer has described. In our theory, we can capture this alignment precisely and therefore characterize quantities such as the test and training loss in the average over draws of the dataset, to make the relation between these quantities and spectral decay explicit. We show that the behavior is governed by single order parameter that encompasses the influence of the spectral decay on the generalization. Beyond this, we make several points about training dynamics and performance measures which go beyond the nullspace/manifold picture:
First, we clarify at which speed different modes of the covariance are learned, and show that those directions which contribute to the overfitting phenomenon most strongly are learned at the slowest rate. This shows that early stopping diffusion models can benefit performance through favourable dynamic regularization.
Second, we show how the test loss of diffusion models relates to the KL divergence. We show that the denoising score matching loss more faithfully represents the KL divergence in the regime, and isolate irreducible terms that hide the improvements in KL divergence in the regime.
Finally, we show that the loss where one predicts the data instead of the noise, although yielding the same optimum, reweights the terms in the denoising score matching loss and thereby hides loss of variability due to the nullspace. This shows that the MSE loss with the data instead of the noise is less informative about the KL divergence and places larger emphasis on the leading principal components of the covariance matrix.
The mechanisms behind overfitting in U-nets and linear models
We would first like to clarify that we use overfitting in the standard statistical sense: the learned model fits properties of the finite training set that do not generalize to the population, resulting in a gap between training and test performance. Hence, in our study, exact memorization and overfitting are not synonymous.
Under our Gaussian population assumption, the population score is exactly affine. The train-test gap for N<d is therefore not caused by approximation error or insufficient representational capacity. Rather, empirical-risk minimization replaces the population mean and covariance with their finite-sample estimates. The learned model consequently matches the empirical Gaussian more closely than the population Gaussian. In particular, when N<d, the empirical covariance is rank deficient and the learned distribution underestimates variability in directions that are absent from the training set. This is a standard finite-sample estimation error and hence a form of overfitting.
Importantly, this failure does not require the model to reproduce individual training examples. Samples from the learned Gaussian are generally novel, yet they are drawn from a distribution with incorrect covariance and therefore do not represent the population correctly. Thus, the absence of exact memorization does not imply generalization.
The reviewer raises an important additional point: nonlinear models such as U-nets can also learn a memorizing solution, in which generated samples reproduce training examples with high fidelity but little novelty. This highly nonlinear failure mode lies outside the scope of our affine model and is discussed as a limitation in Section 3. Recent work suggests that linear diffusion models exhibit exact memorization only at much smaller sample complexities [Maillard and Goldt, 2026].
Our claim is therefore not that covariance overfitting and exact memorization are the same mechanism. Rather, finite-sample covariance estimation provides a distinct, lower-order form of overfitting that can occur even when generated samples are novel. In a nonlinear diffusion model, this covariance-driven error may coexist with, precede, or remain after exact memorization has been avoided. The linear theory isolates this second-order component of the generalization problem, while the nonlinear experiments test whether it remains visible in more expressive models.
Where and how the insights from linear models translate to nonlinear models
In our study, we systematically compare the mappings implemented by non-linear models and their generalization properties to linear models. We find that as the level of noise, t, increases, non-linear models implement increasingly similar solutions to their linear counterparts. Similarly, we find qualtiative similarities in how measures of performance, such as the train-test loss gap, as well as the similarity to the reference model, increases with the sample complexity. This shows that nonlinear models behave similarily to linear ones. While we do not have a complete explanation of this phenomenon (see also our reply to reviewer PYPL), these empirical studies do indicate that understanding linear models is relevant to understanding how diffusion models generalize. For example, behavior of the two different objective functions (data prediction vs. noise prediction), to carry over to the nonlinear case: in the noise prediction objective, every direction contributes to the loss at roughly the same order of magnitude, whereas in the data prediction objective, directions of very large variability in the data, such as the leading PC components, will contribute more strongly. This motivates a testable prediction: validation losses for the two parameterizations may place very different emphasis on low-variance eigendirections compared to high-variance eigendirections, even if their resulting denoisers have comparable sampling behavior. In particular, data-prediction loss may obscure missing variability in subleading directions more strongly than noise-prediction loss.
Relation between KL divergence and test loss
We thank the reviewer for this pertinent question. Our analysis reveals several points about the relation between the test loss and the KL divergence, which measures distributional similarity. First, we find that the noise prediction objective behaves more similar to the KL divergence than the data prediction one: the noise-prediction objective and the KL divergence penalize the nullspace of the empirical covariance in a similar fashion, whereas the data prediction objective may obscure these effects (a more detailed comparison is made at the end of section 2). In the regime, however, improvements visible in the KL divergence are obscured in the test loss by -independent, irreducible terms for both data and noise prediction objectives. Consequently, the test loss is a useful proxy for distributional recovery in the undersampled regime, but it saturates once becomes comparable to , even though the generated distribution continues to improve.
Intuition on the order parameter q
Thank you for this interesting question. The order parameter can be written as a population-covariance-weighted resolvent of the empirical covariance:
where the expectation is over realizations of . It can therefore be interpreted as the amount of population variance that remains unresolved by the empirical covariance at the relevant noise or regularization scale.
Directions with large empirical eigenvalues are well resolved and contribute little because of the inverse factor. Directions with small or zero empirical eigenvalues contribute strongly. For , empirical-nullspace directions therefore produce a substantial contribution. Faster spectral decay reduces q because these unresolved directions tend to carry less population variance.
We will add this interpretation next to the self-consistency equation.
We hope these clarifications help better position the scope and contributions of our work. If you feel that these points address your main concerns, we would be grateful if you would consider updating your assessment accordingly.
I thank the authors for the clarifications.
Relation to prior work - The main difference from the population covariance setting is that the learned score replaces the population covariance with the empirical covariance. Analyzing this requires studying the resolvent (or the Stieltjes transform) of scaled Wishart matrices, which is a well-established object in random matrix theory. As a result, I do not believe the technical contribution is particularly novel. Furthermore, the overfitting phenomenon emphasized by the authors appears to be a straightforward consequence of the rank deficiency of the empirical covariance.
On overfitting - I acknowledge that the divergence between training and test performance when (N < d) could be described as overfitting. However, overfitting is generally understood as the phenomenon in which a learning algorithm fits a function that is more complex than necessary to explain the underlying data. That does not appear to be the case here. To draw an analogy, the situation here is as if we train with one sample (this is indeed what we have in the null direction) and the algorithm learns a constant function (collapse to the empirical data subspace). I find it somewhat misleading to describe this behavior as overfitting without further qualification. In the current setting, divergence between test and train errors can't be understood as overfitting, due to the difference in magnitude of score in parallel and perpendicular directions to the empirical data manifold.
Mechanism behind test-train divergence in U-nets - It is still unclear to me whether the overfitting behavior identified by the authors is actually present in U-Net architectures, beyond the observation of a divergence between training and test performance.
Clarifications on Overfitting, Novelty, and the Connection to Nonlinear Models
We thank the reviewer for responding to our rebuttal. However, several of the reviewer's concerns do not apply to our work.
On overfitting: The reviewer argues that overfitting requires the model to fit a more complex function than the ground truth. This notion does not align with standard usage in statistical learning theory. A large literature explicitly studies overfitting in well-specified linear models, where finite-sample parameter estimates fit sample-specific fluctuations and produce a train--test gap (Bartlett et al. 2019; Advani et al. 2020; and the extensive literature on high-dimensional ridge regression). Under our Gaussian hypothesis, the affine function class contains the exact population score. Nevertheless, empirical-risk minimization learns the finite-sample moments rather than the population moments . This is estimation-driven overfitting within a well-specified model, not approximation error due to insufficient capacity. Moreover, our manuscript does not use the term without qualification: we explicitly derive the mechanism and its implications.
Novelty: Our contribution is to establish how established random-matrix results apply to diffusion models, not to claim that Wishart resolvents or Stieltjes transforms are new. Applying such tools to characterize a new learning problem is a standard form of contribution in statistical learning theory. A substantial literature uses them to derive generalization, overfitting, regularization, and interpolation phenomena in linear regression and classification (Dobriban and Wager 2018; Advani et al. 2020; Hastie et al. 2022; Bartlett et al. 2020; Deng et al. 2022). Likewise, we derive previously unknown consequences of finite-sample covariance estimation for diffusion objectives, dynamics, and sampling. The train--test gap, regularization effects, KL-divergence results, and comparison of noise- and data-prediction objectives are diffusion-specific; the manuscript clearly identifies these, rather than new random-matrix theory, as the contribution.
On the translation to U-nets: Our manuscript and rebuttal contain several systematic analyses beyond the train--test gap mentioned by the reviewer. We devote roughly one third of the main text (Section 3) to this question. We compare affine models and U-nets through their approach to large-data reference models, memorization behavior, and implemented mappings resolved by noise level and covariance eigendirection. Agreement is strongest at large noise and across broad ranges of subleading modes, while deviations concentrate in leading modes at high signal-to-noise ratio, where higher-order statistics should matter most. These experiments show a substantial affine, covariance-controlled component in nonlinear diffusion models and identify where the description breaks down. Together with prior work (Wang and Vastola, 2023; Li et al., 2024), they establish that this similarity is significant. Characterizing where the approximation succeeds and fails is therefore a contribution, not merely a limitation.
Several points from our rebuttal have not yet been addressed:
- Under the Gaussian hypothesis, the population score is exactly affine, so the finite-sample gap is not caused by insufficient capacity relative to the population solution.
- Training loss, test loss, and KL divergence are complementary: test loss is broadly measurable but saturates for , whereas KL continues to detect distributional improvement.
- The fixed-point parameter measures population variance unresolved by the empirical covariance, and its dependence on spectral concentration follows directly from the associated Stieltjes-transform equation.
- The nonlinear experiments compare the actual denoiser mappings across noise levels and eigendirections, rather than relying only on qualitatively similar loss curves.
In summary, the remaining disagreement appears to concern terminology and scope rather than the existence of the effects. The finite-sample train--test gap and resulting mismatch between learned and population distributions remain present whether one calls the mechanism overfitting or finite-sample covariance estimation error. Likewise, the novelty concern appears to rest on a misunderstanding of our claim: the contribution is not the Wishart resolvent itself, but the diffusion-specific consequences derived from it.
We agree that affine and nonlinear diffusion models are not equivalent, and we do not claim that the linear theory completely explains U-net behavior. Our narrower claim is that it isolates a concrete covariance-controlled mechanism relevant to diffusion models, while our experiments show where this mechanism remains visible and where the affine description breaks down.
We therefore respectfully ask you to reconsider whether the remaining concerns justify your current assessment given these clarifications and the evidence in the manuscript and rebuttal.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies finite-sample generalization in diffusion models using an affine linear denoiser. Under a Gaussian data model, the learned model depends on the empirical mean and covariance of the training data. The paper analyzes how the covariance spectrum, sample size , dimension , regularization, and early stopping affect train-test gaps and sample quality. It also compares the linear theory with U-Net experiments on image datasets.
Strengths and weaknesses
Strengths
-
The affine linear model is simple and tractable. It gives a clear way to connect diffusion-model behavior to the empirical covariance spectrum.
-
The paper gives useful intuition for the regime. In this regime, the empirical covariance has a nullspace, which can lead to overfitting. The explanation is concrete and easy to understand.
-
The experiments are helpful. They compare the linear predictions with U-Net behavior and show which parts of the linear theory appear to carry over qualitatively.
Weaknesses
In my view, the main results are interesting but should be framed more carefully.
-
The theoretical scope is narrow. The main analysis is for affine linear denoisers and, for the KL calculations, Gaussian data. This is useful as a proxy model, but it does not prove generalization behavior for nonlinear diffusion models.
-
The replica calculation is not a fully rigorous proof. The paper uses the replica trick to obtain the averaged KL formula. This is a useful statistical-physics method, and the numerical agreement is encouraging, but the paper does not justify the analytic continuation, saddle point, uniqueness, or concentration steps needed for a rigorous theorem.
-
The definition of the training loss should be clarified. The optimization objective includes an regularization term, but the train-test gap appears to compare prediction losses without the regularization term. The paper should clearly distinguish the regularized objective value from the unregularized prediction loss.
-
The empirical covariance model is not fully consistent. The main text defines a centered empirical covariance, while the replica calculation appears to use an uncentered Wishart-type covariance. This matters near the transition around , since centering changes the rank and the number of zero eigenvalues.
-
The sampling distribution is treated too exactly. The paper uses for the linear sampler, but the appendix derives this only under an idealized or approximate sampling limit. Endpoint effects, finite-step effects, and regularization-induced corrections should be stated more clearly.
-
The statement that the KL behaves like for needs stronger qualification. This approximation assumes, among other things, that the regularization scale is much smaller than the smallest eigenvalue of . This may fail for power-law spectra or image covariances with very small eigenvalues.
-
Some conclusions about spectral decay are not fully proved. The paper argues that faster spectral decay reduces overfitting through a smaller self-consistent parameter . This is plausible for the studied power-law families, but a general monotonic theorem over spectra is not established.
-
The data-prediction objective derivation needs clarification. The formula for the train-test gap contains notation issues, and the term is not only a nullspace contribution. Mean-error terms are also omitted for brevity, although they are finite-sample effects.
Questions
-
Is the train-test gap computed for the regularized objective or for the unregularized prediction loss?
-
Can the authors reconcile the centered covariance used in the main text with the Wishart covariance used in the replica calculation?
-
What is the precise error between the finite-step sampler and the idealized distribution ?
-
Under what assumptions is the KL approximation valid for power-law spectra with very small eigenvalues?
Limitations
-
The theory is restricted to affine linear denoisers.
-
The main KL analysis assumes Gaussian data.
-
Several central formulas rely on replica calculations rather than rigorous proofs.
-
The nonlinear-model results are empirical and qualitative.
Final justification
Several clarifications are helpful, but three significant issues remain, so I will keep my rating unchanged.
Formatting concerns
NA
4 comments
Rebuttal
We thank the reviewer for their detailed feedback and their encouraging comments on the intuitions our results provide.
Scope of the affine and Gaussian assumptions
The affine optimization and learning-dynamics results do not require Gaussian clean data. Because the denoising objective is quadratic, the empirical affine optimum depends only on the empirical mean and covariance, while the population affine optimum depends only on the population mean and covariance. For example, the separation of the two regimes and we find originates only from the nullspace of the empirical covariance matrix and therefore applies to arbitratry data distributions, so long as the score is linear. Consequently the train-test loss, empirical-nullspace mechanism, mode-wise learning rates, regularization interpretation, and noise-versus-data prediction comparison extend to arbitrary data distributions with finite second moments.
On the practial level, we observe that also nonlinear denoisers exhibit a similar behavior in the test to train loss gap in Figure 1 and in their approach to their relative optima in Figure 5. Moreover, we observe that nonlinear models implement solutions that are very similar to the best linear approximation especially at large (Figure 6 and section 3). We describe two hypotheses to explain this behavior in our responses to reviewer PYPL. In brief; we believe that the linear model corresponds to a null-hypothesis on the data that becomes increasingly accurate as the level of Gaussian noise is increased.
The Gaussian hypothesis is only needed for the stronger distribution-level conclusions: the population score is then exactly affine, the affine sampler can represent the complete target distribution, the KL divergence has a closed form, and the random empirical covariance can be treated through the Wishart/replica calculation. A Gaussian assumption on the data allows us to incorporate the effects of fundamental properties of the data distribution such as the covariance spectrum while keeping analytical tractability. It is then not surprising that many works at ICML and NeurIPS have worked with Gaussian data assumptions on diffusion models, such as Bonnaire et al. 2025 or Wang and Pehlevan 2025.
We will add these points to the contribution statement and the limitations section to make this separation explicit.
The sampling distribution and finite step effects
We agree with the reviewer that in our manuscript, we have largely neglected effects that originate from the discretization of the sampling process. We do incorporate endpoint effects and regularization effects jointly through the effective covariance , where if there is no regularization, , where is the step size of the discretization and orginates from , the relation of this to and is made explicit in Appendices B 3.1 and B 3.2 for two different sampling trajectories. While the discretization of the sampling trajectory is certainly relevant, it has been treated extensively in other works which we cite in the introduction as well as in the Gaussian setting (Hurault, Terris et al., 2025). Many of these works assume that the correct score has already been learned to some approximation, and characterize only the discretization error, whereas our work focuses on the score approximation error. While a detailed comparison these two sources of error, especially in the regime would certainly be useful, we leave it to future work.
Conclusions about spectral decay
We thank the reviewer for pointing out that our current upper-bound argument does not by itself establish monotonicity of the exact fixed point solution for . We can prove the stronger result directly using the connection to the rescaled Stieltjes transform derived in Appendix E.4. We give an abbrieviated form of this argument here. Let us compare two covariance matrices , , with eigenvalues , sorted by decreasing order in . To make the comparsion fair, let such that the average eigenvalues are equal. Then, if has a stronger spectral decay than , the vector of all eigenvalues majorizes the vector of all eigenvalues . Since
we have that if $\bar g_1 \geq \bar g_2 $ then $q_1 \leq q_2 $. We now show that $\bar g_1 \geq \bar g_2 $. The rescaled Stieltjes transform satisfies
For any fixed admissible , the function
is convex. Hence, since majorizes at fixed trace, Karamata's inequality gives
for every admissible .
Moreover, is decreasing in , so \begin{equation} g-F_{\lambda}(g) \end{equation} is strictly increasing and the physical fixed point is unique. It therefore follows that \begin{equation} \bar g_1 \geq \bar g_2, \end{equation} which completes the proof. In conclusion, we have shown that a stronger spectral decay at fixed trace results in a smaller . We will add this argument to the manuscript and to supplement the current statement based only on the upper bound.
The replica proof
We agree that our replica calculation is not fully rigorous. We will acknowledge this in the limitations of our manuscript. However, many of our results, such as the emergence of the two regimes, are independent of the replica calculation. Additionally, we show that our replica calculation is consistent with exact results from random matrix theory in appendix E.4 and perform extensive numerical validations in the main text and the appendix (Figures 1, 2, 5, 7 and 8 all show excellent agreement with simulations). Finally replica trick has a long history of use in the NeurIPS community, such as Bonnaire et al, 2025 (best paper award), Straziota, et al., 2025, Loureiro et al. 2021 or Maillard, et al., NeurIPS 2021.
Is the train-test gap computed for the regularized objective or for the unregularized prediction loss?
The trained weights minimize the regularized objective. At a fixed trained model, however, the regularization term depends only on the weights and is identical in the train and test objectives. It therefore cancels in their difference. We will clarify this point in the manuscript.
Centered vs. uncentered empirical covariance matrix
The reviewer is correct that the affine model in the main text uses the sample-centered covariance, whereas the replica calculation currently uses an uncentered Wishart covariance. This distinction is asymptotically negligible at fixed N/d, but it changes the exact finite-dimensional rank threshold from N=d to N−1=d. We will clarify this subtle point in the revised manuscript. The current derivation corresponds exactly to training a purely linear denoiser (without the bias term, ) on data originating from a Gaussian distribution with zero mean.
Under what assumptions is the KL approximation valid for power-law spectra with very small eigenvalues?
Indeed, as you have pointed out, this approximation assumes that the regularization level is smaller than the smallest eigenvalue of the covariance matrix. In the manuscript, we state this only indirectly by saying that we neglect terms of order . The effect of the finite regularization can also be seen in figures 1, panels n) and o), where the KL deviates from the linear trend at large and experiences a saturation due to . We will treat the approximation in more explicitly in the revised version of the manuscript.
The data-prediction objective
We thank you for spotting the typo in equation (12), indeed the eigenvalue in the numerator has a subscript instead of . We have neglected the mean-error terms mainly because we were interested in how the nullspace of the empirical covariance matrix appears in this expression, but we will add them in the revised version. Finally, we will clarify our statement on the nullspace in the expression to clarify that the only place where the nullspace of contributes in the expression is the first term, rather than that the first term were only a nullspace contribution. We will reformulate this sentence accordingly.
We would like to thank the reviewer again for their detailed comments, which we found very useful to improve the clarity of or manuscript.
We hope these clarifications help better position the scope and contributions of our work. If you feel that these points address your main concerns, we would be grateful if you would consider updating your assessment accordingly.
Dear Reviewer wiRF, As the discussion period is approaching its end, we wanted to ask whether you have had the opportunity to consider our response. We addressed each of the concerns raised in the review. We would be grateful if you could indicate whether these clarifications resolve your concerns, or identify any substantive concern that remains.
We also note that, following reviewer S4vJ's suggestion, we performed a new direct test of whether the covariance-subspace mechanism remains visible in nonlinear diffusion models. On CIFAR-10, we find that non-memorized U-Net samples exhibit significantly reduced variance specifically in the nullspace of their own training set compared with nullspaces of independent control subsets. The effect is observed for two U-Net capacities and is strongest in the undersampled regime. This provides additional evidence that the finite-sample covariance mechanism isolated by the linear theory remains relevant beyond the affine linear model.
If our rebuttal and this additional evidence have addressed the main issues, we respectfully ask you to update your assessment accordingly.
Thank you for the rebuttal. Several clarifications are helpful, but three significant issues remain, so I will keep my rating unchanged. first, the covariance inconsistency is unanswered. The main text uses a centered empirical covariance, while Appendix E uses an uncentered Wishart matrix. This changes the rank from at most to at most and directly affects the claimed transition near . Second, the sampling and KL results remain uncontrolled approximations. Stating does not provide the requested finite-step error. Likewise, the approximation requires and , conditions that may fail near or for steep power-law spectra. Also, the main generality concern remains. Extending the calculation to non-Gaussian data within the affine hypothesis class does not establish that the conclusions hold for nonlinear diffusion models. The U-Net results provide qualitative evidence, not a universality argument. The rebuttal improves the presentation but does not resolve these central technical and scope concerns sufficiently to change my assessment.
We thank the reviewer for clarifying the remaining concerns. We address the three points briefly.
Centered versus uncentered covariance.
The distinction between and degrees of freedom was already acknowledged in our rebuttal, where we stated that we will make the convention fully consistent. For the centered empirical covariance, the rank is at most , so the exact finite-dimensional full-rank threshold is shifted by one sample. This correction does not affect any result within the under- and oversampled regimes, any of the reported trends, or the asymptotic transition at . In the large- limit studied in our theory, replacing by is negligible. We will nevertheless correct the notation throughout the manuscript.
Finite-step sampling and KL divergence
Our paper explicitly studies the continuous-time diffusion process and does not claim to analyze finite-step discretization error. A finite-step error bound is therefore not a missing control in our derivation, but a separate numerical-analysis question that has already been treated in prior work on diffusion samplers, including linear Gaussian settings. The focus of our work is a different one: we study score-estimation error caused by finite-sample covariance estimation. We will make this scope distinction even more prominent. The affine optimum, train--test gap, empirical-nullspace mechanism, learning dynamics, and fixed-point equation do not depend on a finite-step sampler.
We also agree that the simplified scaling applies only under the asymptotic conditions stated in the manuscript. It is not used near or when a steep spectrum violates the required scale separation. In those regimes, our conclusions are based on the full fixed-point expression. We will state the validity range of the simplified approximation more prominently, but this does not affect the main regime separation or the results obtained from the full expression.
Relevance to nonlinear diffusion models
We agree that an affine calculation for non-Gaussian data is not a universality theorem for nonlinear networks, and we do not claim one. The manuscript already contains substantial experiments testing which aspects of the affine theory remain visible in U-Nets. Additionally, following Reviewer S4vJ's concrete suggestion, we performed an additional direct test of the specific mechanism in nonlinear U-Nets, confirming that the undersampling mechanism we study also applies in nonlinear regimes.
Concretely, We trained two U-Net capacities on CIFAR-10 subsets with and measured the variance of non-memorized generated samples in the nullspace of their actual training set, relative to both held-out data and nullspaces of independent control subsets. The smaller architecture also mimics a regime in which input resolution is large relative to model capacity. At , none of its generated samples was classified as memorized, yet the normalized variance was in the training nullspace versus for the controls. For the larger U-Net, non-memorized samples gave versus . The effect strengthens for smaller and fades as approaches . Because the rebuttal format does not permit figures, we report the numerical results directly. This experiment is not presented as a complete theory of nonlinear diffusion models. It is direct evidence that the particular covariance-subspace mechanism isolated analytically remains measurable in nonlinear models independently of exact sample memorization.
In summary, we therefore distinguish one finite-size convention that will be corrected, a finite-step question explicitly outside the scope of the paper, and a nonlinear-scope concern for which we have now provided additional direct evidence. None of these points changes the principal theoretical conclusions. We respectfully ask that the paper be assessed in light of this clarified scope and the new experiment.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper analyzes generalization in diffusion models trained on finite structured datasets, where data are drawn from a Gaussian distribution with a covariance matrix characterized by a power-law eigenvalue spectrum, and generalization is quantified as the Kullback-Liebler (KL) divergence between the distribution of the generated samples and the true distribution. The theoretical analysis is carried out on linear diffusion models, while experiments also cover nonlinear architectures to validate empirically the results. The main finding is that in linear diffusion models for stronger decay in the spectrum of as well as regularization mitigate overfitting and improve generalization.
Strengths and weaknesses
Strenghts The paper carries out a thorough analysis of the influence that the structure in data has on generalization for finite datasets. It is well organized and clearly written. The power-law spectrum hypothesis for the covariance is sound, and the choice of linear diffusion models is well motivated, well addressed in the limitations, and provides the framework for an elegant theoretical analysis through statistical physics methods. Numerical experiments show that the main phenomenology can be observed also in trained nonlinear models (U-nets), giving evidence that data structure and finite dataset size have an effect also in more general settings. Overall, I think it addresses an interesting and under-evaluated question about the performances on finite datasets, and identifies a clear regime separation.
Weaknesses The paper is mathematically dense, and some of the theoretical results could benefit from additional intuition. For example, in the comparison with nonlinear models, I think the authors focused on the portability of the results without investigating practical implications. Also, the analysis on changing the standard denoising diffusion objective from noise prediction to data prediction is discussed only for linear models, and although some hints on the implications in trained models are presented in the Overlook section not much is mentioned on the portability of this result in nonlinear models. As a minor weakness, I think the plots could be improved in readability, as sometimes the legend is missing partially (fig. 1i - k and m - o, -3g - h, 6a - b) or same colors are repeated (fig. 3e - f).
Questions
Could the authors further motivate the choice of KL divergence as the measure of generalization? In particular, how should improvements in KL be interpreted with respect to commonly used evaluation metrics for diffusion models (e.g., FID or Wasserstein-based measures)?
The nonlinear experiments show trends consistent with the linear theory. Do the authors have an intuition or can conjecture why the linear analysis captures the behavior of nonlinear diffusion models?
Are there any practical insights derived from the analysis that could be useful for the design or training of diffusion models? For example, the theoretical findings might inform the choice of regularization strategies?
Limitations
yes
Formatting concerns
none
1 comment
Rebuttal
We thank the reviewer for their detailed feedback and encouraging review on our work. Here, we answer the questions and points raised in their review.
Motivation of the KL divergence as a measure
Our primary motivation to study the KL divergence is to evaluate how well the ground truth and sampling distributions align. Another reason to study KL divergence is that the loss used to train diffusion models was first derived from an upper bound on the likelihood, and we would like to quantify when the denoising test loss faithfully reflects recovery of the generated distribution.
In practice, the KL divergence is not commonly used because it requires an hypothesis on the underlying distribution. Our analysis allows us to understand their relationship in a tractable case. We find that in the regime, the denoising score matching objective (eq. (3)) actually penalizes the nullspace of the empirical covariance similarly to the KL divergence, while in the regime, improvements that are visible in the KL divergence are obscured by constant terms, irreducible terms in the loss. Therefore both performance measures here reflect whether there is a mismatch between the relative spread of the two distributions along the eigenvectors of the leading covariance matrix.
FID also compare means and covariances, so they probe related finite-sample covariance errors. However, the FID is computed in a different space, namely over activations of a trained neural network, which are often associated with capturing high-level features of the images, and may therefore not pick up on the nullspace issue in the regime. Wasserstein distances between Gaussians alike do not penalize missing directions equally heavily as KL, which strongly penalizes directions in which the generated distribution underestimates the population variance, through the inverse-covariance and log-determinant terms. Therefore, Wasserstein and FID-like distances are less sensitive to nearly missing directions and the precise scaling results we derive are specific to KL, although the qualitative improvement in covariance recovery with increasing N, appropriate regularization, and stronger spectral concentration should also affect Gaussian Wasserstein or FID-like measures. We will add this discussion to the revised version of the paper.
Why the linear analysis captures aspects of nonlinear diffusion models
First, for a general non-Gaussian distribution, Gaussian noising progressively suppresses higher-order structure. At large noise levels, the leading contribution to the score is therefore increasingly controlled by the first two moments and is approximately affine, while nonlinear corrections become more important at high signal-to-noise ratio. This agrees with our resolved comparison between U-nets and affine denoisers and observations on the similarities between linear and non-linear diffusion models ( Wang and Vastola, 2023, Li et al. 2024). The mappings are closest at larger noise levels and over broad ranges of subleading covariance eigendirections. Their largest discrepancies occur in leading eigendirections at low noise, where higher-order and non-Gaussian structure should matter most.
In practice, non-linear diffusion models are trained with a shared architecture accross all levels of noise , and the particular level of noise is presented to the network for example through positional embeddings. For large noise levels , the linear score is very close to the optimal score, and the models also increasingly become more linear, as we observe. The fact that the model weights and architecture are shared accross might bias the denoiser towards a more linear behavior also at smaller , especially in regions of poor support.
Finally, the covariance is a fundamental statistic of the data that any generative model should learn. Finite sample complexity affects the empirical covariance irrespective of the model architecture. In this sense, the effect of the sub-sampled covariance structure could affect all generative models in a similar fashion.
Can theoretical findings inform the choice of regularization strategies?
Yes. Our theoretical findings can inform the choice of regularization strategies. Second, our theory explains how this regularization choice affects the learned distribution: By acting as a hypothesis on the minimal level of variance along an arbitrary direction of the covariance. This clarifies the regularization strength tradeoff: Moderate levels of regularization prevent a collapse onto a lower-dimensional space spanned by the training datapoints and thereby improve performance. High levels of instead correspond to a hypothesis with a too large baseline variance, and will lead to more noisy generated data. The analysis suggests three practical principles:
- regularization is most beneficial in the undersampled regime;
- its optimal strength decreases as the amount of data grows; and 3) early stopping is effective because the low-eigenvalue modes most vulnerable to overfitting are learned later.
A simple way to achieve the same regularization effect in nonlinear models with different parametric structure would be to adding a small, visually imperceptible amount of isotropic Gaussian noise to training data.
How the noise-prediction versus data-prediction result transfers to nonlinear models
We do believe that several aspects of the noise-prediction versus data prediction results can be directly transferred to nonlinear models. In the noise prediction objective, every direction contributes to the loss at roughly the same order of magnitude, whereas in the data prediction objective, directions of very large variability in the data, such as the leading PC components, will contribute more strongly. This motivates a testable prediction: validation losses for the two parameterizations may place very different emphasis on low-variance eigendirections compared to high-variance eigendirections, even if their resulting denoisers have comparable sampling behavior. In particular, data-prediction loss may obscure missing variability in subleading directions more strongly than noise-prediction loss.
Regarding training dynamics, in linear models, the choice of the objective did not change the outcome of the training process for a matched initialization. However, we believe that the use of either objectives may indeed lead to different solutions after training, e.g. by placing higher emphasis on learning higher order statistics of leading PC components in the data-prediction objective.
Presentation
We thank the reviewer for identifying the figure issues. We will restore the missing legend entries and use distinct line styles in Figures 3e–f. We will also add a concise intuitive summary of the nullspace, regularization, and early-stopping mechanisms.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Overview of the rebuttal
We thank the AC for identifying the central concern shared by the reviewers: whether conclusions derived under Gaussian data and affine scores remain relevant beyond this controlled setting. In the rebuttal and discussion, we addressed each of the three directions suggested by the AC.
a) Generality with respect to the data distribution for a fixed affine score.
The Gaussian assumption is not required for our affine optimization and learning-dynamics results. For any distribution with finite second moments, the empirical affine optimum depends only on the empirical mean and covariance, while the population optimum depends on their population counterparts. Thus, the train--test gap, the N<d versus N>d distinction, the empirical-nullspace mechanism, mode-wise learning rates, regularization, and the comparison between noise and data prediction extend to arbitrary data distributions, provided the score is affine. Gaussianity is needed only for the stronger distribution-level results: an exactly affine population score, a closed-form KL divergence, and the Wishart/replica calculation.
b) Changing the score function class.
The manuscript already devotes a substantial experimental section to comparing affine denoisers with nonlinear U-Nets across three image datasets. We compare their sample-complexity dependence, train--test dynamics, memorization behavior, and learned mappings resolved by noise level and covariance eigendirection. Agreement is strongest at larger noise levels and across broad ranges of subleading modes, while deviations concentrate in leading modes at high signal-to-noise ratio, where higher-order statistics should matter most. We therefore do not claim that affine and nonlinear diffusion models are equivalent. Rather, the affine theory isolates one covariance-controlled component of nonlinear finite-sample behavior and identifies where that description succeeds and breaks down.
c) Additional experiments.
Following Reviewer S4vJ's concrete suggestion, we performed a direct test of whether the N<d covariance-subspace mechanism remains measurable in nonlinear diffusion models independently of exact sample memorization. For two U-Net capacities trained on CIFAR-10 subsets, we measured the variance of non-memorized generated samples in the nullspace of their own training covariance and compared it with nullspaces of independent control subsets. We observe additional suppression specifically in the training nullspace, including for a smaller U-Net with no or negligible measured memorization. The effect is strongest in the more undersampled regime and fades as N approaches d. Although the rebuttal format does not permit figures, we reported the numerical results directly in the discussion. This provides direct evidence that the mechanism isolated by the affine theory remains visible in nonlinear models without requiring the complete affine solution to transfer and addresses the final point in reviewer S4vJ's weaknesses section.
Novelty.
Our contribution is not the Wishart resolvent itself, but its diffusion-specific consequences. Existing population-level analyses, including Wang and Pehlevan (2025), assume access to the true covariance and therefore cannot characterize train--test divergence or distributional recovery as a function of sample complexity. Nor does the existing manifold-score picture determine how a random empirical nullspace aligns with a population covariance having power-law spectral decay. Our finite-sample analysis characterizes this alignment through the order parameter q, quantifies its effect on train and test losses and KL divergence, and derives consequences for regularization, early stopping, and noise versus data prediction.
Finally, we addressed the remaining technical concerns individually. We will correct the centered-covariance convention from N to N−1 degrees of freedom. This shifts the exact finite-dimensional rank threshold by one sample but does not affect either asymptotic regime, the reported trends, or the transition at N/d=1. We also clarified that the paper explicitly studies continuous-time diffusion dynamics, whereas finite-step discretization error is a separate problem outside its stated scope, and we made the validity range of the simplified KL asymptotics explicit. As the AC noted, the non-rigorous status of the replica method is standard for this line of work; our main regime separation does not depend on it, and the replica predictions agree with exact random-matrix results where available and with numerical simulations.
We believe the rebuttal and discussion therefore address all three directions proposed by the AC: distributional generality within the affine class, evidence under a nonlinear score class, and an additional direct experiment testing the central N<d mechanism. We respectfully ask that the paper be assessed in light of this clarified scope and the additional evidence provided.