Denoising Is Stein: Moment Access and a Resource Hierarchy for Learning Hidden Structure in Diffusion Models
Organizations: Vancouver, BC, Canada
Abstract
We study score learning from denoising pairs when the data contain a hidden non-Gaussian component. If covariance reveals the component, its subspace can be recovered directly. If covariance is isotropic, the first distinguishing moment has order , and the learner must extract that moment from clean points and their noisy views. Correlations in the denoising loss are Stein discrepancies against a baseline; for polynomial fields they determine exactly the corresponding moment differences. Averaging fresh noisy views conditional on a clean point gives an exact moment query on the clean distribution. In the covariance-matched regime, orientation-independent dictionaries satisfying an condition need order features, and the stated dot-product kernel ridge models need the same power in samples. Small-step online SGD on one unit has this exponent up to logarithms. A two-stage learner uses the curvature of a smoothed denoising loss to recover the hidden direction, then sharpens it and fits a scalar readout. For every even , it obtains a fixed score gain over the Gaussian baseline from clean points. In the covariance-visible regime, the frozen-feature threshold occurs at , while projection onto principal components makes the fitted-model, score-risk and generated-law distributions independent of ambient dimension. In the covariance-matched experiments, the measured partial-trace overlaps are consistent with the proposed spectral transition. A width-8 network trained with clean-point reuse shows a -like training-set threshold over --, with fixed validation and calibration overhead.
Figures & tables
| Learner | Resource | Cost | Status |
| Covariance-matched regime, generative exponent (even where stated) | |||
| Polynomial fields of degree | any | no gain at any size | proved (Cor. 3.5 ) |
| Orientation-blind dictionary with bounded constant | proved under the hypothesis (Thm. 4.21 ); open for random-feature spans | ||
| Dot-product kernel ridge regression on noisy inputs | proved for ridge ; at every ridge for the exponential kernel (Thm. 5.2 , Lem. 5.3 ) | ||
| Online spherical SGD, one denoiser unit, small steps | steps | up to | proved via Ben Arous et al. (2021) (Cor. 6.2 ) |
| statistical queries | tolerance | ; the sample analogue is heuristic | tolerance bound proved under an output-norm assumption (Prop. 6.3 ) |
| cubic | expl. | KF | cubic | expl. | KF | cubic | expl. | KF | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.1 | 0.030 | 0.03 | 0.03 | 0.00 | 0.00 | 0.03 | 0.00 | 0.00 | 0.03 | 0.00 | 0.00 |
| 0.3 | 0.284 | 0.15 | 0.14 | 0.00 | 0.00 | 0.15 | 0.00 | 0.51 | 0.15 | 0.23 | 0.89 |
| 0.6 | 0.615 | 0.31 | 0.28 | 0.09 | 0.33 | 0.31 | 0.90 | 0.92 | 0.31 | 0.98 | 0.98 |
| 1.0 | 0.833 | 0.51 | 0.46 | 0.72 | 0.74 | 0.50 | 0.97 | 0.97 | 0.51 | 0.99 | 0.99 |
| Gaussian control | ratio | ||||
|---|---|---|---|---|---|
| 0.1 | 0.0305 | 0.0995 | 0.0755 | 2.7069 | 0.028 |
| 0.3 | 0.2835 | 0.1042 | 0.0797 | 0.5241 | 0.152 |
| 0.6 | 0.6149 | 0.0467 | 0.0177 | 0.0565 | 0.313 |
| 1.0 | 0.8334 | 0.0108 | 0.0016 | 0.0032 | 0.510 |
| Learner | slope | |||
|---|---|---|---|---|
| X4 reuse SGD, width 8 (GPU) | 2.68 [2.03, 3.66] | 2.84 [2.29, 3.52] | 2.18 [1.74, 2.71] | 1.84 [1.48, 2.18] |
| Two-stage, full reuse, 1 sharpening step | 5.96 [5.24, 7.07] | 4.98 [4.18, 5.92] | 6.29 [5.85, 6.73] | 2.02 [1.85, 2.18] |
| Two-stage, full reuse, 1 step, smaller overhead † | 7.70 [6.49, 8.75] | 10.87 [9.53, 12.34] | 15.34 [13.46, 17.42] | 2.61 [2.43, 2.80] |
| Two-stage, full reuse, 3 sharpening steps | 4.04 [3.26, 5.01] | 3.68 [3.15, 4.36] | 4.28 [3.87, 4.76] | 2.03 [1.83, 2.24] |
| Two-stage, one view, 3 sharpening steps | 9.17 [7.08, 11.41] | 9.53 [8.01, 11.33] | 10.96 [10.19, 12.09] | 2.15 [1.91, 2.39] |
| Spectral only, full reuse | 15.49 [14.43, 17.11] | 12.59 [11.72, 13.47] | 14.97 [13.46, 16.53] | 1.94 [1.81, 2.06] |
| Ratio of training-set thresholds | |||
|---|---|---|---|
| X4 network / two-stage (1 step) | 0.45 [0.32, 0.64] | 0.57 [0.44, 0.74] | 0.35 [0.27, 0.45] |
| X4 network / two-stage (3 steps) | 0.66 [0.47, 0.95] | 0.77 [0.60, 1.00] | 0.51 [0.39, 0.64] |
| one view / full reuse, two-stage (3 steps) | 2.27 [1.68, 3.07] | 2.59 [2.08, 3.22] | 2.56 [2.22, 2.92] |
| one view / full reuse, spectral only | 2.13 [1.87, 2.46] | 2.82 [2.54, 3.25] | 2.37 [2.13, 2.83] |
| smaller / standard overhead, two-stage (1 step) | 1.29 [1.04, 1.59] | 2.18 [1.75, 2.71] | 2.44 [2.00, 2.77] |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Result | Content | Page | Proof | Main tools |
|---|---|---|---|---|
| Appendix A : moment calculus (Section 3 ) | ||||
| Thm 3.1 | Stein–Tweedie identity | 3.1 | A.1 , p. A.1 | Gaussian integration by parts; Tweedie’s formula |
| Thm 3.2 | polynomial fields moments | 3.2 | A.2 , p. A.2 | Ornstein–Uhlenbeck generator in the Hermite basis |
| Lem 3.3 | conditional Stein identity | 3.3 | A.3 , p. A.3 | Stein’s lemma at fixed ; Mehler’s formula; Hermite eigen-equation |
| Thm 3.4 | baseline hides matched moments | 3.4 | A.4 , p. A.4 | binomial expansion of moment tensors; Theorem 3.2 |
| Cor 3.5 | exact polynomial barrier | 3.5 | A.4 , p. A.4 | tower property; Theorem 3.4 |
| Symbol | Meaning | Defined |
|---|---|---|
| and , signal and noise variances of the forward process | § 2.1 | |
| clean point, noisy view , law and density of | § 2.1 | |
| denoiser | § 2.1 | |
| score and a score estimate . In App. B and Lemma 4.2 , without index is the mixture-component scale | § 2.1 | |
| coordinate scale of in the covariance-matched regime ( when is fixed) | Ass. 3 | |
| baseline law, its diffused law and density, its denoiser | § 2.1 |
| Gaussian | ambient RF | Ky Fan floor | PCA RF | ||
|---|---|---|---|---|---|
| 8 | 64 | 0.5248 | 0.2887 (0.022) | 0.01083 | 0.003556 (0.00047) |
| 8 | 256 | 0.5248 | 0.1334 (0.0064) | 0.003055 | 0.002977 (0.00058) |
| 8 | 1024 | 0.5248 | 0.09092 (0.0039) | 0.001052 | 0.003348 (0.00053) |
| 16 | 64 | 0.5257 | 0.4923 (0.0095) | 0.05666 | 0.003046 (0.00068) |
| 16 | 256 | 0.5257 | 0.3458 (0.015) | 0.01845 | 0.002585 (0.0005) |
| 16 | 1024 | 0.5257 | 0.2279 (0.0066) | 0.01478 | 0.002971 (0.00077) |
| half-gap threshold | largest floor | ||||
|---|---|---|---|---|---|
| 6 | 0.3 | 64 | 14 | 0.262 | 0.0097 |
| 8 | 0.3 | 64 | 34 | 0.262 | 0.0381 |
| 12 | 0.3 | 256 | 112 | 0.263 | 0.0589 |
| 16 | 0.3 | 512 | 260 | 0.263 | 0.0662 |
| 24 | 0.3 | 2048 | 850 | 0.261 | 0.0718 |
| 32 | 0.3 | 4096 | 1972 | 0.263 | 0.0741 |
| 1 | 64 | –/– | 24/29 | –/– | –/– |
|---|---|---|---|---|---|
| 1 | 128 | –/– | 18/19 | 21/23 | –/– |
| 1 | 256 | 35/91 | 18/18 | 18/19 | –/– |
| 1 | 512 | 20/20 | 17/17 | 17/18 | 25/31 |
| 1 | 1024 | 18/19 | 17/17 | 17/17 | 20/20 |
| 1 | 2048 | 17/17 | 17/17 | 17/17 | 17/18 |
| latent | Gaussian | ambient RF | PCA RF | KDE | exact score | fresh |
|---|---|---|---|---|---|---|
| four, | 0.473 (0.08) | 0.473 (0.08) | 0.178 (0.03) | 0.176 (0.02) | 0.125 (0.02) | 0.127 |
| product, | 0.662 (0.007) | 0.662 (0.007) | 0.179 (0.04) | 0.218 (0.02) | 0.112 (0.03) | 0.145 |
| product, | 0.929 (0.006) | 0.929 (0.006) | 0.31 (0.02) | 0.385 (0.01) | 0.279 (0.05) | 0.266 |
| dimension | Hermite | tanh | ||||
|---|---|---|---|---|---|---|
| 0.3 | 3 | 6 | 63 | 0.186 | 0.211 | 0.189 |
| 0.3 | 3 | 8 | 129 | 0.189 | 0.152 | 0.189 |
| 0.3 | 3 | 12 | 377 | 0.189 | 0.147 | 0.189 |
| 0.3 | 3 | 16 | 833 | 0.193 | 0.163 | 0.189 |
| 0.3 | 3 | 24 | 2625 | 0.192 | 0.193 | 0.189 |
| 0.3 | 3 | 32 | 6017 | 0.196 | 0.19 | 0.189 |
| reference | Gaussian | ambient | barrier | PCA | ||||
|---|---|---|---|---|---|---|---|---|
| 0.1 | 8 | 256 | 8.6e-05 | 0.00013 | 0.513 | 0.169 | 0.00298 | 0.00855 |
| 0.1 | 128 | 256 | 0.0019 | 0.0021 | 0.539 | 0.54 | 0.077 | 0.0367 |
| 0.1 | 512 | 256 | 0.0083 | 0.0084 | 0.619 | 0.622 | 0.0781 | 0.116 |
| 0.1 | 8 | 4096 | 5.2e-06 | 8.3e-06 | 0.508 | 0.12 | 0.00298 | 0.000892 |
| 0.1 | 128 | 4096 | 0.00014 | 0.00013 | 0.512 | 0.512 | 0.077 | 0.00251 |
| 0.1 | 512 | 4096 | 0.00054 | 0.00053 | 0.515 | 0.515 | 0.0781 | 0.00736 |
| Gaussian | ambient RF | PCA RF | KDE | exact score | fresh | ||
|---|---|---|---|---|---|---|---|
| 0.0 | 32 | 0.67 | 0.402 | 0.267 | 0.3 | 0.131 | 0.127 |
| 0.0 | 512 | 0.653 | 0.653 | 0.326 | 0.284 | 0.297 | 0.16 |
| 0.1 | 32 | 0.66 | 0.407 | 0.263 | 0.291 | 0.124 | 0.122 |
| 0.1 | 512 | 0.643 | 0.642 | 0.302 | 0.266 | 0.286 | 0.156 |
| 0.3 | 32 | 0.593 | 0.449 | 0.202 | 0.244 | 0.0907 | 0.0938 |
| 0.3 | 512 | 0.574 | 0.573 | 0.223 | 0.218 | 0.225 | 0.126 |
Score-Based Generative Modeling
Score-based generative modeling learns data-distribution gradients to generate samples through reverse diffusion, flows, and related stochastic dynamics.
See all 120 papers