A Generalized McDiarmid Inequality: Sample Reuse and Non-Uniform Unbounded Differences
Jeremiah Birrell
Abstract
We develop a novel generalization of McDiarmid's concentration inequality and use it to obtain a uniform law of large numbers result and error bounds on stochastic optimization problems which simultaneously incorporate two key features: 1) They capture the benefit of training sample reuse in algorithms that also employ easily-sampled auxiliary random variables. 2) They allow for one-component mean-difference bounding functions which are both unbounded in the component of interest and have non-uniform dependence on another component. We demonstrate the utility of our method by deriving concentration inequalities for score-based generative modeling. This application naturally leverages both key features of our new tools: 1) It utilizes auxiliary Gaussian random variables in conjunction with the training samples; accounting for training sample reuse results in tighter error bounds by effectively integrating out the dependence on the auxiliary random variables. 2) The ability to handle non-uniform mean-difference bounding functions allows us to treat unbounded score models and data distributions with unbounded support.
Keywords concentration inequalities · uniform law of large numbers · stochastic optimization · denoising score matching
1 Introduction
In this work we derive a novel generalization of McDiarmid's bounded differences concentration inequality [13] which allows for a non-uniform one-component difference bounds and use this to derive statistical error bounds on uniform law of large numbers (ULLN) and stochastic optimization problems. Our focus is specifically on problems which inherently utilize two types of random variables: samples from the population of interest, X, and easily sampled auxiliary random variables, Y. Such situations occur in the training of score-based generative models via denoising score matching (DSM) [22, 19], which utilizes auxiliary Gaussian random variables.
The ability to generate Y samples at will motivates us to consider the statistical error of objectives which use m-times more Y-samples than X-samples, as in the following:
The principle novelty of our methods lies in their ability to simultaneously exhibit the following properties:
Our results capture the benefit of using many Y-samples per X sample; specifically, for large m our bounds reduce to those obtained on the corresponding problem with the Y-dependence integrated out, i.e., bounds on
Our methods are capable of handling unbounded objective functions and distributions with unbounded support. Specifically, the ability to handle X-distributions with unbounded support distinguishes the present work from that of [2], which also studied the problems (1)-(2) but with more restrictive tools which did not allow for applications to, e.g., DSM with unbounded X-distribution, which we cover here.
The main difficulty in achieving these goals lies in the interaction between a single Xi sample and multiple distinct Yi,j samples in (1) and (2). The new variant of McDiarmid's inequality that we develop is specifically adapted to this setting. It produces concentration inequalities which depend on moment generating function (MGF) bounds in Y which are non-uniform in X. To facilitate explicit computations, we also develop a new technique for computing such MGF bounds via Orlicz norms.
1.1 Summary of the Main Results
The following is a more detailed summary of our main results.
In Theorem 2.1 we derive a novel generalization of McDiarmid's inequality which allows for one-component mean-difference bounds (and corresponding MGF bounds) that are non-uniform in another variable.
In Lemma 2.2 we provide a tool for obtaining explicit MGF bounds which appropriately handle the non-uniform dependence on other variables. This is achieved by breaking the bounding function into multiple terms, each of which can be paired with an appropriate Orlicz norm based on its tail behavior.
In Theorem 2.4 we show how Theorem 2.1 and Lemma 2.2 can be combined to yield an explicit concentration inequality when the non-uniform bounding functions are appropriately composed of sub-Gaussian and sub-exponential terms.
In Section 3 we use Theorem 2.4 to obtain concentration inequalities for ULLN and stochastic optimization problems. In cases with sample reuse, these results capture the desired large m behavior that was discussed qualitatively above; see Remarks 4 and 6.
Finally, in Section 4 we show that, with these new tools in hand, it is straightforward to derive concentration inequalities for score-based generative models that capture the benefits of sample reuse (many Gaussian samples per training sample) while simultaneously allowing for an unbounded score model and a data distribution with unbounded support.
1.2 Related Works
The generalization of McDiarmid's original bounded differences concentration inequality [13] that we develop in this paper can be viewed as an extension of the previous works [9] and [2], both of which relaxed the uniform boundedness condition. In [9] the theory was extended to one-component Lipschitz bounds on a space with finite sub-Gaussian-diameter. In [2] the theory was further extended to non-Lipschitz one-component difference bounds which are non-uniform in subsequent variables in the chosen ordering of the components or, alternatively, to mean-difference bounds, i.e., with the dependence on subsequent variables integrated out. Related results, applicable to sub-Gaussian and sub-exponential one-component difference bounds, were also obtained in [12] by an entropy-method approach. Further, though less closely related works, include [6], which considered bounded differences on a high probability set, and [24], which obtained tighter bounds in cases where the worst-case one-component differences are large (though still uniformly bounded) but the typical differences are small.
The key innovation of the present work is a generalization to one-component difference bounds that, in addition to being unbounded, are non-uniform in subsequent variables as well as in particular earlier variables in the chosen variable ordering; this allows for applications to problems of the form (1) and (2) where gθ(x,y) has x-difference bounds that are non-uniform and unbounded in y and also has y-difference bounds that are non-uniform and unbounded in x. The aforementioned previous approaches were not capable of handling this type of behavior. We do note that the constants in the classical McDiarmid inequality are better than those in the present work, as well as the other extensions to unbounded differences cited here, when one only has uniform bounds on one-component differences; this fact was previously discussed in [9, 2] and the same discussion applies here. The key advantage of our method lies in the ability to treat a more general class of unbounded non-uniform one-component differences than could previously be handled. Table 1 summarizes the key differences between our method, the classical McDiarmid inequality, and other extensions which apply to unbounded one-component differences.
Table 1: Comparison of our Theorem 2.1 with the generalized McDiarmid result from [2], the entropy-based approach of [12], the sub-Gaussian diameter method from [9], and McDiarmid's inequality [13].
Method
Tail behaviors covered
Allows non-uniform dependence on earlier variables
Allows non-uniform dependence on later variables
Tightest constants
Theorem 2.1
General MGF or Orlicz-norm bound
yes
yes
no
Generalized McDiarmid [2]
General MGF or Orlicz-norm bound
no
yes
no
Entropy method [12]
sub-Gaussian or sub-exponential
no
no
no
Sub-Gaussian diameter [9]
sub-Gaussian
no
no
no
McDiarmid's inequality [13]
compact support
no
no
yes
To demonstrate the utility of our results, in Section 4 we apply them to score-based generative models [19]; specifically, we obtain statistical error bounds, in the form of concentration inequalities, on the denoising score matching objective [22]. A number of works have derived convergence results or error bounds for score-based generative models under various assumptions [4, 17, 1, 10, 11, 18, 5, 14, 7]. Closest to our work on DSM are: 1) the L1 error bounds and bounds on the estimation error in the form of expected total variation and 1-Wasserstein distance in [16], 2) the use of a weaker generalization of McDiarmid's theorem in [2] to obtain concentration inequalities for DSM. The application to DSM in this work is distinguished by our simultaneous treatment of Gaussian sample reuse, unbounded score models, and data distributions with unbounded support; none of the aforementioned methods were capable of simultaneously exhibiting all of these features. In particular, the previous works [16, 2] only treated data distributions with compact support. Thus our results substantially extend the domain of applicability of the theory.
2 A Generalized McDiarmid Inequality via Non-Uniform MGF Bounds
In this section we develop our new variant of McDiarmid's inequality which allows for non-uniform mean-differences bounds. We will focus on one specific form of non-uniformity, where the variables can be ordered and partitioned into groups such that the earlier-variable non-uniformity is all with respect to the first variable of each grouping, while any later-variable non-uniformity is integrated out. This is the relevant setting for problems with dual sample types and sample reuse, as in (1) and (2).
Assumption 1. Let n∈Z+, mi∈Z+ for i=1,…,n. Suppose we have measurable spaces Xi, i=1,…,n, Yi,j, i=1,…,n, j=1,…,mi; define Zi:=Xi×∏j=1miYi,j and Z:=∏i=1nZi (with the product σ-algebras).
Suppose we have a probability space (Ω,P) on which we have Xi-valued random variables Xi, i=1,…,n, and Yi,j-valued random variables Yi,j, i=1,…,n, j=1,…,mi, that are all mutually independent. We let PXi denote the distribution of Xi and PYi,j denote the distribution of Yi,j. We will also make use of the definitions Yik:ℓ:=(Yi,k,Yi,k+1,…,Yi,ℓ), Zi:=(Xi,Yi,1,…,Yi,mi), Zk:ℓ:=(Zk,Zk+1,…,Zℓ) (the case where k>ℓ simply means this term is to be omitted) and Z:=(Z1,…,Zn). We use similar lower-case notation for elements of the product spaces that correspond to the codomains of these random variables.
Suppose also that we have a measurable function ϕ:Z→R which satisfies the following:
Integrability: ϕ(Z)∈L1(P) and for i=1,…,n, ℓ=0,…,mi, we have
ϕ(z1:i−1,xi,yi1:ℓ,Yiℓ+1:mi,Zi+1:n)∈L1(P)(5)
for all z1:i−1,xi,yi1:ℓ.
One-component mean-difference bounds for X: For i=1,…,n, we have measurable hXi:Xi×Xi→[0,∞] such that
Remark 1. We emphasize that our results are still applicable when there is no sample reuse, i.e., when mi=1 for all i, though that is not our focus.
We now proceed to derive the our generalization of McDiarmid's inequality. Here and in the following we will use Pk to denote the k-fold product of a probability measure P.
Theorem 2.1. Under Assumption 1, suppose we also have the following MGF bounds:
X-MGF bounds: We have ξXi:[0,∞)→[0,∞], i=1,…,n, such that
∫cosh(λhXi)dPXi2≤exp(ξXi(∣λ∣))forallλ∈R.(8)
Non-uniform Y-MGF bounds: We have ξYi,j:Xi×[0,∞)→[0,∞], i=1,…,n, j=1,…,mi, such that ξYi,j(⋅,λ) is measurable for all λ∈[0,∞) and
Remark 2. Note that (8) is equivalent to a MGF bound for ζhXi(xi,x~i) under the distribution dζ×PXi(dxi)×PXi(dx~i), where dζ is the uniform distribution on {−1,1}, and similarly for (9). Thus we refer to (8)-(9) as (cosh-form) MGF bounds.
We emphasize that the key innovation of the present result, as compared to the related works discussed in Section 1.2, is the ability to treat (unbounded) non-uniform dependence of the mean-difference bound for Y(7) on the corresponding X-variable (with corresponding non-uniform MGF bound (9)).
and note that ϕi,mi=ϕi for all i; the integrability assumptions imply these are all real-valued. For i=1,...,n define Vi:=ϕi−ϕi−1 and Vi,0:=ϕi,0−ϕi−1. For i=1,...,n, j=1,...,mi, define Vi,j:=ϕi,j−ϕi,j−1, i=1,...,n; note that Vi depends on z1:i and Vi,j depends on (z1:i−1,xi,yi1:j). We have the telescoping sums
This proves the claimed MGF bound. The claimed concentration inequality then follows via a standard Chernoff bound.
The key to using Theorem 2.1 in practice is obtaining MGF bounds of the form (9) that will translate to a non-trivial upper bound in (11). More precisely, the difficulty lies in the need to obtain ξyi,j(xi,∣λ∣) that are finite in a non-trivial λ-interval for a.e. xi; in our target applications, where xi is unbounded, this is generally a non-trivial task. In the following subsection we will develop a technique for accomplishing this by splitting the bounding functions hyi,j into multiple terms which are controlled by different Orlicz norms and appropriately combining those bounds.
2.1 Cosh-form MGF Bounds via Orlicz Norms
Given a (non-decreasing) Young function Ψ, we will denote the corresponding Orlicz (Luxemburg) norm of a random variable X by ∥X∥Ψ (or ∥X∥Ψ,P if we want to emphasize the role of the underlying probability measure, P). For the definition of and background on Orlicz norms see, e.g., Chapter 2.2 in [20]. We will make use of the following bound on the cosh-form MGF of a sum of random variables, where each term in the sum is able to use a different Orlicz norm (this generalizes Lemma 2.3 in [2], which covered the k=1 case). This ability to use a different Orlicz norm for each term will be key for obtaining non-trivial bounds of the form (9) in our applications.
Lemma 2.2. Let Ψi, i=1,...,k be non-decreasing Young functions, (Ω,F,P) be a probability space and Xi, i=1,...,k be real-valued random variables on Ω with ∥Xi∥Ψi<∞ for all i. Then for all si∈(0,1), i=1,...,k, satisfying ∑isi=1 and all λ∈R we have
2.2 Concentration Inequalities in Terms of Orlicz-Norm Bounds
Now we will combine Theorem 2.1 with Lemmas 2.2 and 2.3 to obtain a concentration inequality in terms of Orlicz norm bounds on the Y-component mean-difference bounding functions. Our focus is on cases where those bounding functions can be decomposed into appropriate sub-exponential and sub-Gaussian terms. Recall that ∥X∥Φ1<∞ is equivalent to X being sub-exponential and ∥X∥Φ2<∞ is equivalent to X being sub-Gaussian, where Φq was defined in (26).
Theorem 2.4. Under Assumption 1, suppose we also have the following:
MGF bounds on X: For i=1,…,n, we have ξXi:[0,∞)→[0,∞] such that
For i=1,…,n, let pi∈(1,∞) and qi be the conjugate exponent to pi, and for i=1,…,n, j=1,…,mi, let si,j∈(0,1). Then for all ϵ>0 we have the concentration inequality
Remark 3. For now we leave the MGF bound (30) in the general form as it is much less delicate than the Y-MGF terms; bounds of the form (30) can be obtained standard techniques, see [3, 21, 23], and also via the k = 1 case of Lemma 2.2 (as found in [2]) for any choice of non-decreasing Young function.
Proof. Define Δhyi,j(xi,yi,j,y~i,j):=rXi(xi)kyi,j(yi,j,y~i,j). First we verify the condition (9). For all xi∈Xi, λ∈R, we can use Lemma 2.2 to compute
where we used Lemma 2.3 to bound the MGF of rXi2. Combining (40)-(42) and simplifying, we arrive at the claimed concentration inequality.
3 ULLN and Stochastic Optimization
Theorems 2.1 and 2.4 are the key new tools developed in this paper. In this section we will use them to derive a corresponding ULLN result as well as concentration inequalities for stochastic optimization problems; see Theorems 3.1 and 3.3 below. The proofs of Theorems 3.1 and 3.3 use similar arguments to those made in [2], but we emphasize that, because of our aforementioned new tools, the assumptions required below are substantially weaker than those made in the corresponding results in [2]. This enables new applications, as we will demonstrate in Section 4.
3.1 A ULLN Concentration Inequality with Non-Uniform MGF Bounds
In this section we use Theorem 2.4 to derive a novel ULLN result that allows for sample reuse and non-uniform MGF bounds. We will work under the following assumptions.
Assumption 2. Let (X,PX), (Y,PY) be probability spaces and suppose the following:
We have a nonempty collection G of measurable function g:X×Y→R.
Under these assumptions, we prove the following concentration inequality.
Theorem 3.1. Let G be a countable collection of measurable functions g:X×Y→R for which Assumption 2 holds. Suppose we have a probability space (Ω,P), i.i.d. X-valued random variables Xi, i=1,…,n distributed as PX, and i.i.d. Y-valued random variables Yi,j, i=1,…,n, j=1,…,m distributed as PY; suppose the Xi, Yi,j are all mutually independent and define Zi=(Xi,Yi,1,…,Yi,m) and Z=(Z1,…,Zn).
In light of (45), the large m (approximate) result (52) can be viewed as the result of our method (or, equivalently in this case, the result of the methods in [2] and [9]), as applied to the family of function x↦EPY[g(x,⋅)]. In other words, for large m our result approaches the bound on the corresponding problem with the Y-dependence integrated out. Thus our result captures the benefit of sample reuse, matching the motivating discussion from Section 1.
Proof. Note that the assumptions imply h0,y,ky∈L1(PY2) and rx∈L1(PX). Therefore hy∈L1(PX×PY×PY) and
Therefore the assumptions of Theorem 2.4 hold for ϕt with
ξXi(λ):={ξX(λ/n)∞if0≤λ<nKXotherwise(65)
h0,yi,j:=nm1h0,y,rXi:=nm1rX,kyi,j:=ky. Hence, after substituting the relevant quantities into (33), changing variables from λ to nλ, and then simplifying, we obtain
for any choice of conjugate exponents p,q∈(1,∞). In order to ensure the upper bound approaches (as m→∞) the corresponding result with the Y-dependence integrated out, choose ρ>0 such that ρm>1 and apply the above to q=ρm, p=q/(q−1)=(1−(ρm)−1)−1; after further simplification, this yields the claimed result.
Under additional assumptions, the expected value of ϕt(Z) in (49) can be bounded using Lemma 3.9 from [2]; this result is repeated below for the convenience of the reader.
Assumption 3. Let (Θ,dΘ) be a non-empty pseudometric space, (X,PX), (Y,PY) be probability spaces, and gθ:X×Y→R, θ∈Θ, be measurable. Suppose that we have the following:
c:Θ→R and h:X×Y→[0,∞) such that h∈L1(PX×PY) and ∣gθ−cθ∣≤h for all θ∈Θ.
A measurable L:X×Y→(0,∞) such that θ↦gθ(x,y)−cθ is L(x,y)-Lipschitz with respect to dΘ for all x∈X, y∈Y.
Remark 5. We allow for a nonzero cθ in order to cancel a possible parameter that shifts the output of gθ (e.g., as in the bias parameter of the output layer of a neural network).
Lemma 3.2. Under Assumption 3, for n,m∈Z+ and Θ0 a countable subset of Θ we have
DΘ:=supθ1,θ2∈ΘdΘ(θ1,θ2) is the diameter of Θ, and N(r,Θ,dΘ) denotes the size of a minimal r-cover of Θ with respect to the pseudometric dΘ.
Moreover, when Θ is the unit ball (under some norm) in Rk and dΘ is the corresponding metric then a standard computation (see, e.g., Example 5.8 in [23]) gives the entropy integral bound
which implies Cn,m=O(n−1/2), provided that L∈L2(PX×PY).
Remark 6. The bound
∫EPY(dy)[L(x,y)]2PX(dx)≤EPX×PY[L(x,y)2](70)
follows from Jensen's inequality. Thus Cn,m is non-increasing in m, thus capturing the benefit of sample reuse. Furthermore, when m is large (68) can be interpreted as (approximately) justifying the use of EPY(dy)[L(x,y)] in place of L(x,y), i.e., the y dependence has been integrated out. Thus the result is (approximately) what one would obtain by replacing the empirical Y-averages with an expectation over PY. This aligns with the intuition behind the use of many Y-samples per X sample, as discussed in Section 1.
3.2 Concentration Inequalities for Stochastic Optimization Problems
Here we build on 3.1 to obtain concentration inequalities for stochastic optimization problems which capture the benefit of sample reuse and allow for non-uniform MGF bounds. Our goal is to bound the error inherent in solving the empirical problem,
in place of the population problem, infθEPX×PY[gθ]. More specifically, we will derive concentration inequalities for the excess statistical error
EPX×PY[gθn,m∗]−θinfEPX×PY[gθ].(72)
We will require the following additional assumptions (which also allow θn,m∗ to only approximately solve the empirical problem (71)).
Assumption 4. In addition to Assumption 3, assume that Θ is equipped with a σ-algebra and g:Θ×X×Y→R is measurable.
Suppose we also have a probability space (Ω,P) and i.i.d. X-valued random variables Xi, i=1,…,n, distributed as PX and i.i.d. Y-valued random variables Yi,j, i=1,…,n, j=1,…,m, distributed as PY; suppose the Xi, Yi,j are all mutually independent. Suppose there exists ψ∈L1(PX×PY) such that g≥ψ. Let ϵn,mopt≥0 and suppose we have a Θ-valued random variable θn,m∗ that satisfies
(note that infθ∈Θnm1∑i=1n∑j=1mgθ(Xi,Yi,j) is finite).
Remark 7. By separability of a pseudometric space, we mean there exists a countable subset Θ0⊂Θ such that for all θ∈Θ there exists a sequence θj∈Θ0 such that dΘ(θj,θ)→0 (i.e., a countable dense subset).
We will now derive a concentration inequality for the excess statistical error (72).
Theorem 3.3. Let (Θ,dΘ) be a non-empty pseudo-metric space, (X,PX), (Y,PY) be probability spaces, and gθ:X×Y→R, θ∈Θ that satisfy Assumption 2 (with G:={gθ:θ∈Θ}) and Assumption 4.
Let s∈(0,1) and ρ>0 such that ρm>1. Then for all ϵ>0 we have
Remark 8. Based on the discussions in Remarks 4 and 6, this result captures the benefits of sample reuse (large m) in a way that matches the qualitative discussion in Section 1, i.e., under appropriate assumptions it approaches the corresponding bound on the problem with the Y-dependence integrated out.
Proof. Let Θ0 a countable dense subset of Θ and define ϕ±:∏i=1n(X×Ym)→R by
where the second line follows from density of Θ0 along with the dominated convergence theorem (applied to gθ−cθ along appropriate sequences in Θ0). We have the P-a.s. error decomposition
Theorem 3.1 applied to ϕ1/2 then yields the claimed result.
4 Application to Score-Based Generative Models
In this section we use the results developed above to bound the statistical error of score-based generative models. This application leverages both key features of our method; it employs auxiliary Gaussian random variables and the inherent coupling between the Gaussian samples and the training data samples naturally leads to the type of non-uniform MGF bounds that can be treated via our results but not by previous approaches.
Score-based generative models are trained using a pair of forward (noising) and time-reversed (denoising) SDEs [19]. Samples from the target distribution are noised and these noise samples are then used to train a score model (vector field) sθ(x,t); this is then used in the denoising SDE to generate new samples. There are several different methods that can be used to train the score model; here we will focus on the commonly used denoising score matching (DSM) objective [22]. Training a score model via DSM leads to a stochastic optimization problem of the form studied in Theorem 3.3. More specifically, given c≥0, a continuous noise strength σt>0, and timesteps tj∈(0,T], j=1,...,J, a training sample x∈Rd and a noise sample y∈Rd, the noising dynamics are defined zt:=e−ctx+σty,
σt2:=∫0te−2c(t−s)σs2ds.(81)
The DSM training problem is then a stochastic optimization problem of the form (71) with objective
employing samples Xi∼PX (the data distribution), Yi,j∼N(0,Id) (the noise distribution); here and in the following, ∥⋅∥ will denote the 2-norm on Rd. As mentioned above, this problem naturally incorporates both key novel features of the tools developed in this paper: 1) The auxiliary noising random variables are easy to sample at will, thus it is natural to reuse the training data with different Gaussian samples in the noising dynamics (i.e., over multiple training epochs). 2) The score model is generally unbounded and the objective (82) couples the x and y samples. When the support of the data distribution is unbounded, this naturally leads to the necessity of considering MGF bounds of the form (9) which are not uniform in the xi.
Theorem 4.1. Suppose we have a data distribution PX on Rd, a non-empty separable pseudometric space (Θ,dΘ) equipped with a σ-algebra, and a measurable score model s:Θ×Rd×[0,T]→Rd that satisfy the following.
We have q~≥1 such that for all (z,t), the map θ↦sθ(z,t) is Lipschitz (with respect to (dΘ,∥⋅∥)) with Lipschitz constant αt+βt∥z∥q~.
For all θ∈Θ we have a linear growth bound ∥sθ(z,t)∥≤at+bt∥z∥.
For all θ∈Θ and all t, the map z↦sθ(z,t) is Lt-Lipschitz.
The function x∈Rd↦∥x∥ is sub-Gaussian under PX.
Suppose we have a probability space (Ω,P) on which we have Xi∼PX, and Yi,j∼PY:=N(0,Id), i=1,…,n, j=1,…,m, that are all mutually independent, along with a Θ-valued random variable θn,m∗ that is an approximate minimizer of the empirical DSM problem:
and the relevant quantities needed to compute these bounds explicitly are defined and shown to be finite in the course of the proof below.
Remark 9. As previously noted, for appropriate finite dimensional parameterizations the error decays as Cn,m=O(n−1/2); see Lemma 3.2. The supremum on the right-hand side of (84) is reminiscent of those appearing in Bernstein-type concentration inequalities, apart from the denominators involving λ2 in place of λ. However, the asymptotic behavior for small ϵ is the same, leading to an upper bound of the form exp(−nAϵ2) for some A~∈(0,∞). Hence, for any δ∈(0,1) our result implies an error bound of the form
with probability at least δ. As previously discussed in Remarks 4 and 6, the bound (84) also captures the benefits of sample reuse in that for large m, to leading order, the result depends on the x-difference bounds, with the Y-dependence integrated out (see (96)).
Proof. We will show that the assumptions of Theorem 3.3 hold. First we rewrite
Note that ∥y∥ is sub-Gaussian under PY=N(0,Id), hence ∥y∥+∥y~∥ and ∥y−y~∥ are sub-Gaussian under PY2. Therefore ∥kY∥Φ2,PY2<∞. This also implies that h0,Y is sub-exponential under PY2, and hence ∥h0,Y∥Φ1,PY2<∞. Finally, we have assumed that ∥x∥ is sub-Gaussian under PX, hence ∥rX∥Φ2,PX<∞.
Note that the sub-Gaussian assumption on ∥x∥ implies that C<∞. To obtain the bound (95), we used the k=1 case of Lemma 2.2, which was previously derived in Corollary 2.4 of [2].
Therefore we have verified that Assumption 2 holds with ξX(λ):=1−(Cλ)22(Cλ)2, KX:=1/C. The claimed concentration inequality then follows from Theorem 3.3.
As shown in [8, 22], the difference between the score model sθ(x,t) and the exact score s(x,t) can be related to the approximation error and the DSM objective studied above via
The statistical error bounds on the DSM objective from Theorem 4.1 therefore directly translate into excess error bounds on the score. Moreover, such bounds also feed into the assumptions made by convergence analyses such as those in [4, 1, 10, 11, 18, 5, 14]. A related result to our Theorem 4.1 was proven in Theorem 5.1 of [2]. However, that result required the support of PX to be bounded. The new tools developed in this paper allow for that restrictive assumption to be replaced by the much weaker assumption that ∥x∥ is sub-Gaussian under PX; this greatly extends the domain of applicability of the theory. We do acknowledge that the remaining Lipschitz and growth assumptions do not apply to all implementations used in practice, though they can be enforced by architectural choices, including spectral normalization [15].
5 Conclusion
We have derived a novel generalization of McDiarmid's inequality, Theorem 2.1, which allows for a more general form of non-uniform one-component mean-difference bounds than were covered by previous related results and also captures the benefits of training sample reuse in algorithms that employ easily-sampled auxiliary random variables. In support of this result, we also developed a tool for computing the required non-uniform MGF bounds via Orlicz norms; see Section 2.1 and Theorem 2.4. Using these results, in Section 3 we derived a novel ULLN result as well as statistical error bounds on stochastic optimization problems. In Section 4 we applied these tools to derive statistical error bounds on score-based generative modeling via denoising score matching, an application which naturally leverages the key features of our new tools; our results on DSM capture the benefit of training sample reuse and apply to unbounded objectives and data distributions with unbounded support.
References
[1] J. BENTON, V. DE BORTOLI, A. DOUCET, AND G. DELIGIANNIDIS, Nearly d-linear convergence bounds for diffusion models via stochastic localization, in The Twelfth International Conference on Learning Representations.
[2] J. BIRRELL, Concentration inequalities for the stochastic optimization of unbounded objectives with application to denoising score matching., arXiv preprint arXiv:2502.08628, (2025), https://arxiv.org/abs/2502.08628.
[4] H. CHEN, H. LEE, AND J. LU, Improved analysis of score-based generative modeling: User-friendly bounds under minimal smoothness assumptions, in International Conference on Machine Learning, PMLR, 2023, pp. 4735–4763.
[5] Z. CHEN, M. A. KATSOULAKIS, AND B. J. ZHANG, Equivariant score-based generative models provably learn distributions with symmetries efficiently, arXiv preprint arXiv:2410.01244, (2024).
[6] R. COMBES, An extension of mcdiarmid's inequality, in 2024 IEEE International Symposium on Information Theory (ISIT), IEEE, 2024, pp. 79–84.
[7] X. GAO, H. M. NGUYEN, AND L. ZHU, Wasserstein convergence guarantees for a general class of score-based generative models, Journal of machine learning research, 26 (2025), pp. 1–54.
[8] A. HYVÄRINEN AND P. DAYAN, Estimation of non-normalized statistical models by score matching., Journal of Machine Learning Research, 6 (2005), p. 695.
[9] A. KONTOROVICH, Concentration in unbounded metric spaces and algorithmic stability, in International conference on machine learning, PMLR, 2014, pp. 28–36.
[10] G. LI, Y. WEI, Y. CHEN, AND Y. CHI, Towards non-asymptotic convergence for diffusion-based generative models, in The Twelfth International Conference on Learning Representations, 2024.
[11] G. LI, Y. WEI, Y. CHI, AND Y. CHEN, A sharp convergence theory for the probability flow ODEs of diffusion models, CoRR, (2024).
[12] A. MAURER AND M. PONTIL, Concentration inequalities under sub-Gaussian and sub-exponential conditions, Advances in Neural Information Processing Systems, 34 (2021), pp. 7588–7597.
[13] C. MCDIARMID, On the method of bounded differences, Surveys in Combinatorics, 141 (1989), pp. 148–188.
[14] N. MIMIKOS-STAMATOPOULOS, B. ZHANG, AND M. KATSOULAKIS, Score-based generative models are provably robust: an uncertainty quantification perspective, Advances in Neural Information Processing Systems, 37 (2024), pp. 63154–63183.
[15] T. MIYATO, T. KATAOKA, M. KOYAMA, AND Y. YOSHIDA, Spectral normalization for generative adversarial networks, in International Conference on Learning Representations, 2018, https://openreview.net/forum?id=B1QRgziT-.
[16] K. OKO, S. AKIYAMA, AND T. SUZUKI, Diffusion models are minimax optimal distribution estimators, in International Conference on Machine Learning, PMLR, 2023, pp. 26517–26582.
[17] F. PEDROTTI, J. MAAS, AND M. MONDELLI, Improved convergence of score-based diffusion models via prediction-correction, Transactions on Machine Learning Research, (2024).
[18] P. POTAPTCHIK, I. AZANGULOV, AND G. DELIGIANNIDIS, Linear convergence of diffusion models under the manifold hypothesis, arXiv preprint arXiv:2410.09046, (2024).
[19] Y. SONG, J. SOHL-DICKSTEIN, D. P. KINGMA, A. KUMAR, S. ERMON, AND B. POOLE, Score-based generative modeling through stochastic differential equations, in International Conference on Learning Representations, 2021.
[20] A. VAN DER VAART AND J. WELLNER, Weak Convergence and Empirical Processes: With Applications to Statistics, Springer Series in Statistics, Springer New York, 2013, https://books.google.com/books?id=zdDkBwAAQBAJ.
[21] R. VERSHYNIN, High-dimensional probability: An introduction with applications in data science, vol. 47, Cambridge university press, 2018.
[22] P. VINCENT, A connection between score matching and denoising autoencoders, Neural computation, 23 (2011), pp. 1661–1674.
[23] M. WAINWRIGHT, High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Cambridge Series in Statistical and Probabilistic Mathematics, Cambridge University Press, 2019, https://books.google.com/books?id=IluHDwAAQBAJ.
[24] L. WARNKE, On the method of typical bounded differences, Combinatorics, Probability and Computing, 25 (2016), pp. 269–299.