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 be an unknown data distribution. Consider a diffusion (Xt)t≥0 on a smooth Riemannian manifold M without boundary, with X0∼ρ0 and infinitesimal generator
Lf=ΔMf+⟨b,∇f⟩,(1)
where b(x)∈TxM for each x∈M and TxM denotes the tangent space of M at x. Here and throughout, ∇ denotes the Riemannian gradient and ΔM the Laplace–Beltrami operator on M. The generator determines the Markov semigroup Pt=etL, 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,
and heat flow on the flat one-dimensional torus T:=R/2πZ, the periodic analogue of a variance-exploding (VE) diffusion,
dXt=2dBt,
where {Bt}t≥0 is one-dimensional Brownian motion and the latter equation is understood to be modulo 2π. Writing Xt∼ρt, suppose that ρt has density pt with respect to Riemannian volume. Its score function is defined as
Then, under suitable regularity, the time-reversed process (Xt←)t∈[0,T], initialized from X0←∼ρT, has time-dependent generator [DMH+22,HP86]
Lt←f=ΔMf+⟨−b+2sT−t,∇f⟩.
Thus, L determines the prescribed forward evolution, while the reverse dynamics additionally depend on the unknown time-varying score st [CCL +23, CDGS25]. Estimating this function from n independent samples of ρ0 is therefore a central statistical problem in score-based generative modeling.
The score st 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
f∈Uinf21∫M∥∇f−st∥2dρt.(2)
In this paper, we study growing approximation spaces
U1⊂U2⊂⋯.
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, then Ptψj=e−λjtψj, so eigenfunctions of 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, the forward generator L, and the approximation family {UN}N≥1. We study how score matching depends on the triple (M,L,{UN}N≥1), 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 and LOUf=f′′−xf′. The invariant law is the standard Gaussian, and the generator's eigenfunctions are Hermite polynomials. Taking the first N nonconstant Hermite polynomials as potentials gives polynomial score approximation of degree at most N−1.
The second has M=Td=(R/2πZ)d and Lheat=Δ, the Laplace-Beltrami operator. The invariant law is uniform, and the eigenfunctions are Fourier modes. Restricting the Fourier frequencies to ∣k∣2≤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.
Main results
We use polynomial instability to refer to exponential growth, along a subsequence of degrees N, of the asymptotic L2(ρt) variance. The asymptotic variance is defined at fixed N, with its behavior then studied as N→∞.
Informal Theorem 1 (Polynomial instability under OU flow). In the one-dimensional OU setting with polynomial approximation, write VN(t) and VNOI(t) for the asymptotic L2(ρt) variances of direct score matching and OISM, respectively. For every non-Gaussian initial distribution uniformly comparable to the standard Gaussian and every fixed t>0, along possibly different subsequences of degrees N,
VN(t)≥4N−o(N),VNOI(t)≥exp((log4−4t)N−o(N)).
Informal Theorem 2 (Fourier variance control under heat flow). In the heat-flow setting on Td with trigonometric-polynomial approximation, write VNOI(t) for the asymptotic L2(ρt) variance of OISM. Under uniform upper and lower density bounds, OISM with frequency cutoff N satisfies
Here ft,N⋆ denotes the population trigonometric-polynomial fit, and st,N denotes the OISM score estimator.
The favorable variance behavior in the Fourier setting also permits the usual approximation–estimation tradeoff. For an initial density of smoothness s, the integrated squared bias is O(N−2s). Combining this with the O(Nd/n) estimation bound and choosing N≍n1/(2s+d) yields the rate n−2s/(2s+d). The corresponding approximate reverse diffusion attains this rate under expected Kullback–Leibler loss, and we show that the rate is minimax optimal.
Polynomial instability: remarks and related work. Koehler et al. [KHR23] study the statistical efficiency of score matching relative to maximum likelihood, connecting its asymptotic covariance to Poincaré and isoperimetric properties and showing that sparse cuts can lead to severe inefficiency. More recently, Lütke Schwienhorst, Klein, and Lederer [LSKL26] study mixture-weight estimation in a two-component isotropic Gaussian mixture with known component means. They show that the asymptotic variance of vanilla score matching grows exponentially with the squared separation between the components, while diffusion-based denoising score matching can avoid this unfavorable dependence with a suitable diffusion time. Qin and Risteski [QR24] develop generalized score-matching objectives associated with Markov processes, relate their statistical efficiency to mixing properties, and obtain polynomial sample-complexity guarantees for an annealed construction on shared-covariance Gaussian mixtures. Wenliang and Kanagawa [WK21] identify another failure mode of score-based methods: for sufficiently separated mixtures, Fisher divergence can become insensitive to isolated components or incorrect mixing proportions.
Our result identifies a distinct instability mechanism. In the preceding mixture and isoperimetric results, inefficiency is driven by separation, multimodality, or poor geometric properties of the underlying statistical model. Here the non-Gaussian law is fixed and uniformly comparable to the Gaussian, while the asymptotic variance grows exponentially as the polynomial approximation space expands. The mechanism is instead the product structure of the polynomial approximation family.
The generator-eigenfunction viewpoint used here is most closely related to Shen et al. [SWRO25], who introduced OISM by using the diffusion semigroup to average the score-matching objective. They also report an empirical observation qualitatively consistent with the high-degree behavior studied here: in their CIFAR-10 experiment under OU flow, increasing the maximal Hermite order from three to six does not improve performance, with OISM(6) performing slightly worse than OISM(3). Because their method additionally fits a neural residual estimator, this experiment does not isolate the variance mechanism considered here. Khoo, Oster, and Peng [KOP25] likewise use eigenfunctions of the diffusion generator to obtain finite-dimensional score representations whose coefficients are computed from the original observations through linear systems, without simulating the forward diffusion.
Related work also considers the statistical behavior of score matching over structured Hermite approximation spaces. Tahmasebi and Weber [TW26] study invariant score matching on sets and graphs using growing families of invariant Hermite features. They derive dimension-free scaling laws governed by the growth of the feature hierarchy and the decay of the target coefficients, including regimes with logarithmic rather than polynomial convergence. Chen and van Leeuwen [CvL26] use finite Hermite expansions and regularized score-matching linear systems for reduced-order non-Gaussian density estimation. In contrast to these works, we isolate an explicit high-degree amplification mechanism for ordinary polynomial score matching under OU flow and show that it forces exponential asymptotic variance growth along a subsequence of polynomial degrees.
Several aspects of the polynomial instability result are worth emphasizing.
• The approximation family is natural. Hermite polynomials are eigenfunctions of the OU generator, so polynomial truncation is a canonical approximation family suggested by the forward diffusion. The statistical instability occurs despite this natural matching.
• The instability is not specific to the Hermite basis. Hermite coordinates are convenient because they diagonalize the semigroup, but the fitted score depends on the polynomial approximation space itself. Another basis of the same space does not remove the phenomenon.
• The data distribution is not pathological. The theorem holds for every non-Gaussian initial law whose density ratio with respect to the standard Gaussian is bounded above and below. In particular, it applies to bounded non-Gaussian perturbations that are arbitrarily close to the Gaussian in Kullback–Leibler divergence. Thus the exponential variance growth is not a consequence of the data distribution being far from the invariant Gaussian law.
• Variance reduction does not remove the pathology. OISM reduces asymptotic variance at every fixed degree, but this improvement does not prevent exponential high-degree growth at sufficiently small diffusion times. Moreover, our local minimax lower bound shows that the same high-degree dependence arises when estimating the polynomial projection of the score, so the obstruction is not merely an artifact of OISM.
• The result suggests a pessimistic approximation–estimation tradeoff. If analogous exponential variance growth persists when degree grows with sample size, usable degrees could grow only logarithmically with n, suggesting logarithmic rather than polynomial convergence rates. We do not prove a growing-degree finite-sample lower bound here.
Fourier variance control: remarks and related work. Optimal or near-optimal rates for score and density estimation have been established in several diffusion settings. Oko, Akiyama, and Suzuki [OAS23] show that score-based diffusion models under Ornstein–Uhlenbeck smoothing attain nearly minimax density-estimation rates in total variation over Besov classes. Zhang et al. [ZYLL24] study Brownian heat flow and obtain nearly minimax total-variation rates over Sobolev classes using kernel score estimation with early stopping. Most closely related to our positive result, Dou et al. [DKXZ24] establish sharp minimax rates for score estimation over Hölder classes under Gaussian heat flow and use them to attain the sharp minimax density-estimation rate in total variation without early stopping or logarithmic losses. Our result instead considers heat flow on the torus, where OISM over finite Fourier potential spaces yields an approximate reverse diffusion attaining the minimax rate under expected Kullback–Leibler loss, with the coefficients computed directly from the original observations.
Mardia, Kent, and Laha [MKL16] develop score matching on compact Riemannian manifolds, including toroidal models and fixed-dimensional families that can involve Laplace–Beltrami eigenfunctions. Bonis,
Pham Ngoc, and Tran [BPNT26] study score estimation by constrained and penalized score-matching empirical risk minimization. In a no-diffusion torus setting, they recover the classical nonparametric rate associated with first-derivative estimation; they then analyze ambient OU smoothing for distributions supported on compact submanifolds and use Sobolev-constrained score estimators to obtain near-minimax Wasserstein-1 rates for the resulting generative model. In contrast, our positive result studies OISM along heat flow on the torus over growing trigonometric-polynomial potential spaces, with integrated-in-time score-error control and a guarantee on the Kullback–Leibler loss for the generated density.
Shen et al. [SWRO25] also illustrate OISM using trigonometric eigenfunctions under Brownian motion wrapped onto [−π,π], the one-dimensional periodic analogue of our heat-flow setting, obtaining accurate score and density estimates from a finite Fourier family. Chen et al. [CCL +23] connect integrated score estimation along a diffusion to distributional guarantees for the learned reverse process.
Chewi et al. [CKMM26] show that score estimation along Euclidean diffusions yields near-minimax density-estimation rates under L1 loss over Hölder classes, using a reduction from score estimation to density estimation. The smooth density-estimation exponent is itself classical; see Yang and Barron [YB99].
Several features of our positive result are worth noting.
• Minimax density estimation without forward simulation. We establish the classical minimax rate n−2s/(2s+d) under expected Kullback–Leibler loss over the periodic Hölder class considered here. Building on the operator-informed formulation of Shen et al. [SWRO25], the Fourier score-matching coefficients can be computed directly from the original observations using explicit heat-semigroup formulas. Thus, the minimax rate is attained without simulating the forward diffusion.
• The usual bias–variance tradeoff is explicit. For an initial density of smoothness s, Fourier truncation contributes O(N−2s) integrated squared approximation error, while finite-sample estimation contributes O(Nd/n). Their balance yields the minimax rate stated above. Our argument has the advantage of being simple and making transparent how the approximation family governs the statistical behavior of score matching.
The key distinction lies in how products generated by the quadratic score-matching objective behave within the approximation family. In the polynomial setting, the highest-degree term in the fitted score gives rise to the square ϕN−12. Its expansion in the Hermite basis contains a degree- (2N−2) component whose coefficient grows rapidly with N. More precisely, if {ϕj}j≥0 denotes the normalized Hermite polynomials in L2(π), then the highest-degree component of ϕN−12 has squared coefficient
(N−12N−2)≍N4N.
By contrast, for Fourier functions ωk(x)=ei⟨k,x⟩,
ωkωℓ=ωk+ℓ.
Multiplication changes frequency without introducing a coefficient that grows with the cutoff. Section 3 makes precise how this difference in product structure enters the variance of the score-matching estimator.
Section 2 introduces direct score matching and OISM in a general diffusion setting. Section 3 specializes to one-dimensional OU flow and polynomial approximation, derives the estimators, and establishes the variance-growth results and their mechanism. Section 4 considers heat flow on the torus with Fourier approximation, derives the OISM estimator, controls approximation and estimation error, and establishes the minimax density-estimation rate. Section 5 discusses implications and open questions.
AI usage. This project was motivated by an attempt to understand the theoretical guarantees of OISM. GPT-5.6 Sol was used extensively in developing the resulting theory. In particular, it contributed to the derivation of the OISM variance lower bound under Ornstein–Uhlenbeck flow, including the complex-analytic argument underlying it, as well as the finite-sample upper bound for OISM under heat flow. The observation that the polynomial-instability argument extends beyond OISM to direct score matching was made independently by the author. GPT-5.6 Sol also assisted substantially with calculations in the proof of the local minimax lower bound, as well as with checking proofs and revising the manuscript. The author independently verified the mathematical arguments and cited references and takes full responsibility for the contents of this work.
2 Score matching along diffusion processes
Let M be a smooth Riemannian manifold without boundary, and let (Xt)t≥0 be a diffusion on M with infinitesimal generator L. Let (Pt)t≥0, with Pt=etL, denote the Markov semigroup generated by L. For sufficiently regular functions h,
(Pth)(x)=E[h(Xt)∣X0=x].
Given X0∼ρ0, write Xt∼ρt. Whenever ρt admits a sufficiently regular positive density pt with respect to Riemannian volume, we write
st=∇logpt
for its score. Given a finite-dimensional space U of sufficiently regular potential functions, our goal is to approximate st by gradient fields ∇f, with f∈U.
We consider two ways of estimating the corresponding score-matching objective. Direct score matching evaluates the loss along samples evolved to time t. Operator-informed score matching instead averages over the forward transition using the semigroup Pt, allowing the same population objective to be estimated directly from the initial observations.
2.1 Direct score matching
Following Hyvärinen [Hyv05] and the Riemannian formulation of Mardia, Kent, and Laha [MKL16], for f∈U, consider the population approximation error
Jt(f):=21∫M∥∇f−st∥2dρt.
When U is finite-dimensional, parametrizing f∈U by its coefficients yields a quadratic score-matching objective; see Hyvärinen [Hyv07]. Up to an additive constant Ct independent of f,
The final equality follows from integration by parts under the regularity and integrability assumptions imposed in the concrete settings below. Thus minimizing the score approximation error is equivalent to minimizing
Lt(f)=∫Mℓfdρt,ℓf:=21∥∇f∥2+ΔMf.
Suppose that
X0(1),…,X0(n)∼iidρ0,
and, conditionally on these observations, evolve them independently according to the forward diffusion to obtain Xt(1),…,Xt(n). Marginally,
Xt(1),…,Xt(n)∼iidρt.
Direct score matching replaces the population expectation by the empirical objective
Lt(f)=n1i=1∑nℓf(Xt(i)).(3)
In our setting, evaluating (3) therefore entails evolving the initial observations through the forward diffusion to time t.
2.2 Operator-informed score matching
Operator-informed score matching, introduced by Shen et al. [SWRO25], averages the direct score-matching loss over the forward diffusion. By the Markov property,
(Ptℓf)(x)=E[ℓf(Xt)∣X0=x].
Consequently,
∫MPtℓfdρ0=∫Mℓfdρt=Lt(f),
so applying the semigroup leaves the population objective unchanged.
For the OU and torus heat kernels used below, let pt∣0(⋅∣x) denote the forward transition density at t>0. Conditional integration by parts gives
where the additive term Ct,x is independent of f. Thus OISM analytically averages the denoising score-matching loss under the forward transition using the semigroup.
Given the same initial observations
X0(1),…,X0(n)∼iidρ0,
operator-informed score matching uses the empirical objective
The usefulness of this representation depends on whether Ptℓf can be evaluated tractably. In general, computing the conditional expectation defining Ptℓf could itself require simulation of the forward process. The operator-informed formulation becomes particularly useful when the semigroup acts explicitly on the chosen approximation family and on the functions appearing in the score-matching loss. In that case, Ptℓf can be computed directly from the initial observation, without simulating the forward diffusion. In the two settings considered below, the basis functions diagonalize the corresponding semigroups, while their products admit explicit expansions in the same eigenfunction families.
The two procedures therefore have the same population objective and hence target the same fitted score within ∇U. Their empirical objectives, however, average different random quantities. Direct score matching uses
ℓf(Xt),
whereas operator-informed score matching uses its conditional expectation
E[ℓf(Xt)∣X0].
With the two estimation procedures fixed, we now ask how their statistical behavior changes along a growing family U1⊂U2⊂⋯.
3 Instability of polynomial approximation under OU flow
We first consider the one-dimensional Ornstein–Uhlenbeck process introduced in Section 1, with generator
LOUf=f′′−xf′,
and invariant distribution π=N(0,1). Let {ϕj}j≥0 denote the normalized Hermite polynomials in L2(π). They satisfy
LOUϕj=−jϕj,Ptϕj=e−jtϕj,ϕj′=jϕj−1.
Thus the Hermite polynomials are eigenfunctions of the forward generator and provide a natural sequence of approximation spaces. For N≥1, let
UN:=span{ϕ1,…,ϕN}.
For f=∑j=1Najϕj∈UN,
Ptf=j=1∑Naje−jtϕj∈UN.
Let PN denote the space of real polynomials of degree at most N. The potential space UN is naturally identified with PN/R: two polynomial potentials are identified if they differ only by an additive constant, since constants do not affect their gradients. In the notation of Section 2, this gives the triple
(M,L,{UN}N≥1)=(R,LOU,{PN/R}N≥1).
As the potential ranges over PN/R, its derivative ranges over PN−1, the real polynomials of degree at most N−1. At each fixed time t>0, we approximate st in this class.
Assumptions. Let pπ denote the standard Gaussian density and write r0:=dρ0/dπ. Throughout this section, assume
0<m≤r0≤M<∞,r0=1,(5)
where the bounds hold π-almost everywhere. Under OU flow, rt:=pt/pπ=Ptr0, so the same bounds hold at every later time.
We use Hermite coordinates because the OU semigroup acts diagonally in this basis. The fitted score itself depends only on PN−1. We emphasize again that whenever the empirical fit is unique, replacing the Hermite polynomials by another basis of the same polynomial class leaves the fitted score unchanged. The instability below is therefore a property of polynomial approximation rather than of the Hermite basis itself.
3.1 Direct score matching
To parametrize the approximation class, write
fc=j=1∑Ncjϕj,c=(c1,…,cN)⊤.
Since fc′=∑j=1Njcjϕj−1, these derivatives span exactly PN−1. Substituting fc into the score-matching loss from Section 2 gives the quadratic function on RN,
These two quantities have a simple interpretation. The matrix a(x) is the single-observation contribution to the quadratic part of the score-matching objective, while b(x) gives the corresponding linear term. Their empirical averages therefore determine the normal equations for the fitted coefficients. Thus, once the polynomial approximation space is fixed, direct score matching reduces to a finite-dimensional quadratic estimation problem in the Hermite coefficients c.
Averaging this loss over the evolved sample then gives a quadratic empirical objective in c:
The data enter this quadratic problem through these empirical coefficients, which are computed from the evolved observations Xt(i). Thus, whenever At,N is invertible, the empirical score-matching objective has the unique minimizer
ct,N=At,N−1bt,N,
and the fitted score is st,N=fct,N′.
To separate approximation from statistical fluctuation, we next identify the corresponding population fit. The population analogue is obtained by replacing the sample averages with expectations. Writing
At,N:=Eρt[a(Xt)],bt,N:=Eρt[b(Xt)],
the population score-matching objective is the quadratic function
Lt(fc)=21c⊤At,Nc−bt,N⊤c.
The lower bound rt≥m implies that At,N is positive definite. Therefore, the population objective has the unique minimizer
ct,N⋆:=At,N−1bt,N,ft,N⋆:=fct,N⋆.
Its derivative (ft,N⋆)′ is the L2(ρt)-orthogonal projection of st onto PN−1. This is the best score approximation available in the chosen polynomial class. To describe fluctuations of the empirical fit around this population target, define the single-observation residual in the population normal equations by
ψt,N(x):=b(x)−a(x)ct,N⋆.
The population normal equations give Eρt[ψt,N(Xt)]=0, so its covariance is
Σt,N:=Eρt[ψt,N(Xt)ψt,N(Xt)⊤].
Thus ψt,N(x) measures the single-observation fluctuation of the normal equations around the population optimum. Its covariance Σt,N determines the asymptotic fluctuations of the fitted coefficients and, consequently, the asymptotic variance of the fitted score. Appendix A.1 shows that the asymptotic L2(ρt) variance of the fitted score is
VN(t):=tr(At,N−1Σt,N).
Specifically, VN(t) is the mean of the limiting quadratic form governing nst,N−(ft,N⋆)′L2(ρt)2.
We now study how this fixed-N asymptotic variance behaves as the polynomial cutoff N increases.
Theorem 3.1 (Fixed-time subsequential variance growth). Let ρ0 satisfy (5). For every fixed t>0,
N→∞limsupN1logVN(t)≥log4.(7)
Thus, even at a single positive time, enlarging the polynomial approximation class can produce exponentially increasing asymptotic variance along a subsequence. This holds for every non-Gaussian initial law satisfying the uniform comparison assumption. The subsequence may depend on t.
This is a statement about asymptotic variance: first n→∞ at fixed N, and then the resulting variance is studied as N→∞. It is not a finite-sample lower bound for a growing cutoff N=N(n).
3.2 Operator-informed score matching
Operator-informed score matching replaces each direct score-matching contribution by its conditional expectation given the initial observation. Write at:=Pta and bt:=Ptb for the semigroup-averaged single-observation coefficients. Since the Hermite polynomials diagonalize the OU semigroup, these conditional expectations can be evaluated explicitly. Together with the Hermite product formula, this gives, for 1≤j,k≤N,
The effect of semigroup averaging is therefore explicit in Hermite coordinates: each Hermite component appearing in the direct score-matching coefficients is damped according to its degree. This damping will be the source of the variance reduction below.
By averaging these coefficients over the original observations, OISM forms the empirical quadratic objective
In particular, these coefficients are computed from the original observations X0(i), so no simulation of Xt(i) is required. Whenever At,NOI is invertible, the unique minimizer of this empirical objective is
ct,NOI=(At,NOI)−1bt,NOI,
with fitted score st,NOI=fct,NOI′.
Semigroup averaging preserves the population objective, so the population minimizer remains ct,N⋆ and ft,N⋆ from Section 3.1. Indeed,
Eρ0[at(X0)]=At,N,Eρ0[bt(X0)]=bt,N.
Therefore, the two procedures share the same population target but average different random quantities. Thus their statistical comparison reduces to comparing the fluctuations of the empirical normal equations around the common population minimizer ct,N⋆. To quantify the OISM fluctuations, define
Because ψt,NOI(X0) is the conditional expectation of ψt,N(Xt) given X0, the conditional covariance identity gives
VNOI(t)≤VN(t).
OISM therefore reduces asymptotic variance at every fixed degree. The next result shows that this reduction need not prevent exponential growth as the degree increases.
Theorem 3.2 (Operator-informed asymptotic variance lower bound). Assume (5). For every fixed t > 0,
N→∞limsupN1logVNOI(t)≥log4−4t.(8)
The theorem should be read together with the fixed-degree variance reduction VNOI(t)≤VN(t). Operator averaging reduces asymptotic variance at every fixed degree, but for t<(log4)/4 its damping does not offset the high-degree product amplification. For t≥(log4)/4, the fixed-time lower bound no longer implies exponential growth.
Remark 3.3 (Higher-dimensional embedding). The one-dimensional instability embeds into OU flow in every ambient dimension. Indeed, let
ρ0=μ0⊗γd−1,
where μ0 satisfies the assumptions above and γd−1 is the standard Gaussian law on Rd−1. Then
ρt=μt⊗γd−1
under d-dimensional OU flow. For the usual total-degree multivariate Hermite approximation, the population score-matching quadratic form is block diagonal between Hermite potentials depending only on the first coordinate and those involving any of the remaining coordinates. The first block coincides exactly with the one-dimensional problem considered above. Consequently, in both direct score matching and OISM, the full asymptotic variance contains the corresponding one-dimensional asymptotic variance as a nonnegative contribution, so the variance lower bounds of Theorems 3.1 and 3.2 persist for this class of d-dimensional product distributions. We do not claim the analogous universal statement for arbitrary non-Gaussian distributions on Rd.
3.3 Mechanism behind the variance growth
The preceding results raise a natural question: why can enlarging a natural approximation class make score matching statistically inefficient? There are two competing effects. Adding a polynomial degree improves the population approximation to the score, but the corresponding coefficient also enters products of polynomial features in the empirical score-matching objective. The proof compares these two effects.
To measure the approximation improvement, let
BNOU(t):=w∈PN−1inf∥st−w∥L2(ρt)2
denote the best squared approximation error at degree N−1, and for N≥2 define
ΔN(t):=BN−1OU(t)−BNOU(t)
as the nonnegative improvement obtained by adding the degree- (N−1) component. Throughout Section 3 and Appendix B, we use the convention log0=−∞ when taking logarithms of nonnegative quantities. Write αN(t):=(ct,N⋆)N for the highest coefficient of the fitted potential. Since ϕN′=NϕN−1, the corresponding fitted-score coefficient is NαN(t).
Lemma 3.4 (Approximation increment). Assume (5). For every N≥2 and t>0,
MΔN(t)≤NαN(t)2≤mΔN(t).(9)
Proof. The fitted scores at cutoffs N and N - 1 are the L2(ρt) orthogonal projections onto PN−1 and PN−2. Their difference is
The infimum equals 1 by Hermite orthogonality, while the upper bound uses 0∈PN−2 as a competitor. Properties of the projection give ΔN(t) as the squared norm of this difference, proving (9).
If estimation variance depended only on this new coefficient, there would be no reason to expect instability. The difficulty is that score matching is quadratic in the polynomial features. In particular, the highest fitted coefficient enters through the product ϕN−12:
For OISM, the same comparison contains the additional factor e−4(N−1)t, which records the damping of the high-degree component by the OU semigroup.
Proof. The degree- (2N−2) coefficient in the Nth direct residual coordinate is
−NαN(t)(N−12N−2),
and no other term in that coordinate has the same degree. Hermite orthogonality and m≤rt≤M bound the variance of this residual coordinate from below. The comparison of that coordinate's variance with VN(t), proved in Appendix B by Cauchy–Schwarz in the At,N-inner product, and Lemma 3.4 give the direct bound. For OISM, the same component is multiplied by e−(2N−2)t, so its squared contribution acquires the factor e−4(N−1)t. Appendix B gives the remaining algebra.
The only way for the exponential product amplification above to be cancelled would be for ΔN(t) itself to decay exponentially fast with N. The final ingredient rules this out.
Lemma 3.6 (Non-exponential decay of approximation increments). Under (5), for every fixed t > 0,
N→∞limsupN1logΔN(t)=0.(12)
The proof is deferred to Appendix B. Exponential decay of the approximation increments would imply exponential decay of the Hermite coefficients of st, forcing st to admit an entire extension. Mehler's formula and Hadamard factorization show that this is possible under the standing assumption only in the stationary Gaussian case r0≡1.
The central-binomial estimate, Proposition 3.5, and Lemma 3.6 give
The preceding results concern the asymptotic variance of score-matching estimators. We next show that the same quantity also controls a local minimax lower bound for estimating the polynomial projection of the score. Thus the exponential behavior in Theorem 3.2 is not merely a feature of OISM.
Theorem 3.7 (Local minimax lower bound for polynomial score projection). Assume (5), and suppose in addition that for some η>0,
m+η≤r0≤M−ηπ−a.e.
Fix t>0 and N≥1, and define
Γt,N:=At,N−1/2Σt,NOIAt,N−1/2,q:=rank(Γt,N).
Then, for all sufficiently large n, there is a family
{ρ0,θ,n:θ∈{−1,1}q}
of initial distributions satisfying (5) such that
θ∈{−1,1}qmaxdρ0dρ0,θ,n−1∞=O(n−1/2),
where the implied constant may depend on the fixed quantities t,N,ρ0 and the comparison parameters, but not on n or θ, and
where c>0 is a universal numerical constant, ρt,θ,n is the law obtained by evolving ρ0,θ,n under OU flow for time t, and st,θ,n is its score. The infimum is over all measurable estimators s of the L2(ρt,θ,n)-orthogonal projection of st,θ,n onto PN−1, the space of real polynomials of degree at most N−1, based on
X0(1),…,X0(n)∼iidρ0,θ,n.
The proof is given in Appendix B.5.
The theorem shows that the unfavorable high-degree behavior of OISM is not an artifact of the estimator. For each fixed N, Theorem 3.7 gives a local minimax lower bound of order VNOI(t)/n for estimating the polynomial projection of the score. Thus, no estimator based on the initial observations can uniformly remove this dependence in a neighborhood of ρ0. Studying the coefficient VNOI(t) subsequently as N→∞, Theorem 3.2 implies exponential growth along a subsequence of degrees when t<(log4)/4. This is an iterated fixed-N local asymptotic statement, not a finite-sample lower bound uniform over a growing cutoff N=N(n).
This also clarifies the role of regularization. In the fixed-N local asymptotic regime, Theorem 3.7 applies to all measurable estimators of the polynomial projection of the score, including regularized or shrinkage-based procedures. Thus regularization cannot uniformly eliminate the dependence on VNOI(t) while retaining the same projected-score target. It can instead reduce the contribution of high-degree coefficients by shrinking them, but this introduces bias relative to that target. Proposition 3.5 and Lemma 3.4 make the associated tradeoff explicit: the highest-degree fitted coefficient is responsible both for the amplified residual contribution and for the approximation improvement ΔN(t) obtained by adding that degree.
4 Minimax estimation via trigonometric polynomials under heat flow
In the notation of Section 2, we take M=Td and L=Δ. Let TN denote the real trigonometric-polynomial potential space with nonzero frequencies 0<∣k∣2≤N, defined precisely in Section 4.1. The resulting triple is
(M,L,{UN}N≥1)=(Td,Δ,{TN}N≥1).
Section 3 showed that the statistical behavior of score matching can depend strongly on the product structure of the approximation family. Under polynomial approximation, products of high-degree Hermite features introduce coefficients that grow rapidly with the degree. For k∈Zd, write ωk(x):=ei⟨k,x⟩. These Fourier modes behave differently under multiplication:
ωkωℓ=ωk+ℓ.
Multiplication changes the frequency without introducing a coefficient that grows with the cutoff. We show that, under heat flow, this structure leads to the usual approximation–estimation tradeoff. Our heat-flow analysis focuses on the operator-informed estimator; the statistical behavior of direct score matching under Fourier approximation is not analyzed here.
Assumptions. Throughout this section, d is fixed, ν is the normalized Riemannian volume measure on Td, equivalently the uniform probability measure, and ρ0 has density p0 with respect to ν. We assume
0<m<1<M<∞,m≤p0≤M.
Heat flow preserves these bounds. For an integer s≥1, Cs−1,1(Td) consists of functions with continuous derivatives through order s−1 whose derivatives of order s−1 are Lipschitz. For the 2π-periodic lift of f, write
Lip(f):=x,y∈Rdx=ysup∣x−y∣2∣f(x)−f(y)∣.
Fix L > 0 and define the periodic Hölder density class
Here Dβp denotes the classical derivative for ∣β∣≤s−1. When s=1, the last condition is Lip(p)≤L. For p0∈Ps(m,M,L), the initial score s0=∇logp0 is interpreted as a weak gradient when s=1. At positive times, heat smoothing gives a classical score. In statements assuming only the two-sided density bounds, score quantities are understood for t>0, with integrals starting at zero interpreted over (0,T]. Lower-order derivative bounds follow from periodicity and are proved in Lemma C.2 of Appendix C. A related formulation using a highest-order Hölder condition and separate two-sided density bounds appears in Chewi et al. [CKMM26, Definition 7] for a one-dimensional interval. The variance analysis in Section 4.3 uses only the two-sided density bounds, while the approximation and minimax results use the full class Ps(m,M,L).
4.1 Operator-informed score matching
The infinitesimal generator of heat flow on Td is Lheat=Δ, and its invariant probability measure is the uniform measure ν. Identifying the torus with (−π,π]d with opposite faces identified, we use
dν(x)=(2π)−ddx. The density at time t is pt=Ptp0, and its score is st=∇logpt. For k∈Zd, write ∣k∣2=(∑j=1dkj2)1/2. For a frequency cutoff N≥1, let
ΛN:={k∈Zd:0<∣k∣2≤N},∣ΛN∣≍dNd.(14)
The lattice-counting argument is given in Appendix C.1. We take UN=TN to be the real trigonometric-polynomial potentials with frequencies in ΛN and approximate the score in FN={∇f:f∈UN}.
For computation it is convenient to use these complex Fourier coordinates. For c∈CΛN, write
fc(x):=k∈ΛN∑ckωk(x).
For arbitrary complex coefficients, extend the real-valued loss from Section 2.1 by defining
ℓfc(x):=21∇fc(x)⋅∇fc(x)+ReΔfc(x).
This agrees with the original score-matching loss when fc is real-valued, equivalently when c−k=ck. For k∈ΛN,
Lheatωk=−∣k∣22ωk,Ptωk=e−t∣k∣22ωk.
Thus the Fourier modes are eigenfunctions of the heat generator and provide the natural approximation family in this setting. A coefficient vector satisfying c−k=ck represents a real-valued trigonometric potential. Appendix A.2 shows that complexifying the quadratic problem does not change its population minimum and that uniqueness forces the population and empirical minimizers to be conjugate symmetric.
In these coordinates, let a and b denote the direct score-matching quadratic coefficients, defined for k,ℓ∈ΛN by
a(x)kℓ:=∇ωk(x)⋅∇ωℓ(x),b(x)k:=−Δωk(x),
Since our heat-flow analysis concerns only OISM, we pass directly from the direct score-matching coefficients (a, b) to their semigroup averages, rather than introducing a separate direct empirical estimator. Write at:=Pta and bt:=Ptb for their semigroup averages. Specializing the OISM construction of Section 2.2, the single-observation coefficients are, for k,ℓ∈ΛN and t≥0,
Thus the semigroup action on the quadratic coefficients is explicit in Fourier coordinates, while multiplication changes frequency without introducing the coefficient amplification seen for Hermite products. These formulas follow from the Fourier product rule and the diagonal action of the heat semigroup. Appendix A.2 gives the derivation. With † denoting conjugate transpose, the averaged loss is
(Ptℓfc)(x)=21c†at(x)c−Re(bt(x)†c).
The population objective averages these coefficients under ρ0: At,N:=Eρ0at(X0) and bt,N:=Eρ0bt(X0). By the semigroup identity, At,N=Eρta(Xt) and bt,N=Eρtb(Xt). Since pt≥m, At,N is positive definite. Thus the unique minimizer of the population OISM objective, which is the same population score-matching objective as in Section 2.2, is
ct,N⋆:=At,N−1bt,N,ft,N⋆:=fct,N⋆.
From the same initial sample at every time, we estimate these expectations by
Thus the OISM fit at every time t is computed from the same original observations X0(i), without simulating the forward heat flow. Whenever the empirical matrix is invertible, the fitted coefficients and score are
By Appendix A.2, uniqueness of this minimizer implies ct,N,−kOI=ct,N,kOI, so the fitted potential and score are real-valued.
For the finite-sample analysis, it is useful to compare the empirical quadratic form to a deterministic reference scale. Under the uniform measure ν, Parseval's identity identifies the scale KN:=diag(∣k∣22:k∈ΛN) through
c†KNc=∫Td∣∇fc∣2dν,c†A0,Nc=∫Td∣∇fc∣2p0dν.
Thus KN provides the natural deterministic scale for the quadratic form in Fourier coordinates. Since m≤p0≤M, the population matrix at time zero satisfies mKN⪯A0,N⪯MKN. We use the event
CN:={A0,NOI⪰2mKN}.(16)
On this event, the empirical quadratic form retains a fixed fraction of the population lower bound. Section 4.3 shows that CN has high probability and that this lower bound propagates to every later time. Set st,N=st,NOI on CN and st,N=0 on CNc. This defines the estimator on every dataset and permits an unconditional expectation bound.
For a time-dependent score estimator s, define
RT(s):=∫0T∥st−st∥L2(ρt)2dt.(17)
This integrated score error is the quantity controlled below and later transferred to Kullback–Leibler loss in Section 4.4. Here and below, Pp0 and Ep0 denote probability and expectation over the training sample drawn from p0 d ν.
We now quantify the integrated score error of this estimator as the Fourier cutoff grows. Increasing N improves score approximation but increases the number of coefficients fitted from data. The next result makes this approximation–estimation tradeoff precise, with terms at scales N−2s and Nd/n and an exponentially small conditioning term.
Theorem 4.1 (Finite-sample Fourier OISM bound). For every N≥1, n≥1, and T>0,
uniformly in T>0. The constant C depends only on d, s, m, M, L and the fixed comparison constants in the choice of Nn. Here ∣ΛN∣≍dNd.
Since ∣ΛN∣≍dNd, the leading terms are N−2s from approximation and Nd/n from estimation. Thus Fourier OISM exhibits the usual finite-dimensional approximation–estimation tradeoff. Sections 4.2 and 4.3 establish these two terms, respectively. Section 4.4 balances them and transfers the integrated score bound to minimax-optimal density estimation under Kullback–Leibler loss.
4.2 Integrated approximation error
We first prove the approximation term in Theorem 4.1. Assume throughout this subsection that p0∈Ps(m,M,L).
The gradient of ft,N⋆ is the L2(ρt)-orthogonal projection of st onto FN. We measure the approximation error by
The right-hand side involves s+1 derivatives of logpt, although the initial density has only s weak derivatives. Derivatives of pt through order s are uniformly controlled over the chosen smoothness class. The semigroup identity in Lemma C.5 controls the remaining derivative after time integration. Lemma C.6 combines these facts to give a bound uniform in T, yielding (21). Appendix C.2 gives the details.
4.3 Variance and finite-sample estimation
We now turn to statistical error. Unlike the Hermite products in Section 3, Fourier multiplication does not introduce coefficients that grow with the cutoff. The resulting integrated variance is controlled at the scale of the number of retained frequencies, ∣ΛN∣≍dNd. As in the OU setting, the estimation error is governed by fluctuations of the empirical normal equations around their population counterpart. Since Section 4 considers only the operator-informed estimator, we suppress the superscript OI on its residual and covariance. Define
Thus the asymptotic variance and n times the finite-sample estimation error are governed by the same normalized residual covariance. Its integrated bound is
∫0Ttr(KN−1Σt,N)dt≤∣ΛN∣(1+2logM).
Integrating the preceding two inequalities therefore gives an integrated asymptotic variance bound of order ∣ΛN∣≍dNd and a finite-sample estimation error bound of order ∣ΛN∣/n≍dNd/n. There is therefore no analogue of the 4N amplification from Section 3. The covariance estimate combines explicit semigroup damping of the Fourier modes with entropy dissipation, while matrix Chernoff and the Schur product theorem control the conditioning event CN. Appendix C.3 gives the details.
On CN, orthogonality of the population projection gives the exact decomposition
Propositions 4.2 and 4.3 bound these two terms. On CNc, the estimator is zero and RT(0)≤logM. Together with the conditioning-event bound, these facts yield Theorem 4.1; its proof is given in Appendix C.3.
4.4 Estimation rate and minimax optimality
Theorem 4.1 gives leading integrated score-estimation terms N−2s+Nd/n. Choosing Nn≍n1/(2s+d) balances them and yields
p0∈Ps(m,M,L)supEp0RT(s⋅,Nn)≲n−2s/(2s+d)
for all sufficiently large n, uniformly in T > 0.
The integrated score loss also controls the distribution generated by the approximate reverse diffusion. Conditional on the training data, consider
dXt←=2sT−t,N(Xt←)dt+2dBt,X0←∼ν,0≤t≤T,
(24) interpreted modulo 2π, with the initial state and Brownian motion independent of the training data. Let pN,T be the density with respect to ν of the conditional law of XT←. For densities, write KL(p∥q):=∫plog(p/q)dν. Here 1 denotes the constant density of ν. The Girsanov comparison gives
KL(p0∥pN,T)≤KL(pT∥1)+RT(s,N).(25)
The first term is the initialization error from starting the learned reverse process at ν instead of ρT. Heat-flow contraction gives
KL(pT∥1)≤(M−1)e−2T.
Appendix C.4 proves the KL comparison and this initialization bound.
Corollary 4.4 (Minimax rate under Kullback–Leibler loss). For the fixed class (13), set
Nn:=⌊n1/(2s+d)⌋,Tn:=2s+dslogn.
Define pn:=pNn,Tn using the score estimator s,Nn in (24). There exists a constant C>0, depending only on d, s, m, M, L, such that, for all sufficiently large n,
This rate is minimax optimal over Ps(m,M,L) among all measurable density-valued estimators based on n independent observations from ρ0.
Appendix C.4 proves the matching lower bound by a localized Assouad construction on the torus. The heat-flow setting therefore exhibits the standard approximation–estimation tradeoff. Fourier truncation contributes N−2s, while estimation contributes Nd/n, and balancing the two yields the classical non-parametric rate. This exponent agrees with the corresponding squared total-variation rate for Euclidean Gaussian heat flow in Dou et al. [DKXZ24], although our guarantee is formulated under expected Kullback–Leibler loss. The OISM coefficients are computed directly from the original observations, so the minimax density-estimation rate is attained without simulating the forward diffusion.
5 Discussion and open questions
The comparison developed above suggests that the statistical behavior of score matching over growing approximation families depends not only on approximation quality, but also on algebraic interactions among the chosen features. In the two examples studied here, this distinction appears through the product structure of generator eigenfunctions. It would be useful to identify general conditions on a diffusion generator and its eigenfunctions under which increasing cutoffs lead to controlled rather than exponential growth of estimation error. Such a theory could guide the choice of diffusion-adapted approximation families for score estimation.
Our OU results leave an important statistical question open. The variance lower bounds first take the sample size to infinity at fixed cutoff N, and then study the resulting asymptotic variance as N→∞. They therefore do not imply a finite-sample lower bound when the cutoff N=N(n) grows with the sample size. Establishing such a result would make precise the sample complexity consequences of the Hermite-product amplification. It would also be interesting to determine whether a different choice of approximation space can avoid this instability while retaining comparable approximation guarantees for the score.
The heat-flow analysis also suggests several extensions. It is natural to ask whether analogous minimax guarantees hold for other compact state spaces, generators, or approximation schemes with comparably tractable semigroup and product structure. Our analysis treats the learned reverse diffusion in continuous time and does not account for numerical discretization of the reverse SDE. An end-to-end guarantee combining score-estimation and discretization error would therefore be a natural next step. More generally, identifying which combinations of diffusion, approximation family, and score-matching objective yield controlled estimation error as the approximation space grows may provide a useful principle for their design.
Acknowledgement. The author thanks Sinho Chewi and Aram-Alexandre Pooladian for generously devoting their time to many helpful discussions.
References
[BPNT26] Thomas Bonis, Thanh Mai Pham Ngoc, and Viet Chi Tran. Optimal score function estimation via derivatives constraints, 2026. arXiv:2606.19084, version 3. URL: https://arxiv.org/abs/2606.19084v3, arXiv:2606.19084.
[CCL +23] Sitan Chen, Sinho Chewi, Jerry Li, Yuanzhi Li, Adil Salim, and Anru R. Zhang. Sampling is as easy as learning the score: Theory for diffusion models with minimal data assumptions. In International Conference on Learning Representations, 2023. URL: https://openreview.net/forum?id=zyLVMgsZ0U_.
[CDGS25] Giovanni Conforti, Alain Durmus, and Marta Gentiloni Silveri. KL convergence guarantees for score diffusion models under minimal data assumptions. SIAM Journal on Mathematics of Data Science, 7(1):86–109, 2025. doi:10.1137/23M1613670.
[CKMM26] Sinho Chewi, Alkis Kalavasis, Anay Mehrotra, and Omar Montasser. DDPM score matching and distribution learning, 2026. arXiv:2504.05161, version 2; full version of the COLT 2026 extended abstract, Proceedings of Machine Learning Research 336:1434–1435. URL: https://arxiv.org/abs/2504.05161v2, arXiv:2504.05161.
[Con78] John B. Conway. Functions of One Complex Variable I, volume 11 of Graduate Texts in Mathematics. Springer, New York, second edition, 1978. doi:10.1007/978-1-4612-6313-5.
[CvL26] Joshua Chen and Peter Jan van Leeuwen. Copula active subspaces I: A score-covariance method for reduced-order non-Gaussian density estimation, 2026. arXiv:2609.36142. URL: https://arxiv.org/abs/2609.36142, arXiv:2609.36142.
[DKXZ24] Zehao Dou, Subhodh Kotekal, Zhehao Xu, and Harrison H. Zhou. From optimal score matching to optimal sampling, 2024. arXiv:2409.07032. URL: https://arxiv.org/abs/2409.07032, arXiv:2409.07032.
[HJA20] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In Advances in Neural Information Processing Systems, volume 33, pages 6840–6851, 2020. URL:
[HP86] U. G. Haussmann and E. Pardoux. Time reversal of diffusions. The Annals of Probability, 14(4):1188–1205, 1986. doi:10.1214/aop/1176992362.
[Hyv05] Aapo Hyvärinen. Estimation of non-normalized statistical models by score matching. Journal of Machine Learning Research, 6:695–709, 2005. URL: https://jmlr.org/papers/v6/hyvarinen05a.html.
[Hyv07] Aapo Hyvärinen. Some extensions of score matching. Computational Statistics & Data Analysis, 51(5):2499–2512, 2007. doi:10.1016/j.csda.2006.09.003.
[KHR23] Frederic Koehler, Alexander Heckett, and Andrej Risteski. Statistical efficiency of score matching: The view from isoperimetry. In International Conference on Learning Representations, 2023. URL: https://openreview.net/forum?id=TD7AnQjNzR6.
[KOP25] Yuehaw Khoo, Mathias Oster, and Yifan Peng. Optimization-free diffusion model – a perturbation theory approach, 2025. arXiv:2505.23652, version 2. URL: https://arxiv.org/abs/2505.23652v2, arXiv:2505.23652.
[LSKL26] Benedikt Lütke Schwienhorst, Nadja Klein, and Johannes Lederer. Diffusion-based denoising beats vanilla score matching in parameter estimation: A theoretical explanation, 2026. arXiv:2605.22950. URL: https://arxiv.org/abs/2605.22950, arXiv:2605.22950.
[MKL16] Kanti V. Mardia, John T. Kent, and Arnab K. Laha. Score matching estimators for directional distributions, 2016. arXiv:1604.08470. URL: https://arxiv.org/abs/1604.08470, arXiv:1604.08470.
[OAS23] Kazusato Oko, Shunta Akiyama, and Taiji Suzuki. Diffusion models are minimax optimal distribution estimators. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 26517–26582. PMLR, 2023. URL: https://proceedings.mlr.press/v202/oko23a.html.
[QR24] Yilong Qin and Andrej Risteski. Fit like you sample: Sample-efficient generalized score matching from fast mixing diffusions. In Proceedings of the 37th Annual Conference on Learning Theory, volume 247 of Proceedings of Machine Learning Research, pages 4413–4457, 2024. URL: https://proceedings.mlr.press/v247/qin24a.html, arXiv:2306.09332.
[SDWMG15] Jascha Sohl-Dickstein, Eric A. Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. In Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 2256–2265. PMLR, 2015. URL: https://proceedings.mlr.press/v37/sohl-dickstein15.html.
[SSDK +21] Yang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations, 2021. URL: https://openreview.net/forum?id=PxTIG12RRHS.
[SWRO25] Zheyang Shen, Huihui Wang, Marina Riabiz, and Chris J. Oates. Operator-informed score matching for Markov diffusion models, 2025. arXiv:2406.09084, version 2. URL: https://arxiv.org/abs/2406.09084v2, arXiv:2406.09084.
[Tro12] Joel A. Tropp. User-friendly tail bounds for sums of random matrices. Foundations of Computational Mathematics, 12(4):389–434, 2012. doi:10.1007/s10208-011-9099-z.
[TW26] Behrooz Tahmasebi and Melanie Weber. Dimension-free scaling laws for invariant score matching. In ICML Workshop on High-dimensional Learning Dynamics (HiLD), 2026. Preliminary version. URL: https://openreview.net/forum?id=xnhs25POP9.
[WK21] Li K. Wenliang and Heishiro Kanagawa. Blindness of score-based methods to isolated components and mixing proportions, 2021. NeurIPS 2021 Workshop "Your Model Is Wrong: Robustness and Misspecification in Probabilistic Modeling". URL: https://arxiv.org/abs/2008.10087, arXiv:2008.10087.
[YB99] Yuhong Yang and Andrew R. Barron. Information-theoretic determination of minimax rates of convergence. The Annals of Statistics, 27(5):1564–1599, 1999. doi:10.1214/aos/1017939142.
[Yu97] Bin Yu. Assouad, Fano, and Le Cam. In David Pollard, Erik Torgersen, and Grace L. Yang, editors, Festschrift for Lucien Le Cam, pages 423–435. Springer, New York, 1997. doi:10.1007/978-1-4612-1880-7_29.
[ZYLL24] Kaihong Zhang, Heqi Yin, Feng Liang, and Jingbo Liu. Minimax optimality of score-based diffusion models: Beyond the density lower bound assumptions. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 60134–60178. PMLR, 2024. URL: https://proceedings.mlr.press/v235/zhang24bv.html.
A Supporting derivations
A.1 Score matching and asymptotic variance
Integration by parts gives
Eρt⟨∇f,st⟩=−EρtΔf.
Expanding out the square in the score-matching objective therefore gives the identity in Section 2.1. For the finite-dimensional calculation, choose a real basis {uj:j∈I} of U modulo constants and write fc=∑j∈Icjuj. Set
a(x)jk:=⟨∇uj(x),∇uk(x)⟩,b(x)j:=−Δuj(x).
Then ℓfc(x)=21c⊤a(x)c−b(x)⊤c. Write At:=Eρta(Xt), bt:=Eρtb(Xt), and
Let At and bt be the corresponding sample averages, ct:=At−1bt, and ft⋆:=fct⋆,ft:=fct,st:=∇ft. For the asymptotic distribution, the population and empirical minimizers satisfy
ct−ct⋆=At−1n1i=1∑nψt(Xt(i)).
Integrability of the entries of a(Xt) gives At→At in probability. Since At is positive definite, At is invertible with probability tending to one and At−1→At−1 in probability. Assuming additionally that Eρt∣ψt(Xt)∣2<∞, the multivariate central limit theorem and Slutsky's theorem yield
Let Zt∼N(0,At−1ΣtAt−1) denote the limiting Gaussian vector. The continuous mapping theorem gives the limiting quadratic form Zt⊤AtZt. When U=UN, its mean is the asymptotic variance VN(t)=tr(At−1Σt).
The same argument applies to OISM with the single-observation quantities Pta and Ptb and sampling law ρ0. Here ψtOI:=Ptψt and ΣtOI:=Eρ0[ψtOI(X0)ψtOI(X0)⊤]. Conditional Jensen's inequality gives
Eρ0ψtOI(X0)2≤Eρt∥ψt(Xt)∥2,
so its limiting coefficient covariance is At−1ΣtOIAt−1. The conditional covariance identity then gives VNOI(t)≤VN(t).
A.2 Complex Fourier coordinates
Let
ΛN:={k∈Zd:0<∣k∣2≤N},ωk(x):=ei⟨k,x⟩.
A real trigonometric potential can be written as fc=∑k∈ΛNckωk with c−k=ck. For one representative of each pair {k,−k}, writing ck=ak+ibk gives
ckωk+c−kω−k=2akcos⟨k,x⟩−2bksin⟨k,x⟩,
so these complex coordinates describe the same real potential space as the sine–cosine parametrization. For arbitrary c∈CΛN, define ∣∇fc∣2:=∇fc⋅∇fc. Since
∇fc=k∈ΛN∑ikckωk,Δfc=−k∈ΛN∑∣k∣22ckωk,
the Fourier product rule and Ptωk=e−t∣k∣2ωk give
Thus the operator-informed loss is a Hermitian quadratic form in c. When c is conjugate symmetric, it agrees with the real-coordinate loss. Conversely, if fc=u+iv with u,v real, then
Complexification therefore cannot improve the population minimum. The population and empirical quadratic objectives are invariant under the involution ck♯:=c−k. Uniqueness of a minimizer forces c=c♯, hence conjugate symmetry, so the fitted potential is real-valued. Identifying conjugate-symmetric coefficient vectors with the corresponding real sine–cosine coordinates, the asymptotic calculation of Appendix A.1 applies unchanged. Equivalently, in the complex representation, the same formulas hold with transposes replaced by conjugate transposes, yielding the trace expression used in Section 4 without an additional factor of two.
B Proofs for polynomial approximation under OU flow
This appendix supplies the technical details for the variance-growth results summarized in Section 3.3. We first record the coefficient and approximation bounds used there, then prove the high-degree residual lower bound and the analytic obstruction to exponential approximation decay. We conclude with the proofs of Theorems 3.1 and 3.2. It also proves the local minimax lower bound from Section 3.4.
For fixed N, abbreviate ψt:=ψt,N, Σt:=Σt,N, and ψtOI:=ψt,NOI. Throughout this section, ρ0 satisfies (5). The Markov property gives m≤rt=Ptr0≤M. For t>0, Gaussian smoothing gives (with id(x)=x)
Thus r0≤M bounds ∥rt′∥∞ by the right-hand side of (B.1) without the factor 1/m, and division by rt≥m proves the estimate. This also justifies the required score integrability and integration by parts at positive times.
B.1 Population coefficients and approximation bounds
We first bound the highest fitted Hermite coefficient and compare the L2(ρt) and L2(π) approximation errors.
Set ft,N⋆:=fct,N⋆ and define
DN:=diag(1,…,N),Gt:=DN−1/2At,NDN−1/2.
The normalization by DN accounts for the factors j in ϕj′=jϕj−1. If ρ0=π, then ρt=π, and Hermite orthonormality gives At,N=DN and thus Gt=I. More generally, for z∈RN, Hermite orthogonality and m≤rt≤M give
For k<N, the product in the sum has degree at most 2N−3, while the linear term has degree N−2. Thus the coefficient of ϕ2N−2 in (ψt)N is
−NαN(t)(N−12N−2).
Hermite orthogonality, rt≥m, and centering of the residual give
(Σt)NN≥mN2αN(t)2(N−12N−2).
Define
⟨u,v⟩At,N:=u⊤At,Nv.
Since At,N is positive definite, this is an inner product. For any vector z, apply Cauchy–Schwarz in this inner product to At,N−1z and the Nth standard basis vector eN. We have
For N≥3, the first term has degree N−2, and the product term has degree at most 2N−3 when k<N. By (B.5) and Ptϕj=e−jtϕj, the coefficient at ϕ2N−2 is
−NαN(t)e−2(N−1)t(N−12N−2).
Semigroup averaging multiplies the degree-(2N−2) Hermite component of the direct residual by e−(2N−2)t, so its squared contribution gains the factor e−4(N−1)t. The residual is centered under ρ0, where r0≥m, and (At,N)NN≤MN. The same Cauchy–Schwarz comparison in the At,N-inner product as in Lemma B.1, together with Lemma 3.4, gives
The following lemmas supply the analytic obstruction used in Lemma 3.6.
Lemma B.2 (Entire extension from coefficient decay). Suppose
s=k≥0∑γkϕkinL2(π),
and ∣γk∣≤Ce−ηk for some C,η>0. Then s agrees π-almost everywhere on R with the restriction of an entire function on C.
Proof. The generating function is
ezw−w2/2=k≥0∑k!ϕk(z)wk.
Fix R>0. For ∣z∣≤R and r>0, Cauchy's coefficient estimate gives
k!∣ϕk(z)∣≤r−k∣w∣=rmaxezw−w2/2≤r−keRr+r2/2.
Taking r=k for k≥1 yields
∣ϕk(z)∣≤k!k−k/2eRk+k/2.
Stirling’s formula therefore gives, uniformly for ∣z∣≤R,
∣ϕk(z)∣≤CRk1/4eRk.
Consequently,
∣γkϕk(z)∣≤C⋅CRk1/4e−ηk+Rk.
For all sufficiently large k, −ηk+Rk≤−ηk/2, so the right-hand side is summable in k. The Weierstrass M-test gives local uniform convergence on C, and
F(z):=k≥0∑γkϕk(z)
is entire. Its partial sums converge to s in L2(π), so some subsequence converges to sπ-almost everywhere. The same subsequence converges pointwise on R to F by the local uniform convergence above. Therefore, F=sπ-almost everywhere on R.
Lemma B.3 (The score is not entire). If r0=1, then st does not admit an entire extension for any t>0.
Proof. Fix t>0. Mehler's formula extends rt to C by
The bound r0≤M provides an integrable dominating function for the integrand and its z-derivatives, uniformly on compact subsets of C. Differentiation under the integral is therefore justified, so this extension is entire. Write z=u+iv. Then
The integral, together with its Gaussian normalization factor, equals one, and therefore
∣rt(z)∣≤Mexp(2(1−e−2t)e−2tv2).
Since v2≤∣z∣2,
∣rt(z)∣≤Mexp(2(1−e−2t)e−2t∣z∣2).
Thus rt has order at most two.
Suppose first that rt has no complex zero. The zero-free case of Hadamard factorization [Con78, Ch. XI, §3] gives rt=eQ for a polynomial Q of degree at most two. For x∈R,
rt(x)=eQ(x)=eReQ(x)eiImQ(x).
Since rt(x)>0, we have eiImQ(x)=1, and hence
ImQ(x)∈2πZ,x∈R.
The function x↦Im Q(x) is continuous, so the connectedness of R implies that it is constant. Moreover, m≤rt(x)≤M on the real axis and rt(x)=eRe Q(x), so
logm≤ReQ(x)≤logM,x∈R.
Writing Q(z)=az2+bz+c, the constancy of ImQ(x) on R implies that a and b are real, while the boundedness of ReQ(x)=ax2+bx+Re(c) on R forces a=b=0. Thus Q is constant, and normalization gives rt≡1. Since Ptϕk=e−ktϕk and r0∈L2(π), injectivity of Pt then gives r0≡1, a contradiction. Therefore rt has a complex zero.
Suppose that an entire function S agrees with st almost everywhere on R. Since both functions are continuous there, they agree everywhere on R. The identity pt=rtpπ gives
rt(x)rt′(x)=st(x)+x=S(x)+x,x∈R.
The entire function
F(z):=rt′(z)−(S(z)+z)rt(z)
therefore vanishes on R. The identity theorem gives
rt′(z)=(S(z)+z)rt(z),z∈C.
Since S(z)+z has an entire primitive,
rt(z)=rt(0)exp(∫0z(S(w)+w)dw),
which is zero-free. This contradiction proves the lemma.
B.4 Remaining variance-growth proofs
We now combine the preceding technical ingredients to prove the fixed-time variance bounds.
Proof of Lemma 3.6. Fix t>0. Since 0≤ΔN(t)≤BN−1OU(t), the approximation increments are uniformly bounded, so the limit superior in (12) is at most zero. If it were strictly less than zero, then ΔN(t)≤Ce−ηN for some C,η>0 and all sufficiently large N. Since BNOU(t)↓0, telescoping would give
BNOU(t)=j>N∑Δj(t)≤C′e−ηN.
By (B.3), ∣γN(t)∣2≤HN(t)≤BNOU(t)/m. Thus the Hermite coefficients of st decay exponentially, and Lemma B.2 would give an entire extension of st. This contradicts Lemma B.3, proving (12).
Proof of Theorem 3.1. Fix t>0. Proposition 3.5 gives
VN(t)≳m,MΔN(t)(N−12N−2).
By Stirling’s formula, (N−12N−2)=4N−o(N). Taking N−1 log and the limit superior, Lemma 3.6 therefore yields
N→∞limsupN1logVN(t)≥log4,
proving (7).
Proof of Theorem 3.2. Fix t > 0. Proposition 3.5 gives
VNOI(t)≳m,MΔN(t)e−4(N−1)t(N−12N−2).
Taking N−1 log and the limit superior, using (N−12N−2)=4N−o(N) and Lemma 3.6, gives
N→∞limsupN1logVNOI(t)≥log4−4t,
proving (8).
B.5 Local minimax lower bound
Proof of Theorem 3.7. Fix t>0 and N≥1. Write c⋆:=ct,N⋆, ψOI:=ψt,NOI, ΣOI:=Σt,NOI, and Γ:=At,N−1/2ΣOIAt,N−1/2. If Γ=0, then VNOI(t)=0 and the result is immediate. Otherwise, let q:=rank(Γ) and let v1,…,vq be orthonormal eigenvectors of Γ with positive eigenvalues λ1,…,λq. Since the remaining eigenvalues vanish,
j=1∑qλj=tr(Γ)=tr(At,N−1ΣOI)=VNOI(t).
For X0∼ρ0, set Zj:=vj⊤At,N−1/2ψOI(X0) and hj:=Zj/λj. The population normal equations give Eρ0Zj=0, while Eρ0[ZjZk]=λjδjk. Thus the hj form an orthonormal family in L02(ρ0):={h∈L2(ρ0):Eρ0h=0}.
Bounded centered functions are dense in L02(ρ0), so choose h1,…,hq arbitrarily close to h1,…,hq in L2(ρ0). Define Ckℓ:=Eρ0[Zkhℓ]. Since hℓ→hℓ in L2(ρ0), Ckℓ→λkδkℓ, so C is invertible once the approximations are sufficiently close. Define the bounded centered functions
gj:=λjℓ=1∑qhℓ(C−1)ℓj,j=1,…,q.
Then
Eρ0[Zkgj]=λjℓ=1∑qCkℓ(C−1)ℓj=λjδkj.
To verify the norm bound, define Bkℓ:=⟨hk,hℓ⟩L2(ρ0). Since Zk=λkhk, we have Ckℓ=λkBkℓ and therefore λj(C−1)ℓj=(B−1)ℓj. Hence gj=∑ℓ=1qhℓ(B−1)ℓj. As B→Iq, it follows that gj→hj in L2(ρ0). Taking the approximations sufficiently close therefore ensures Eρ0[gj2]≤2 for every j.
For θ∈{−1,1}q, set Gθ:=∑j=1qθjgj and K:=maxθ∥Gθ∥∞<∞. Fix a sufficiently small numerical constant δ>0, set εn:=δ/n, and define dρ0,θ,n/dρ0:=1+εnGθ. Centeredness gives total mass one, and εnK→0 gives positivity for all sufficiently large n. Moreover, r0,θ,n=r0(1+εnGθ). Since m+η≤r0≤M−η, the bounds m≤r0,θ,n≤M hold uniformly in θ for all sufficiently large n. Also, ∥r0,θ,n−r0∥∞≤(M−η)εnK→0, so r0,θ,n≡1 for all sufficiently large n. Hence the ρ0,θ,n satisfy (5), and
θmaxdρ0dρ0,θ,n−1∞≤nδK.
We next determine how the perturbations change the population polynomial projection. For any bounded centered g, let dρ0,εg/dρ0:=1+εg, Aε:=Eρ0,εg[at(X0)],bε:=Eρ0,εg[bt(X0)], and cε⋆:=Aε−1bε.
Differentiating Aεcε⋆=bε at ε=0 and using ψOI=bt−atc⋆ gives
dεdcε⋆ε=0=At,N−1Eρ0[ψOI(X0)g(X0)].
For g=gj, it follows that
vk⊤At,N1/2dεdcε⋆ε=0=Eρ0[Zkgj]=λjδkj.
Let cθ,n⋆ denote the population coefficient vector corresponding to ρ0,θ,n. Since Gθ=∑j=1qθjgj, the preceding derivative calculation and smooth dependence of Aε−1bε on ε give
vj⊤At,N1/2(cθ,n⋆−c⋆)=εnθjλj+O(εn2),
where the remainder is uniform in θ because N, and hence the hypercube, is fixed. Therefore, for all sufficiently large n, the sign of vj⊤At,N1/2(cθ,n⋆−c⋆) is θj, and its absolute value is at least εnλj/2.
Set wj:=(fAt,N−1/2vj)′. By the definition of At,N, these functions satisfy ⟨fu′,fv′⟩L2(ρt)=u⊤At,Nv, and hence
Let ft,N,θ,n⋆:=fcθ,n⋆ denote the population OISM fit associated with the initial law ρ0,θ,n. By the semigroup identity, this is also the population score-matching fit under ρt,θ,n. Hence, as in Section 3.1,
(ft,N,θ,n⋆)′=projPN−1L2(ρt,θ,n)st,θ,n.
Define ζj(θ):=⟨(ft,N,θ,n⋆)′−(ft,N⋆)′, wj⟩L2(ρt). Then ζj(θ)=vj⊤At,N1/2(cθ,n⋆−c⋆), so for all sufficiently large n its sign is θj and ∣ζj(θ)∣≥εnλj/2.
Now let s be an arbitrary measurable estimator based on the initial sample. It is enough to consider estimators with finite risk under every alternative, since otherwise the desired lower bound is immediate. For large n, uniform equivalence of ρt,θ,n and ρt ensures that finite L2(ρt,θ,n) risk gives the L2(ρt) integrability required below. Set ζj:=⟨s−(ft,N⋆)′, wj⟩L2(ρt) and θj:=sign(ζj), with any fixed convention at zero. If θj=θj, then ∣ζj−ζj(θ)∣≥∣ζj(θ)∣≥εnλj/2. Bessel's inequality therefore gives
It remains to show that neighboring vertices are statistically difficult to distinguish. We use
TV(P,Q):=21∫∣dP−dQ∣,χ2(P∥Q):=∫(dQdP−1)2dQ,P≪Q.
Let θ(j) denote θ with its jth coordinate flipped. Since Gθ−Gθ(j)=2θjgj and, for large n, 1+εnGθ(j)≥1/2, we have χ2(ρ0,θ,n∥ρ0,θ(j),n)≤16εn2. The inequality KL(P∥Q)≤χ2(P∥Q) and tensorization bound the product KL divergence by 16nεn2=16δ2. Pinsker's inequality therefore gives
We now apply the coordinatewise Assouad pairing argument [Yu97]. For a fixed coordinate j, call θ,θ(j)∈{−1,1}q neighbors if they differ only in the jth coordinate:
θk(j)=θk(k=j),θj(j)=−θj.
Pair each vertex θ with θj=1 with its unique neighbor θ(j). The other q−1 coordinates are arbitrary, so there are 2q−1 such disjoint pairs, and every vertex of {−1,1}q belongs to exactly one pair. Since the correct jth signs under the two hypotheses are +1 and −1, respectively, the sum of the two neighboring testing error probabilities satisfies
This is the minimax risk measured in the fixed base norm L2(ρt).
To pass from the fixed base norm to the perturbed norm, the OU transition kernel gives
dρtdρt,θ,n(Xt)=E[1+εnGθ(X0)∣Xt].
Hence 1−εnK≤dρt,θ,n/dρt≤1+εnK. For all sufficiently large n, this implies ∥f∥L2(ρt,θ,n)2≥21∥f∥L2(ρt)2 for every measurable f. Combining the preceding estimates gives
C Proofs for Fourier approximation under heat flow
This section proves the heat-flow results in two stages. We first separate the integrated score error into approximation and estimation terms. Fourier truncation controls the approximation term, while the identity (Lemma C.5) controls the additional derivative in the Fourier bound after integration in time. For the estimation term, a matrix lower bound imposed at time zero propagates along the heat flow, and entropy dissipation controls the residual covariance after integration in time. We then transfer the resulting score bound to Kullback–Leibler loss and apply a classical lower bound for smooth density estimation.
C.1 Fourier coordinates and the population fit
We use the Fourier coordinates and OISM coefficients (15) from Section 4.1. For readability, throughout this appendix we suppress the superscript OI and, for fixed N, the cutoff subscript on residuals and covariances; the abbreviated symbols refer to these operator-informed Fourier quantities. Write At,N:=At,NOI and bt,N:=bt,NOI. Define
ct,N⋆:=At,N−1bt,N,ft,N⋆:=fct,N⋆.
On CN, write ct,N:=ct,NOI. The population and empirical minimizers are conjugate symmetric whenever they are uniquely defined, so they represent real-valued potentials. Introduce the centered residual
The population normal equations give Eρ0ψt(X0)=0.
Lemma C.1 (Population matrix bounds). If m≤p0≤M, then, for every t≥0,
mKN⪯At,N⪯MKN.(C.2)
In particular, At,N is positive definite.
Proof. The heat semigroup preserves the bounds m≤pt≤M. For every c∈CΛN, Parseval's identity gives
c†At,Nc=∫Td∣∇fc∣2ptdν,c†KNc=∫Td∣∇fc∣2dν.
Multiplying the second identity by the lower and upper bounds for pt proves (C.2).
To verify ∣ΛN∣≍dNd in (14), note that the Euclidean ball of radius N contains a cube of side length 2N/d and is contained in the cube [−N,N]d. Counting lattice points and removing the origin gives
(2⌊N/d⌋+1)d−1≤∣ΛN∣≤(2⌊N⌋+1)d−1.
For N≥d, the inequality ⌊N/d⌋≥N/(2d) makes the lower bound at least d−d/2Nd; the upper bound is at most 3dNd for every N≥1. The same lower bound holds for 1≤N<d because ΛN contains the coordinate unit vectors. Thus the comparison constants depend only on d.
C.2 Integrated approximation error
We first derive the derivative bounds supplied by the periodic Hölder class. Fourier truncation of the score involves one additional derivative of logpt, which the identity from Lemma C.5 will control after integration in time.
Lemma C.2 (Derivative bounds for the periodic Hölder class). Let s≥1 be an integer. There exists a constant C=C(d,s,L) such that, for every p∈Ps(m,M,L), p has weak derivatives through order s and
DβpL∞(ν)≤C,1≤∣β∣≤s.
For ∣β∣≤s−1, the derivatives are classical, while those of order s are understood weakly.
Proof. For ∣β∣=s−1, the function Dβp is L-Lipschitz. By Rademacher's theorem and the weak differentiability of Lipschitz functions, all weak derivatives of order s exist and satisfy
∥Dαp∥L∞(ν)≤L,∣α∣=s.
If s=1, this already proves the claim. We now assume s≥2.
For 1≤∣β∣≤s−1, periodicity gives
∫TdDβpdν=0.
Continuity and connectedness imply that Dβp vanishes somewhere. Since the torus has diameter πd,
DβpL∞(ν)≤πdLip(Dβp).
At order s−1, the defining Lipschitz bound for Ps(m,M,L) therefore gives
∣β∣=s−1maxDβp∞≤πdL.
For 1≤r≤s−2 and ∣β∣=r,
Lip(Dβp)≤∇Dβp∞≤d∣γ∣=r+1max∥Dγp∥∞.
Combined with the zero-mean estimate above, this shows that a uniform L∞ bound at order r+1 yields one at order r, and descending from r=s−2 to r=1 proves the claim with C=C(d,s,L) uniformly over p∈Ps(m,M,L).
This is the periodic analogue of the lower-derivative control in Chewi et al. [CKMM26, Appendix C.3].
Corollary C.3 (Derivative bounds along heat flow). Let p0∈Ps(m,M,L) and set pt=Ptp0 for t≥0. Then
m≤pt≤M,t≥0.
Moreover, there exists C=C(d,s,L) such that, for every multi-index β with 1≤∣β∣≤s,
Dβpt=Pt(Dβp0),t≥0.
At t = 0, derivatives of order s are understood weakly; for every t > 0, all derivatives are classical. In particular,
t≥0supDβptL∞(ν)≤Dβp0L∞(ν)≤C.(C.3)
For every t>0, both pt and logpt belong to C∞(Td).
Proof. Order preservation and Pt1=1 give m≤pt≤M. For t>0, Pt is convolution with the smooth periodic heat kernel Kt, so Ptp0∈C∞(Td) and its derivatives are classical, with the following identity holding in the sense of distributions:
DβPtp0=Dβ(Kt∗p0)=Kt∗Dβp0=Pt(Dβp0).
Since Pt is an L∞-contraction, Lemma C.2 yields
Dβpt∞≤Dβp0∞≤C.
Since pt≥m>0, also logpt∈C∞(Td) for t>0.
Lemma C.4 (Fourier truncation of the score). Fix an integer s≥1 and t>0. If 0<pt≤M and ut:=logpt∈Cs+1(Td), then
Because ut is real-valued, ΠNut is an admissible potential. The omitted constant has zero gradient, and Fourier truncation commutes with differentiation. Using this potential in the approximation problem and then applying pt≤M and Parseval's identity gives
By Parseval's identity and dominated convergence applied to the Fourier coefficients, Pεh→h in L2(ν) as ε↓0, and therefore ∥Pεh∥L2(ν)2→∥h∥L2(ν)2. Since the integrand is nonnegative and [ε,T] increases to (0,T], monotone convergence gives
∫εT∥∇Pth∥L2(ν)2dt⟶∫0T∥∇Pth∥L2(ν)2dt,
proving (C.5).
Lemma C.6 (Integrated regularity bound). Let p0∈Ps(m,M,L). There is C=C(d,s,m,M,L) such that, for every T>0,
Proof. Corollary C.3 gives all the regularity needed below. For t>0, pt and logpt are smooth, so the classical multivariate Faà di Bruno formula applies. Fix i0,…,is∈{1,…,d} and, for a nonempty subset B⊆{0,…,s}, write ∂iB:=∏ℓ∈B∂iℓ. Then
For each partition, we apply Lemma C.5 to the factor containing the derivative ∂i0. Let B0 be the unique block containing the index 0, and set
h0:={∂iB0∖{0}p0,p0,B0={0},B0={0}.
Here the indicated derivative of p0 is weak when necessary. Its order is ∣B0∣−1≤s, so Lemma C.2 gives h0∈L2(ν). Commutation with the heat semigroup yields
∂iB0pt=∂i0Pth0.
This separates one derivative to which Lemma C.5 applies, including when B0 contains all s+1 indices.
Every other block B=B0 excludes the index 0 and therefore has at most s elements. Corollary C.3 and pt≥m consequently give
Bounding all but the distinguished factor in L∞ gives
B∈Q∏pt∂iBptL2(ν)2≤C∥∂i0Pth0∥L2(ν)2,
where the contribution of the at most s nondistinguished factors has been absorbed into the constant C=C(d,s,m,M,L) (we treat the empty product as evaluating to 1). Integrating and applying Lemma C.5, we obtain
The last norm is uniformly bounded. If h0=p0, then ∥p0∥L2(ν)≤M∫p0dν=M. Otherwise, Lemma C.2 bounds h0 in L∞(ν), and hence in L2(ν) since ν is a probability measure.
Applying Cauchy–Schwarz to the finite sum over partitions in (C.7) gives
Both sums run over the finitely many partitions of {0,…,s}. Their number and the coefficients (∣Q∣−1)! depend only on s, while (C.8) and the preceding bound on ∥h0∥L2(ν) uniformly bound the time integral of each term in the second sum, so these finite factors can be absorbed into C=C(d,s,m,M,L). Therefore, for each fixed tuple (i0,…,is),
∫0T∥∂i0⋯∂islogpt∥L2(ν)2dt≤C,
uniformly in T. There are exactly ds+1 such tuples in {1,…,d}s+1; summing and absorbing this factor into C proves (C.6).
Proof of Proposition 4.2. For every t>0, the smoothness of logpt permits the use of Lemma C.4. Integrating its bound and applying (C.6) gives
The pointwise Fourier bound involves s+1 derivatives of logpt, but only s derivatives of the initial density are required: after integration in time, Lemma C.5 supplies the remaining derivative.
C.3 Variance and finite-sample estimation
The empirical argument uses only one conditioning event. A lower bound for the empirical matrix at time zero propagates to every later time by the Schur product theorem. The estimation error can then be controlled by the integrated covariance of the centered normal equations.
Lemma C.7 (Integrated residual covariance). If p0 is a density bounded above by M, then
∫0Ttr(KN−1Σt)dt≤∣ΛN∣(1+2logM).(C.9)
Proof. At positive times heat smoothing makes pt smooth and strictly positive, so the population fit and its residual are well defined. For k∈ΛN, the first term of the residual satisfies
∣(bt(x))k∣2=∣k∣24e−2t∣k∣22.
The second term has the conditional-expectation representation
(at(x)ct,N⋆)k=Pt(∇ωk⋅∇ft,N⋆)(x).
Conditional Jensen’s inequality and the projection property give
Write I(pt):=∥st∥L2(ρt) for the Fisher information. Since KN=diag(∣k∣2:k∈ΛN) and Σt=Eρ0[ψt(X0)ψt(X0)†], the residual ψt=bt−atct,N⋆ and the coordinatewise inequality ∣a−b∣2≤2∣a∣2+2∣b∣2 give
The last inequality uses logp0≤logM wherever p0>0, with 0log0=0. For a nonsmooth p0, apply this calculation first on [ε,T] and let ε↓0; bounded convergence handles the entropy terms and monotone convergence handles the Fisher information. Integrating (C.10) and combining these bounds gives
Because A0,N⪰mKN, the event {A0,N⪰A0,N/2} is contained in CN. This proves (C.11). For propagation, write
at(x)=a0(x)∘Ct,(Ct)kℓ:=e−t∣k−ℓ∣22,
where ∘ is the Hadamard product. The Gaussian-kernel matrix Ct is positive semidefinite and KN∘Ct=KN. On CN, the Schur product theorem therefore gives
At,N−2mKN=(A0,N−2mKN)∘Ct⪰0,
which proves (C.12).
Proof of Proposition 4.3. In the complex Fourier coordinates used here, the asymptotic variance is VNOI(t)=tr(At,N−1Σt). Since At,N⪰mKN, we have At,N−1⪯m−1KN−1. Together with Σt⪰0, Lemma C.7 gives
For the finite-sample estimation bound, let ψt:=n1∑i=1nψt(X0(i)). On CN, the empirical normal equations give At,N(ct,N−ct,N⋆)=ψt. Let et:=ct,N−ct,N⋆. The empirical lower bound At,N⪰(m/2)KN and the normal equations imply
KN1/2et2≤m2KN−1/2ψt2.
Combining this with the population upper bound in Lemma C.1 gives
Here C=C(d,s,m,M,L) is independent of T. This proves (18) with constants uniform in T.
If Nn≍n1/(2s+d), then Nn−2s≍∣ΛNn∣/n≍n−2s/(2s+d), while the last term in (C.14) is exponentially smaller. This proves (19).
C.4 Kullback–Leibler risk and the minimax lower bound
It remains to connect the integrated score error with the learned reverse diffusion. The upper bound follows from a path-space change of measure and the exponential convergence of the forward heat flow to the uniform distribution ν. The matching lower bound follows by localizing the classical Hölder density-estimation lower bound to the torus and then applying Pinsker's inequality.
Proof of (25). Fix the training data. Lemma C.2 and Corollary C.3 give
t≥0sup∥∇pt∥∞≤C,pt≥m.
At t=0, the gradient is interpreted weakly when s=1. The weak chain rule for the logarithm, which has bounded derivative on [m,M], then yields
t≥0sup∥st∥∞≤mC,(C.15)
with the same weak interpretation of s0. On CN, equation (C.12), together with continuity of t↦At,N and t↦bt,N, makes t↦ct,N=At,N−1bt,N continuous. Since the Fourier space is finite-dimensional, the map (t,x)↦st,N(x) is continuous and therefore bounded on the compact set [0,T]×Td. On CNc, it is zero. Since the fitted score is a finite Fourier sum with coefficients continuous in time, its spatial derivatives are uniformly bounded on this compact time interval. Hence the learned drift is globally Lipschitz in space, uniformly in time. The learned reverse SDE is therefore well defined.
Fix ε∈(0,T). Let Qε be the path law on [0,T−ε] of
dXt←=2sT−t(Xt←)dt+2dBt,X0←∼ρT,
and let Pε be the conditional path law of the approximate reverse process X← on the same interval, initialized from ν. Following the path-space formulation of Chen et al. [CCL +23, §5.1], these are measures on the same space of continuous torus-valued paths, under which the coordinate process has the exact and learned reverse drifts, respectively. The terminal marginal of Qε is pε d ν. The truncation ensures T−t∈[ε,T], where heat smoothing gives classical regularity.
The exact and learned reverse drifts are 2sT−t and 2sT−t,N, respectively, with common diffusion coefficient 2I. The process appearing in Novikov's condition is obtained by evaluating
Thus, in this compact setting, Novikov’s condition holds directly. The factor 1/4=21(2)−2 below comes from the common diffusion coefficient; the entropy chain rule and Girsanov’s theorem give
Since the initial laws of Qε and Pε are ρT and ν, respectively, and pT=dρT/dν, the initial contribution is KL(ρT∥ν)=KL(pT∥1). Under Qε, Xt←∼ρT−t, so the drift contribution is the time integral of the squared L2(ρT−t) score error, and the change of variables r=T−t gives the second equality in (C.16).
Data processing for the terminal-time evaluation map bounds the relative entropy between the terminal marginals by the right-hand side of (C.16). As ε↓0, pε→p0 in L1(ν), hence ρε⇒ρ0, while continuity of the learned diffusion paths gives weak convergence of its law at T−ε to its law at T. Joint lower semicontinuity of relative entropy therefore gives
\mathrm{K L}\Big(\rho_{0}\left\|\mathrm{L a w}(\widehat{X}_{T}^{\leftarrow})\right\)\leq\liminf_{\varepsilon\downarrow0}\mathrm{K L}\Big(\rho_{\varepsilon}\left\|\mathrm{L a w}(\widehat{X}_{T-\varepsilon}^{\leftarrow})\right\).
Combining this with the preceding data-processing bound and monotone convergence of the nonnegative score-error integrals over [ε,T]↑(0,T] proves (25).
The first inequality follows from logx≤x−1, the second from Parseval's identity and the contraction factor e−t∣k∣22≤e−t at every nonzero frequency, and the last from ∫p02dν≤M∫p0dν=M.
Proof of Corollary 4.4. Taking expectations in (25) and applying Theorem 4.1 and (C.17), with ∣ΛN∣≍dNd, gives
Here C=C(d,s,m,M,L) and c=c(d,m)>0. For the choices N=Nn and T=Tn in the corollary,
e−2Tn=n−2s/(2s+d),Nn−2s≍n∣ΛNn∣≍n−2s/(2s+d),
and the exponential term is smaller. This proves (26).
For the matching lower bound, we give an explicit construction for Ps(m,M,L) using the standard Assouad hypercube argument. See Yang and Barron [YB99] for the classical information-theoretic minimax framework and smooth density-estimation rates. Identify Td with
F:=(−π,π]d,dν(x)=(2π)−ddx,x∈F,
and choose
Q:=(−1,1)d,Q=[−1,1]d⊂(−π,π)d.
Fix a nonzero φ∈Cc∞((−1/2,1/2)d) with ∫Rdφ(x)dx=0. For sufficiently small h>0, a regular grid packing inside Q gives centers x1,…,xJh such that xj+h supp φ are pairwise disjoint and lie compactly inside Q, with Jh≍h−d. Set
on F, and extend pθ2πZd-periodically. It equals 1 near the boundary of F, so this extension is smooth across opposite faces.
We choose a>0 sufficiently small, fixed independently of h. Every bump has zero integral, so ∫Tdpθdν=1. Disjoint supports give
j∑θjφj,h∞≤hs∥φ∥∞.
For h≤1, a sufficiently small a therefore ensures m≤pθ≤M. For ∣β∣=s−1,
Dβφj,h(x)=hDβφ(hx−xj),Lip(Dβφj,h)≤Cφ,
uniformly in h. Indeed, the gradient of the displayed derivative is bounded by a constant depending only on the fixed bump. Since the supports are disjoint and the zero extensions are smooth, the same gradient bound holds for the sum and its periodic extension. Taking a sufficiently small thus ensures max∣β∣=s−1Lip(Dβpθ)≤L. Consequently, every pθ belongs to Ps(m,M,L), with a depending only on d,s,m,M,L and the fixed bump.
Let θ(j) denote θ with only its jth sign flipped. The neighboring L1(ν) separation is
∥pθ−pθ(j)∥L1(ν)=2a(2π)−dhs+d∥φ∥L1(Rd)≍hs+d.
Disjoint supports make the L1 distance between any two members equal to this separation times the number of differing signs. Since pθ(j)≥m, the neighboring one-sample KL divergence satisfies
For n independent observations, additivity of relative entropy gives
KL((pθdν)⊗n(pθ(j)dν)⊗n)≤Cnh2s+d.
Choose h≍n−1/(2s+d) with the comparison constant sufficiently small. Using the same total-variation convention as above, write TV(p,q):=TV(pdν,qdν) for densities. Pinsker's inequality therefore bounds the total variation distance between neighboring product measures by 1/2. Assouad's lemma [Yu97] then yields