arXiv:2610.36205stat.MLOct 2026

Manuscript Offprint

arXiv:2610.36205

Approximation Families and the Statistical Efficiency of Denoising Score Matching

Brian Miyatake

Abstract

We study score matching over finite-dimensional approximation spaces generated by gradients of eigenfunctions of the infinitesimal generator of a forward diffusion. We compare polynomial approximation under one-dimensional Ornstein–Uhlenbeck flow with trigonometric-polynomial approximation under heat flow on the torus. In the Ornstein–Uhlenbeck setting, we show that for every non-Gaussian initial distribution uniformly comparable to the standard Gaussian, the asymptotic score-estimation variance grows exponentially along a subsequence of polynomial degrees. Averaging the score-matching loss under the diffusion semigroup, which we call operator-informed score matching (OISM), reduces the variance at each fixed degree but does not eliminate this exponential instability at sufficiently small times. A local minimax lower bound shows that the same high-degree dependence arises when estimating the polynomial projection of the score, rather than being an artifact of OISM. In contrast, under heat flow on the torus, OISM over trigonometric polynomials admits finite-sample control of the score error along the forward diffusion and yields the classical minimax rate for estimating sufficiently smooth densities under expected Kullback–Leibler loss.

1 Introduction and Background

Let ρ0\rho_0 be an unknown data distribution. Consider a diffusion (Xt)t≥0(X_t)_{t\geq 0} on a smooth Riemannian manifold M\mathcal{M} without boundary, with X0∼ρ0X_0 \sim \rho_0 and infinitesimal generator

Lf=ΔMf+⟨b,∇f⟩,(1)\mathcal{L}f=\Delta_{\mathcal{M}}f+\langle b,\nabla f\rangle, \tag{1}

where b(x)∈TxMb(x) \in T_x \mathcal{M} for each x∈Mx \in \mathcal{M} and TxMT_x \mathcal{M} denotes the tangent space of M\mathcal{M} at xx. Here and throughout, ∇\nabla denotes the Riemannian gradient and ΔM\Delta_{\mathcal{M}} the Laplace–Beltrami operator on M\mathcal{M}. The generator determines the Markov semigroup Pt=etLP_t = e^{t\mathcal{L}}, and hence the evolution of the forward process. Such forward processes underlie diffusion-based generative models [SDWMG15, HJA20, SSDK +^+21]. Two examples are the one-dimensional Ornstein–Uhlenbeck (OU) process, corresponding to a variance-preserving (VP) diffusion,

dXt=−Xtdt+2dBt,\mathrm{d}X_{t}=-X_{t}\mathrm{d}t+\sqrt{2}\mathrm{d}B_{t},

and heat flow on the flat one-dimensional torus T:=R/2πZ\mathbb{T} := \mathbb{R}/2\pi\mathbb{Z}, the periodic analogue of a variance-exploding (VE) diffusion,

dXt=2dBt,\mathrm{d}X_{t}=\sqrt{2}\mathrm{d}B_{t},

where {Bt}t≥0\{B_t\}_{t\geq 0} is one-dimensional Brownian motion and the latter equation is understood to be modulo 2π2\pi. Writing Xt∼ρtX_t \sim \rho_t, suppose that ρt\rho_t has density ptp_t with respect to Riemannian volume. Its score function is defined as

st(x):=∇log⁡pt(x)∈TxM.s_{t}(x):=\nabla\log p_{t}(x)\in T_{x}\mathcal{M}.

∗^{*}Department of Statistics and Data Science, Yale University. Email: brian.miyatake@yale.edu

Then, under suitable regularity, the time-reversed process (Xt←)t∈[0,T](X_t^\leftarrow)_{t\in[0,T]}, initialized from X0←∼ρTX_0^\leftarrow \sim \rho_T, has time-dependent generator [DMH+22,HP86][DMH^+22, HP86]

Lt←f=ΔMf+⟨−b+2sT−t,∇f⟩.\mathcal{L}_{t}^{\leftarrow}f=\Delta_{\mathcal{M}}f+\langle-b+2s_{T-t},\nabla f\rangle.

Thus, L\mathcal{L} determines the prescribed forward evolution, while the reverse dynamics additionally depend on the unknown time-varying score sts_t [CCL +^{+}23, CDGS25]. Estimating this function from nn independent samples of ρ0\rho_0 is therefore a central statistical problem in score-based generative modeling.

The score sts_{t} is a time-varying vector field on M. A natural idea is to approximate this field by gradients of scalar functions. At a fixed time t, let U be a finite-dimensional space of potential functions and consider the population problem

inf⁡f∈U12∫M∥∇f−st∥2dρt.(2)\inf_{f\in\mathcal{U}}\frac{1}{2}\int_{\mathcal{M}}\left\|\nabla f-s_{t}\right\|^{2}\mathrm{d}\rho_{t}. \tag{2}

In this paper, we study growing approximation spaces

U1⊂U2⊂⋯ .\mathcal{U}_{1}\subset\mathcal{U}_{2}\subset\cdots.

Increasing N makes the score-approximation class more expressive, raising the question of how its statistical behavior changes. Enlarging the approximation space can only improve the best population approximation to the score, but estimating additional degrees of freedom from data can increase statistical error. This tradeoff depends strongly on the choice of approximation family: good approximation properties alone do not guarantee favorable statistical behavior under score matching.

The formulation in (1) suggests choosing approximation spaces adapted to the generator. In particular, if Lψj=−λjψj\mathcal{L}\psi_j = -\lambda_j\psi_j, then Ptψj=e−λjtψjP_t\psi_j = e^{-\lambda_j t}\psi_j, so eigenfunctions of L\mathcal{L} diagonalize the diffusion semigroup. In the two settings considered here, the derivatives and products appearing in the score-matching loss also admit explicit expansions in these eigenfunction families. This makes operator-informed score matching (OISM) [SWRO25], which analytically averages the conditional denoising score-matching loss under the forward transition, tractable directly from the initial observations without simulating the forward diffusion; see Section 2.2. As we will see, the product structure of these families also plays a central role in their statistical behavior.

This viewpoint associates a score-approximation problem with three ingredients: the state space M\mathcal{M}, the forward generator L\mathcal{L}, and the approximation family {UN}N≥1\{\mathcal{U}_N\}_{N\geq1}. We study how score matching depends on the triple (M,L,{UN}N≥1)(\mathcal{M}, \mathcal{L}, \{\mathcal{U}_N\}_{N\geq1}), with particular emphasis on the approximation family. For the OU and heat-flow examples above, we use the following generator-adapted choices.

The first has M=R\mathcal{M} = \mathbb{R} and LOUf=f′′−xf′\mathcal{L}_{\mathrm{OU}} f = f'' - x f'. The invariant law is the standard Gaussian, and the generator's eigenfunctions are Hermite polynomials. Taking the first NN nonconstant Hermite polynomials as potentials gives polynomial score approximation of degree at most N−1N - 1.

The second has M=Td=(R/2πZ)d\mathcal{M} = \mathbb{T}^d = (\mathbb{R}/2\pi\mathbb{Z})^d and Lheat=Δ\mathcal{L}_{\text{heat}} = \Delta, the Laplace-Beltrami operator. The invariant law is uniform, and the eigenfunctions are Fourier modes. Restricting the Fourier frequencies to ∣k∣2≤N|k|_2 \leq N, the approximating class consists of gradients of trigonometric-polynomial potentials.

Both choices are canonical spectral approximation families for their respective forward processes. Nevertheless, their statistical behavior under score matching is sharply different. Polynomial approximation under OU flow exhibits severe high-degree asymptotic variance growth, whereas OISM with trigonometric-polynomial approximation under heat flow admits finite-sample control of the variance contribution at the usual finite-dimensional scale.

References (74)