Non-asymptotic Convergence of Stochastic Gradient Descent in Score-based Generative Models

Stanislas Strasman\(^{1,*}\) Sobihan Surendran\(^{1,2,*}\) Sylvain Le Corff\(^{1}\)
\(^1\)Sorbonne Université and Université Paris Cité, CNRS, LPSM, F-75005 Paris, France
\(^2\)LOPF, Califrais’ Machine Learning Lab, Paris, France
\(^*\)Equal contribution


Abstract

Score-based Generative Models (SGMs) have achieved impressive performance in data generation across a wide range of applications. While the statistical properties of their sampling procedures are increasingly well understood, the optimization dynamics underlying their training remain less explored. SGMs are typically trained by minimizing a weighted denoising score-matching objective, yet optimization guarantees with stochastic gradients remain limited. In this work, we study Stochastic Gradient Descent (SGD) for SGMs, contributing results in two complementary regimes. First, for general score parameterizations, we establish a non-convex convergence rate for SGD on the weighted denoising score-matching objective, with explicit dependence on the schedule-dependent weighting factors. Second, for overparameterized two-layer ReLU networks, we develop a Neural Tangent Kernel analysis tailored to diffusion training with stochastic gradients, yielding score-approximation error bounds along the SGD trajectory. Finally, our analysis quantifies the role of the reweighting factor in the score approximation error, providing theoretical guidance for weighting choices used in practice.

1 Introduction↩︎

Generative modeling has become a central topic in modern machine learning, driven by the remarkable progress of score-based generative models [1][3]. These models provide a flexible framework for learning complex high-dimensional distributions and generating realistic synthetic samples. Their success relies on gradually perturbing the data distribution through a forward noising process and then learning a reverse mechanism that transforms noise back into data. This paradigm has led to impressive empirical performance across a wide range of applications, including computer vision [4], [5], natural language processing [6], and other domains where realistic data generation is crucial. Inspired by Hamiltonian Monte Carlo, second-order variants such as critically-damped Langevin diffusions (CLDs) [7] have also been proposed as extensions of conventional diffusion models.

Beyond their empirical success, diffusion-based models have been extensively studied from a theoretical perspective, particularly through the lens of sampling error. This error is commonly decomposed into three components: mixing error, discretization error, and approximation error. Existing works establish sampling guarantees for SGMs [8][13] and CLDs [8], [11], [14]. Much of this literature focuses on the first two sources of error, often assuming that the approximation error is sufficiently small. However, the approximation error itself depends on both the statistical error induced by the chosen model class and the optimization error arising from the training procedure.

Several works have established generalization bounds for diffusion models [15][20]. In contrast, the optimization error arising from the training of these models remains comparatively less explored. Diffusion models are typically trained using denoising score matching [21]. In this direction, [22] analyze the approximation error of diffusion models trained by gradient descent through a Neural Tangent Kernel (NTK) analysis [23]. More recently, [24] studies the optimization dynamics of gradient descent for overparameterized score matching in the simplified setting of learning a single Gaussian distribution, using a gradient Expectation-Maximization algorithm. However, both works focus on gradient descent, whereas practical diffusion models are commonly trained using SGD and its variants [25], [26]. Moreover, [22] assumes bounded data, while [24] assumes that the target distribution is Gaussian; both assumptions are restrictive and do not capture the complexity of real-world data distributions.

In this work, we study the optimization error of score-based diffusion models trained with SGD. We first establish a non-asymptotic convergence rate for the expected squared gradient norm of score-based models under general score parameterizations, building on classical results from non-convex stochastic optimization. This result provides a general optimization guarantee for the denoising score-matching objective, but it does not directly control the score-approximation error. Moreover, the assumptions required for this guarantee restrict the admissible neural architectures and, in particular, exclude ReLU activation functions. To obtain direct approximation guarantees, we then analyze overparameterized two-layer ReLU networks trained with stochastic gradients. Using an NTK analysis, we derive non-asymptotic error bounds along the SGD trajectory for the denoising score-matching objective. Finally, we study the role of the reweighting factor, namely the prefactor multiplying the denoising score-matching loss, and quantify its effect on both optimization and sampling.

More precisely, our contributions are summarized as follows.

  • We establish non-convex optimization guarantees for the weighted denoising score-matching objective under general score parameterizations. Our analysis shows that SGD converges at rate \(\mathcal{O}(\log n/\sqrt{n})\) in expected squared gradient norm, and explicitly captures the impact of mini-batches, stochastic gradient variance, and schedule-dependent loss weights.

  • We provide an NTK analysis of overparameterized two-layer ReLU score networks specifically tailored to diffusion training. This leads to a non-asymptotic bound on the projected denoising score-matching loss along the SGD trajectory. Unlike prior works based on deterministic gradient descent, bounded data assumptions, or Gaussian target distributions, our framework directly handles stochastic optimization and allows for sub-Gaussian data distributions.

  • Using our bounds, we analyze how the reweighting factor in the denoising score-matching loss affects both optimization and sampling. This provides theoretical guidance for its choice and offers an optimization-based explanation for weighting strategies that have proved effective in state-of-the-art diffusion models.

2 Notation and Background↩︎

2.1 Notation↩︎

Let \(\mathcal{P}(\mathbb{R}^d)\) denote the set of probability measures on \(\mathbb{R}^d\). We use \(\pi\) for probability measures and \(p\) for their densities with respect to the Lebesgue measure when they exist. The identity matrix of size \(d\) is written \(\mathbf{I}_d\). For \(x,y\in \mathbb{R}^d\), we denote by \(\langle x,y \rangle\) the standard inner product of \(\mathbb{R}^d\), by \(\|\cdot\|\) the Euclidean norm for vectors and its induced operator norm for matrices. Let \(\|\cdot\|_F\) be the Frobenius norm defined for \(A \in \mathbb{R}^{d \times d}\) as \(\|A \|_F :=\sqrt{\text{Tr} (A^\top A)}\). For random vectors \(X,Y \in \mathbb{R}^d\), define \(\|X\|_{L_2} := (\mathbb{E}[ \|X\|^2])^{1/2}\) and we write \(X \perp Y\) to mean that \(X\) is independent of \(Y\).

2.2 Score-based Generative Models↩︎

2.2.0.1 Forward noising process.

Let \(\pi_{\rm data}\in \mathcal{P}(\mathbb{R}^d)\) denote the target data distribution from which we wish to generate new samples. In generative machine learning, one does not observe \(\pi_{\rm data}\) directly. Instead, one has access to i.i.d. samples \(X_1^{\rm data},\dots,X_N^{\rm data}\sim \pi_{\rm data}\). SGMs construct a stochastic transport that progressively maps \(\pi_{\rm data}\) toward a simple reference distribution \(\pi_\infty\), and then approximately reverse this transport to generate new samples from the data law. In particular, they rely on a forward linear noising process defined as the solution to the following SDE: \[\label{eq:forward95sde} \mathrm{d}\overrightarrow X_t = - \alpha \beta_t \overrightarrow X_t \,\mathrm{d}t + \sqrt{2 \beta_t}\,\mathrm{d}B_t, \qquad X_0 \sim \pi_{\rm data} \,,\tag{1}\] where \((B_t)_{t \ge 0}\) is a standard Brownian motion in \(\mathbb{R}^d\), \(\beta_t : [0,T] \to \mathbb{R}_{\ge 0}\) is a time-dependent noise schedule, and \(\alpha \geq 0\). This linear SDE admits an explicit time marginal representation [13], for each fixed \(t \in [0,T]\): \[\label{eq:forward95marginal} \overrightarrow X_t \stackrel{\mathcal{L}}{=} m_t X_0 + \sigma_t Z \,, \qquad \text{where} \qquad Z \sim \mathcal{N}(0, \mathbf{I}_d) \,, \qquad Z \perp X_0 \,,\tag{2}\] with \(m_t := \exp (-\alpha \int_0^t \beta_s \,\mathrm{d}s)\) and \(\sigma_t^2 :=2 \int_0^t \beta_s \exp ( -2\alpha \int_s^t \beta_u \mathrm{d}u ) \mathrm{d}s\).

Equation 1 covers the standard forward diffusions used in the score-based modeling literature. When \(\alpha=0\), one has \(m_t\equiv 1\) and \(\sigma_t^2 = 2\int_0^t \beta_s\,\mathrm{d}s\); this corresponds to the variance-exploding (VE) regime used in score-based generative modeling [2], [27]. When \(\alpha=1\), the dynamics recover the usual variance-preserving (VP) family underlying diffusion probabilistic models [1], [3].

2.2.0.2 Backward process and generative model.

Under mild regularity assumptions [28], [29], the process defined in 1 admits a time-reversed process \((\overrightarrow X_t)_{t\in[0,T]} \stackrel{\mathcal{L}}{=} (\overleftarrow X_{T-t})_{t\in[0,T]}\) governed by \[\label{eq:backward95sde} \mathrm{d}\overleftarrow X_t = \Big( \alpha \beta_{T-t} \overleftarrow X_t + 2 \beta_{T-t} \nabla \log p_{T-t}(\overleftarrow X_t) \Big)\mathrm{d}t + \sqrt{2 \beta_{T-t}} \mathrm{d}B_t \,, \qquad \overleftarrow X_0 \sim p_T\tag{3}\] where \(p_t\) denotes the density of \(\overrightarrow X_t\). The reverse-time dynamics in 3 turn score estimation into a principled generative mechanism. Indeed, if one has access to the exact score \(\nabla \log p_t\) and could sample from the terminal law \(p_T\), then simulating the reverse process from \(\overleftarrow X_0\sim p_T\) would recover the data distribution exactly at time \(T\), i.e. \(\overleftarrow X_T\sim\pi_{\rm data}\). Modern SGMs can therefore be understood as approximate implementations of this ideal reverse-time sampler. Their accuracy is governed by three main sources of error: numerical discretization of the reverse SDE 3 , mismatch between the forward terminal law \(p_T\) and the reference distribution \(\pi_\infty\), and score learning error, namely the discrepancy between the learned score approximation and the true score function \((x,t) \to \nabla \log p_{T-t}(x)\) . The last term itself combines generalization error and optimization error.

2.2.0.3 Score matching.

To learn the score function, one introduces a parametric model \(s_\theta:\mathbb{R}^d\times[0,T]\to\mathbb{R}^d\), typically a deep neural network, and fits it by minimizing a time-averaged Fisher divergence \[\begin{align} \label{eq:score95matching} \mathcal{L}_{\rm SM}(\theta) &:= \frac{1}{2} \int_0^T \lambda(t)\, \mathbb{E}\left[ \|\mathsf{s}_\theta(\overrightarrow X_t,t)-\nabla \log p_t(\overrightarrow X_t)\|^2 \right] \mathrm{d}t \,, \end{align}\tag{4}\] where \(\lambda:[0,T]\to\mathbb{R}_{>0}\) is a weighting function. The difficulty with 4 is that the marginal score \(\nabla \log p_t\) is not available in closed form as it directly depends on \(\pi_{\rm data}\). That is why, most modern diffusion models are trained instead using conditional score matching \[\label{eq:csm} \mathcal{L}_{\rm DSM}(\theta) := \frac{1}{2} \int_0^T \lambda(t)\, \mathbb{E}\left[ \|\mathsf{s}_\theta(\overrightarrow X_t,t)-\nabla \log p_{t|0}(\overrightarrow X_t\mid X_0)\|^2 \right] \mathrm{d}t \,,\tag{5}\] where \(\nabla \log p_{t|0}(\overrightarrow X_t\mid X_0)\) is fully explicit as \(\overrightarrow X_t \mid X_0 \sim \mathcal{N} ( m_t X_0,\;\sigma_t^2 \mathbf{I}_d )\). Under standard square-integrability assumptions, since \(\nabla \log p_t(\overrightarrow X_t) = \mathbb{E}[\nabla \log p_{t|0}(\overrightarrow X_t \mid X_0)\mid \overrightarrow X_t],\) the Pythagorean identity for conditional expectation yields \[\mathbb{E}[ \|s_\theta(\overrightarrow X_t,t)-\nabla \log p_{t|0}(\overrightarrow X_t\mid X_0)\|^2 ] = \mathbb{E}\![ \|s_\theta(\overrightarrow X_t,t)-\nabla \log p_t(\overrightarrow X_t)\|^2 ] + C_t \,,\] where \(C_t\) does not depend on \(\theta\). Therefore, 4 and 5 have the same minimizers [21].

For stochastic optimization, it is convenient to rewrite the time integral in 5 as an expectation. Let \(q\) be a probability density on \((0,T]\), and let \(\tau\sim q\) be independent of \((X_0,Z)\). The choice of \(q\) does not change the population objective; it only specifies how time indices are sampled during training. Then \[\begin{align} \mathcal{L}_{\rm DSM}(\theta) &= \frac{1}{2}\, \mathbb{E}\!\left[ \frac{\lambda(\tau)}{q(\tau)} \|s_\theta(\overrightarrow X_\tau,\tau)-\nabla_x \log p_{\tau|0}(\overrightarrow X_\tau\mid X_0)\|^2 \right] \,. \label{eq:csm95expectation} \end{align}\tag{6}\] Since the conditional score is explicit for the Gaussian forward kernel, 6 is a fully tractable population objective.

3 Convergence Analysis for General Score Parameterizations↩︎

In this section, we derive convergence rates of SGD for the weighted denoising score-matching objective under general score parameterizations. SGD generates a sequence of parameter iterates as follows: let \(\theta^{(0)}\in\Theta\), and for all \(k\in\mathbb{N}\), \[\label{eq:SGD} \theta^{(k+1)} = \theta^{(k)} - \gamma_{k+1} \widehat{\nabla}_{\theta}\mathcal{L}_{\rm DSM} \left(\theta^{(k)};\mathcal{D}^{(k+1)}\right),\tag{7}\] where \(\{\gamma_k\}_{k\ge 1}\) is a sequence of positive step sizes and \(\widehat{\nabla}_{\theta}\mathcal{L}_{\rm DSM}(\theta^{(k)};\mathcal{D}^{(k+1)})\) is a stochastic estimator of the gradient computed from the mini-batch \[\mathcal{D}^{(k)}=\big\{(X^{(k)}_{0,b}, t^{(k)}_{b}, Z^{(k)}_{b})\big\}_{b=1}^B \,,\] with \(X^{(k)}_{0,b} \sim \pi_{\rm data}\), \(t^{(k)}_{b} \sim q\), and \(Z^{(k)}_{b} \sim \mathcal{N}(0,\mathbf{I}_d)\) independently for \(b=1,\dots,B\). The resulting stochastic gradient estimator is given by \[\label{eq:gradient95estimator} \widehat{\nabla}_{\theta}\mathcal{L}_{\rm DSM}(\theta^{(k)};\mathcal{D}^{(k+1)}) = \frac{1}{B}\sum_{b=1}^B g^{(k+1)}_{b} \,,\tag{8}\] where \(g^{(k+1)}_{b}\) denotes the stochastic gradient associated with a single sample, defined in 18 . The full procedure is detailed in Algorithm 2. We establish the convergence guarantees under the following regularity assumptions on the score network.

Assumption 1 (Score regularity). Assume that there exist measurable functions \(L_\ell,L_s:\mathbb{R}^d\times[0,T]\to[0,\infty)\) satisfying for all \(t\in [0,T]\), \(\mathbb{E}[L_\ell(\overrightarrow X_t,t)^2]<\infty\) and \(\mathbb{E}[L_s(\overrightarrow X_t,t)]<\infty\), and such that, for all \(\theta,\theta'\in\Theta\) and all \((x,t)\in\mathbb{R}^d\times[0,T]\), \[\|s_\theta(x,t)-s_{\theta'}(x,t)\| \le L_\ell(x,t) \|\theta-\theta'\| \,,\] and \[\|\nabla_\theta s_\theta(x,t)-\nabla_\theta s_{\theta'}(x,t)\| \le L_s(x,t) \|\theta-\theta'\| \,.\]

Assumption 1 imposes data-dependent Lipschitz and smoothness conditions on the score network, which are weaker than requiring uniform global bounds. Similar assumptions on the score function appear in the analysis of variational autoencoders [30] and policy-gradient methods [31]. In particular, [30] show that neural networks with bounded weights and standard smooth activations, such as sigmoid, tanh, and softplus, a smooth approximation to the ReLU, satisfy such conditions. However, Assumption 1 only controls the sensitivity of the network with respect to the parameters; it does not impose a uniform bound on the network output itself. This motivates the additional growth condition introduced next.

Assumption 2 (Polynomial growth). Assume that there exist constants \(a,b\ge 0\) and \(p\ge 1\) such that, for all \(\theta\in\Theta\) and all \((x,t)\in\mathbb{R}^d\times[0,T]\), \[\|s_\theta(x,t)\| \le a + b\|x\|^p \,.\]

Assumption 2 controls the growth of the score network with respect to the input, requiring its magnitude to increase at most polynomially in \(\|x\|\). This is a natural stability condition: many theoretical analyses of score-based diffusion models impose regularity or growth assumptions on the true score, and in common settings such as Gaussian or log-concave targets the score has at most linear growth in \(\|x\|\) [12], [32], [33]. Together with Assumption 1, this condition ensures that the denoising score matching objective is smooth, which is essential for establishing non-asymptotic convergence guarantees for SGD.

Theorem 1. Assume that Assumptions 1 and 2 hold. Let \((\theta^{(n)})_{n\ge 0}\) be the iterates of the SGD recursion 7 with step size \(\gamma_{n} = C_{\gamma}n^{-1/2}\), where \(0 < C_{\gamma} \leq 1/L\). Assume that for all \(n \in \mathbb{N}\), \(\tau^2 = \sup_{\theta \in \Theta} \mathbb{E}[\| g^{(n)} - \nabla_{\theta} \mathcal{L}_{\rm DSM}\|^2] < +\infty\). For all \(n \geq 1\), let \(J \in \{0, \ldots, n\}\) be a uniformly distributed random variable. Then, \[\begin{align} \mathbb{E}\left[\left\| \nabla_\theta \mathcal{L}_{\rm DSM}(\theta^{(J)}) \right\|^{2}\right] &\leq \frac{2 \left( \mathcal{L}_{\rm DSM}\left(\theta^{(0)}\right) - \mathcal{L}_{\rm DSM}\left(\theta^{(n+1)}\right) \right) + L C^2_{\gamma} \tau^2 \log(n+1)/B}{C_{\gamma} \sqrt{n}} \,, \end{align}\] where \(L = \mathbb{E}\left[ L_s(\overrightarrow X_t, t)\left(a+b\|\overrightarrow X_t\|^{p}+\|\overrightarrow X_t-X_0\|/\sigma_t^{2}\right) \lambda(t)/q(t) + L_\ell(\overrightarrow X_t, t)^2 \lambda(t)/q(t) \right]\).

Theorem 1 recovers the standard non-asymptotic \(\mathcal{O}(\log n/\sqrt n)\) convergence rate for nonconvex stochastic optimization, while making explicit the dependence on the mini-batch size, the stochastic gradient variance, and the time-dependent weighting of the denoising score-matching objective.

For a fixed time \(t\in[0,T]\), the bound in Theorem 1 with time reweighting scales as \(\lambda(t)/(\sigma_t^2 q(t))\), where \(\lambda(t)\) is the weighting function and \(q(t)\) is the time-sampling density. This factor reveals a trade-off between the small- and large-noise regimes in the optimization error. In the case of uniform time sampling, i.e. \(q(t)=1\), if \(\lambda(t)\) grows more slowly than \(\sigma_t^2\), then this factor becomes large as \(\sigma_t \to 0\). This leads to a deterioration of the bound in the low-noise regime, where accurate score estimation is particularly important. On the other hand, if \(\lambda(t)\) grows faster than \(\sigma_t^2\), then the bound becomes large in the large-noise regime. At the same time, the objective overweights large-noise levels, where learning is typically easier and less important for generation. The choice \(\lambda(t)=\sigma_t^2\) therefore balances these two regimes by keeping the reweighting factor controlled across time. This provides a natural optimization-based justification for the weighting commonly used in score-based diffusion models [27].

However, this result only guarantees convergence in terms of the expected squared gradient norm and does not directly control the score-approximation error, which is one of the three components of the final sampling error. Moreover, although the assumptions cover a broad class of smooth neural network architectures, they exclude commonly used non-smooth activations such as ReLU. To address these limitations, the next section focuses on overparameterized two-layer ReLU networks and uses an NTK analysis to derive direct error bounds along the SGD trajectory.

4 Overparameterized Two-Layer Neural Networks: An NTK Approach↩︎

4.1 Setting↩︎

We now specialize the denoising parameterization introduced above to an overparameterized two-layer ReLU network and analyze the resulting SGD dynamics through a matrix-valued NTK argument. In contrast with standard NTK analyses, diffusion training involves unbounded noised inputs, vector-valued targets and an additional time variable [22].

4.1.0.1 Training objective with noisy target.

The score satisfies the identity (see, e.g., Lemma B.8 of [12]) \[\nabla \log p_t(x) = \frac{1}{\sigma_t^2} \left( m_t \mathbb{E}[\overrightarrow X_0 \mid \overrightarrow X_t=x]-x \right) \,.\] Therefore, the denoising score matching objective 4 can be written as \[\begin{align} \mathcal{L}_{\rm DSM}(\theta) &= \frac{1}{2} \int_0^T c(t)\, \mathbb{E}\left[ \|f_{\theta}(\overrightarrow X_t,t)- f^\star(\overrightarrow X_t,t)\|^2 \right] q(t) \mathrm{d}t , \label{eq:objective95function} \end{align}\tag{9}\] where \[c(t):=\frac{\lambda(t)m_t^2}{q(t)\sigma_t^4}>0, \qquad f^\star(x,t):=\mathbb{E}[X_0\mid \overrightarrow X_t=x], \qquad \mathrm{s}_{\theta}(x,t) := \frac{1}{\sigma_t^2}\bigl(m_tf_{\theta}(x,t)-x\bigr) \,.\] Since \(f^\star\) is generally unavailable, diffusion models are trained using the noisy target \(X_0\) [34]. Let \(\overrightarrow\mathbf{U}:=(\overrightarrow X_\tau,\tau)\) with \(\tau\sim q\), and define \[\xi :=X_0-f^\star(\overrightarrow\mathbf{U}), \qquad \mathbb{E}[\xi\mid \overrightarrow\mathbf{U}]=0, \qquad \tau_c^2 :=\mathbb{E}[c(\tau)\|\xi\|^2] \,.\]

4.1.0.2 Neural network parameterization.

We consider a two-layer fully-connected ReLU network with vector-valued output in \(\mathbb{R}^d\). Since the score function depends on both the spatial variable and time, we work with the augmented input \(u:=(x,t)\in\mathbb{R}^{d} \times (0,T]\). Let \(A\in\mathbb{R}^{d\times m}\) denote the fixed output-layer weights, and let \(W\in\mathbb{R}^{m\times(d+1)}\) denote the trainable first-layer weights. We consider the network \[\label{eq:net95def} f(u;W) :=\frac{1}{\sqrt m}A D_{u,W} W u = \frac{1}{\sqrt m}\sum_{i=1}^m A_{\cdot i}\mathbf{1}_{\{W_i^\top u\ge 0\}}W_i^\top u \in\mathbb{R}^d \,,\tag{10}\] where, for each \(i\in\{1,\dots,m\}\), \(W_i\in\mathbb{R}^{d+1}\) denotes the column vector such that the \(i\)-th row of \(W\) is \(W_i^\top\), \(A_{\cdot i}\in\mathbb{R}^d\) denotes the \(i\)-th column of \(A\), and \[D_{u,W} := \operatorname{diag} \left( \mathbf{1}_{\{W_1^\top u\ge 0\}},\dots,\mathbf{1}_{\{W_m^\top u\ge 0\}} \right)\in\mathbb{R}^{m\times m}\] is the diagonal activation matrix. Following the standard NTK parameterization, only the first-layer weights \(W\) are updated during training, whereas the matrix \(A\) is initialized with independent Rademacher entries and then kept fixed.

4.1.0.3 Stochastic Gradient Descent.

The SGD update in 7 specialized to this setting is given by \[\label{eq:SGD95update} W^{(k+1)} = W^{(k)} - \gamma_k \nabla_W \left( \frac{1}{2} c(t^{(k)}) \left\| f(\overrightarrow\mathbf{U}^{(k)},W^{(k)})-X_0^{(k)} \right\|^2 \right) \,,\tag{11}\] where \(\param[k]\) denotes the \(k\)-th iterate and \(\overrightarrow\mathbf{U}^{(k)} = \bigl(\overrightarrow X_{t^{(k)}}^{(k)},t^{(k)}\bigr)\). The SGD update 11 can be written as \[\label{sgd95updates} \param[k+1] = \param[k] - \gamma_k\,c(t^{(k)})\, \frac{1}{\sqrt m}\, D_k A^\top \left(f\left(\overrightarrow\mathbf{U}^{(k)};\param^{(k)}\right)-X_0^{(k)}\right) \,(\overrightarrow\mathbf{U}^{(k)})^\top \,,\tag{12}\] where \(D_k :=D_{\overrightarrow\mathbf{U}^{(k)},\param[k]} = \operatorname{diag} \left( \mathbf{1}_{\{ \param_1^{(k)\top} \overrightarrow\mathbf{U}^{(k)}\ge 0\}}, \dots, \mathbf{1}_{\{ \param_m^{(k)\top} \overrightarrow\mathbf{U}^{(k)}\ge 0\}} \right)\). The derivation is provided in Appendix 9.2.

4.1.0.4 Neural Tangent Kernel.

For each iteration \(k\ge 0\), we define the empirical matrix-valued neural tangent kernel associated with 10 by \[\label{eq:empirical95ntk} K_k(u,u') := \sum_{i=1}^m \nabla_{\param_i}f(u;\param[k]) \nabla_{\param_i}f(u';\param[k])^\top \in \mathbb{R}^{d\times d} \,.\tag{13}\] Using the explicit form of the network, this kernel writes as \[\label{eq:explicit95empirical95ntk} K_k(u,u') = \frac{u^\top u'}{m} A D_{u,\param[k]}D_{u',\param[k]}A^\top = \frac{u^\top u'}{m} \sum_{i=1}^m \mathbf{1}_{\{ \param_i^{(k)\top} u\ge 0\}} \mathbf{1}_{\{ \param_i^{(k)\top} u'\ge 0\}} A_{\cdot i}A_{\cdot i}^\top \,.\tag{14}\] At initialization, under the Gaussian initialization of the first-layer weights and independently initialized Rademacher output weights, \(K_0\) concentrates around the deterministic limiting kernel \[\label{eq:limiting95ntk} K_\infty(u,u') = (u^\top u') \,\mathbb{E}_{w\sim \mathcal{N}(0,\mathbf{I}_{d+1})} \left[ \mathbf{1}_{\{w^\top u\ge 0\}} \mathbf{1}_{\{w^\top u'\ge 0\}} \right] \mathbf{I}_d \,.\tag{15}\] In the overparameterized regime, the empirical kernel \(K_k\) remains close to its infinite-width limit \(K_\infty\) along training, yielding a linearized function-space characterization of the network dynamics [23], [35][37].

4.2 Convergence Results↩︎

Consider the following assumptions.

Assumption 3 (Sub-Gaussian data tails). The data distribution \(\pi_{\rm data} \in \mathcal{P}(\mathbb{R}^d)\) admits a density \(p_0\) with respect to the Lebesgue measure and has sub-Gaussian tails: there exist constants \(C_0,\nu_0>0\) such that, for all \(r\ge 0\), \[\mathbb{P}(\|X_0\|>r)\le C_0 \exp\;\left(-\frac{r^2}{2 \nu_0^2}\right) \,.\]

Assumption 3 is standard in the analysis of score-based generative models and ensures that the data distribution has sufficiently light tails. This property is crucial for controlling the forward process \(\overrightarrow X_t\) uniformly over \(t\in[0,T]\), since these perturbed samples are used as inputs to the score network throughout the convergence analysis. We note that this assumption is satisfied by a broad class of distributions, including bounded distributions and Gaussian mixtures.

Let \(u=(x,t)\in\mathbb{R}^{d} \times [0,T]\) denote the augmented input and let \(\overrightarrow\mathbf{U}:= (\overrightarrow X_{\tau},\tau)\) be an independent draw of the random variable sampled for training. Fix a radius \(R>0\) and define the localized region \[\mathcal{X}_R := \{(x,t)\in\mathbb{R}^d\times[0,T]:\|x\|\le R\} \,, \qquad B_R:=\sqrt{R^2+T^2} \,, \qquad c_\infty:=\sup_{t\in[0,T]} c(t) \,.\] In what follows, we assume that \(c_\infty < \infty\). This condition can be ensured by early stopping along the diffusion time horizon, which is commonly used in the literature [9] or by making appropriate design choices for the functions \(\beta_t\) and \(\lambda(t)\). We also define the localized weighted measure \[\label{eq:def95mu95R95main} \mu_R(\mathrm{d}x,\mathrm{d}t) := c(t)\,q(t)\,p_t(x)\,\mathbf{1}_{\{\|x\|\le R\}}\,\mathrm{d}x\,\mathrm{d}t \,,\tag{16}\] and the associated norm \(\|g\|_{L^2(\mu_R)}^2 := \int_{\mathbb{R}^d\times[0,T]} \|g(x,t)\|^2\,\mu_R(\mathrm{d}x,\mathrm{d}t)\), for every measurable \(g:\mathbb{R}^d\times[0,T]\to\mathbb{R}^d\). Define the prediction error and its projected version onto the Euclidean ball of \(\mathbb{R}^d\) of radius \(R>0\) at iteration \(k\) by \[\begin{align} \label{eq:def95pred95err95proj} \Delta_k(u) := f^{\star}(u) - f_{\theta}(u, \param[k]), \qquad \Delta_k^R(u) := \Pi_R \left( f^{\star}(u) \right) - \Pi_R \left( f_{\theta}(u, \param[k]) \right) \,. \end{align}\tag{17}\] It follows that the projected DSM loss after \(n\) iterations writes as \[\begin{align} \mathcal{L}_{\rm DSM}^\Pi (\param^{(n)}) &= \frac{1}{2} \int_0^T c(t) \mathbb{E}\left[ \| \Delta_n^R (\overrightarrow X_t,t) \|^2 \right] q(t) \mathrm{d}t = \frac{1}{2} \mathbb{E}\left[c(\tau) \|\Delta_n^R(\overrightarrow\mathbf{U})\|^2\right] \,. \end{align}\]

Theorem 2. Assume that Assumption 3 holds. Let \(f_\theta\) be the neural network defined in 10 , and let \((\param^{(n)})_{n\ge 0}\) be the sequence generated by the SGD recursion 11 , with step size \(\gamma_{n} = C_{\gamma}/(n+1)\) , where \(0<C_\gamma\le \Gamma_R\) and \(\Gamma_R\) is defined in ?? . Assume moreover that the iterates are stopped at some horizon \(N\ge 1\) and that \[\begin{align} \label{eq:approx95condition95width} m \gtrsim \mathcal{C}_R e^{2\Lambda_R C_\gamma} (N+1)^{4\Lambda_R C_\gamma} d^3 \bigl(d+\log(1/\delta)\bigr) \log^4(\mathrm{e}(N+1)) \,, \end{align}\qquad{(1)}\] where \(\mathcal{C}_R\) is defined in 39 . Then, with probability at least \(1-\delta\) over the initialization, for every \(1\le n\le N\) and every \(R> \sigma_T\mu_Z\), \[\label{eq:two95layer95SGD95bound} \begin{align} &\mathbb{E}_{\mathrm{sgd}} \left[\mathcal{L}_{\rm DSM}^\Pi (\param^{(n)}) \right] \le R\sqrt{\mu_R(\mathcal{X}_R)} \sup_{0\le j\le N} \inf_{r\in\mathbb{N}} \left\{ \left(\prod_{k=0}^{j-1}(1-\gamma_k\lambda_r)\right) \|\Delta_0\|_{L_2(\mu_R)} + \mathcal{R}(\Delta_0,r) \right\} \\ &\quad+ C \mu^{3/2}_R(\mathcal{X}_R) B_R^3 d C_\gamma \log (N+1) \sqrt{\frac{d\log(m)+\log(1/\delta)}{m}} \left(\|\Delta_0\|_{L_2(\mu_R)}+\tau_c\right) \\ &\quad+ C\left( 1+\sqrt{\frac{d}{m}} +\sqrt{\frac{\log(1/\delta)}{m}} \right)^2 \sqrt{c_\infty} \mu_R(\mathcal{X}_R) B_R^3 C_{\gamma} e^{\Lambda_R C_{\gamma}} \left(1+\frac{1}{1-2\Lambda_R C_\gamma}\right)^{1/2} \\ & \qquad \qquad \qquad \times \left(\|\Delta_0\|_{L_2(\mu_R)}+\tau_c\right) \\ &\quad+ 2(1+C_0) (1+N) c_\infty R^2 \int_0^T q(t) \exp\!\left( -\frac{(R-\sigma_t\mu_Z)^2}{8\max(\sigma_t^2,m_t^2\nu_0^2)} \right) \mathrm{d}t \,, \end{align}\qquad{(2)}\] where \((\lambda_k)_{k\ge1}\) denote the eigenvalues of the limiting kernel operator \(\mathsf K_\infty\), ordered in non-increasing order, and \(\mathcal{R}(\Delta_0,r)\) is the spectral remainder of the initial error \(\Delta_0\) defined in 20 . Also \(\mu_Z :=\mathbb{E}\| Z \|\) for \(Z \sim \mathcal{N}(0,\mathbf{I}_d)\) and \(C>0\) denotes a universal constant, independent of \(n,m,d,R,\delta\) and the initialization.

The bound in Theorem 2 decomposes into four contributions. The first term captures the optimization dynamics along the spectrum of the limiting kernel \(\mathsf K_\infty\) and reflects a bias–approximation trade-off through a spectral cutoff parameter \(r\). In particular, the product term captures the contraction induced by SGD along the eigendirections, while \(\mathcal{R}(\Delta_0,r)\) quantifies the approximation error associated with projecting onto the leading eigenspaces. The second and third terms quantify the impact of stochastic gradients and finite-width approximation. They scale inversely with the width \(m\) and depend explicitly on the dimension \(d\), the localization radius \(R\), and the variance of the stochastic gradients. Controlling these terms requires the width condition in ?? , which highlights the role of overparameterization in limiting the accumulation of noise along the SGD trajectory. Compared with existing NTK analyses for SGD [38] and gradient-descent analyses for diffusion models [22], our bound yields an improved dependence on the width \(m\) and the dimension \(d\). The final term arises from the localization step. It controls the probability that the noised input leaves the truncated region \(\mathcal{X}_R\), and is therefore exponentially small in \(R\) under Assumption 3. This contribution is specific to the present localized analysis and replaces the bounded-input assumptions commonly used in standard NTK treatments. Overall, the theorem shows that, under suitable width and early stopping conditions, SGD for score-based generative models with overparameterized two-layer ReLU networks achieves a controlled trade-off between stochastic optimization, finite-width, and localization errors. Consequently, it yields a direct bound on the score-approximation error along the training trajectory.

For a fixed time \(t\in[0,T]\), the dominant terms in the bound scale as \(c(t)^{3/2} R^3\). If the localization radius is chosen of the same order as the noise level, i.e., \(R\propto \sigma_t\), this suggests the balanced scaling \(c(t)\propto 1/\sigma_t^2\). Similarly to the reweighting analysis in the previous section, taking \(\lambda(t)=\sigma_t^2\) and \(q(t)=1\) yields, under the present parametrization, \(c(t)=m_t^2/\sigma_t^2\), which matches this scaling up to the signal factor \(m_t^2\). This corresponds to a signal-to-noise-ratio weighting, which is widely used in diffusion models and has been instrumental in achieving state-of-the-art results in image and video generation [39][42]. Different works use different parametrizations, for instance predicting the clean data, the noise, or the score directly. These choices modify the prefactor appearing in front of the loss, but the underlying choice \(\lambda(t)=\sigma_t^2\) remains a common and natural reweighting. It is also worth noting that [22] analyze the case \(c(t)=1\), which corresponds in our parametrization to \(\lambda(t)=\sigma_t^4\) and matches the unweighted MSE objective used in their NTK analysis. In Section 5, we show that this choice often leads to weaker empirical performance. Our analysis therefore provides an optimization-based justification for the widely used signal-to-noise-ratio weighting scheme.

4.2.0.1 Sketch of proof.

Because the noised input \(\overrightarrow X_t=m_tX_0+\sigma_t Z\) is unbounded, we first localize the analysis to a truncated region \(\mathcal{X}_R\) and project both the target and the network output onto the Euclidean ball of radius \(R\). This reduces the projected DSM loss to a localized error plus an exponentially small tail term. On the localized event, we derive the recursion \[\Delta_{k+1} = (\mathbf{I}-\gamma_k\mathsf K_k)\Delta_k - v_k + \varepsilon_k,\] where \(\mathsf K_k\) is the empirical NTK, \(v_k\) is the SGD noise, and \(\varepsilon_k\) is the nonlinear linearization error. Comparing \(\mathsf K_k\) with its infinite-width limit \(\mathsf K_\infty\) yields four terms: contraction, kernel drift, stochastic fluctuation, and nonlinear remainder. The contraction term is controlled spectrally through \(\mathsf K_\infty\); the stochastic term is handled by martingale estimates; and the kernel drift and remainder are controlled by sign-flip bounds together with VC-dimension arguments that provide uniform concentration over activation patterns. This yields a non-asymptotic bound in which the leading term is the contraction of the limiting NTK and the lower-order terms capture finite-width effects, stochastic gradients, and feature drift. A detailed proof is given in Appendix 8.

4.2.0.2 From score learning to generation error.

In settings with bounded data and clipped neural network outputs, Girsanov’s theorem applies and Lemma B.5 of [12] yields the standard decomposition of the generative error into three contributions: terminal-law mismatch (or mixing error), score approximation, and time discretization. The first and third terms are independent of the training dynamics, while the second isolates the error induced by replacing the true score with the learned model. In such settings, Theorem 2 provides an upper bound on this score-approximation term. This shows that our optimization result can be modular and be combined with Girsanov-based stability analyses of SGMs [8], [11], [12], [43].

5 Experiments↩︎

We study the effect of the reweighting factor in the denoising score-matching loss. This experiment is intended as an empirical illustration of the qualitative effect of the weighting schedule in a standard diffusion architecture. We train a score-based generative model following [27], parameterizing the score function with the NCSN++ architecture [27]. The model is trained on the Leeds Butterfly dataset [44] for \(200{,}000\) iterations. Samples are generated using the Euler–Maruyama discretization with \(1{,}000\) steps. The experiments were conducted using NVIDIA RTX 6000 GPUs with 48 GB of VRAM.

Figure 1: Effect of the loss weighting schedule \lambda(t) on generation quality evaluated by FID (lower is better) on the Leeds Butterfly dataset. Results are averaged over five independent runs, with error bars indicating the standard deviation.

We examine the effect of the loss-weighting schedule \(\lambda(t)\) in the denoising score-matching objective by considering five choices: \(\lambda(t) \in \{1, \sigma_t, \sigma_t^2, \sigma_t^3, \sigma_t^4\}\) with uniform time sampling, i.e., \(q(t)=1\) for \(t \in [0,T]\). For each schedule, we train a separate model and evaluate generation quality using the Fréchet Inception Distance (FID) [45], keeping all other training and sampling settings fixed. This allows us to isolate the effect of the loss-weighting schedule on generation quality.

The results are reported in Figure 1. Since the optimization error contributes to the score-learning component of the generation error, the choice of \(\lambda(t)\) can influence the quality of the learned score function and, consequently, the quality of generated samples.

Consistently with the theoretical analysis, \(\lambda(t) = \sigma_t^2\) achieves the lowest FID among the schedules considered. This result can be interpreted as follows. For \(\lambda(t) = 1\) and \(\lambda(t) = \sigma_t\), the loss assigns insufficient weight to the small-noise regime, i.e., as \(t \to 0\), where the score is hardest to estimate and most critical for sample quality. This is consistent with our theoretical bound, which becomes large for small \(t\), and provides an additional explanation for the degraded performance and high FID observed under these schedules. Conversely, for \(\lambda(t) = \sigma_t^3\) and \(\lambda(t) = \sigma_t^4\), the weighting becomes excessively large in the high-noise regime, i.e., as \(t \to T\), concentrating the optimization effort on time steps where the signal-to-noise ratio is low and the score estimation is less informative for generation. As a result, the gradient signal at small \(t\) is relatively diminished, impairing fine-grained score estimation near the data distribution, leading to degraded sample quality compared to \(\sigma_t^2\).

The schedule \(\lambda(t) = \sigma_t^2\) provides a balanced trade-off between these two regimes: it avoids overweighting the high-noise regime, unlike \(\sigma_t^3\) and \(\sigma_t^4\), while assigning sufficient weight to the small noise regime to prevent gradient explosion and keep the optimization bound controlled. This is consistent with the signal-to-noise ratio weighting discussed in Section 4.2, where \(\lambda(t) = \sigma_t^2\) has been empirically shown to yield state-of-the-art generative performance. Overall, the empirical results are consistent with the theoretical analysis, which suggests that \(\lambda(t) = \sigma_t^2\) balances the optimization difficulty across noise levels. While this experiment is illustrative rather than exhaustive, it supports the view that this weighting is a natural choice from an optimization perspective.

6 Discussion↩︎

This paper provides score-approximation guarantees, and in particular optimization guarantees, for score-based generative models trained with SGD. For general score parameterizations, we show that SGD converges to an approximate stationary point of the weighted denoising score-matching objective, with explicit dependence on the schedule-dependent weighting factors. For overparameterized two-layer ReLU networks, our NTK analysis gives a direct bound on the score-approximation error along the SGD trajectory. This connects the optimization dynamics of denoising score matching to the score-learning term appearing in sampling guarantees, thereby clarifying how training error can affect the final sampling error. A main implication of our analysis is the role of the reweighting schedule. Our results provide theoretical guidance, from an optimization perspective, for weighting choices used in practice. One limitation is that our NTK analysis focuses on overparameterized two-layer ReLU networks. Although this setting helps us understand the optimization dynamics of diffusion models, extending the theory to deep U-Net architectures remains an important open question. A natural direction for future work is also to extend the present analysis to kinetic noising processes. In such models, the forward diffusion is augmented with a velocity variable, which may act as a powerful regularization mechanism. Empirically, kinetic SGMs often lead to improved generation error [7] but this improvement has not been proved by previous stability analyses [11], [14]. An interesting open problem is therefore to determine whether such a benefit can be captured within our framework through the score-learning term and the induced training dynamics.

7 Details and Proofs for the General SGD Analysis↩︎

7.1 Additional Details for SGD in Denoising Score Matching↩︎

In this section, we provide additional details on the stochastic gradient computation for denoising score matching. At each iteration \(k \in \mathbb{N}_*\), we independently sample \[X_0^{(k)} \sim \pi_{\rm data}, \qquad Z^{(k)} \sim \mathcal{N}(0,\mathbf{I}_d), \qquad t^{(k)} \sim q \,,\] and define \[\overrightarrow X_{t^{(k)}}^{(k)} = m_{t^{(k)}}X_0^{(k)}+\sigma_{t^{(k)}}Z^{(k)}, \qquad \overrightarrow\mathbf{U}^{(k)} := \bigl(\overrightarrow X_{t^{(k)}}^{(k)}, t^{(k)}\bigr)\in\mathbb{R}^d\times[0,T] \,.\] The stochastic gradient estimator at iteration \(k+1\) for a sample \(b\) is given by \[\begin{align} \label{eq:gradient95estimator95sample} g^{k+1}_{b} = \frac{c(t_b^{(k+1)})}{q(t_b^{(k+1)})} \Big(\nabla_{\theta}s_{\theta^{(k)}}(\overrightarrow\mathbf{U}^{(k+1)}_{b})\Big)^{\top} \Big(s_{\theta^{(k)}}(\overrightarrow\mathbf{U}^{(k+1)}_{b})+\frac{Z^{(k+1)}_{b}}{\sigma_{t^{(k+1)}_{b}}}\Big) \,. \end{align}\tag{18}\]

Figure 2: SGD for Denoising Score Matching

7.2 Proof of Theorem 1↩︎

Proof. Let \(\mathcal{L}_{\rm DSM}(\theta)=\mathbb{E}[\ell(\theta;t,\overrightarrow X_t,X_0)]\) and \(\tilde{c}(t)=\lambda(t)/q(t)\) with \[\ell(\theta;t,x,x_0) := \frac{\tilde{c}(t)}{2} \left\| s_\theta(x,t)-\frac{x_0-x}{\sigma_t^2} \right\|^2 \,.\] Then \[\nabla_\theta \ell(\theta;t,x,x_0) = \tilde{c}(t)\,(\nabla_\theta s_\theta(x,t))^\top \left( s_\theta(x,t)-\frac{x_0-x}{\sigma_t^2} \right) \,.\]

For all \(\theta,\theta'\in\Theta\), we have: \[\begin{align} \nabla_\theta \ell(\theta;t,x,x_0)-\nabla_\theta \ell(\theta';t,x,x_0) &= \tilde{c}(t)\Big[ (\nabla_\theta s_\theta(x,t)-\nabla_\theta s_{\theta'}(x,t))^\top \Big( s_\theta(x,t)-\frac{x_0-x}{\sigma_t^2} \Big) \\ &\qquad\qquad +(\nabla_\theta s_{\theta'}(x,t))^\top \big(s_\theta(x,t)-s_{\theta'}(x,t)\big) \Big] \,. \end{align}\] Hence, by the triangle inequality, \[\begin{align} \left\| \nabla_\theta \ell(\theta;t,x,x_0)-\nabla_\theta \ell(\theta';t,x,x_0) \right\| &\le \tilde{c}(t) \left\| \nabla_\theta s_\theta(x,t)-\nabla_\theta s_{\theta'}(x,t) \right\| \left\| s_\theta(x,t)-\frac{x_0-x}{\sigma_t^2} \right\| \\ &\qquad + \tilde{c}(t) \left\| \nabla_\theta s_{\theta'}(x,t) \right\| \left\| s_\theta(x,t)-s_{\theta'}(x,t) \right\| \,. \end{align}\] Using Assumptions 1 and 2, we obtain \[\begin{align} &\left\| \nabla_\theta \ell(\theta;t,x,x_0)-\nabla_\theta \ell(\theta';t,x,x_0) \right\| \\ &\le \tilde{c}(t)L_s(t,x) \left(a+b\|x\|^p+\frac{\|x-x_0\|}{\sigma_t^2}\right)\|\theta-\theta'\| + \tilde{c}(t)L_\ell(t,x)^2\|\theta-\theta'\| \,. \end{align}\] Taking expectations then yields \[\|\nabla \mathcal{L}_{\rm DSM}(\theta) - \nabla \mathcal{L}_{\rm DSM}(\theta')\| \le L \|\theta-\theta'\| \,,\] where \[L = \mathbb{E}\!\left[ \tilde{c}(t)L_s(t,\overrightarrow X_t) \left(a+b\|\overrightarrow X_t\|^p+\frac{\|\overrightarrow X_t-X_0\|}{\sigma_t^2}\right) + \tilde{c}(t)L_\ell(t,\overrightarrow X_t)^2 \right] \,.\] This proves that \(\mathcal{L}_{\rm DSM}\) is \(L\)-smooth. We now establish the convergence rate of stochastic gradient descent. Since the update is based on the mini-batch estimator \(\widehat{\nabla}_{\theta} \mathcal{L}_{\rm DSM}(\theta^{(k)};\mathcal{D}^{(k+1)})\), the remainder of the proof follows the argument of Theorem 2.1 in [46], adapted to the mini-batch setting, and relies on the unbiasedness and variance control of this estimator. Using the \(L\)-smoothness of \(\mathcal{L}_{\rm DSM}\), we have \[\begin{align} \mathcal{L}_{\rm DSM}(\theta^{(k+1)}) &\le \mathcal{L}_{\rm DSM}(\theta^{(k)}) + \left\langle \nabla_\theta \mathcal{L}_{\rm DSM}(\theta^{(k)}), \theta^{(k+1)}-\theta^{(k)} \right\rangle + \frac{L}{2}\|\theta^{(k+1)}-\theta^{(k)}\|^2 \\ &= \mathcal{L}_{\rm DSM}(\theta^{(k)}) - \gamma_{k+1} \left\langle \nabla_\theta \mathcal{L}_{\rm DSM}(\theta^{(k)}), \widehat \nabla_\theta \mathcal{L}_{\rm DSM}(\theta^{(k)};\mathcal{D}^{(k+1)}) \right\rangle \\ &\quad + \frac{L\gamma_{k+1}^2}{2} \left\| \widehat \nabla_\theta \mathcal{L}_{\rm DSM}(\theta^{(k)};\mathcal{D}^{(k+1)}) \right\|^2 \,, \end{align}\] where \(\mathcal{D}^{(k+1)}\) corresponds to the mini-batch of data used to compute the gradient estimator at iteration \(k+1\). For all \(k \geq 0\), let \[\mathcal{F}_{k} = \sigma \left( \theta^{(0)}, \{\mathcal{D}^{(i)}\}_{1 \leq i \leq k } \right) = \sigma\left(\theta^{(0)},\left\{\left(X^{(i)}_{0,b},\,t^{(i)}_b,\,Z^{(i)}_b\right)_{b=1}^B\right\}_{1 \leq i \leq k}\right)\] be the filtration generated by the initialization and the mini-batches up to iteration \(k\). Taking conditional expectation with respect to \(\mathcal{F}_k\), using the unbiasedness of the mini-batch gradient estimator and the variance bound \[\mathbb{E}\left[ \left\| \widehat \nabla_\theta \mathcal{L}_{\rm DSM}(\theta^{(k)};\mathcal{D}^{(k+1)}) - \nabla_\theta \mathcal{L}_{\rm DSM}(\theta^{(k)}) \right\|^2 \middle| \mathcal{F}_k \right] \le \frac{\tau^2}{B} \,,\] we obtain \[\begin{align} \mathbb{E}\left[ \mathcal{L}_{\rm DSM}(\theta^{(k+1)}) \middle| \mathcal{F}_k \right] &\le \mathcal{L}_{\rm DSM}(\theta^{(k)}) - \gamma_{k+1} \left\| \nabla_\theta \mathcal{L}_{\rm DSM}(\theta^{(k)}) \right\|^2 \\ &\quad + \frac{L\gamma_{k+1}^2}{2} \left\| \nabla_\theta \mathcal{L}_{\rm DSM}(\theta^{(k)}) \right\|^2 + \frac{L\gamma_{k+1}^2}{2B} \tau^2 . \end{align}\] Taking expectation and summing over \(k=0,\ldots,n\) gives \[\begin{align} \sum_{k=0}^n \left( \gamma_{k+1} - \frac{L\gamma_{k+1}^2}{2} \right) \mathbb{E}\left[ \left\| \nabla_\theta \mathcal{L}_{\rm DSM}(\theta^{(k)}) \right\|^2 \right] &\le \mathcal{L}_{\rm DSM}(\theta^{(0)}) - \mathbb{E}\left[ \mathcal{L}_{\rm DSM}(\theta^{(n+1)}) \right] \\ &\quad + \frac{L\tau^2}{2B} \sum_{k=0}^n \gamma_{k+1}^2 \,. \end{align}\] Since \(\gamma_{k+1}\le 1/L\), we have \[\gamma_{k+1}-\frac{L\gamma_{k+1}^2}{2} \ge \frac{\gamma_{k+1}}{2} \,.\] Therefore, \[\sum_{k=0}^n \gamma_{k+1} \mathbb{E}\left[ \left\| \nabla_\theta \mathcal{L}_{\rm DSM}(\theta^{(k)}) \right\|^2 \right] \le 2\left( \mathcal{L}_{\rm DSM}(\theta^{(0)}) - \mathbb{E}[ \mathcal{L}_{\rm DSM}(\theta^{(n+1)}) ] \right) + \frac{L\tau^2}{B} \sum_{k=0}^n \gamma_{k+1}^2 \,.\] Then \[\mathbb{E}\left[ \left\| \nabla_\theta \mathcal{L}_{\rm DSM}(\theta^{(J)}) \right\|^2 \right] \le \frac{2\left( \mathcal{L}_{\rm DSM}(\theta^{(0)}) - \mathbb{E}[ \mathcal{L}_{\rm DSM}(\theta^{(n+1)}) ] \right) + \frac{L\tau^2}{B} \sum_{k=0}^n \gamma_{k+1}^2}{\sum_{k=0}^n \gamma_{k+1}} \,.\] Choosing \(\gamma_{k+1}=C_\gamma(k+1)^{-1/2}\) yields \[\sum_{k=0}^n \gamma_{k+1} \ge C_\gamma\sqrt n, \qquad \sum_{k=0}^n \gamma_{k+1}^2 \le C_\gamma^2 \log(n+1) \,.\] Hence, \[\mathbb{E}\left[ \left\| \nabla_\theta \mathcal{L}_{\rm DSM}(\theta^{(J)}) \right\|^2 \right] \le \frac{2\left( \mathcal{L}_{\rm DSM}(\theta^{(0)}) - \mathbb{E}[ \mathcal{L}_{\rm DSM}(\theta^{(n+1)}) ] \right) + L C_\gamma^2\tau^2\log(n+1)/B}{C_\gamma\sqrt n} \,,\] which concludes the proof. ◻

8 Proof of the main NTK theorem↩︎

8.0.0.1 Probability space and conditioning.

The analysis involves three sources of randomness: the initialization \((A,\param^{(0)})\), the SGD sample iterations \[\mathbf{U}^{(k)}:=(X_0^{(k)},Z^{(k)},t^{(k)}), \qquad k\ge 0 \,,\] and independent fresh samples drawn from \(\overrightarrow\mathbf{U}:=(\overrightarrow X_{\tau}, \tau)\) used to evaluate the population quantities. Here, \(\overrightarrow\mathbf{U}\) has the same law as a training sample input, but is independent of both the initialization and the SGD sample stream. To avoid overloading notation, random variables sampled during SGD carry the iteration index in superscript, whereas fresh independent samples used only for evaluation are denoted with an arrow. We also introduce the corresponding filtrations, denoted by \[\mathcal{I} :=\sigma(A,\param^{(0)}) \,, \qquad \mathcal{F}_n :=\sigma(\mathbf{U}^{(0)},\dots,\mathbf{U}^{(n-1)}) \,, \qquad \mathcal{G}_n :=\sigma \left( \mathcal{I} \cup \mathcal{F}_n \right) \,.\] It follows that, for a fixed trained parameter \(\param^{(n)}\), the projected DSM loss is defined by \[\mathcal{L}_{\rm DSM}^{\Pi}(\param^{(n)}) := \frac{1}{2} \mathbb{E}\left[ c(\tau) \|\Delta_n^R( \overrightarrow\mathbf{U})\|^2 \,\middle| \mathcal{G}_n \right] \qquad \overrightarrow\mathbf{U}=(\overrightarrow X_\tau,\tau) \,.\] Throughout the rest of the proof, as in [38], we condition implicitly on \(\mathcal{I}\). When it is clear from the context, expectations are to be understood as with respect to the SGD sample stream only, or we specify \[\mathbb{E}_{\mathrm{sgd}} [ \cdot ] = \mathbb{E}[ \cdot | \mathcal{I} ] \,.\]

8.0.0.2 Localized DSM loss.

We first reduce the projected DSM loss to a localized \(L_2\) error plus a tail remainder. We introduce the truncated weighted measure \[\label{eq:def95mu95r} \mu_R(\mathrm{d}u) := c(t) q(t) p_t(x) \mathbf{1}_{\{\|x\|\le R\}} \mathrm{d}x \mathrm{d}t \,, \qquad u=(x,t) \in \mathbb{R}^{d} \times [0,T] \,.\tag{19}\] We define \[\begin{align} \label{eq:def95B95R} \mathcal{X}_R := \{(x,t)\in\mathbb{R}^d\times[0,T]:\|x\|\le R\}, \qquad B_R:=\sqrt{R^2+T^2} \,, \end{align}\tag{20}\] and we let \[\begin{align} \mu_R(\mathcal{X}_R) :=\int_0^T c(t) q(t) \mathbb{P}(\|\overrightarrow X_t\|\le R) \mathrm{d}t \,. \end{align}\]

Lemma 1. Suppose Assumption 3 holds. Then, for every \(n\ge 0\) and every \(R> \sigma_T\mu_Z\), \[\label{eq:projected95loss95reduction} \mathcal{L}_{\rm DSM}^{\Pi}(\param[n]) \le R\sqrt{\mu_R(\mathcal{X}_R)} \|\Delta_n\|_{L_2(\mu_R)} + 2(1+C_0) R^2 \int_0^T c(t) q(t) \exp \left\{ -\frac{(R-\sigma_t\mu_Z)^2}{8\max(\sigma_t^2,m_t^2\nu_0^2)} \right\} \mathrm{d}t \,.\qquad{(3)}\]

Proof. Since both projected terms lie in the Euclidean ball of radius \(R\), we have \[\|\Delta_n^R(u)\| = \|\Pi_R(f^\star(u))-\Pi_R(f_\theta(u,\param[n]))\| \le 2R \,.\] Therefore, \[\|\Delta_n^R(u)\|^2 \le 2R\|\Delta_n^R(u)\| \,.\] Moreover, by the non-expansiveness of the projection operator \(\Pi_R\), \[\|\Delta_n^R(u)\| = \|\Pi_R(f^\star(u))-\Pi_R(f_\theta(u,\param[n]))\| \le \|f^\star(u)-f_\theta(u,\param[n])\| = \|\Delta_n(u)\| \,.\] It follows that, \[\begin{align} \mathbb{E}\left[c(\tau) \|\Delta_n^R(\overrightarrow\mathbf{U})\|^2\right] &= \mathbb{E}\left[c(\tau) \|\Delta_n^R(\overrightarrow\mathbf{U})\|^2 \mathbf{1}_{\{\|\overrightarrow X_\tau\|\le R\}}\right] + \mathbb{E}\left[c(\tau) \| \Delta_n^R(\overrightarrow\mathbf{U})\|^2 \mathbf{1}_{\{\|\overrightarrow X_\tau\|> R\}}\right] \\ & \leq 2 R \mathbb{E}\left[c(\tau) \|\Delta_n(\overrightarrow\mathbf{U})\| \mathbf{1}_{\{\|\overrightarrow X_\tau\|\le R\}}\right] + 4R^2 \mathbb{E}\left[c(\tau) \mathbf{1}_{\{\|\overrightarrow X_\tau\| > R\}}\right] \\ & \le 2 R\sqrt{\mu_R(\mathcal{X}_R)} \|\Delta_n\|_{L_2(\mu_R)} + 4 R^2 \int_0^T c(t)q(t) \mathbb{P}(\|\overrightarrow X_t\|>R) \mathrm{d}t \,. \end{align}\] Equation ?? follows from Lemma 14. ◻

8.0.0.3 Truncated SGD updates.

Fix an iteration horizon \(n\ge 1\) and a radius \(R>0\), and define \[\label{eq:good95event} \Omega_{n,R} := \bigcap_{k=0}^{n-1} \left\{ \|\overrightarrow X_{t^{(k)}}^{(k)}\| \le R \right\} \,.\tag{21}\] By the union bound, \[\mathbb{P} (\Omega_{n,R}^c) \le \sum_{k=0}^{n-1} \mathbb{P} \left(\|\overrightarrow X_{t^{(k)}}^{(k)}\|>R\right) = n \int_0^T q(t) \mathbb{P} (\|\overrightarrow X_t\|>R) \mathrm{d}t \,,\] which is controlled by Lemma 14. The NTK analysis is carried out on the good event \(\Omega_{n,R}\). We split \[\begin{align} \mathbb{E}_{\mathrm{sgd}}\!\left[\mathcal{L}_{\rm DSM}^{\Pi}(\param^{(n)})\right] &= \mathbb{E}_{\mathrm{sgd}}\!\left[\mathcal{L}_{\rm DSM}^{\Pi}(\param^{(n)}) \mathbf{1}_{\Omega_{n,R}}\right] + \mathbb{E}_{\mathrm{sgd}}\!\left[\mathcal{L}_{\rm DSM}^{\Pi}(\param^{(n)}) \mathbf{1}_{\Omega_{n,R}^c}\right] \,. \end{align}\] The first term is controlled by the localized error. Indeed, by ?? , \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[ \mathcal{L}_{\rm DSM}^{\Pi}(\param^{(n)})\mathbf{1}_{\Omega_{n,R}} \right] & \le R\sqrt{\mu_R(\mathcal{X}_R)} \mathbb{E}_{\mathrm{sgd}}\!\left[ \|\Delta_n\|_{L_2(\mu_R)} \mathbf{1}_{\Omega_{n,R}} \right] \\ & \qquad + 2(1+C_0)R^2 \int_0^T c(t)q(t) \exp \left( -\frac{(R-\sigma_t\mu_Z)^2}{8\max(\sigma_t^2,m_t^2\nu_0^2)} \right)\mathrm{d}t \,. \end{align}\] To control the complement event, we use the trivial bound \[\|\Delta_n^R(u)\| \le \|\Pi_R(f^\star(u))\|+\|\Pi_R(f_\theta(u,\param[n]))\| \le 2R \,,\] which yields \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[ \mathcal{L}_{\rm DSM}^{\Pi}(\param^{(n)})\mathbf{1}_{\Omega_{n,R}^c} \right] &\le 2R^2\left(\int_0^T c(t)q(t)\,\mathrm{d}t\right) \mathbb{P}(\Omega_{n,R}^c) \,. \end{align}\] Combining this with 21 and Lemma 14, \[\begin{align} \label{eq:bad95event95tail} \mathbb{P}(\Omega_{n,R}^c) &\le n(1+C_0) \int_0^T q(t) \exp\!\left( -\frac{(R-\sigma_t\mu_Z)^2}{8\max(\sigma_t^2,m_t^2\nu_0^2)} \right)\mathrm{d}t \,. \end{align}\tag{22}\] Therefore, \[\begin{gather} \mathbb{E}_{\mathrm{sgd}}\!\left[ \mathcal{L}_{\rm DSM}^{\Pi}(\param^{(n)})\mathbf{1}_{\Omega_{n,R}^c} \right] \\ \le 2(1+C_0)n R^2 \left(\int_0^T c(t)q(t)\,\mathrm{d}t\right) \left(\int_0^T q(t) \exp \left( -\frac{(R-\sigma_t\mu_Z)^2}{8\max(\sigma_t^2,m_t^2\nu_0^2)} \right)\mathrm{d}t\right) \,. \end{gather}\] In particular, with \(c_\infty :=\sup_{t\in[0,T]} c(t) < \infty\), we get \[\begin{align} \label{eq:equality95to95finsh95thm95295layers} \mathbb{E}_{\mathrm{sgd}} \left[ \mathcal{L}_{\rm DSM}^{\Pi}(\param^{(n)}) \right] & \le R\sqrt{\mu_R(\mathcal{X}_R)} \mathbb{E}_{\mathrm{sgd}} \left[ \|\Delta_n\|_{L_2(\mu_R)} \mathbf{1}_{\Omega_{n,R}} \right] \\ & \qquad + 2(1+C_0)c_\infty (n+1) R^2 \int_0^T q(t) \exp\!\left( -\frac{(R-\sigma_t\mu_Z)^2}{8\max(\sigma_t^2,m_t^2\nu_0^2)} \right) \mathrm{d}t \,. \end{align}\tag{23}\]

8.0.0.4 Localized error decomposition

We introduce the integral operators associated with the kernels \(K_k\) and \(K_\infty\), restricted to the localized region \(\mathcal{X}_R\). In particular, for every measurable function \(g:\mathbb{R}^{d} \times [0,T] \to\mathbb{R}^d\), \[\begin{align} (\mathsf K_k g)(u) & := \mathbb{E} \left[c(\tau)\,K_k(u,\overrightarrow\mathbf{U})\,g(\overrightarrow\mathbf{U}) \mathbf{1}_{\{\|\overrightarrow X_\tau\| \leq R\}} \right] \,, \qquad \overrightarrow\mathbf{U}=(\overrightarrow X_\tau,\tau) \,, \qquad \tau\sim q \,, \\ (\mathsf K_\infty g)(u) & := \mathbb{E}\left[c(\tau)\,K_\infty(u,\overrightarrow\mathbf{U}) g(\overrightarrow\mathbf{U}) \mathbf{1}_{\{\|\overrightarrow X_\tau\|\leq R\}} \right], \qquad \overrightarrow\mathbf{U}=(\overrightarrow X_\tau,\tau) \,, \qquad \tau\sim q \,. \end{align}\] We also introduce the following operators that will be useful throughout the proof: \[\begin{align} \label{eq:notation95kernel} \mathsf{P}_k := \mathsf{I}-\gamma_k \mathsf{K}_\infty \,,\qquad \mathsf{Q}_k := \mathsf{I} -\gamma_k \mathsf{K}_k \,, \qquad \mathsf{D}_k := \mathsf{Q}_k - \mathsf{P}_k \,, \end{align}\tag{24}\] where \(\mathsf{I}\) should be understood as the identity on \(L_2(\mu_R)\). In the following, all norms of vector-valued functions \(f: \mathbb{R}^{d} \times [0,T] \to \mathbb{R}^d\) are taken in \(L_2(\mu_R;\mathbb{R}^d)\), where \(\mu_R\) is defined in 19 : \[\|f\|^2_{L_2(\mu_R)} =\int \|f(u)\|^2 \mu_R(\mathrm{d}u) \,, \qquad u=(x,t)\in\mathbb{R}^{d} \times [0,T] \,.\] For a bounded linear operator \(\mathsf T\) on \(L_2(\mu_R;\mathbb{R}^d)\), we denote \[\|\mathsf T\|_{\rm op} =\sup_{\|f\|\le 1}\|\mathsf T f\|_{L_2(\mu_R)} \,.\]

8.1 Error decomposition↩︎

Lemma 2. On the event \(\Omega_{n+1,R}\), for all \(0\le k\le n\) and all \(u\in\mathbb{R}^{d} \times [0,T]\), \[\begin{align} \label{eq:delta95rec} \Delta_{k+1}(u) = \bigl( \mathsf I -\gamma_k \mathsf{K}_k\bigr) \Delta_k(u) - v_k(u,\overrightarrow\mathbf{U}^{(k)}) + \varepsilon_k(u,\overrightarrow\mathbf{U}^{(k)}) \,, \end{align}\qquad{(4)}\] where \[\begin{align} v_k(u,\overrightarrow\mathbf{U}^{(k)}) & := \gamma_k c(t^{(k)})K_k(u, \overrightarrow\mathbf{U}^{(k)})\bigl[\Delta_k(\overrightarrow\mathbf{U}^{(k)}) + \xi_k\bigr] \mathbf{1}_{\{ \|\overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} -\gamma_k (\mathsf K_k\Delta_k)(u) \,, \\ \varepsilon_k(u, \overrightarrow\mathbf{U}^{(k)}) & := f_{\theta}(u, \param[k]) - f_{\theta}(u, \param[k+1]) + \\ & \qquad \qquad \gamma_k c(t^{(k)})\, K_k(u,\overrightarrow\mathbf{U}^{(k)}) \Bigl[f^{\star}(\overrightarrow\mathbf{U}^{(k)})+\xi_k-f_{\theta}(\overrightarrow\mathbf{U}^{(k)}, \param[k])\Bigr] \,. \end{align}\]

Proof. For all \(0\le k\le n\), by definition of \(\Delta_k\), \[\Delta_{k+1}(u)-\Delta_k(u) = f(u,\param[k]) - f(u,\param[k+1]) \,.\] On \(\Omega_{n,R}\), \[\begin{align} f(u,\param[k]) - f(u,\param[k+1]) &= -\gamma_k c(t^{(k)})K_k(u,\overrightarrow\mathbf{U}^{(k)}) \Bigl[f^\star(\overrightarrow\mathbf{U}^{(k)})+\xi_k-f(\overrightarrow\mathbf{U}^{(k)},\param[k])\Bigr] \\ &\quad \times \mathbf{1}_{\{ \| \overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} +\varepsilon_k(u,\overrightarrow\mathbf{U}^{(k)}) \,. \end{align}\] Since \[f^\star(\overrightarrow\mathbf{U}^{(k)})+\xi_k-f(\overrightarrow\mathbf{U}^{(k)},\param[k]) = \Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k \,,\] it follows that \[\begin{align} \Delta_{k+1}(u) = \Delta_k(u) -\gamma_k c(t^{(k)})K_k(u,\overrightarrow\mathbf{U}^{(k)}) \left[ \Delta_k(\overrightarrow\mathbf{U}^{(k)}) + \xi_k \right] +\varepsilon_k(u,\overrightarrow\mathbf{U}^{(k)}) \,, \end{align}\] and therefore, \[\begin{align} \Delta_{k+1}(u) = \Delta_k(u) - v_k(u,\overrightarrow\mathbf{U}^{(k)}) - \gamma_k(\mathsf K_k\Delta_k)(u) +\varepsilon_k(u,\overrightarrow\mathbf{U}^{(k)}) \,. \end{align}\] Grouping the remaining terms yields ?? . ◻

Lemma 3. Let \(\mathsf K_k\) and \(\mathsf K_\infty\) be the integral operators on \(L_2(\mu_R;\mathbb{R}^d)\) associated with the kernels \(K_k\) and \(K_\infty\). If \[\begin{align} \label{eq:step95size95condition} 0\le \gamma_k\le \min \left\{ \frac{2m}{\|A\|^2 B_R^2 \mu_R( \mathcal{X}_R )} ; \frac{1}{ B_R^2 \mu_R(\mathcal{X}_R )} \right\} :=\Gamma_R \,, \end{align}\qquad{(5)}\] then, for any \(1 \leq k \leq n\) \[\|\mathsf{P}_k\|_{\rm op} \leq 1 \quad \text{and} \quad \|\mathsf Q_k\|_{\rm op} \leq 1 \,.\]

Proof. Step 1: operator bound on \(L_2(\mu_R, \mathbb{R}^d)\).
Let \(\mathsf H\) be either \(\mathsf K_\infty\) or \(\mathsf K_k\), and let \(H(u,u')\) denote the kernel associated with the corresponding integral operator. Then, for every \(g\in L_2(\mu_R,\mathbb{R}^d)\) and any \(u\in \mathbb{R}^{d} \times [0,T]\), by the triangle inequality \[\begin{align} \|(\mathsf H g)(u)\| & = \left\|\int H(u,u') g(u') \mu_R(\mathrm{d}u') \right\| \le \int \|H(u,u')\| \|g(u')\| \mu_R( \mathrm{d}u') \,. \end{align}\]

Let \(\sup_{u, u'} \|H(u,u')\| = M_H\), so that using Cauchy–Schwarz, \[\|(\mathsf H g)(u)\| \leq M_H \int \|g(u')\| \mu_R( \mathrm{d}u') \leq M_H \mu_R(\mathcal{X}_R)^{1/2} \|g\|_{L_2(\mu_R)} \,.\] Therefore, integrating \(u\) with respect to \(\mu_R\) yields, \[\|\mathsf H g\|_{L_2(\mu_R)}^2 \le M_H^2 \mu_R( \mathcal{X}_R)^2 \|g\|_{L_2(\mu_R)}^2 \,,\] and therefore, \[\|\mathsf H \|_{\rm op} \le M_H \mu_R(\mathcal{X}_R) \,.\]

Step 2: uniform kernel bounds.
We now control \(M_H = \|H(u,u')\|\) in both cases. For any \(u=(x,t),u'=(x',t')\in \mathcal{X}_R\), we have \[\|u\|^2=\|x\|^2+t^2\le R^2+T^2 = B_R^2 \,,\] so that, \[\| K_\infty(u,u') \| \le |u^\top u'| \le B^2_R \,.\] Moreover, using that \(\|D_{u,\param[k]}\| \le 1\), \[\|K_k(u,u')\| \le \frac{\|A\|^2}{m} B_R^2 \,.\] Step 3: non-expansiveness condition.
Using the bounds obtained in Step 2, we deduce that \[\|\mathsf K_\infty\|_{\rm op} \le B_R^2 \mu_R(\mathcal{X}_R), \qquad \text{ and } \qquad \|\mathsf K_k\|_{\rm op} \le \frac{\|A\|^2}{m} B_R^2\,\mu_R(\mathcal{X}_R) \,.\] Moreover, both \(\mathsf K_\infty\) and \(\mathsf K_k\) are self-adjoint positive semidefinite operators on \(L_2(\mu_R;\mathbb{R}^d)\). Therefore their spectra are contained in \([0,\|\mathsf K_\infty\|_{\rm op}]\) and \([0,\|\mathsf K_k\|_{\rm op}]\) respectively. It follows that \[\|\mathsf P_k\|_{\rm op} = \|I-\gamma_k \mathsf K_\infty\|_{\rm op} \le 1 \,,\] whenever \[0\le \gamma_k\le \frac{2}{B_R^2\,\mu_R(\mathcal{X}_R)} \,,\] and similarly \[\|\mathsf Q_k\|_{\rm op} = \|I-\gamma_k \mathsf K_k\|_{\rm op} \le 1 \,,\] whenever \[0\le \gamma_k\le \frac{2m}{\|A\|^2 B_R^2 \mu_R(\mathcal{X}_R)} \,.\] ◻

Lemma 4. For all \(k\ge 0\), assume that \(0\le \gamma_k \le \Gamma_R\). Then, on the event \(\Omega_{n,R}\), for all \(0 \le k \le n\), \[\begin{gather} \|\Delta_{k+1}\|_{L_2(\mu_R)} \le \left\|\left(\prod_{s=0}^{k} \mathsf{P}_s\right) \Delta_0 \right\|_{L_2(\mu_R)} + \sum_{r=0}^{k}\|\mathsf{D}_r\|_{\rm op} \|\Delta_0\|_{L_2(\mu_R)} \\+ \left\| \sum_{r=0}^{k}\left(\prod_{s=r+1}^{k} \mathsf{Q}_s\right) v_r \right\|_{L_2(\mu_R)} + \sum_{r=0}^{k}\|\varepsilon_r\|_{L_2(\mu_R)} \,. \label{eq:error95decomp95bound} \end{gather}\qquad{(6)}\]

Proof. Using the notation in 24 , ?? can be written as \[\Delta_{k+1} = \mathsf{Q}_k \Delta_k - v_k + \varepsilon_k \,.\] and therefore, \[\Delta_{k+1} = \left(\prod_{s=0}^{k} \mathsf{Q}_s\right) \Delta_0 - \sum_{r=0}^{k}\left(\prod_{s=r+1}^{k} \mathsf{Q}_s\right) v_r + \sum_{r=0}^{k}\left(\prod_{s=r+1}^{k} \mathsf{Q}_s\right) \varepsilon_r \,.\] Using that, \[\prod_{s=0}^k \mathsf{Q}_s - \prod_{s=0}^k \mathsf{P}_s = \sum_{r = 0}^k \left( \prod_{i=r+1}^k \mathsf{Q}_i \right) \left( \mathsf{Q}_r - \mathsf{P}_r\right) \left( \prod_{j=0}^{r-1} \mathsf{P}_j \right) \,.\] Next, since for any \(r\), \(\mathsf{D}_r=\mathsf{Q}_r-\mathsf{P}_r\), \[\begin{gather} \Delta_{k+1} = \left(\prod_{s=0}^{k} \mathsf{P}_s\right) \Delta_0 + \sum_{r=0}^{k} \left(\prod_{i=r+1}^{k} \mathsf{Q}_i\right)\mathsf{D}_r \left(\prod_{j=0}^{r-1} \mathsf{P}_j\right) \Delta_0 \\ - \sum_{r=0}^{k}\left(\prod_{s=r+1}^{k} \mathsf{Q}_s\right) v_r + \sum_{r=0}^{k}\left(\prod_{s=r+1}^{k} \mathsf{Q}_s\right) \varepsilon_r \,. \end{gather}\] Taking norms and applying the triangle inequality yields \[\begin{align} \|\Delta_{k+1}\|_{L_2(\mu_R)} &\le \left\|\left(\prod_{s=0}^{k} \mathsf{P}_s\right) \Delta_0 \right\|_{L_2(\mu_R)} + \sum_{r=0}^{k} \left\| \left(\prod_{i=r+1}^{k} \mathsf{Q}_i\right)\mathsf{D}_r \left(\prod_{j=0}^{r-1} \mathsf{P}_j\right) \Delta_0 \right\|_{L_2(\mu_R)} \\ &\quad + \left\| \sum_{r=0}^{k}\left(\prod_{s=r+1}^{k} \mathsf{Q}_s\right) v_r \right\|_{L_2(\mu_R)} + \sum_{r=0}^{k} \left\|\left(\prod_{s=r+1}^{k} \mathsf{Q}_s\right) \varepsilon_r\right\|_{L_2(\mu_R)} \,. \end{align}\]

Since \(\gamma_k \leq \Gamma_R\), Lemma 3 gives \(\|\mathsf{Q}_s\|_{\rm op} \le 1\) and \(\|\mathsf{P}_s\|_{\rm op} \le 1\). Hence, \[\begin{align} \left\| \left(\prod_{i=r+1}^{k} \mathsf{Q}_i\right)\mathsf{D}_r \left(\prod_{j=0}^{r-1} \mathsf{P}_j\right) \Delta_0 \right\|_{L_2(\mu_R)} &\le \|\mathsf{D}_r\|_{\rm op} \|\Delta_0\|_{L_2(\mu_R)} \,, \\ \left\|\left(\prod_{s=r+1}^{k} \mathsf{Q}_s\right) \varepsilon_r\right\|_{L_2(\mu_R)} &\le \|\varepsilon_r\|_{L_2(\mu_R)} \,. \end{align}\] Applying these bounds to the inequality for \(\|\Delta_{k+1}\|_{L_2(\mu_R)}\) yields ?? and concludes the proof. ◻

It now remains to bound each term in the above decomposition. For all \(n\ge 0\), define \[\begin{align} \mathcal{T}_{1,n} &:=\left\|\left(\prod_{k=0}^{n}\mathsf P_k\right)\Delta_0\right\|_{L_2(\mu_R)},\\ \mathcal{T}_{2,n} &:=\sum_{k=0}^{n}\|\mathsf D_k\|_{\rm op} \|\Delta_0\|_{L_2(\mu_R)},\\ \mathcal{T}_{3,n} &:=\left\| \sum_{k=0}^{n}\left(\prod_{r=k+1}^{n}\mathsf Q_r\right)v_k \right\|_{L_2(\mu_R)},\\ \mathcal{T}_{4,n} &:=\sum_{k=0}^{n}\|\varepsilon_k\|_{L_2(\mu_R)}. \end{align}\] Taking expectation with respect to the SGD sample stream, on the event \(\Omega_{n,R}\) conditionally on the initialization, yields \[\label{eq:expected95squared95error95decomp} \mathbb{E}_{\mathrm{sgd}} \left[\|\Delta_{n+1}\|_{L_2(\mu_R)} \mathbf{1}_{\Omega_{n+1,R}} \right] \le \sum_{\ell=1}^4 \mathbb{E}_{\mathrm{sgd}} \left[\mathcal{T}_{\ell,n} \mathbf{1}_{\Omega_{n+1,R}} \right] \,.\tag{25}\]

8.2 First term↩︎

For any function \(g \in L_2(\mu_R;\mathbb{R}^d)\), we denote by \(\mathcal{R}(g,r)\) the \(L_2(\mu_R;\mathbb{R}^d)\)-norm of the projection of \(g\) onto the subspace spanned by the eigenvectors \(\{e_i\}_{i=r+1}^\infty\), given by \[\begin{align} \label{eq:projection95K95infty} \mathcal{R}(g,r) := \left(\sum_{i=r+1}^{\infty} \langle g,e_i\rangle^2\right)^{1/2} \,. \end{align}\tag{26}\]

Lemma 5. Assume that \(\gamma_k < \Gamma_R \leq 1 /\bigl(B_R^2 \mu_R(\mathcal{X}_R)\bigr)\) for all \(k \ge 0\). Then, \[\mathcal{T}_{1,n} = \left\|\left(\prod_{k=0}^{n}\mathsf{P}_k\right) \Delta_0 \right\|_{L_2(\mu_R)} \le \inf_{r\in\mathbb{N}}\left\{ \left(\prod_{k=0}^{n}(1-\gamma_k\lambda_r)\right) \|\Delta_0\|_{L_2(\mu_R)} + \mathcal{R}(\Delta_0,r) \right\} \,.\]

Notice that \(\mathcal{T}_{1,n}\) is deterministic conditionally on the initialization and does not depend on the SGD samples. Therefore, \[\mathbb{E}_{\mathrm{sgd}}\!\left[ \mathcal{T}_{1,n}\mathbf{1}_{\Omega_{n+1,R}} \right] \le \mathcal{T}_{1,n} \,.\]

Proof. Fix \(n\ge 0\). Let \(\{(\lambda_i,e_i)\}_{i\ge 1}\) denote the eigenpairs of \(\mathsf K_\infty\), with \(\lambda_1\ge \lambda_2\ge \cdots \ge 0\), and write the spectral expansion \[\Delta_0=\sum_{i=1}^{\infty}\langle \Delta_0,e_i\rangle\,e_i \,.\] Since \(\mathsf{P}_s = I-\gamma_s\mathsf K_\infty\), we have \(\mathsf{P}_s e_i=(1-\gamma_s\lambda_i)e_i\), and hence \[\left(\prod_{k=0}^{n}\mathsf{P}_k\right) \Delta_0 = \sum_{i=1}^{\infty}\rho_i(n) \langle \Delta_0,e_i\rangle e_i \,, \qquad \rho_i(n):=\prod_{k=0}^{n}\bigl(1-\gamma_k\lambda_i\bigr) \,.\] The assumption on the step sizes \(\gamma_k\) implies that \(0\le 1-\gamma_k\lambda_i\le 1\) for all \(i\) and all \(k\le n\), hence \(0\le \rho_i(n)\le 1\). Moreover, since \(\lambda_i\ge \lambda_r\) for \(i\le r\) and \(u\mapsto 1-\gamma_k u\) is decreasing, we have \(\rho_i(n)\le \rho_r(n)\) for all \(i\le r\). Therefore, for any \(r\in\mathbb{N}\), \[\begin{align} \left\| \left(\prod_{k=0}^{n}\mathsf P_k\right)\Delta_0 \right\|_{L_2(\mu_R)} &\le \left\| \sum_{i=1}^{r} \rho_i(n)\langle \Delta_0,e_i\rangle e_i \right\|_{L_2(\mu_R)} + \left\| \sum_{i=r+1}^{\infty} \rho_i(n)\langle \Delta_0,e_i\rangle e_i \right\|_{L_2(\mu_R)} \\ &\le \rho_r(n) \left\| \sum_{i=1}^{r} \langle \Delta_0,e_i\rangle e_i \right\|_{L_2(\mu_R)} + \left\| \sum_{i=r+1}^{\infty} \langle \Delta_0,e_i\rangle e_i \right\|_{L_2(\mu_R)} \\ &\le \rho_r(n)\|\Delta_0\|_{L_2(\mu_R)} + \mathcal{R}(\Delta_0,r) \,. \end{align}\] Since this holds for every \(r\in\mathbb{N}\), taking the infimum over \(r\) concludes the proof. ◻

8.3 Second term↩︎

For a matrix-valued kernel \(G:\mathcal{X}_R\times\mathcal{X}_R\to\mathbb{R}^{d\times d}\), define \[\|G\|_{\infty,R} := \sup_{u,u'\in\mathcal{X}_R}\|G(u,u')\|\] and let \[\label{eq:def95loss95k} \mathbf{e}_k := f\left(\overrightarrow\mathbf{U}^{(k)};\param^{(k)}\right)-X_0^{(k)} = f\left(\overrightarrow\mathbf{U}^{(k)};\param^{(k)}\right) - \left(f^\star \left(\overrightarrow\mathbf{U}^{(k)}\right)+\xi_k\right) \,.\tag{27}\]

Lemma 6. For all \(n \ge 0\), there exists a universal constant \(C>0\) such that, with probability at least \(1-\delta\) over the initialization, \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[ \mathcal{T}_{2,n} \mathbf{1}_{\Omega_{n+1,R}} \right] & \leq C \mu_R(\mathcal{X}_R) B_R^2 \|\Delta_0\|_{L_2(\mu_R)} \Bigg[ \frac{d^{3/2} B_R}{\sqrt m} \mathbb{E}_{\mathrm{sgd}} \left[ \left(\sum_{k=0}^{n} \gamma_k \eta_k \right) \mathbf{1}_{\Omega_{n+1,R}} \right] \\ &\qquad\qquad + d \sqrt{ \frac{d\log(m)+\log(1/\delta)}{m}} \sum_{k=0}^{n} \gamma_k \Bigg] \,, \end{align}\] where \[\begin{align} \eta_k := \sum_{r=0}^{k-1} \gamma_r c(t^{(r)}) \|\mathbf{e}_r\| \,. \end{align}\]

Proof. For all \(k \ge 0\), since \(\mathsf D_k = \gamma_k(\mathsf K_\infty -\mathsf K_k )\), \[\|\mathsf D_k\|_{\rm op} \le \gamma_k \|\mathsf{K}_k- \mathsf{K}_\infty\|_{\rm op} \,,\] and therefore \[\begin{align} \|\mathsf{K}_k- \mathsf{K}_\infty\|_{\rm op} & \leq \mu_R(\mathcal{X}_R) \| K_k -K_\infty \|_{\infty,R} \,. \end{align}\] On the event \(\Omega_{n+1,R}\), Lemma 7 applies for every \(0\le k\le n\). Combining it with Lemma 8, both with confidence parameter \(\delta/2\), we obtain for \(m\ge d\log(em)+\log(1/\delta)\), there exist universal constants (which may vary from line to line) \(C,C' > 0\) such that, with probability at least \(1-\delta\) \[\begin{align} \|K_k-K_\infty\|_{\infty,R} & \le 2dB_R^2 \left( \frac{2B_R\sqrt d}{\sqrt{2\pi m}} \eta_k + C \sqrt{\frac{d+\log(2/\delta)}{m}} \right) + C'B_R^2 \sqrt{\frac{d \log(m)+\log(2/\delta)}{m}} \\ & \le C B_R^2 \left( \frac{d^{3/2}B_R}{\sqrt m} \eta_k + d \sqrt{\frac{d \log(m)+\log(1/\delta)}{m}} \right) \,. \end{align}\] Therefore, \[\|\mathsf D_k\|_{\rm op} \le \gamma_k \mu_R(\mathcal{X}_R) C B_R^2 \left( \frac{d^{3/2}B_R}{\sqrt m}\eta_k + d \sqrt{\frac{d \log(m)+\log(1/\delta)}{m}} \right) \,.\] Hence, \[\begin{align} \mathcal{T}_{2,n} & = \sum_{k=0}^{n}\|\mathsf D_k\|_{\rm op} \|\Delta_0\|_{L_2(\mu_R)} \\ & \leq C \mu_R(\mathcal{X}_R) B_R^2 \|\Delta_0\|_{L_2(\mu_R)} \left( \frac{d^{3/2}B_R}{\sqrt m} \sum_{k=0}^{n} \gamma_k \eta_k + d \sqrt{\frac{d \log(m)+\log(1/\delta)}{m}} \sum_{k=0}^{n} \gamma_k \right) \,, \end{align}\] taking expectation with respect to the SGD randomness finishes the proof. ◻

Lemma 7. There exists a universal constant \(C>0\) such that, with probability at least \(1-\delta\) over the initialization, for all \(0 \le k \le n\), \[\begin{align} \|K_k - K_0\|_{\infty,R} \le 2dB_R^2 \left( \frac{2B_R\sqrt{d}}{\sqrt{2\pi m}} \eta_k + C \sqrt{\frac{d+\log(1/\delta)}{m}} \right) \,, \end{align}\] where \[\begin{align} \eta_k := \sum_{r=0}^{k-1} \gamma_r c(t^{(r)}) \|\mathbf{e}_r\| \,. \end{align}\]

Proof. For all \(0 \le k \le n\), \(1 \le i \le m\), and \(u\in\mathcal{X}_R\), set \[I_i^k(u)=\mathbf{1}\{\param_i^{(k)\top}u\ge 0\}.\] Then, for all \(u,u'\in\mathcal{X}_R\), \[\begin{align} \| K_k(u,u') - K_0(u,u') \| &= \Biggl\| \frac{u^\top u'}{m} \sum_{i=1}^m \bigl(I_i^k(u)I_i^k(u')-I_i^0(u)I_i^0(u')\bigr) A_{\cdot i}A_{\cdot i}^\top \Biggr\| \\ &\le \frac{B_R^2}{m} \sum_{i=1}^m \|A_{\cdot i}A_{\cdot i}^\top\| \bigl|I_i^k(u)I_i^k(u')-I_i^0(u)I_i^0(u')\bigr| \\ &\le \frac{dB_R^2}{m} \sum_{i=1}^m \Bigl( |I_i^k(u')-I_i^0(u')| + |I_i^k(u)-I_i^0(u)| \Bigr) \\ &\le \frac{dB_R^2}{m}\bigl(S_k(u) + S_k(u')\bigr). \end{align}\] Taking the supremum over \(u, u'\in \mathcal{X}_R\) yields \[\|K_k-K_0\|_{\infty,R} \le \frac{2dB_R^2}{m} \|S_k\|_{\infty,R} \,.\] The result then follows from Lemma 17. ◻

Lemma 8. If \(m\ge d\log(em)+\log(1/\delta)\), there exists a universal constant \(C>0\) such that, with probability at least \(1-\delta\) over the initialization \((A, \param[0])\), \[\|K_0 - K_\infty\|_{\infty,R} \leq C B_R^2 \sqrt{\frac{ \left( d \log (m)+\log(1/\delta) \right)}{m}} \,.\]

Proof. For all \(1 \le i \le m\) and \(u\in\mathcal{X}_R\), set \[I_i^0(u)=\mathbf{1}\{\param_i^{(0)\top}u\ge 0\}, \qquad p(u,u')=\mathbb{E}_{\param\sim\mathcal{N}(0,\mathbf{I}_{d+1})} \left[ \mathbf{1}\{\param^\top u\ge 0\} \mathbf{1}\{\param^\top u'\ge 0\} \right].\] Since \(u\in\mathcal{X}_R\), we have \(\|u\|\le B_R\) \[\begin{align} \|K_0(u,u')-K_\infty(u,u')\| &\le B_R^2 \Biggl\| \frac{1}{m}\sum_{i=1}^m I_i^0(u)I_i^0(u') A_{\cdot i}A_{\cdot i}^\top - p(u,u')\mathbf{I}_d \Biggr\|. \end{align}\] Moreover, by independence of \(\param_i^{(0)}\) and \(A\), we get \[\mathbb{E}\left[ \mathbf{1}\{\param^\top u\ge 0\} \mathbf{1}\{\param^\top u'\ge 0\} A_{\cdot i}A_{\cdot i}^\top \right] = p(u,u')\mathbf{I}_d .\] Therefore, by Lemma 16, if \(m\ge d\log(\mathrm{e}m)+\log(1/\delta)\), then with probability at least \(1-\delta\), \[\Biggl\| \frac{1}{m}\sum_{i=1}^m I_i^0(u)I_i^0(u') A_{\cdot i}A_{\cdot i}^\top - p(u,u')\mathbf{I}_d \Biggr\| \le C\sqrt{\frac{d\log(m)+\log(1/\delta)}{m}} .\] Combining the last two bounds concludes the proof. ◻

8.4 Third term↩︎

Lemma 9. Assume that \(\gamma_k \leq \Gamma_R\) for every \(k\ge 0\). Then, there exists a universal constant \(C>0\) such that, with probability at least \(1-\delta\), \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[ \mathcal{T}_{3,n} \mathbf{1}_{\Omega_{n+1,R}} \right] &\leq C \left( 1+\sqrt{\frac{d}{m}} +\sqrt{\frac{\log(1/\delta)}{m}} \right)^2 \sqrt{c_\infty \mu_R(\mathcal{X}_R)} B_R^2 \\ &\quad \times \sqrt{\sum_{k=0}^{n} \gamma_k^2 \mathbb{E}_{\mathrm{sgd}} \left[ c(t^{(k)}) \|\Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k\|^2 \mathbf{1}_{\{ \|\overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} \right]} \end{align}\]

Proof. Recall that the SGD filtration is given by \(\mathcal{F}_n :=\sigma \left((X_0^{(0)},Z^{(0)},t^{(0)}),\dots,(X_0^{(n)},Z^{(n)},t^{(n)})\right)\) and define \[q_n:=\sum_{k=0}^{n}\left(\prod_{r=k+1}^{n} \mathsf Q_r\right) v_k, \qquad \text{and} \qquad h_n:=\mathsf Q_n q_{n-1} \,,\] so that \[q_n=v_n+h_n \,.\] Therefore \[\begin{align} \mathbb{E}_{\mathrm{sgd}}\|q_n\|_{L_2(\mu_R)}^2 & = \mathbb{E}_{\mathrm{sgd}}\|v_n+h_n\|^2_{L_2(\mu_R)} \\ & = \mathbb{E}_{\mathrm{sgd}}\|v_n\|^2_{L_2(\mu_R)} +\mathbb{E}_{\mathrm{sgd}}\|h_n\|^2_{L_2(\mu_R)} +2\mathbb{E}_{\mathrm{sgd}}\langle v_n,h_n\rangle_{L_2(\mu_R)} \,. \end{align}\]

8.4.0.1 Upper bound on \(\mathbb{E}_{\mathrm{sgd}}\|v_k\|^2_{L_2(\mu_R)}\) for all \(0\le k \le n\).

Recalling that \[v_k(u) = \gamma_k\,c(t^{(k)})\,K_k(u,\overrightarrow\mathbf{U}^{(k)}) \left(\Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k\right) \mathbf{1}_{\{ \|\overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} - \gamma_k (\mathsf K_k\Delta_k)(u) \,,\] we get \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[ v_k(u)\mid \mathcal{F}_{k-1} \right] &= \gamma_k \mathbb{E}_{\mathrm{sgd}} \left[ c(t^{(k)}) K_k(u,\overrightarrow\mathbf{U}^{(k)}) \left( \Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k \right) \mathbf{1}_{\{ \|\overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} \middle| \mathcal{F}_{k-1} \right] \\ &\qquad\qquad\qquad - \gamma_k (\mathsf K_k\Delta_k)(u) \,, \end{align}\] because conditionally on the initialization, the maps \(K_k(\cdot,\cdot)\) and \(\Delta_k(\cdot)\) are \(\mathcal{F}_{k-1}\)-measurable, since \(\param[k]\) is determined by the samples up to iteration \(k-1\). Moreover, by definition of \(\xi_k\) \[\mathbb{E}_{\mathrm{sgd}}[\xi_k\mid \overrightarrow\mathbf{U}^{(k)},\mathcal{F}_{k-1}]=0 \,.\] Using that \(\mathcal{F}_{k-1} \subset \sigma( \overrightarrow\mathbf{U}^{(k)} , \mathcal{F}_{k-1})\) we get \[\begin{align} &\mathbb{E}_{\mathrm{sgd}}\left[ c(t^{(k)}) K_k(u,\overrightarrow\mathbf{U}^{(k)}) \left(\Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k\right) \mathbf{1}_{\{ \|\overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} \middle| \mathcal{F}_{k-1} \right] \\ &\quad= \mathbb{E}_{\mathrm{sgd}}\left[ c(t^{(k)}) K_k(u,\overrightarrow\mathbf{U}^{(k)}) \mathbf{1}_{\{ \|\overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} \left( \Delta_k(\overrightarrow\mathbf{U}^{(k)})+ \mathbb{E}_{\mathrm{sgd}} \left[ \xi_k\mid \overrightarrow\mathbf{U}^{(k)} , \mathcal{F}_{k-1}\right] \right) \middle| \mathcal{F}_{k-1} \right] \\ &\quad= \mathbb{E}_{\mathrm{sgd}} \left[ c(t^{(k)}) K_k(u,\overrightarrow\mathbf{U}^{(k)}) \Delta_k(\overrightarrow\mathbf{U}^{(k)}) \mathbf{1}_{\{ \|\overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} \middle| \mathcal{F}_{k-1} \right] \\ & \quad = (\mathsf K_k\Delta_k)(u) \,. \end{align}\]

Therefore, \[\label{eq:martingal95identity95vk} \mathbb{E}_{\mathrm{sgd}} [v_k(u)\mid \mathcal{F}_{k-1}] = 0 \,.\tag{28}\] Setting, \[Y_k(u) := c(t^{(k)}) K_k(u,\overrightarrow\mathbf{U}^{(k)}) \left( \Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k \right) \mathbf{1}_{\{ \|\overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} \,.\] we proved that \[v_k(u) = \gamma_k\Bigl( Y_k(u)-\mathbb{E}_{\mathrm{sgd}} [Y_k(u)\mid \mathcal{F}_{k-1}] \Bigr) \,.\] Hence, using the conditional variance bound \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[\|v_k\|^2_{L_2(\mu_R)} \middle| \mathcal{F}_{k-1}\right] &= \gamma_k^2\, \mathbb{E}_{\mathrm{sgd}} \left[ \big\|Y_k-\mathbb{E}_{\mathrm{sgd}} [Y_k \mid \mathcal{F}_{k-1}]\big\|^2_{L_2(\mu_R)} \middle| \mathcal{F}_{k-1} \right] \\ &\le \gamma_k^2 \mathbb{E}_{\mathrm{sgd}} \left[ \|Y_k\|^2_{L_2(\mu_R)} \middle| \mathcal{F}_{k-1} \right] \,, \end{align}\] so that \[\begin{align} \|Y_k\|^2_{L_2(\mu_R)} &= \int \left\| c(t^{(k)}) K_k(u,\overrightarrow\mathbf{U}^{(k)}) \left(\Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k\right) \mathbf{1}_{\{ \|\overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} \right\|^2 \mu_R( \mathrm{d}u) \\ &\le c(t^{(k)})^2 \|\Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k\|^2 \mathbf{1}_{\{ \|\overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} \int \|K_k(u,\overrightarrow\mathbf{U}^{(k)})\|^2 \mu_R(\mathrm{d}u) \,. \end{align}\] Taking expectation, we obtain \[\mathbb{E}_{\mathrm{sgd}} \|v_k\|^2_{L_2(\mu_R)} \le \gamma_k^2 \mathbb{E}_{\mathrm{sgd}} \left[ c(t^{(k)})^2 \|\Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k\|^2 \mathbf{1}_{\{ \|\overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} \int \|K_k(u,\overrightarrow\mathbf{U}^{(k)})\|^2 \mu_R(\mathrm{d}u) \right] \,.\]

8.4.0.2 Recursive expression for \(\mathbb{E}_{\mathrm{sgd}} \|q_n\|^2_{L_2(\mu_R)}\).

Moreover, since \(h_n\) is \(\mathcal{F}_{n-1}\)-measurable and using 28 , we obtain \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \langle v_n,h_n\rangle_{L_2(\mu_R)} = \mathbb{E}_{\mathrm{sgd}} \Big[\mathbb{E}_{\mathrm{sgd}}[\langle v_n,h_n\rangle_{L_2(\mu_R)} \mid \mathcal{F}_{n-1}]\Big] & = \mathbb{E}_{\mathrm{sgd}} \Big[\big\langle \mathbb{E}_{\mathrm{sgd}} [v_n\mid \mathcal{F}_{n-1}], h_n\big\rangle_{L_2(\mu_R)} \Big] \\ & =0 \,. \end{align}\] Hence \[\mathbb{E}_{\mathrm{sgd}} \|q_n\|^2_{L_2(\mu_R)} = \mathbb{E}_{\mathrm{sgd}} \|v_n\|^2_{L_2(\mu_R)} +\mathbb{E}_{\mathrm{sgd}} \|h_n\|^2_{L_2(\mu_R)} \,.\] Using Lemma 3 with \(\gamma_k \leq \Gamma_R\), we have that \(\|\mathsf Q_n\|_{\rm op} \le 1\), and therefore \[\|h_n\|_{L_2(\mu_R)} =\|\mathsf Q_n q_{n-1}\|_{L_2(\mu_R)} \le \|q_{n-1}\|_{L_2(\mu_R)} \,,\] so that \[\mathbb{E}_{\mathrm{sgd}} \|q_n\|^2_{L_2(\mu_R)} \le \mathbb{E}_{\mathrm{sgd}} \|v_n\|^2_{L_2(\mu_R)} +\mathbb{E}_{\mathrm{sgd}} \|q_{n-1}\|^2_{L_2(\mu_R)} \,.\] Therefore, \[\mathbb{E}_{\mathrm{sgd}} \|q_n\|^2_{L_2(\mu_R)} \le \sum_{k=0}^{n}\mathbb{E}_{\mathrm{sgd}} \|v_k\|^2_{L_2(\mu_R)} \,.\]

8.4.0.3 Final bound.

By Jensen’s inequality, \[\mathbb{E}_{\mathrm{sgd}} [\mathcal{T}_{3,n} \mathbf{1}_{\Omega_{n+1,R}}] \le \mathbb{E}_{\mathrm{sgd}} \|q_n\|_{L_2(\mu_R)} \le \left(\mathbb{E}_{\mathrm{sgd}} \|q_n\|^2_{L_2(\mu_R)}\right)^{1/2} \,.\] Hence, \[\begin{gather} \mathbb{E}_{\mathrm{sgd}} \left[ \mathcal{T}_{3,n} \mathbf{1}_{\Omega_{n+1,R}} \right] \\ \le \sqrt{\sum_{k=0}^{n} \gamma_k^2 \mathbb{E}_{\mathrm{sgd}} \left[ c(t^{(k)})^2 \|\Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k\|^2 \mathbf{1}_{\{ \|\overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} \int \|K_k(u,\overrightarrow\mathbf{U}^{(k)})\|^2 \mu_R( \mathrm{d}u) \right]} \,. \end{gather}\] Moreover, \[\begin{align} \sup_{z\in\mathcal{X}_R} \int \|K_k(u,z)\|^2 \mu_R( \mathrm{d}u) \leq \frac{\|A\|^4}{m^2} B_R^4 \mu_R(\mathcal{X}_R) \,. \end{align}\] Therefore \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[ \mathcal{T}_{3,n} \mathbf{1}_{\Omega_{n+1,R}} \right] & \leq \frac{\|A\|^2}{m} B_R^2 \mu_R(\mathcal{X}_R)^{1/2} \sqrt{\sum_{k=0}^{n} \gamma_k^2 \mathbb{E}_{\mathrm{sgd}} \left[ c(t^{(k)})^2 \|\Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k\|^2 \mathbf{1}_{\{ \|\overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} \right]} \,. \end{align}\] Using \(c_\infty = \sup_{t \in [0,T]} c(t)\), we obtain \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[ \mathcal{T}_{3,n} \mathbf{1}_{\Omega_{n+1,R}} \right] & \leq \frac{\|A\|^2}{m} \sqrt{c_\infty \mu_R(\mathcal{X}_R)} B_R^2 \sqrt{\sum_{k=0}^{n} \gamma_k^2 \mathbb{E}_{\mathrm{sgd}} \left[ c(t^{(k)}) \|\Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k\|^2 \mathbf{1}_{\{ \|\overrightarrow X^{(k)}_{t^{(k)}} \| \leq R \}} \right]} \,, \end{align}\] Since \(A\) has i.i.d. Rademacher entries, by [47], with probability at least \(1-\delta\), \[\|A\| \le C\left(\sqrt m+\sqrt d+\sqrt{\log(1/\delta)}\right) \,,\] for some universal constant \(C>0\). Therefore, \[\frac{\|A\|^2}{m} \le C\left( 1+\sqrt{\frac{d}{m}} +\sqrt{\frac{\log(1/\delta)}{m}} \right)^2 \,,\] which concludes the proof. ◻

We let \[\sigma_k^2 := \mathbb{E}_{\mathrm{sgd}}\!\left[ \|\Delta_k\|_{L_2(\mu_R)}^2 \mathbf{1}_{\Omega_{k,R}} \right] +\tau_c^2 \,,\] where \(\tau_c^2 =\mathbb{E}\!\left[ c(\tau)\|\xi\|^2 \right]\) and \(\xi= X_0-f^\star(\overrightarrow X_\tau,\tau)\). For the \(k\)-th SGD sample, we write \[\xi_k := X_0^{(k)}-f^\star(\overrightarrow\mathbf{U}^{(k)}),\] so that \(\mathbb{E}[\xi_k\mid \overrightarrow\mathbf{U}^{(k)}]=0\) and therefore \[\label{eq:delta95sigma95relation} \mathbb{E}_{\mathrm{sgd}} \left[ c(t^{(k)}) \|\Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k\|^2 \mathbf{1}_{\Omega_{k+1,R}} \right] \le \mathbb{E}_{\mathrm{sgd}}\!\left[ \|\Delta_k\|_{L_2(\mu_R)}^2 \mathbf{1}_{\Omega_{k,R}} \right] + \mathbb{E}\left[c(\tau)\|\xi\|^2\right] = \sigma_k^2 \,.\tag{29}\]

Lemma 10. Assume that \(\gamma_k < \Gamma_R\). Then, for all \(k\geq 0\), we have \[\sigma_{k+1}^2 \le \left( 1+ \gamma_k B_R^2\sqrt{c_\infty\mu_R(\mathcal{X}_R)} \left( d+\frac{\|A\|^2}{m} \right) \right)^2 \sigma_k^2 \,.\]

Proof. From Lemma 2 \[\Delta_{k+1} \mathbf{1}_{\Omega_{k+1,R}} = \left( \mathsf{Q}_k \Delta_k - v_k + \varepsilon_k \right) \mathbf{1}_{\Omega_{k+1,R}} \,.\] Therefore, we obtain \[\begin{align} \label{eq:decomposition95sigma95T1T6} \|\Delta_{k+1}\|^2_{L_2(\mu_R)} \mathbf{1}_{\Omega_{k+1,R}} &\le \left( T_1 + T_2 + T_3 + 2T_4 + 2T_5 + 2T_6 \right) \mathbf{1}_{\Omega_{k+1,R}} \,, \end{align}\tag{30}\] where \[\begin{align} T_1 &:= \|\mathsf Q_k \Delta_k\|^2_{L_2(\mu_R)} \,, \\ T_2 &:= \|v_k\|^2_{L_2(\mu_R)} \,, \\ T_3 &:= \|\varepsilon_k\|^2_{L_2(\mu_R)} \,, \\ T_4 &:= \|\mathsf Q_k \Delta_k\|_{L_2(\mu_R)} \|v_k\|_{L_2(\mu_R)} \,, \\ T_5 &:= \|\mathsf Q_k \Delta_k\|_{L_2(\mu_R)} \|\varepsilon_k\|_{L_2(\mu_R)} \,, \\ T_6 &:= \|v_k\|_{L_2(\mu_R)} \|\varepsilon_k\|_{L_2(\mu_R)} \,. \end{align}\] We now bound these terms in expectation. First, by the step-size condition and Lemma 3, \[\begin{align} \label{eq:T195bound} \mathbb{E}_{\mathrm{sgd}} \left[T_1 \mathbf{1}_{\Omega_{k+1,R}} \right] \le \mathbb{E}_{\mathrm{sgd}}\!\left[ \|\Delta_k\|_{L_2(\mu_R)}^2 \mathbf{1}_{\Omega_{k,R}} \right] = \sigma_k^2-\tau_c^2 \le \sigma_k^2 \,. \end{align}\tag{31}\] where we used that \(\Omega_{k+1,R}\subset\Omega_{k,R}\). For the second term, \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[ T_2\mathbf{1}_{\Omega_{k+1,R}} \right] & = \mathbb{E}_{\mathrm{sgd}}\!\left[ \|v_k\|_{L_2(\mu_R)}^2 \mathbf{1}_{\Omega_{k+1,R}} \right] \\ & \le \gamma_k^2 \mathbb{E}_{\mathrm{sgd}} \left[ c(t^{(k)})^2 \|\Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k\|^2 \mathbf{1}_{\Omega_{k+1,R}} \int \|K_k(u,\overrightarrow\mathbf{U}^{(k)})\|^2 \mu_R(du) \right] \,. \end{align}\] On the event \(\Omega_{k+1,R}\), we have \(\overrightarrow\mathbf{U}^{(k)}\in\mathcal{X}_R\). Hence, \[\int \|K_k(u,\overrightarrow\mathbf{U}^{(k)})\|^2 \mu_R(\mathrm{d}u) \le \frac{\|A\|^4}{m^2} B_R^4 \mu_R(\mathcal{X}_R) \,,\] and since \(c(t)^2\le c_\infty c(t)\), and using 29 \[\begin{align} \label{eq:T295bound} \mathbb{E}_{\mathrm{sgd}} \left[ T_2\mathbf{1}_{\Omega_{k+1,R}} \right] \le \gamma_k^2 c_\infty \frac{\|A\|^4}{m^2} B_R^4 \mu_R(\mathcal{X}_R) \sigma_k^2 \,. \end{align}\tag{32}\] For \(T_3\), we use a control similar to 36 , on \(\Omega_{k+1,R}\), for every \(u\in\mathcal{X}_R\), \[\|\varepsilon_k(u,\overrightarrow\mathbf{U}^{(k)})\| \le \gamma_k c(t^{(k)})dB_R^2 \|\mathbf{e}_k\| \,,\] where we used \(\widetilde{S}_k(u)\le m\) as well. Hence, \[\|\varepsilon_k\|_{L_2(\mu_R)}^2 \mathbf{1}_{\Omega_{k+1,R}} \le \gamma_k^2 c(t^{(k)})^2 d^2B_R^4 \mu_R(\mathcal{X}_R) \|\mathbf{e}_k\|^2 \mathbf{1}_{\Omega_{k+1,R}} \,.\] By definition of \(\mathbf{e}_k\) in 27 , \[\|\mathbf{e}_k\|^2 = \|\Delta_k(\overrightarrow\mathbf{U}^{(k)})+\xi_k\|^2 \,.\] Using the inequality \(c(t)^2 \le c_\infty c(t)\) and 29 , we obtain \[\begin{align} \label{eq:T395bound} \mathbb{E}_{\mathrm{sgd}}\!\left[ T_3\mathbf{1}_{\Omega_{k+1,R}} \right] &\le \gamma_k^2 c_\infty d^2B_R^4 \mu_R(\mathcal{X}_R) \sigma_k^2 \,. \end{align}\tag{33}\] For the cross terms, Cauchy-Schwarz gives \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[ T_4\mathbf{1}_{\Omega_{k+1,R}} \right] &\le \gamma_k \frac{\|A\|^2}{m} B_R^2 \sqrt{c_\infty\mu_R(\mathcal{X}_R)} \sigma_k^2 \,. \end{align}\] Similarly, \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[ T_5\mathbf{1}_{\Omega_{k+1,R}} \right] &\le \gamma_k dB_R^2 \sqrt{c_\infty\mu_R(\mathcal{X}_R)} \sigma_k^2 \,. \end{align}\] Finally, \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[ T_6\mathbf{1}_{\Omega_{k+1,R}} \right] &\le \gamma_k^2 c_\infty d \frac{\|A\|^2}{m} B_R^4 \mu_R(\mathcal{X}_R) \sigma_k^2 \,. \end{align}\] Combining the previous upper bounds yields, \[\sigma_{k+1}^2 \le \left( 1+ \gamma_k B_R^2\sqrt{c_\infty\mu_R(\mathcal{X}_R)} \left( d+\frac{\|A\|^2}{m} \right) \right)^2 \sigma_k^2 \,,\] which concludes the proof. ◻

Lemma 11. Assume that \(\gamma_k \leq \Gamma_R\) for every \(k\ge 0\) and that \(2 \Lambda_R C_\gamma \le 1\). Then, there exists a universal constant \(C>0\) such that, with probability at least \(1-\delta\), \[\begin{align} \mathbb{E}\left[\mathcal{T}_{3,n} \mathbf{1}_{\Omega_{n+1,R}} \right] &\le C\left( 1+\sqrt{\frac{d}{m}} +\sqrt{\frac{\log(1/\delta)}{m}} \right)^2 \sqrt{c_\infty \mu_R(\mathcal{X}_R)} B_R^2 C_{\gamma} e^{\Lambda_R C_{\gamma}} \left(1+\frac{1}{1-2\Lambda_R C_\gamma}\right)^{1/2} \sigma_0 \,, \end{align}\] where \(\Lambda_R = B^2_R\sqrt{c_\infty \mu_R(\mathcal{X}_R)}\left(d+\|A\|^2/m\right)\).

Proof. For all \(k \geq 0\), we have \[\begin{align} \gamma_k \sigma_k &\le \frac{C_{\gamma}}{k+1} \prod_{r=0}^{k-1}\left(1+\frac{\Lambda_R C_{\gamma}}{r+1}\right)\sigma_0 \\ &\le \frac{C_{\gamma}}{k+1}\exp\!\biggl(\sum_{r=0}^{k-1}\frac{\Lambda_R C_{\gamma}}{r+1}\biggr)\sigma_0 \\ &\le \frac{C_{\gamma}}{k+1}\exp\!\bigl(\Lambda_R C_{\gamma}(\log(k+1)+1)\bigr)\sigma_0 \\ &\le C_{\gamma} e^{\Lambda_R C_{\gamma}} (k+1)^{\Lambda_R C_{\gamma}-1} \sigma_0 . \end{align}\] Using Lemma 9 together with Lemma 10, we obtain \[\begin{align} & \mathbb{E}_{\mathrm{sgd}} \left[ \mathcal{T}_{3,n} \mathbf{1}_{\Omega_{n+1,R}} \right] \\ &\leq C \left( 1+\sqrt{\frac{d}{m}} +\sqrt{\frac{\log(1/\delta)}{m}} \right)^2 \sqrt{c_\infty \mu_R(\mathcal{X}_R)} B_R^2 \left(\sum_{k=0}^{n} \gamma_k^2 \sigma_k^2 \right)^{1/2} \\ &\leq C \left( 1+\sqrt{\frac{d}{m}} +\sqrt{\frac{\log(1/\delta)}{m}} \right)^2 \sqrt{c_\infty \mu_R(\mathcal{X}_R)} B_R^2 C_{\gamma} e^{\Lambda_R C_{\gamma}} \sigma_0 \left(\sum_{k=0}^n (k+1)^{2\Lambda_R C_{\gamma}-2}\right)^{1/2} \,. \end{align}\] Since \(C_{\gamma}<\frac{1}{2\Lambda_R}\), \[\sum_{k=0}^{\infty}(k+1)^{2\Lambda_R C_{\gamma}-2} \le 1+\int_1^\infty x^{2\Lambda_R C_{\gamma}-2} \mathrm{d}x = 1+\frac{1}{1-2 \Lambda_R C_{\gamma}} \,,\] which concludes the proof. ◻

8.5 Fourth term↩︎

Lemma 12. On \(\Omega_{n+1,R}\), there exists a universal constant \(C>0\) such that, for all \(n\ge0\), with probability at least \(1-\delta\),

\[\begin{align} &\mathbb{E}_{\mathrm{sgd}}\left[\mathcal{T}_{4,n} \mathbf{1}_{\Omega_{n+1,R}} \right] \\ &\le C d B_R^2 \sqrt{c_\infty \mu_R( \mathcal{X}_R)} \sum_{k=0}^{n}\gamma_k\sigma_k \left( \frac{4B_R\sqrt{d}}{\sqrt{2\pi m}} \mathbb{E}_{\mathrm{sgd}} \left[\eta_{k+1} \mathbf{1}_{\Omega_{n+1,R}}\right] + 2C \sqrt{\frac{d+\log(1/\delta)}{m}} \right)^{1/2} \,. \end{align}\]

where \[\begin{align} \eta_{k+1} := \sum_{r=0}^{k} \gamma_r c(t^{(r)}) \|\mathbf{e}_r\| \,. \end{align}\] and \[\mathbf{e}_k :=f\left(\overrightarrow\mathbf{U}^{(k)};\param^{(k)}\right)-X_0^{(k)} = f\left(\overrightarrow\mathbf{U}^{(k)};\param^{(k)}\right) - \left(f^\star \left(\overrightarrow\mathbf{U}^{(k)}\right)+\xi_k\right)\].

Proof. Recall that for all \(0 \le k \le n\), \[\begin{align} & \varepsilon_k(u, \overrightarrow\mathbf{U}^{(k)}) \\ & = f_{\theta}\left(u, \param[k] \right) - f_{\theta} \left(u, \param[k+1] \right) - \gamma_k c(t^{(k)}) K_k(u, \overrightarrow\mathbf{U}^{(k)}) \mathbf{e}_k \\ & = f_{\theta}\left(u, \param[k] \right) - f_{\theta} \left(u, \param[k+1] \right) - \gamma_k \frac{c(t^{(k)})}{m} (u^\top \overrightarrow\mathbf{U}^{(k)}) A D_{u, \param[k]} D_{\overrightarrow\mathbf{U}^{(k)}, \param[k]} A^\top \mathbf{e}_k \,. \end{align}\] and the SGD weight update is given by \[\param[k+1]-\param[k] = - \gamma_k c(t^{(k)}) \frac{1}{\sqrt m} D_{\overrightarrow\mathbf{U}^{(k)}, \param[k]} A^\top \mathbf{e}_k (\overrightarrow\mathbf{U}^{(k)})^\top \,.\] Moreover, using 10 , \[\begin{align} f(u,\param[k+1]) - f(u,\param[k]) & = \frac{1}{\sqrt m} A \left( D_{u,\param[k+1]} \param[k+1] - D_{u,\param[k]} \param[k] \right) u\\ & = \frac{1}{\sqrt m} A \left( D_{u,\param[k+1]} - D_{u,\param[k]} \right) \param[k+1] u\\ & \quad + \frac{1}{\sqrt m} A D_{u,\param[k]} \left( \param[k+1] - \param[k] \right) u\,, \end{align}\] and therefore, \[\begin{align} \label{eq:expression95vareps} \varepsilon_k(u, \overrightarrow\mathbf{U}^{(k)}) = \frac{1}{\sqrt m} A \left( D_{u,\param[k]} - D_{u,\param[k+1]} \right) \param[k+1] u\,. \end{align}\tag{34}\] Set \[u_k(u) := \left(D_{u,\param[k]}-D_{u,\param[k+1]}\right)\param[k+1]u \in \mathbb{R}^m.\] Then, for every \(i\in \{1, \cdots, m \}\), \[(u_k(u))_i = \Bigl( \mathbf{1}_{\{(\param[k]_i)^\top u\ge 0\}} - \mathbf{1}_{\{(\param[k+1]_i)^\top u\ge 0\}} \Bigr)\, (\param[k+1]_i)^\top u\,.\] Hence \((u_k(u))_i=0\) whenever \[\mathbf{1}_{\{(\param[k]_i)^\top u\ge 0\}} = \mathbf{1}_{\{(\param[k+1]_i)^\top u\ge 0\}} \,,\] hence, \(u_k(u)_i = 0\) for every \(i \notin \widetilde{O}_k\), with \[\widetilde{O}_k(u) = \left\{ i\in[m]: \mathbf{1}_{\{(\param[k]_i)^\top u\ge 0\}} \neq \mathbf{1}_{\{(\param[k+1]_i)^\top u\ge 0\}} \right\} \quad \widetilde{S}_k (u) = \left| \widetilde{O}_k(u) \right| \,.\] By definition of \(u_k(u)\), we have \[\varepsilon_k(u,\overrightarrow\mathbf{U}^{(k)}) = \frac{1}{\sqrt{m}} A u_k(u) = \frac{1}{\sqrt{m}} \sum_{i\in \widetilde{O}_k(u)} A_{\cdot i}u_{k,i}(u) \,.\] Taking norm, \[\label{eq:bound95on95eps} \|\varepsilon_k(u,\overrightarrow\mathbf{U}^{(k)}) \| \le \frac{1}{\sqrt m } \sum_{i\in \widetilde{O}_k(u)} \|A_{\cdot i}\| |u_{k,i}(u)|\tag{35}\] Now let \(i\in \widetilde{O}_k(u)\). Since the signs of \((\param[k]_i)^\top u\) and \((\param[k+1]_i)^\top u\) differ, we have \[|(\param[k+1]_i)^\top u| \le |(\param[k+1]_i-\param[k]_i)^\top u| \le \|\param[k+1]_i-\param[k]_i\| \|u\|\,.\] Using the row-wise SGD update from Lemma 13, \[\param[k+1]_i-\param[k]_i = -\gamma_k c(t^{(k)}) \frac{1}{\sqrt m} \mathbf{1}_{\{(\param[k]_i)^\top \overrightarrow\mathbf{U}^{(k)}\ge 0\}} A_{\cdot i}^\top \mathbf{e}_k \,\overrightarrow\mathbf{U}^{(k)} \,,\] we obtain \[\|\param[k+1]_i-\param[k]_i\| \le \gamma_k c(t^{(k)}) \frac{1}{\sqrt m} |A_{\cdot i}^\top \mathbf{e}_k|\,\|\overrightarrow\mathbf{U}^{(k)}\| \,.\] Therefore, for \(i\in \widetilde{O}_k(u)\) \[|u_{k,i}(u)| \le \gamma_k c(t^{(k)}) \frac{1}{\sqrt m} |A_{\cdot i}^\top \mathbf{e}_k| \|\overrightarrow\mathbf{U}^{(k)}\| \|u\| \,.\] Plugging this bound in 35 yields \[\|\varepsilon_k(u,\overrightarrow\mathbf{U}^{(k)}) \| \le \gamma_k c(t^{(k)})\frac{ \|\overrightarrow\mathbf{U}^{(k)}\| \|u\| }{ m } \sum_{i\in \widetilde{O}_k(u)} \|A_{\cdot i}\| |A_{\cdot i}^\top \mathbf{e}_k| \,.\] Now using Cauchy-Schwarz and the fact that the entries of \(A\) are Rademacher \[\|\varepsilon_k(u,\overrightarrow\mathbf{U}^{(k)}) \| \le \gamma_k c(t^{(k)})\frac{ \|\overrightarrow\mathbf{U}^{(k)}\| \|u\| }{ m } d \widetilde{S}_k(u) \| \mathbf{e}_k \| \,.\] Moreover, on the truncated event \(\Omega_{n+1,R}\), \(\|\overrightarrow\mathbf{U}^{(k)}\|\le B_R\) and \(\|u\|\le B_R\), so \[\label{eq:var95eps95bound} \|\varepsilon_k(u,\overrightarrow\mathbf{U}^{(k)})\| \le \gamma_k c(t^{(k)}) \frac{d B_R^2}{m} \widetilde{S}_k(u) \|\mathbf{e}_k\| \,.\tag{36}\] Next, note that \[\widetilde{O}_k(u)\subset O_k(u)\cup O_{k+1}(u) \,,\] with \(O_k(u)\) defined as in 44 . Indeed, if the sign flips between steps \(k\) and \(k+1\), then at least one of these two signs differs from the sign at initialization. Hence \[\widetilde{S}_k(u)\le S_k(u)+S_{k+1}(u) \,,\] with \(S_k(u)\) defined as 44 . Therefore, on \(\Omega_{n+1,R}\) \[\begin{align} \|\varepsilon_k(u,\overrightarrow\mathbf{U}^{(k)})\| &\le \gamma_k c(t^{(k)}) dB_R^2 \left( \frac{\|S_{k} \|_{\infty,R}+\|S_{k+1} \|_{\infty,R}}{m} \right) \|\mathbf{e}_k\| \,. \end{align}\] Using \(c(t)\le c_\infty\), taking expectation and applying the Cauchy–Schwarz inequality, we obtain \[\begin{gather} \mathbb{E}_{\mathrm{sgd}}\left[ \|\varepsilon_k \|_{L_2(\mu_R)} \mathbf{1}_{\Omega_{n+1,R}} \right] \\ \le \gamma_k \sigma_k d B_R^2 \sqrt{c_\infty \mu_R( \mathcal{X}_R)} \left( \mathbb{E}_{\mathrm{sgd}} \left[ \left( \frac{\|S_k\|_{\infty,R}+\|S_{k+1}\|_{\infty,R}}{m} \right)^2 \mathbf{1}_{\Omega_{n+1,R}} \right] \right)^{1/2} \,, \end{gather}\] where we used that \(\mathbb{E}_{\mathrm{sgd}} \left[ c(t^{(k)}) \| \mathbf{e}_k \|^2 \mathbf{1}_{\Omega_{n+1,R}} \right] \leq \sigma_k^2\). Using the fact that \(\|S_k\|_{\infty,R}\le m\), we have \[\begin{gather} \mathbb{E}_{\mathrm{sgd}}\left[ \|\varepsilon_k\|_{L_2(\mu_R)} \mathbf{1}_{\Omega_{n+1,R}} \right] \\ \le \sqrt{2} \gamma_k \sigma_k d B_R^2 \sqrt{c_\infty \mu_R(\mathcal{X}_R)} \left( \mathbb{E}_{\mathrm{sgd}} \left[ \frac{\|S_k\|_{\infty,R}+\|S_{k+1}\|_{\infty,R}}{m} \mathbf{1}_{\Omega_{n+1,R}} \right] \right)^{1/2} \,. \end{gather}\] Using Lemma 17 and the fact that \(\eta_k \leq \eta_{k+1}\), we get that, with probability at least \(1-\delta\), there exist a universal constant \(C>0\), such that \[\begin{align} \frac{\|S_k\|_{\infty,R} + \|S_{k+1}\|_{\infty,R}}{m} \le \frac{4B_R\sqrt{d}}{\sqrt{2\pi m}} \eta_{k+1} + 2C \sqrt{\frac{d+\log(1/\delta)}{m}} \,. \end{align}\] Therefore, there exists \(C>0\) such that \[\begin{align} &\mathbb{E}_{\mathrm{sgd}}\left[ \|\varepsilon_k\|_{L_2(\mu_R)} \mathbf{1}_{\Omega_{n+1,R}} \right] \\ &\le C \sqrt{2} \gamma_k \sigma_k d B_R^2 \sqrt{c_\infty \mu_R( \mathcal{X}_R)} \left( \frac{4B_R\sqrt{d}}{\sqrt{2\pi m}} \mathbb{E}_{\mathrm{sgd}} \left[\eta_{k+1} \mathbf{1}_{\Omega_{n+1,R}}\right] + 2C \sqrt{\frac{d+\log(1/\delta)}{m}} \right)^{1/2} \,. \end{align}\] ◻

8.6 Final bound↩︎

We prove by induction that for every \(0\le n\le N\), \[\label{eq:induction} \mathbb{E}_{\mathrm{sgd}}\!\left[ \|\Delta_n\|_{L_2(\mu_R)} \mathbf{1}_{\Omega_{n,R}} \right] \le S_N \,,\tag{37}\] with \[S_N := 2 \left( E_{1,N}+E_{2,N}+E_{3,N} \right) \,,\] where \[\begin{align} E_{1,N} & := \sup_{0\le j\le N} \inf_{r\in\mathbb{N}} \left\{ \left(\prod_{k=0}^{j-1}(1-\gamma_k\lambda_r)\right) \|\Delta_0\|_{L_2(\mu_R)} + \mathcal{R}(\Delta_0,r) \right\} \\ E_{2,N} & := C \mu_R(\mathcal{X}_R) B_R^2 d C_\gamma\log(N+1) \sqrt{\frac{d\log(m)+\log(1/\delta)}{m}} \sigma_0 \\ E_{3,N} & := C \left( 1+\sqrt{\frac{d}{m}} +\sqrt{\frac{\log(1/\delta)}{m}} \right)^2 \sqrt{c_\infty\mu_R} B_R^2 C_\gamma \mathrm{e}^{\Lambda_R C_\gamma} \left( 1+\frac{1}{1-2\Lambda_R C_\gamma} \right)^{1/2} \sigma_0 \,. \end{align}\] Once this is proven, Theorem 2 follows from 23 .

The base case \(n=0\) is immediate. Now suppose that 37 holds for all \(0\le k\le n\). We prove that it also holds for \(n+1\). By 25 , we obtain \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[\|\Delta_{n+1}\|_{L_2(\mu_R)} \mathbf{1}_{\Omega_{n+1,R}} \right] \le \mathbb{E}_{\mathrm{sgd}} [ \left(\mathcal{T}_{1,n}+\mathcal{T}_{2,n}+\mathcal{T}_{3,n}+\mathcal{T}_{4,n}\right)\mathbf{1}_{\Omega_{n+1,R}}] \,. \end{align}\] For the first term, Lemma 5 gives \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[ \mathcal{T}_{1,n}\mathbf{1}_{\Omega_{n+1,R}} \right] &\le \inf_{r\in\mathbb{N}}\left\{ \left(\prod_{k=0}^{n}(1-\gamma_k\lambda_r)\right) \|\Delta_0\|_{L_2(\mu_R)} + \mathcal{R}(\Delta_0,r) \right\} \,. \end{align}\] For the second term, using Lemma 6, together with the Cauchy–Schwarz inequality and the fact that \(\gamma_k = C_\gamma/(k+1)\), we obtain \[\begin{align} & \mathbb{E}_{\mathrm{sgd}} \left[ \mathcal{T}_{2,n} \mathbf{1}_{\Omega_{n+1,R}} \right] \\ &\le C \mu_R(\mathcal{X}_R) B_R^2 \|\Delta_0\|_{L_2(\mu_R)} \Bigg[ \frac{d^{3/2} B_R}{\sqrt{m}} \mathbb{E}_{\mathrm{sgd}} \left[ \left(\sum_{k=0}^{n} \gamma_k \eta_k \right) \mathbf{1}_{\Omega_{n+1,R}} \right] \\ &\qquad\qquad + d \sqrt{\frac{d\log(m)+\log(1/\delta)}{m}} \sum_{k=0}^{n}\gamma_k \Bigg] \\ &\le C \mu_R(\mathcal{X}_R) B_R^2 \|\Delta_0\|_{L_2(\mu_R)} \Bigg[ \frac{d^{3/2} B_R}{\sqrt{m}} C_\gamma \log (\mathrm{e}(N+1)) \sum_{k=0}^{n} \gamma_k \mathbb{E}_{\mathrm{sgd}} \left[\|\Delta_k\|_{L_2(\mu_R)}+\tau_c\right] \\ &\qquad\qquad + d \sqrt{\frac{d\log(m)+\log(1/\delta)}{m}} C_\gamma \log (N+1) \Bigg] \,. \end{align}\] Indeed, by the definition of \(\eta_k\) and using the fact that, for all \(r\le k-1\le n\), one has \(\Omega_{n+1,R}\subset \Omega_{r+1,R}\subset \Omega_{r,R}\), we have \[\begin{align} \mathbb{E}_{\mathrm{sgd}}\left[ \left(\sum_{k=0}^{n}\gamma_k\eta_k\right) \mathbf{1}_{\Omega_{n+1,R}} \right] &\le \sum_{k=0}^{n}\gamma_k \sum_{r=0}^{k-1}\gamma_r \mathbb{E}_{\mathrm{sgd}}\left[ c(t^{(r)})\|\mathbf{e}_r\| \mathbf{1}_{\Omega_{n+1,R}} \right] \\ &\le \sum_{k=0}^{n}\gamma_k \sum_{r=0}^{k-1}\gamma_r \mathbb{E}_{\mathrm{sgd}}\left[ c(t^{(r)})\|\mathbf{e}_r\| \mathbf{1}_{\Omega_{r+1,R}} \right] \\ &\le \sqrt{\mu_R(\mathcal{X}_R)} \sum_{k=0}^{n}\gamma_k \sum_{r=0}^{k-1}\gamma_r ( \mathbb{E}_{\mathrm{sgd}} \left[\|\Delta_{r}\|_{L_2(\mu_R)} \mathbf{1}_{\Omega_{r,R}} \right] +\tau_c) \,. \end{align}\] Under the induction hypothesis \(\mathbb{E}_{\mathrm{sgd}}\!\left[ \|\Delta_r\|_{L_2(\mu_R)}\mathbf{1}_{\Omega_{r,R}} \right] \le S_N\), therefore \[\begin{align} \mathbb{E}_{\mathrm{sgd}}\!\left[ \left(\sum_{k=0}^{n}\gamma_k\eta_k\right) \mathbf{1}_{\Omega_{n+1,R}} \right] &\le \sqrt{\mu_R(\mathcal{X}_R)} (S_N+\tau_c) \left(\sum_{k=0}^{n}\gamma_k\right)^2 \\ &\le \sqrt{\mu_R(\mathcal{X}_R)} C_\gamma^2 \log^2(\mathrm{e}(N+1)) (S_N+\tau_c) \,. \end{align}\] By the width condition \(m \ge c \mu_R^3(\mathcal{X}_R) B_R^6 d^3 C_\gamma^4 \log^4 (N+1)\) for a sufficiently large constant \(c>0\), the first contribution can be absorbed into the induction bound. Therefore, \[\begin{align} \mathbb{E}_{\mathrm{sgd}} \left[ \mathcal{T}_{2,n} \mathbf{1}_{\Omega_{n+1,R}} \right] \le C \mu_R(\mathcal{X}_R) B_R^2 d C_\gamma \log (N+1) \sqrt{\frac{d\log(m)+\log(1/\delta)}{m}} \left(\|\Delta_0\|_{L_2(\mu_R)}+\tau_c\right) \,. \end{align}\] For the third term, Lemma 11 gives \[\begin{align} & \mathbb{E}_{\mathrm{sgd}} \left[ \mathcal{T}_{3,n} \mathbf{1}_{\Omega_{n+1,R}} \right] \\ &\le C\left( 1+\sqrt{\frac{d}{m}} +\sqrt{\frac{\log(1/\delta)}{m}} \right)^2 \sqrt{c_\infty \mu_R(\mathcal{X}_R)} B_R^2 C_{\gamma} e^{\Lambda_R C_{\gamma}} \left(1+\frac{1}{1-2\Lambda_R C_\gamma}\right)^{1/2} \sigma_0 \,. \end{align}\] For the fourth term, using the induction bound, for all \(0\le k\le n\), we have \[\begin{align} \mathbb{E}_{\mathrm{sgd}} [\eta_{k+1} \mathbf{1}_{\Omega_{n+1,R}}] &\leq \sqrt{\mu_R(\mathcal{X}_R)} C_\gamma \log(\mathrm{e}(N+1)) (S_N+\tau_c) \,. \end{align}\] Using Lemma 12, we obtain \[\begin{align} &\mathbb{E}_{\mathrm{sgd}}\left[\mathcal{T}_{4,n}\mathbf{1}_{\Omega_{n+1,R}}\right] \\ &\quad \le C dB_R^2\sqrt{c_\infty\mu_R(\mathcal{X}_R)} \left( \frac{B_R\sqrt{d\mu_R(\mathcal{X}_R)}}{\sqrt m} C_\gamma \log(\mathrm{e}(N+1))S_N + \sqrt{\frac{d+\log(1/\delta)}{m}} \right)^{1/2} \sum_{k=0}^{n}\gamma_k\sigma_k \,. \end{align}\] Moreover, \[\sum_{k=0}^{n}\gamma_k\sigma_k \le C_\gamma e^{\Lambda_R C_\gamma}\sigma_0 \frac{(N+1)^{\Lambda_R C_\gamma}}{\Lambda_R C_\gamma} = \frac{e^{\Lambda_R C_\gamma}}{\Lambda_R} \sigma_0 (N+1)^{\Lambda_R C_\gamma} \,.\] Using the definition of \(\Lambda_R\), we have \[\frac{dB_R^2\sqrt{c_\infty\mu_R(\mathcal{X}_R)}}{\Lambda_R} = \frac{d}{d+\|A\|^2/m} \le 1 \,.\] Therefore, \[\begin{align} &\mathbb{E}_{\mathrm{sgd}}\left[\mathcal{T}_{4,n}\mathbf{1}_{\Omega_{n+1,R}}\right] \\ &\quad \le C e^{\Lambda_R C_\gamma} \sigma_0 (N+1)^{\Lambda_R C_\gamma} \left( \frac{B_R\sqrt{d\mu_R(\mathcal{X}_R)}}{\sqrt m} C_\gamma \log(\mathrm{e}(N+1)) (S_N+\tau_c) + \sqrt{\frac{d+\log(1/\delta)}{m}} \right)^{1/2} \,. \end{align}\] Using \(\sqrt{x+y}\le \sqrt{x}+\sqrt{y}\), we get \[\mathbb{E}_{\mathrm{sgd}}\left[\mathcal{T}_{4,n}\mathbf{1}_{\Omega_{n+1,R}}\right] \le I_1+I_2 \,,\] where \[\begin{align} I_1 &= C e^{\Lambda_R C_\gamma} \sigma_0 (N+1)^{\Lambda_R C_\gamma} \left( \frac{B_R\sqrt{d\mu_R(\mathcal{X}_R)}}{\sqrt m} C_\gamma \log(\mathrm{e}(N+1)) (S_N+\tau_c) \right)^{1/2} \,, \\ I_2 &= C e^{\Lambda_R C_\gamma} \sigma_0 (N+1)^{\Lambda_R C_\gamma} \left(\frac{d+\log(1/\delta)}{m}\right)^{1/4} \,. \end{align}\] By definition of \(S_N\), and by increasing the universal constant if necessary, \[S_N \ge c \sqrt{c_\infty\mu_R(\mathcal{X}_R)} B_R^2 C_\gamma e^{\Lambda_R C_\gamma} \sigma_0 \,,\] for some universal constant \(c>0\). Moreover, the imposed width condition \[m \ge c \frac{ e^{2\Lambda_R C_\gamma} \sigma_0^2 (N+1)^{4\Lambda_R C_\gamma} d\log^2(\mathrm{e}(N+1)) }{ c_\infty B_R^2 }\] implies that \[C e^{2\Lambda_R C_\gamma} (N+1)^{2\Lambda_R C_\gamma} \frac{B_R\sqrt{d\mu_R(\mathcal{X}_R)}}{\sqrt m} C_\gamma \log(\mathrm{e}(N+1)) \le c \sqrt{c_\infty\mu_R(\mathcal{X}_R)} B_R^2 C_\gamma e^{\Lambda_R C_\gamma} \sigma_0 \le S_N \,.\] Therefore, \[\begin{align} I_1^2 &= C e^{2\Lambda_R C_\gamma} (N+1)^{2\Lambda_R C_\gamma} \frac{B_R\sqrt{d\mu_R(\mathcal{X}_R)}}{\sqrt m} C_\gamma \log(\mathrm{e}(N+1)) S_N \le S_N^2/4 \,. \end{align}\] Consequently, \[I_1\le S_N/2 \,.\] Similarly, other width condition gives \[m \ge c \frac{ (N+1)^{4\Lambda_R C_\gamma} (d+\log(1/\delta)) }{ c_\infty^2\mu_R(\mathcal{X}_R)^2B_R^8C_\gamma^4 } \,.\] Equivalently, \[I_2 = C e^{\Lambda_R C_\gamma} \sigma_0 (N+1)^{\Lambda_R C_\gamma} \left(\frac{d+\log(1/\delta)}{m}\right)^{1/4} \le c \sqrt{c_\infty\mu_R(\mathcal{X}_R)} B_R^2 C_\gamma e^{\Lambda_R C_\gamma} \sigma_0 \le S_N/2 \,.\] Combining the bounds on \(I_1\) and \(I_2\), we obtain \[\mathbb{E}_{\mathrm{sgd}}\left[\mathcal{T}_{4,n}\mathbf{1}_{\Omega_{n+1,R}}\right] \le S_N \,,\] This completes the fourth term. Thus, under the width condition \[\begin{gather} \label{eq:condition95width} m \ge c \max\Bigg\{ \mu_R^2(\mathcal{X}_R) B_R^6 d^3 C_\gamma^4 \log^4 (N+1),\; \frac{(N+1)^{4\Lambda_R C_\gamma}(d+\log(1/\delta))}{c_\infty^2\mu_R(\mathcal{X}_R)^2B_R^8C_\gamma^4} , \\ \frac{e^{2\Lambda_R C_\gamma} (N+1)^{4\Lambda_R C_\gamma} d\log^2(\mathrm{e}(N+1))}{c_\infty B_R^2} \Bigg\} \,, \end{gather}\tag{38}\] the induction bound holds at iteration \(n+1\). For readability, this condition can be summarized by introducing \[\begin{align} \label{eq:def95C95R} \mathcal{C}_R :=\max\left\{ \mu_R^3(\mathcal{X}_R)B_R^6C_\gamma^4, \frac{1}{c_\infty^2\mu_R^2(\mathcal{X}_R)B_R^8C_\gamma^4}, \frac{1}{c_\infty\mu_R(\mathcal{X}_R)B_R^2} \right\} \,. \end{align}\tag{39}\] Indeed, a sufficient condition for 38 is \[m \gtrsim \mathcal{C}_R e^{2\Lambda_R C_\gamma} (N+1)^{4\Lambda_R C_\gamma} d^3 \bigl(d+\log(1/\delta)\bigr) \log^4(\mathrm{e}(N+1)) \,.\] This concludes the proof of Theorem 2.

9 Additional Derivations for the NTK Analysis↩︎

Recall that, \[\mathbf{e}_k := f\left(\overrightarrow\mathbf{U}^{(k)};\param^{(k)}\right)-X_0^{(k)} = f\left(\overrightarrow\mathbf{U}^{(k)};\param^{(k)}\right) - \left(f^\star \left(\overrightarrow\mathbf{U}^{(k)}\right)+\xi_k\right) \,.\]

9.1 Details on the Neural Tangent Kernel↩︎

For every \(u\in\mathbb{R}^{d+1}\), we define the empirical matrix-valued NTK, \(K_k:\mathbb{R}^{d+1}\times\mathbb{R}^{d+1}\to\mathbb{R}^{d\times d}\) by \[\begin{align} K_k(u,u') &:= \sum_{i=1}^m \nabla_{\param_i}f(u;\param[k])\, \nabla_{\param_i}f(u';\param[k])^\top \notag\\ &= \frac{u^\top u'}{m} \sum_{i=1}^m \mathbf{1}_{\{(\param[k]_i)^\top u\ge 0\}} \mathbf{1}_{\{(\param[k]_i)^\top u' \ge 0\}} \,A_{\cdot i}A_{\cdot i}^\top \notag\\ &= \frac{u^\top u'}{m}\, A\,D_{u,\param[k]}D_{u',\param[k]}A^\top . \label{eq:empirical95matrix95ntk} \end{align}\tag{40}\]

Remark 1. The NTK matrix appears in the first order linearization in the parameter space given by

\[\begin{align} f\left(u; \param[k+1] \right) &= f\left(u; \param[k] + \left( \param[k+1] - \param[k] \right)\right) \\ &\approx f\left(u; \param[k] \right) + \sum_{i=1}^m \nabla_{\param_i} f(u, \param[k]) \left( \param[k+1]_i - \param[k]_i \right) \\ &= f\left(u; \param[k] \right) + \frac{1}{\sqrt{m}} \sum_{i=1}^m A_{\cdot,i} \mathbf{1}_{ \{ \param_i^{(k)\top} u\geq 0 \}} u^\top \left( \param[k+1]_i - \param[k]_i \right) \\ &= f\left(u; \param[k] \right) -\gamma_k\,c(t^{(k)}) \frac{1}{m} \sum_{i=1}^m A_{\cdot,i} \mathbf{1}_{ \{ \param_i^{(k)\top} u\geq 0 \}} \\ &\qquad \times u^\top \left( \mathbf{1}_{\{ \param_i^{(k)\top} \overrightarrow\mathbf{U}^{(k)}\ge 0\}} A_{\cdot,i}^\top \mathbf{e}_k \overrightarrow\mathbf{U}^{(k)} \right) \\ &= f\left(u; \param[k] \right) -\gamma_k c(t^{(k)}) K_k(u,\overrightarrow\mathbf{U}^{(k)}) \mathbf{e}_k \,. \end{align}\] where we used 12 in the fourth line and 40 in the fifth line.

It follows that, \[f(u;\param[k+1]) = f(u;\param[k]) - \gamma_k c(t^{(k)}) K_k(u,\overrightarrow\mathbf{U}^{(k)}) \mathbf{e}_k - \varepsilon_k(u, \overrightarrow\mathbf{U}^{(k)}) \,, \label{eq:one95step95linearization}\tag{41}\] where \[\varepsilon_k(u, \overrightarrow\mathbf{U}^{(k)}) :=f(u;\param[k]) -f(u;\param[k+1]) - \gamma_k c(t^{(k)}) K_k(u,\overrightarrow\mathbf{U}^{(k)}) \mathbf{e}_k \label{eq:def95linearization95error}\tag{42}\] is a nonlinear remainder. It measures the error made when replacing the exact one-step update of the network output by its first-order NTK approximation.

At initialization, the empirical matrix-valued NTK admits a deterministic infinite-width limit. More precisely, assume that \[\{\param_i^{(0)}\}_{i=1}^m \overset{\mathrm{i.i.d.}}{\sim} \mathcal{N}(0,\mathbf{I}_{d+1}),\] independently of the output matrix \(A\), whose entries are i.i.d. Rademacher. Then, for every fixed \(u,u'\in\mathbb{R}^{d+1}\), \[K_0(u,u') = \frac{u^\top u'}{m} \sum_{i=1}^m \mathbf{1}_{\{(\param_i^{(0)})^\top u\ge 0\}} \mathbf{1}_{\{(\param_i^{(0)})^\top u' \ge 0\}} \,A_{\cdot i}A_{\cdot i}^\top \xrightarrow[m\to\infty]{a.s.} K_\infty(u,u') \,.\] with \[K_\infty(u,u') = (u^\top u')\, \mathbb{E}_{w \sim \mathcal{N}(0,\mathbf{I}_{d+1})} \Big[ \mathbf{1}\{w^\top u\ge 0\}\, \mathbf{1}\{w^\top u' \ge 0\} \Big]\, \mathbf{I}_d\] since \(\mathbb{E}[A_{\cdot i}A_{\cdot i}^\top]=\mathbf{I}_d\).

9.2 SGD Update Derivation↩︎

Lemma 13. The SGD update 11 writes as \[\label{sgd95updates95bis} \param[k+1] = \param[k] - \gamma_k\,c(t^{(k)})\, \frac{1}{\sqrt m}\, D_k A^\top \left(f\left(\overrightarrow\mathbf{U}^{(k)};\param^{(k)}\right)-X_0^{(k)}\right) \,(\overrightarrow\mathbf{U}^{(k)})^\top \,,\qquad{(7)}\] where \(D_k :=D_{\overrightarrow\mathbf{U}^{(k)},\param[k]} = \operatorname{diag} \left( \mathbf{1}_{\{ \param_1^{(k)\top} \overrightarrow\mathbf{U}^{(k)}\ge 0\}}, \dots, \mathbf{1}_{\{ \param_m^{(k)\top} \overrightarrow\mathbf{U}^{(k)}\ge 0\}} \right)\). Similarly, for each \(i\in\{1,\dots,m\}\), the \(i\)-th row (viewed as a column vector in \(\mathbb{R}^{d+1}\)) satisfies \[\param[k+1]_i = \param[k]_i -\gamma_k\,c(t^{(k)})\, \frac{1}{\sqrt m}\, \mathbf{1}_{\{ \param_i^{(k)\top} \overrightarrow\mathbf{U}^{(k)}\ge 0\}} A_{\cdot,i}^\top \left(f\left(\overrightarrow\mathbf{U}^{(k)};\param^{(k)}\right)-X_0^{(k)}\right) \overrightarrow\mathbf{U}^{(k)} \,.\]

For simplicity, we introduce \(\mathbf{e}_k \in \mathbb{R}^d\) defined by \[\begin{align} \mathbf{e}_k :=f\left(\overrightarrow\mathbf{U}^{(k)};\param^{(k)}\right)-X_0^{(k)} = f\left(\overrightarrow\mathbf{U}^{(k)};\param^{(k)}\right) - \left(f^\star \left(\overrightarrow\mathbf{U}^{(k)}\right)+\xi_k\right) \,. \end{align}\] where \[\begin{align} \overrightarrow\mathbf{U}^{(k)} :=\bigl(\overrightarrow X_{t^{(k)}}^{(k)},t^{(k)}\bigr), \qquad \xi_k :=X_0^{(k)}-f^\star\!\bigl(\overrightarrow\mathbf{U}^{(k)}\bigr) \,. \end{align}\]

Proof. For every \(x\in\mathbb{R}^{d+1}\) and every \(i,j\in\{1,\dots,m\}\) such that \(\param_i^\top x\neq 0\), we have \[\nabla_{\param_j}\sigma(\param_i^\top x) = \mathbf{1}_{\{i=j\}}\, \mathbf{1}_{\{\param_j^\top x\ge 0\}} x \,.\] Hence \[\nabla_{\param_i}f(x;\param) = \frac{1}{\sqrt m} A_{\cdot,i} \mathbf{1}_{\{\param_i^\top x\ge 0\}} x^\top \in \mathbb{R}^{d\times(d+1)} \,.\] Therefore, \[\begin{align} \nabla_{\param_i} \left( \frac{1}{2}\|f(\overrightarrow\mathbf{U}^{(k)};\param[k])-X_0^{(k)}\|^2 \right) &= \left(\nabla_{\param_i}f(\overrightarrow\mathbf{U}^{(k)};\param[k])\right)^\top \bigl(f(\overrightarrow\mathbf{U}^{(k)};\param[k])-X_0^{(k)}\bigr) \\ &= \frac{1}{\sqrt m} \mathbf{1}_{\{ \param_i^{(k)\top} \overrightarrow\mathbf{U}^{(k)}\ge 0\}} A_{\cdot,i}^\top \mathbf{e}_k \overrightarrow\mathbf{U}^{(k)} \,. \end{align}\] Hence, \[\nabla_{\param} \left( \frac{1}{2}\|f(\overrightarrow\mathbf{U}^{(k)};\param[k])-X_0^{(k)}\|^2 \right) = \frac{1}{\sqrt m}\, D_k A^\top \mathbf{e}_k\,(\overrightarrow\mathbf{U}^{(k)})^\top \,.\] ◻

9.3 Technical Lemmas↩︎

Lemma 14 (Gaussian tail bound). Let \[\mu_Z :=\mathbb{E}\|Z\| = \sqrt{2}\,\frac{\Gamma((d+1)/2)}{\Gamma(d/2)}, \qquad Z\sim\mathcal{N}(0,\mathbf{I}_d) \,,\]

and suppose that Assumption 3 holds. Then for any \(R>\sigma_t\mu_Z\), \[\mathbb{P} \left( \|\overrightarrow X_t\|>R \right) \le (1+C_0) \exp \left( -\frac{(R-\sigma_t\mu_Z)^2}{8\max(\sigma_t^2,m_t^2\nu_0^2)} \right) \,.\]

Proof. Conditionally on \(X_0=x\), \[\overrightarrow X_t = m_t x + \sigma_t Z, \qquad Z\sim\mathcal{N}(0,\mathbf{I}_d) \,.\] Define the map \[F_x(z):=\|m_t x+\sigma_t z\|\] and note that, by the reverse triangle inequality, \(F_x\) is \(\sigma_t\)-Lipschitz. By the Gaussian concentration inequality for Lipschitz functions (see Theorem B.7, Appendix B.2.2 in [48]), for every \(r>0\), \[\mathbb{P} \left(F_x(Z)\ge \mathbb{E}[F_x(Z)] + r\right) \le \exp \left(-\frac{r^2}{2\sigma_t^2}\right),\] Moreover, \[\mathbb{E}[F_x(Z)] \le \|m_t x\|+\sigma_t \mathbb{E}\|Z\| \le m_t \| x \|+\sigma_t\mu_Z \,.\] Therefore, for every \(R>0\), \[\mathbb{P}(\|\overrightarrow X_t\|>R\mid X_0=x) \le \exp \left( -\frac{(R-m_t \|x\| -\sigma_t\mu_Z)_+^2}{2\sigma_t^2} \right) \,,\] Integrating with respect to the distribution of \(X_0\) yields \[\mathbb{P}(\|\overrightarrow X_t\|>R) \le \mathbb{E}\left[ \exp \left( -\frac{(R-m_t\|X_0\|-\sigma_t\mu_Z)_+^2}{2\sigma_t^2} \right) \right] \,.\] Hence, on the event \(\{ \| X_0 \| \leq D \}\), one has for every \(t\in(0,T]\) and every \(R>m_tD+\sigma_t\mu_Z\), \[\label{eq:bound95tail95t} \mathbb{P}(\|\overrightarrow X_t\|>R) \le \exp \left( -\frac{(R-m_t D-\sigma_t\mu_Z)^2}{2\sigma_t^2} \right) \,.\tag{43}\] Then, note that for any \(D > 0\) \[\begin{align} \mathbb{P}(\|\overrightarrow X_t\|>R) &\le \mathbb{P}(\|\overrightarrow X_t\|>R, \|X_0\|\le D) + \mathbb{P}(\|X_0\|>D) \\ &\le \exp \left( -\frac{(R-m_t D-\sigma_t\mu_Z)_+^2}{2\sigma_t^2} \right) + C_0\exp \left(-\frac{D^2}{2\nu_0^2}\right) \,. \end{align}\] In particular, choosing \[D=\frac{R- \sigma_t \mu_Z}{2 m_t},\] which is positive when \(R>\sigma_t\mu_Z\), yields \[\begin{align} \mathbb{P}(\|\overrightarrow X_t\|>R) & \le \exp\!\left( -\frac{(R-\sigma_t\mu_Z)^2}{8\sigma_t^2} \right) + C_0\exp \left( -\frac{ (R-\sigma_t\mu_Z)^2}{ 8 m_t^2\nu_0^2} \right) \\ & \le (1+C_0) \exp\!\left( -\frac{(R-\sigma_t\mu_Z)^2}{8\max(\sigma_t^2,m_t^2\nu_0^2)} \right) \,. \end{align}\] ◻

Lemma 15 (VC dimension bound). There exists \(C>0\), such that, with probability at least \(1-\delta\), \[\sup_{u\in\mathbb{S}^d, t \geq 0} \left| \frac{1}{m}\sum_{i=1}^m \mathbf{1}_{\{|\param_i^{(0)\top}u|\le t\}} - \mathbb{P}\bigl(|\param_1^{(0)\top}u|\le t \bigr) \right| \le C \sqrt{\frac{d+\log(1/\delta)}{m}}.\]

Proof. Define, \[\mathcal{F} := \left\{ w\mapsto \mathbf{1}_{\{|w^\top u|\le t\}}:\;u \in \mathbb{S}^{d}, t \ge 0 \right\} \,,\] where \(\mathbb{S}^{d}\) denotes the unit sphere of \(\mathbb{R}^{d+1}\). Following Example 8.3.12 from [47] \[\mathrm{VC}(\mathcal{F}) \leq 40(d+1) \,.\] Using the VC law of large numbers, [47], there exists a universal constant \(C> 0\), such that \[\mathbb{E}\left[ \sup_{u\in\mathbb{S}^d, t \geq 0} \left| \frac{1}{m}\sum_{i=1}^m \mathbf{1}_{\{|\param_i^{(0)\top}u|\le t \}} - \mathbb{P}\bigl(|\param_1^{(0)\top}u|\le t \bigr) \right| \right]\leq C \sqrt{ \frac{\mathrm{VC}(\mathcal{F})}{m}} \,.\] Then using the bounded difference inequality [47], there exists \(C>0\) such that with probability at least \(1-\delta\), \[\sup_{u\in\mathbb{S}^d, t \geq 0} \left| \frac{1}{m}\sum_{i=1}^m \mathbf{1}_{\{|\param_i^{(0)\top}u|\le t \}} - \mathbb{P}\bigl(|\param_1^{(0)\top}u|\le t \bigr) \right| \leq C \sqrt{\frac{d+\log(1/\delta)}{m}} \,.\] ◻

Let \[\begin{align} I_i^0(u)=\mathbf{1}\{\param_i^{(0)\top}u\ge0\}, \qquad p(u,u')= \mathbb{E}_{\param\sim\mathcal{N}(0,\mathbf{I}_{d+1})} \left[ \mathbf{1}\{\param^\top u\ge0\} \mathbf{1}\{\param^\top u'\ge0\} \right] \,. \end{align}\]

Lemma 16. There exists \(C>0\) such that, with probability at least \(1-\delta\), \[\begin{align} &\sup_{u,u'\in\mathcal{X}_R} \left\| \frac{1}{m}\sum_{i=1}^m I_i^0(u) I_i^0(u') A_{\cdot i} A_{\cdot i}^\top - p(u,u') \mathbf{I}_d \right\| \\ &\qquad\le C\left[ \sqrt{\frac{d\log(\mathrm{e}m)+\log(1/\delta)}{m}} + \frac{d\log(\mathrm{e}m)+\log(1/\delta)}{m} \right] \,. \end{align}\] Moreover, if \(m\ge d\log(\mathrm{e}m)+\log(1/\delta)\), then there exists \(C'>0\) such that \[\sup_{u,u'\in\mathcal{X}_R} \left\| \frac{1}{m}\sum_{i=1}^m I_i^0(u) I_i^0(u') A_{\cdot i} A_{\cdot i}^\top - p(u,u') \mathbf{I}_d \right\| \le C'\sqrt{\frac{d\log(m)+\log(1/\delta)}{m}} \,.\]

Proof. For \(u,u'\in\mathcal{X}_R\), define \[h_{u,u'}(w) := \mathbf{1}_{\{w^\top u\ge0\}} \mathbf{1}_{\{w^\top u'\ge0\}} \quad \text{ and } \qquad \mathcal{H} := \{h_{u,u'}:u,u'\in\mathcal{X}_R\} \,.\] The class \(\mathcal{H}\) consists of intersections of halfspaces in \(\mathbb{R}^{d+1}\), hence its VC dimension satisfies [47], \[\mathrm{VC}(\mathcal{H})\le C_{\mathcal{H}} (d+1)\] for a universal constant \(C>0\). For \(h\in\mathcal{H}\), set \(w\sim\mathcal{N}(0,\mathbf{I}_{d+1})\) so that \[\begin{align} \frac{1}{m}\sum_{i=1}^m h(\param_i^{(0)})A_{\cdot i}A_{\cdot i}^\top - \mathbb{E}[h(w)] \mathbf{I}_d &= \frac{1}{m}\sum_{i=1}^m h(\param_i^{(0)}) \left(A_{\cdot i}A_{\cdot i}^\top-\mathbf{I}_d\right) \\ &\quad + \left( \frac{1}{m}\sum_{i=1}^m h(\param_i^{(0)})- \mathbb{E}[h(w)] \right)\mathbf{I}_d \,. \end{align}\]

9.3.0.1 Step 1: control of the first term.

Note that for each \(h\in\mathcal{H}\), conditional on \(\param^{(0)}\), \[\mathbf{b}(h) :=\left( h(\param_1^{(0)} ), \dots, h(\param_m^{(0)}) \right) \in \{0,1\}^m \,.\] Although \(\mathcal{H}\) is infinite, the number of distinct binary vectors that can be realized on the fixed sample \(\{\param_i^{(0)}\}_{i=1}^m\) is finite. Since \(\mathrm{VC}(\mathcal{H}) \le C_{\mathcal{H}} (d+1)\), the Sauer–Shelah lemma [47] gives \[N_m = \left| \left\{ \big(h(\param_1^{(0)}),\dots,h(\param_m^{(0)})\big): h\in\mathcal{H} \right\} \right| \le \left(\frac{\mathrm{e}m}{ C_{\mathcal{H}}(d+1)} \right)^{ C_{\mathcal{H}}(d+1)} \,.\] Let the distinct patterns be indexed by \[\mathbf{b}^{(1)},\dots,\mathbf{b}^{(N_m)}\in\{0,1\}^m.\] For each \(j\in\{1,\dots,N_m\}\), define the corresponding active set by \[S_j := \{i\in[m]: b_i^{(j)}=1\}.\] Then, conditionally on \(\param^{(0)}\), \[\sup_{h\in\mathcal{H}} \left\| \frac{1}{m}\sum_{i=1}^m h(\param_i^{(0)}) \left(A_{\cdot i}A_{\cdot i}^\top-\mathbf{I}_d\right) \right\| = \max_{1\le j\le N_m} \left\| \frac{1}{m}\sum_{i\in S_j} \left(A_{\cdot i}A_{\cdot i}^\top-\mathbf{I}_d\right) \right\| \,.\] Fix one pattern \(j\) and note that \[\frac{1}{m}\sum_{i\in S_j} \left(A_{\cdot i}A_{\cdot i}^\top-\mathbf{I}_d\right) = \frac{|S_j|}{m} \left[ \frac{1}{|S_j|}\sum_{i\in S_j}A_{\cdot i}A_{\cdot i}^\top-\mathbf{I}_d \right] \,.\] Following [47], \(A_{\cdot i}\) is sub-Gaussian and in particular, there exists \(K_A>0\), such that \[\|\langle A_{\cdot i},z\rangle\|_{\psi_2}\le K_A \|z\|_2 \,, \qquad z \in \mathbb{R}^d \,,\] where \(\| \cdot \|_{\psi_2}\) is the subgaussian norm defined in [47]. Therefore, \(A_{\cdot i}\) satisfies condition (4.29) of Theorem 4.7.1. from [47] with (using their notation). It follows from Remark 4.7.3 [47] that, for all \(s \ge 0\) and fixed pattern \(j\), \[\mathbb{P} \left( \left\| \frac{1}{|S_j|}\sum_{i\in S_j} A_{\cdot i} A_{\cdot i}^\top - \mathbf{I}_d \right\| \geq C\left[ \sqrt{\frac{d+s}{|S_j|}}+ \frac{d+s}{|S_j|} \right] \middle| \param[0] \right) \le 2 \mathrm{e}^{-s} \,.\] Multiplying by \(|S_j|/m\) and using \(|S|\le m\) \[\mathbb{P} \left( \left\| \frac{1}{m}\sum_{i\in S_j} \left( A_{\cdot i} A_{\cdot i}^\top - \mathbf{I}_d \right) \right\| \ge C \left[ \sqrt{\frac{d+s}{m}} + \frac{d+s}{m} \right] \middle| \param[0] \right) \le 2 \mathrm{e}^{-s} \,\] Therefore, \[\begin{align} & \mathbb{P} \left( \max_{ 1 \le j \le N_m} \left\| \frac{1}{m}\sum_{i\in S_j} \left( A_{\cdot i} A_{\cdot i}^\top - \mathbf{I}_d \right) \right\| \ge C \left[ \sqrt{\frac{d+s}{m}} + \frac{d+s}{m} \right] \middle| \param[0] \right) \\ & = \mathbb{P} \left( \bigcup_{j=1}^{N_m} \left\{ \left\| \frac{1}{m}\sum_{i\in S_j} \left( A_{\cdot i} A_{\cdot i}^\top - \mathbf{I}_d \right) \right\| \ge C \left[ \sqrt{\frac{d+s}{m}} + \frac{d+s}{m} \right] \right\} \middle| \param[0] \right) \\ & \le 2 N_m \mathrm{e}^{-s} \, \end{align}\] Setting \(s = \log \left( 4N_m/\delta \right)\), makes \(2N_m \mathrm{e}^{-u}\le \delta/2\). Since \(N_m\le (\mathrm{e}m)^{C_{\mathcal{H}}(d+1)}\), we have \[u \le C_{\mathcal{H}}(d+1)\log(\mathrm{e}m)+\log(4/\delta) \,.\] Therefore, conditionally on \(\param[0]\), there exists \(C>0\) such that with probability at least \(1-\delta/2\), \[\sup_{h\in\mathcal{H}} \left\| \frac{1}{m}\sum_{i=1}^m h(\param_i^{(0)}) \left(A_{\cdot i}A_{\cdot i}^\top-\mathbf{I}_d\right) \right\| \le C\left[ \sqrt{\frac{d\log(\mathrm{e}m)+\log(1/\delta)}{m}} + \frac{d\log(\mathrm{e}m)+\log(1/\delta)}{m} \right] \,.\] Since the above bound holds conditionally on \(\param[0]\), the unconditional claim follows by the tower property.

9.3.0.2 Step 2: control of the second term.

Since \(\mathrm{VC}(\mathcal{H})\le C_{\mathcal{H}}(d+1)\), the VC uniform law of large numbers [47], together with McDiarmid’s inequality [47], gives, with probability at least \(1-\delta/2\) over \(\param^{(0)}\), \[\sup_{h\in\mathcal{H}} \left| \frac{1}{m}\sum_{i=1}^m h(\param_i^{(0)})- \mathbb{E}[h(w)] \right| \le C\sqrt{\frac{d+\log(1/\delta)}{m}} \,.\]

9.3.0.3 Step 3: combining both upper bounds.

By Step 1, with probability at least \(1-\delta/2\), \[\sup_{h\in\mathcal{H}} \left\| \frac{1}{m}\sum_{i=1}^m h(\param_i^{(0)}) \left( A_{\cdot i} A_{\cdot i}^\top- \mathbf{I}_d \right) \right\| \le C \left[ \sqrt{ \frac{d\log(em)+ \log(1/\delta)}{m} } + \frac{ d \log(em) + \log(1/ \delta)}{m} \right] \,.\] By Step 2, with probability at least \(1-\delta/2\), \[\sup_{h\in\mathcal{H}} \left| \frac{1}{m}\sum_{i=1}^m h(\param_i^{(0)})-\mathbb{E}[h(w)] \right| \le C\sqrt{\frac{d+\log(1/\delta)}{m}} \,.\] Therefore, both estimates hold simultaneously with probability at least \(1-\delta\). On this event, for every \(h\in\mathcal{H}\), \[\begin{align} &\left\| \frac{1}{m} \sum_{i=1}^m h(\param_i^{(0)}) A_{\cdot i} A_{\cdot i}^\top - \mathbb{E}[h(w)] \mathbf{I}_d \right\| \\ &\le \left\| \frac{1}{m}\sum_{i=1}^m h(\param_i^{(0)}) \left(A_{\cdot i}A_{\cdot i}^\top-\mathbf{I}_d\right) \right\| + \left| \frac{1}{m} \sum_{i=1}^m h( \param_i^{(0)}) - \mathbb{E}[h(w)] \right| \,. \end{align}\] Taking the supremum over \(h\in\mathcal{H}\) and absorbing constants gives \[\begin{align} &\sup_{h\in\mathcal{H}} \left\| \frac{1}{m} \sum_{i=1}^m h(\param_i^{(0)}) A_{\cdot i} A_{\cdot i}^\top - \mathbb{E}[h(w)] \mathbf{I}_d \right\| \\ &\le C \left[ \sqrt{ \frac{ d \log(em)+ \log(1/\delta)}{m}} + \frac{ d \log(em) + \log(1/\delta) }{m} \right] \,. \end{align}\] ◻

Lemma 17. There exists a universal constant \(C>0\) such that, for every \(k\ge0\), with probability at least \(1-\delta\), the following holds on \(\Omega_{n,R}\): \[\begin{align} \frac{\|S_k\|_{\infty,R}}{m} \le \frac{2B_R\sqrt{d}}{\sqrt{2\pi m}} \eta_k + C \sqrt{\frac{d+\log(1/\delta)}{m}} \,, \end{align}\] where \[\begin{align} \eta_k := \sum_{r=0}^{k-1} \gamma_r c(t^{(r)}) \|\mathbf{e}_r\| \,. \end{align}\]

Proof. For all \(k \ge 0\) and \(u\in \mathbb{R}^d \times [0,T]\), let \(O_k(u)\) denote the set of neurons whose activation sign at input \(u\) has changed between initialization and iteration \(k\), and let \(S_k(u)\) be its cardinality: \[\label{eq:sign95flip} O_k(u) := \left\{\, i \in [m] : \operatorname{sgn}\big(\param_i^{(k)\top} u\big)\neq \operatorname{sgn}\big(\param_i^{(0)\top} u\big)\right\}, \qquad S_k(u) := \bigl|O_k(u)\bigr| \,.\tag{44}\]

If \(i\in O_k(u)\), then the sign of \(\param_i^\top u\) changes between iterations \(0\) and \(k\). Hence, by Lemma 13, \[\begin{align} | \param_i^{(0)\top} u| \leq | \left( \param[k]_i - \param[0]_i \right)^\top u| & \leq \| \param[k]_i - \param[0]_i \| \| u\| \\ & \leq \left( \frac{B_R \|A_{\cdot,i}\|}{\sqrt m} \sum_{r=0}^{k-1} \gamma_r c(t^{(r)}) \|\mathbf{e}_r\| \right) \| u\| \\ & \leq \left( \frac{B_R \sqrt{d}}{\sqrt m} \sum_{r=0}^{k-1} \gamma_r c(t^{(r)}) \|\mathbf{e}_r\| \right) \| u\| \\ & \leq \rho_{k} \| u\| \,, \end{align}\] where \[\rho_k :=\frac{B_R \sqrt{d}}{\sqrt m} \sum_{r=0}^{k-1} \gamma_r c(t^{(r)}) \|\mathbf{e}_r\| \,.\] Therefore, \[S_k(u)\le \sum_{i=1}^m \mathbf{1}_{\{|\param_i^{(0)\top}u|\le \rho_k\|u\|\}}.\] Now, for every \(u\neq 0\), letting \(u=u/\|u\|\in \mathbb{S}^{d}\), we have \[|\param_i^{(0)\top}u|\le \rho_k\|u\| \quad\Longleftrightarrow\quad |\param_i^{(0)\top}u|\le \rho_k.\] Taking the supremum yields \[\label{eq:Sk95sphere95reduction} \|S_k\|_{\infty,R} \le \sup_{u\in\mathbb{S}^d} \sum_{i=1}^m \mathbf{1}_{\{|\param_i^{(0)\top}u|\le \rho_k\}}.\tag{45}\]

Using Lemma 15, there exists a universal constant \(C>0\) such that with probability at least \(1-\delta\), \[\sup_{u\in\mathbb{S}^d} \left| \frac{1}{m}\sum_{i=1}^m \mathbf{1}_{\{|\param_i^{(0)\top}u|\le \rho_k\}} - \mathbb{P}\bigl(|\param_1^{(0)\top}u|\le \rho_k\bigr) \right| \le C \sqrt{\frac{d+\log(1/\delta)}{m}} \,.\]

In particular, \[\sup_{u\in\mathbb{S}^d} \frac{1}{m}\sum_{i=1}^m \mathbf{1}_{\{|\param_i^{(0)\top}u|\le \rho_k\}} \le \sup_{u\in\mathbb{S}^d}\mathbb{P}\bigl(|\param_1^{(0)\top}u|\le \rho_k\bigr) + C \sqrt{\frac{d+\log(1/\delta)}{m}}.\] Since \(\param_1^{(0)\top}u\sim \mathcal{N}(0,1)\) for every \(u\in\mathbb{S}^d\), we have \[\sup_{u\in\mathbb{S}^d}\mathbb{P}\bigl(|\param_1^{(0)\top}u|\le \rho_k\bigr) = \mathbb{P}(|Z|\le \rho_k) \le \frac{2\rho_k}{\sqrt{2\pi}} \,,\] where \(Z \sim \mathcal{N}(0,1)\). Combining this with 45 yields \[\frac{\|S_k\|_{\infty,R} }{m} \le \frac{2\rho_k}{\sqrt{2\pi}} + C\sqrt{\frac{d+\log(1/\delta)}{m}} \,.\] Substituting \(\rho_k=\frac{B_R\sqrt d}{\sqrt m}\eta_k\) concludes the proof. ◻

References↩︎

[1]
J. Sohl-Dickstein, E. Weiss, N. Maheswaranathan, and S. Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. In International Conference on Machine Learning, pages 2256–2265. PMLR, 2015.
[2]
Y. Song and S. Ermon. Generative modeling by estimating gradients of the data distribution. In Advances in Neural Information Processing Systems, 2019.
[3]
J. Ho, A. Jain, and P. Abbeel. Denoising diffusion probabilistic models. In Advances in Neural Information Processing Systems, 2020.
[4]
H. Li, Y. Yang, M. Chang, S. Chen, H. Feng, Z. Xu, Q. Li, and Y. Chen. Srdiff: Single image super-resolution with diffusion probabilistic models. Neurocomputing, 479: 47–59, 2022.
[5]
A. Lugmayr, M. Danelljan, A. Romero, F. Yu, R. Timofte, and L. Van Gool. Repaint: Inpainting using denoising diffusion probabilistic models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 11461–11471, 2022.
[6]
S. Gong, M. Li, J. Feng, Z. Wu, and L. Kong. Diffuseq: Sequence to sequence text generation with diffusion models. In International Conference on Learning Representations, 2023.
[7]
T. Dockhorn, A. Vahdat, and K. Kreis. Score-based generative modeling with critically-damped langevin diffusion. In International Conference on Learning Representations, 2022.
[8]
S. Chen, S. Chewi, J. Li, Y. Li, A. Salim, and A. Zhang. Sampling is as easy as learning the score: theory for diffusion models with minimal data assumptions. In International Conference on Learning Representations, 2023.
[9]
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, volume 202, pages 4735–4763. PMLR, 2023.
[10]
J. Benton, V. D. Bortoli, A. Doucet, and G. Deligiannidis. Nearly $d$-linear convergence bounds for diffusion models via stochastic localization. In International Conference on Learning Representations, 2024.
[11]
G. Conforti, A. Durmus, and M. G. Silveri. Kl convergence guarantees for score diffusion models under minimal data assumptions. SIAM Journal on Mathematics of Data Science, 7 (1): 86–109, 2025.
[12]
S. Strasman, A. Ocello, C. Boyer, S. L. Corff, and V. Lemaire. An analysis of the noise schedule for score-based generative models. Transactions on Machine Learning Research, 2025. ISSN 2835-8856.
[13]
S. Strasman, G. V. Cardoso, S. Le Corff, V. Lemaire, and A. Ocello. On forgetting and stability of score-based generative models. arXiv preprint arXiv:2601.21868, 2026.
[14]
S. Strasman, S. Surendran, C. Boyer, S. L. Corff, V. Lemaire, and A. Ocello. Wasserstein convergence of critically damped langevin diffusions. In Advances in Neural Information Processing Systems, 2025.
[15]
P. Li, Z. Li, H. Zhang, and J. Bian. On the generalization properties of diffusion models. In Advances in Neural Information Processing Systems, volume 36, pages 2097–2127, 2023.
[16]
M. Chen, K. Huang, T. Zhao, and M. Wang. Score approximation, estimation and distribution recovery of diffusion models on low-dimensional data. In International Conference on Machine Learning, pages 4672–4712. PMLR, 2023.
[17]
K. Yakovlev and N. Puchkin. Generalization error bound for denoising score matching under relaxed manifold assumption. In Conference on Learning Theory, pages 5824–5891. PMLR, 2025.
[18]
B. Dupuis, D. Shariatian, M. Haddouche, A. O. Durmus, and U. Simsekli. Algorithm-and data-dependent generalization bounds for diffusion models. In Advances in Neural Information Processing Systems, 2025.
[19]
G. Fu and W. S. Lee. Approximation and generalization abilities of score-based neural network generative models for sub-gaussian distributions. In Advances in Neural Information Processing Systems, 2025.
[20]
A. Stéphanovitch, E. Aamari, and C. Levrard. Generalization bounds for score-based generative models: a synthetic proof. arXiv preprint arXiv:2507.04794, 2025.
[21]
P. Vincent. A connection between score matching and denoising autoencoders. Neural Computation, 23 (7): 1661–1674, 2011.
[22]
Y. Han, M. Razaviyayn, and R. Xu. Neural network-based score estimation in diffusion models: Optimization and generalization. In International Conference on Learning Representations, 2024.
[23]
A. Jacot, F. Gabriel, and C. Hongler. Neural tangent kernel: Convergence and generalization in neural networks. In Advances in Neural Information Processing Systems, volume 31, 2018.
[24]
Y. Zhang, W. Xu, M. Zhou, M. Fazel, and S. S. Du. Convergence dynamics of over-parameterized score matching for a single gaussian. In International Conference on Learning Representations, 2026.
[25]
H. Robbins and S. Monro. A stochastic approximation method. The Annals of Mathematical Statistics, pages 400–407, 1951.
[26]
L. Bottou, F. E. Curtis, and J. Nocedal. Optimization methods for large-scale machine learning. SIAM Review, 60 (2): 223–311, 2018.
[27]
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.
[28]
B. D. O. Anderson. Reverse-time diffusion equation models. Stochastic Processes and their Applications, 12 (3): 313–326, 1982.
[29]
U. G. Haussmann and E. Pardoux. Time reversal of diffusions. The Annals of Probability, 14 (4): 1188–1205, 1986.
[30]
S. Surendran, A. Godichon-Baggioni, and S. Le Corff. Theoretical convergence guarantees for variational autoencoders. In International Conference on Artificial Intelligence and Statistics, pages 3547–3555. PMLR, 2025.
[31]
M. Papini, D. Binaghi, G. Canonaco, M. Pirotta, and M. Restelli. Stochastic variance-reduced policy gradient. In International Conference on Machine Learning, pages 4026–4035. PMLR, 2018.
[32]
F. Cole and Y. Lu. Score-based generative models break the curse of dimensionality in learning a family of sub-gaussian probability distributions. In International Conference on Learning Representations, 2024.
[33]
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 (43): 1–54, 2025.
[34]
T. Karras, M. Aittala, T. Aila, and S. Laine. Elucidating the design space of diffusion-based generative models. In A. H. Oh, A. Agarwal, D. Belgrave, and K. Cho, editors, Advances in Neural Information Processing Systems, 2022.
[35]
S. Arora, S. S. Du, W. Hu, Z. Li, R. R. Salakhutdinov, and R. Wang. On exact computation with an infinitely wide neural net. In Advances in Neural Information Processing Systems, volume 32, 2019.
[36]
S. Du, J. Lee, H. Li, L. Wang, and X. Zhai. Gradient descent finds global minima of deep neural networks. In International Conference on Machine Learning, pages 1675–1685. PMLR, 2019.
[37]
Z. Allen-Zhu, Y. Li, and Z. Song. A convergence theory for deep learning via over-parameterization. In International Conference on Machine Learning, pages 242–252. PMLR, 2019.
[38]
H. Zhu and J. Xu. One-pass stochastic gradient descent in overparametrized two-layer neural networks. In International Conference on Artificial Intelligence and Statistics, pages 3673–3681. PMLR, 2021.
[39]
P. Dhariwal and A. Nichol. Diffusion models beat gans on image synthesis. In Advances in Neural Information Processing Systems, volume 34, pages 8780–8794, 2021.
[40]
R. Rombach, A. Blattmann, D. Lorenz, P. Esser, and B. Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10684–10695, 2022.
[41]
J. Ho, T. Salimans, A. Gritsenko, W. Chan, M. Norouzi, and D. J. Fleet. Video diffusion models. In Advances in Neural Information Processing Systems, volume 35, pages 8633–8646, 2022.
[42]
T. Hang, S. Gu, C. Li, J. Bao, D. Chen, H. Hu, X. Geng, and B. Guo. Efficient diffusion training via min-snr weighting strategy. In Proceedings of the IEEE/CVF international conference on computer vision, pages 7441–7451, 2023.
[43]
Y. Shi, V. D. Bortoli, A. Campbell, and A. Doucet. Diffusion schrödinger bridge matching. In Thirty-seventh Conference on Neural Information Processing Systems, 2023.
[44]
J. Wang, K. Markert, M. Everingham, et al. Learning models for object recognition from natural language descriptions. In BMVC, volume 1, page 2, 2009.
[45]
M. Heusel, H. Ramsauer, T. Unterthiner, B. Nessler, and S. Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. In Advances in Neural Information Processing Systems, volume 30, 2017.
[46]
S. Ghadimi and G. Lan. Stochastic first-and zeroth-order methods for nonconvex stochastic programming. SIAM journal on optimization, 23 (4): 2341–2368, 2013.
[47]
R. Vershynin. High-Dimensional Probability: An Introduction with Applications in Data Science. Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge University Press, 2 edition, 2026. ISBN 9781009490641.
[48]
C. Giraud. Introduction to High-Dimensional Statistics. Chapman and Hall/CRC, 2021.