A Dynamical Central Limit Theorem for Shallow Neural Networks
Zhengdao Chen, Grant M. Rotskoff, Joan Bruna, Eric Vanden-Eijnden
Theoretical analyses of neural networks aim to understand their computational and statistical advantages seen in practice. On the computation side, the training of neural networks often succeed despite being a non-convex optimization problem known to be hard in certain settings . On the statistics side, neural networks often generalize well despite having large numbers of parameters . In this context, the notion of over-parametrization has been useful, by providing insights into the optimization and generalization properties as the network widths tend to infinity . In particular, under appropriate scaling, one can view shallow (a.k.a. single-hidden-layer or two-layer) networks as interacting particle systems that admit a mean-field limit. Their training dynamics can then be studied as Wasserstein Gradient Flows , leading to global convergence guarantees in the mean-field limit under certain assumptions. On the statistics side, such an approach lead to powerful generalization guarantees for learning high-dimensional functions with hidden low-dimensional structures, as compared to learning in Reproducing Kernel Hilbert Spaces (RKHS) . However, since ultimately we are concerned with neural networks of finite width, it is key to study the deviation of finite-width networks from their infinite-width limits, and how it scales with the width . At the random initial state, neurons do not interact and therefore a standard Monte-Carlo (MC) argument shows that the fluctuations in the underlying measure scale as , which we refer to as the Central Limit Theorem (CLT) scaling. As optimization introduces complex dependencies among the parameters, the key question is to understand how the fluctuation evolves during training. To make this investigation tractable, we aim to obtain insight on an asymptotic scale as the width grows, and focus on the evolution in time. An application of Grönwall’s inequality shows that this asymptotic deviation remains bounded at all finite time , but the dependence on time is exponential, making it difficult to assess the long-time behavior.
The main focus of this paper is to investigate this question in-depth, by analyzing the interplay between the deviations from the mean-field limit and the gradient flow dynamics. First, we prove a dynamical CLT to capture how the fluctuations away from the mean-field limit evolve as a function of training time to show that the fluctuations remain on the initial -scale for all finite times. Next, we examine the long-time behavior of the fluctuations, proving that, in several scenarios, the long-time fluctuations are controlled by the error of Monte-Carlo resampling from the limiting measure. We focus on two main setups relevant for supervised learning and scientific computing: the unregularized case with global convergence of mean-field gradient flows to minimizers that interpolate the data, and the regularized case where the limiting measure has atomic support and is nondegenerate. In the former setup, we prove particularly that the fluctuations eventually vanish in the CLT scaling. These asymptotic predictions are complemented by empirical results in a teacher-student model.
This paper continues the line of work initiated in that studies optimization of over-parameterized shallow neural networks under the mean-field scaling. Global convergence for the unregularized setting is discussed in . In the regularized setting, establishes global convergence in the mean-field limit under specific homogeneity conditions on the neuron activation. Other works that study asymptotic properties of wide neural networks include , notably investigating the transition between the so-called lazy and active regimes , corresponding respectively to linear versus nonlinear learning. Our focus is on the dynamics under the mean-field scaling, which encompasses the active, nonlinear regime.
A relevant work concerning the sparse optimization of measures is , where under a different metric for gradient flow and additional assumptions on the nature of the minimizer, it can be established that fluctuations vanish for sufficiently large . Our results are only asymptotic in but apply to broader settings in the context of shallow neural networks. Concerning the next-order deviations of finite neural networks from their mean-field limit, show that the scale of fluctuations is below that of MC resampling for unregularized problems using non-rigorous arguments. provides a CLT for the fluctuations at finite time under stochastic gradient descent (SGD) and proves that the fluctuations decay in time in the case where there is a single critical point in the parameter space. Our focus is on the long-time behavior of the fluctuations in more general settings. Another relevant topic is the propagation of chaos in McKean-Vlasov systems, which study the deviations of randomly-forced interacting particle systems from their infinite-particle limits . In particular, a line of work provides uniform-in-time bounds to the fluctuations in various settings , but the conditions are not applicable to shallow neural networks. Concurrently to our work, studies quantitative propagation of chaos of shallow neural networks trained by SGD, but the bound grows exponentially in time, and therefore cannot address the long-time behavior of the fluctuations.
Learning with neural networks exhibits the phenomenon that generalization error can decrease with the level of overparameterization . proposes a bias-variance decomposition that contains a variance term initialization in optimization. They show in experiments that this term decreases as the width of the network increases, and justifies this theoretically under the strong assumption that model parameters remain Gaussian-distributed in the components that are irrelevant for the task, which does not hold in the scenario we consider, for example. provides scaling arguments for the dependence of this term on the width of the network. Our work provides a more rigorous analysis of the dependence of this term on the width of the network and training time.
Background
As many of our results hold for general models of the form (1), we will invoke Assumption 2.1 only when needed. We shall also assume the following:
is compact; is a Euclidean space (or a subset thereof); is twice differentiable in ; is Lipschitz in , uniformly in .
As observed in , a model of the form (1) can be expressed in integral form in terms of a probability measure over as , where we define
and is the empirical measure of the parameters :
Suppose we are given a dataset , which can be represented by an empirical data measure , and are generated by an target function that we wish to estimate using least-squares regression. A canonical approach to this regression task is to consider an Empirical Risk Minimization (ERM) problem of the form
where is the space of probability measures on , denotes the function reconstruction error averaged over the data, and is some optional regularization term. While we can allow to be a general convex function, in Section 3.3 we will motivate a choice of in the shallow neural networks setting that is related to the variation norm or Barron norm of functions.
2 Approximation and Optimization with a Finite Number of Neurons
Integral representations with a probability measure such as those defined in (2) are amenable to efficient approximation in high dimensions via Monte-Carlo sampling. Namely, if the parameters in are drawn i.i.d. from an underlying measure on , then by the Law of Large Numbers (LLN), the resulting empirical measure converges almost surely, and moreover,
Such a Monte-Carlo estimator showcases the benefit of normalized integral representations for high-dimensional approximation, as the ambient dimension appears in the rate of approximation only through the term . In the case of shallow neural networks, this is connected to the variation norm or Barron norm of the function we wish to approximate (see Section 3.3 for details).
While the Monte-Carlo sampling strategy above can be seen as a ‘static’ approximation of a function representable as (2), it also gives rise to an efficient algorithm to optimize (4). Indeed, in terms of the empirical distribution , the loss becomes a function of the parameters , which we can seek to minimize by adjusting the parameters:
In the shallow neural network setting, with suitable choices of the function , the regularization term corresponds to weight decay over the parameters.
3 From Particle to Wasserstein Gradient Flows
where we have defined , and
Performing GD on amounts to discretizing in time the following ODE system that governs the evolution of for :
Heuristically, the ‘particles’ perform GD according to the potential which itself evolves, depending on the particles positions through their empirical measure. Such dynamics can also be expressed in terms of the empirical measure via the continuity equation:
4 Law of Large Numbers and Mean-Field Gradient Flow
From now on, we assume that the particle gradient flow is initialized in the following way:
The ODE (9) is solved for the initial condition , with drawn i.i.d. from a compactly supported measure for each . Hence, .
The solution to this equation can be understood via the representation formula
Using expression (10) for as well as (13), this equation can be written in closed form explicitly as
It is easy to see that this equation is itself a gradient flow since it is the continuous-time limit of a proximal scheme (mirror descent), which we state as:
5 Long-Time Properties of the Mean-Field Gradient Flow
In the shallow neural networks setting, a series of earlier works has established that under certain assumptions will converge to a global minimizer of the loss functional . In particular, studies global convergence for the regularized loss under homogeneity assumptions on , and considers modified dynamics using double-lifting. Here, to study the long time behavior of the fluctuations, we will often work with the following weaker assumptions:
The solution to (15) exists for all time, and has a limit:
The limiting is a local minimizer of (18).
and weakly as , with satisfying
We prove this proposition in Appendix B. Here, denotes
which will become useful in Section 3.2 when we analyze the long time properties of the fluctuations around the mean-field limit.
Assumptions 2.5 and 2.6 impose conditions on the initial measure . While the convergence of gradient flows in finite-dimensional Euclidean space to local minimizers is guaranteed under mild assumptions , its infinite-dimensional counterpart, Assumption 2.6, may require further technical assumptions, left for future study. Also, while Assumption 2.5 implies that is a stationary point of (12), Assumption 2.6 does not imply that minimizes .
Fluctuations from Mean-Field Gradient Flow
The main goal of this section is to characterize the deviations of finite-particle shallow networks from their mean-field evolution, by first deriving an estimate for for (Section 3.1), and then analyzing its long-time properties (Section 3.2). In Section 3.3, we then motivate a choice of the regularization term in (4) that controls the bound on the long-time fluctuations derived in Section 3.2, and which is also connected to generalization via the variation norm or Barron norm of functions.
By the static Central Limit Theorem (CLT) we know that, if we draw the initial values of the parameters independently from as specified in Assumption 2.3, has a limit as , leading to estimates similar to (5) with and replaced by the initial and , respectively. For , however, this estimate is not preserved by the gradient flow: the static CLT no longer applies and needs to be replaced by a dynamical variant . Next, we derive this dynamical CLT in the context of neural network optimization.
To this end let us define the discrepancy measure such that
Hence, we will first establish how the limit of as evolves over time. This can be done by noting that the representation formula (13) implies that
where solves (15) with replaced by . Defining
As shown in Appendix C.1, we can take the limit of this formula to obtain:
Here is the Gaussian measure with mean zero and covariance
with initial condition and where solves (14) and is a shorthand for
A direct consequence of this proposition and formula (27) is:
It is interesting to comment on the origin of both terms at the right hand side of (31) and, consequently, (35). The first term captures the deviations induced by fluctuations of around assuming that the flow is unaffected by these fluctuations, and remains equal to . In particular, this term is the one we would obtain if we were to resample from at every , i.e. use with sampled i.i.d. from , so that is identical to in (28). In this case, the limiting discrepancy measure would simply be given by
while the associated deviation in the represented function would read
The second term at right hand side of (31) and (35) captures the deviations to the flow in (15) induced by the perturbation of , i.e. how much differs from in (28). In the limit as , these deviations are captured by the solution to (33), as is apparent from (30).
The difference between and can also be quantified via the following Volterra equation, which can be derived from Proposition 3.1 and relates the evolution of to that of .
Here is given in (37) and we defined
This corollary is proven in Appendix C.2. In a nutshell, (38) can be established using Duhamel’s principle on (33) by considering all terms at the right hand side except the first as the source term (hence the role of ) and inserting the result in (35).
2 Long-Time Behavior of the Fluctuations
Next, we study the long-time behavior of and, in particular, evaluate
It is useful to start by considering an idealized case, namely when the initial conditions are sampled as in Assumption 2.3 with . In that case, there is no evolution at mean field level, i.e. , , and , but the CLT fluctuations still evolve. In particular, it is easy to see that the Volterra equation in (38) for becomes
Here is the Volterra kernel obtained by solving (40) with replaced by and inserting the result in (39) with and ,
and is the Gaussian field with variance
From (23) in Proposition 2.7 we know that is positive semidefinite for -almost all . As a result, we prove in D.1 that the Volterra kernel (43) viewed as an operator on functions defined on is positive semidefinite. Therefore, we have
Under Assumptions 2.2, 2.3, 2.5 and 2.6, with and as specified in Proposition 2.7, we have
This theorem indicates that, if we knew and could sample initial conditions for the parameters from it, it would still be favorable to train these parameters as this would reduce the approximation error. Of course, in practice we have no a priori access to , and so the relevant question is whether (46) also holds if we sample initial conditions from any such that Proposition 2.7 holds.
In light of (35), one way to address this question is to study the long-time behavior of . In the setup without regularization (), we can do so by leveraging existing results that, under certain assumptions, the mean-field gradient flow converges to a global minimizer which interpolates the training data points exactly . In this case, the following theorem shows that we can actually obtain stronger controls on the fluctuations than (46), which we prove in Appendix D.2.
Consider the ERM setting with and under Assumptions 2.2, 2.3 and 2.5. Suppose that as , converges to a global minimizer that interpolates the data, i.e. the function satisfies
and, furthermore, the convergence satisfies
if Assumption 2.1 also holds, i.e., in the shallow neural network setting, we further have
if , then decreases monotonically in .
Hence, in the shallow neural networks setting and under these assumptions, the fluctuations will eventually vanish in the scale of CLT. Note that for (48) to hold, it is sufficient that decays at an asymptotic rate of with . For instance, proves that in an ERM setting where the size of the training dataset is no larger than the input dimension (i.e. ), the loss converges to zero at a linear rate, which will satisfy the condition (48). We leave the search for weaker sufficient conditions for future work.
When the limiting measure does not necessarily interpolate the training data, such as when regularization is added, we can proceed with the analysis of the long-time behavior of under the following assumption on the long-time behavior of the curvature:
Let denote the smallest eigenvalue of the tensor defined in (34) and assume that for a constant (to be specified in Appendix D.3) such that
This theorem is proven in Appendix D.3. To intuitively understand (50), note that we know from (23) in Proposition 2.7 that -almost surely as . Condition (50) can therefore be satisfied by having converge to zero sufficiently fast in the regions of where it is negative, or having the measure of these regions with respect to converge to zero sufficiently fast, or both.
Alternatively, in the regularized () ERM setting, we can obtain the following result when the support of is atomic, as expected on general grounds :
Consider the ERM setting under Assumptions 2.2, 2.3 and 2.5. Suppose further that as , converges to satisfying
Then (46) holds with the “" replaced by “" on its LHS.
Theorem 3.7 is proven in Appendix D.4 by analyzing directly the Volterra equation (38) and establishing that its solution coincides with that of (42) in the limit as , a property that we also expect to hold more generally than under the assumptions of Theorem 3.7. In fact, we prove in Appendix D.4 that (52) can be replaced by a weaker condition, (238). We also discuss the relation between Theorem 3.7 and the work of in Appendix D.4.3.
3 The Monte-Carlo Bound and Regularization
The bound (46) on the long-time fluctuations motivates us to control the term using a suitable choice of regularization in (4). In the following, we restrict our attention to the shallow neural networks setting, and further assume that
where . Thus, we consider regularization with , in which case (4) becomes
Interestingly, this choice of regularization leads to learning in the function space (or alternatively, the Barron space ) associated with , which is equipped with the variation norm (or the Barron norm) defined as
The space contains any RKHS whose kernel is generated as an expectation over features with a base measure , but it provides crucial approximation advantages over such RKHS at approximating certain non-smooth, high-dimensional functions with hidden low-dimensional structure, giving rise to powerful generalization guarantees . This also motivates the study of overparametrized shallow networks with the scaling as in (1), as opposed to the NTK scaling of .
To learn in , a canonical approach is to consider the ERM problem
By (55), this is indeed equivalent to (54). In Appendix E, we prove the following proposition, which shows that the measure obtained from (54) indeed has its -norm controlled:
Under Assumptions 2.1, 2.2, and 3.8, has no local minima and its global minimum value can only be attained at measures such that both and are unique, and
where .
Numerical Experiments
We first perform numerical experiments in a student-teacher setting, using a shallow teacher network as the target function to be learned by shallow student networks with different widths of the hidden layer. Both and are taken to be the unit sphere of dimensions, and we take . The teacher network has two neurons, and , in the hidden layer, with and and sampled i.i.d. from the uniform distribution on and then fixed across the experiments. We vary the width of the student network in the range of and , with their initial ’s sampled i.i.d. from the uniform distribution on . We consider two ways for initializing the ’s of the student networks: 1) Gaussian-initialization, where the ’s are sampled i.i.d. from ; and 2) zero-initialization, where each is set to be .
We train the student networks in two ways: using the population loss or the empirical loss. For the former scenario, the data distribution is chosen to be uniform on , which allows an analytical formula for the loss as well as its gradient. The student networks are trained by gradient descent under loss. Moreover, we rescale both the squared loss and the gradient by in order to adjust to the factor resulting from spherical integrals, and set the learning rate (which is the step size for discretizing (9)) to be . The models are trained for epochs. For each choice of , we run the experiment times with different random initializations of the student network. The average fluctuation of the population loss is defined as for the population loss, with being the averaged model, similar to the approach in . The other plotted quantities – loss, TV-norm and -norm – are averaged across the number of runs. The TV-norm (i.e., -norm) and -norm are defined as in Appendix 3.3.
The results for the scenario of training under the population loss are presented in Figures 1. As seen from Column 3 the average loss values remain similar over time for different choices of , justifying the approximation by a mean-field dynamics. In the unregularized case with non-zero initialization, the fluctuation of the population loss (shown in Column 2) remains close to a scaling in roughly the first epochs, after which it decays faster for smaller . Interestingly, this coincides with the tendency for the student neurons with not aligned with the teacher neurons to slowly have their decrease to zero due to a finite- effect, which is also reflected in the decrease in TV-norm. Aside from this phenomenon, the fluctuations decay at similar rates for different choices of , which is consistent with our theory, since their dynamics are governed by the same dynamical CLT. Also, when regularization is added, each student neuron becomes aligned with one of the teacher neurons in both and after training; without regularization but using zero-initialization, after training, each student neuron either becomes aligned with one of the teacher neurons in or has close to zero. Both of these choices result in lower TV-norms and -norms compared to using non-zero initialization and without regularization.
Next, we consider the empirical loss scenario (ERM setting), using random vectors sampled i.i.d. from the uniform distribution on as the training dataset, which then define the empirical data measure . We use the full training dataset for computing the gradient at every iteration. The other training setups are the same as when the population loss is used. We additionally plot the average fluctuation of the training loss, defined as .
The results for the scenario of training under the empirical loss is presented in Figures 2. Compared to the scenario of training under the population loss, we wee that in the unregularized cases, both the average training loss and the average fluctuation of the training loss decay to below within iterations, and the latter observation is consistent with (49). In the regularized case, neither of them vanishes, but the average fluctuation of the training loss indeed remains below the asymptotic Monte-Carlo bound given in (46), whose analytical expression and numerical value in this setup (under the approximation of replacing , and by the target measure, the target function and , respectively) are given in Appendix F. Regularization and zero-initialization have a weaker effect in aligning the student neurons with the teacher neurons after training compared to the scenario of training under the population loss, but they still result in lower TV-norm and -norm, and moreover, lower average fluctuation and (slightly) lower average value of the population loss. This demonstrates their positive effects on both approximation and generalization.
2 Non-planted Case
The results are shown in Figure 3. We observe that the behaviors of the fluctuation are qualitatively similar to those found in Figure 1.
Conclusions
Here we studied the deviations of shallow neural networks from their infinite-width limit, and how these deviations evolve during training by gradient flow. In the ERM setting, we established that under different sets of conditions, the long-term deviation under the Central Limit Theorem (CLT) scaling is controlled by a Monte Carlo (MC) resampling error, giving width-asymptotic guarantees that do not depend on the data dimension explicitly. The MC resampling bound motivates a choice of regularization that is also connected to generalization via the variation-norm function spaces.
Our results thus seem to paint a favorable picture for high-dimensional learning, in which the optimization and generalization guarantees for the idealized mean-field limit could be transferred to their finite-width counterparts. However, we stress that these results are asymptotic, in that we take limits both in the width and time. In the face of negative results for the computational efficiency of training shallow networks , an important challenge is to leverage additional structure in the problem (such as the empirical data distribution , or the structure of the minimizers ) to provide nonasymptotic versions of our results, along the lines of or . Finally, another clear direction for future research is to extend our techniques to deep neural architectures, in light of recent works that consider deep or residual models .
Acknowledgements
This work benefited from discussions with Lenaic Chizat and Carles Domingo-Enrich, and the authors sincerely thank Jiaheng Chen for pointing out an error in Theorem 3.5 in the previous version of this manuscript. Z.C. acknowledges support from the Henry MacCraken Fellowship. G.M.R. acknowledges support from the James S. McDonnell Foundation. J.B. acknowledges support from the Alfred P. Sloan Foundation, NSF RI-1816753, NSF CAREER CIF 1845360, and the Institute for Advanced Study. E. V.-E. acknowledges support from the National Science Foundation (NSF) Materials Research Science and Engineering Center Program Grant No. DMR-1420073, and from NSF Grant No. DMS-1522767.
References
Appendix
We will use and to denote and , respectively. We will use to denote , to denote , to denote , and to denote . We will write for and for .
Let . Under Assumption 2.5 and Proposition 2.7, is bounded, and we denote its diameter by . We will use , and to denote the supremum of , and over and , which are all finite under Assumptions 2.2 and the boundedness of . We will use to denote the (uniform-in-) Lipschitz constant of in , which is also finite under Assumption 2.2.
The following notations will be used in Appendix D.2: Assuming that is Euclidean (under Assumption 2.2), let denote the space of random vector fields on . It becomes a Hilbert space once equipped with the inner product
where , denotes two random vector fields in . This inner product gives rise to the norm
For each , we define as
which depends on the random measure . We define two linear operators, and on , as
for . Under Assumption 2.5, we also define , , and similarly by replacing with .
Let denote the space of random functions on . It becomes a Hilbert space once equipped with the inner product
which maps a vector field back into .
Appendix B Long-Time Properties of the Mean-Field Gradient Flow
Proof of Proposition 2.7: The compactness of follows from (20) and the compactness of assumed in Assumption 2.3. follows from (13) and (20).
Under Assumption 2.5, is a local minimizer of the energy defined in (18). Consider a local perturbation to . The energy value after the perturbation is
Under Assumptions 2.2, using Taylor expansion, we have
Since is arbitrary can can be taken arbitrarily small, we see that for to be a local minimizer, the first-order condition is, ,
and the second-order condition is, ,
Therefore, for large enough, we will have
which contradicts (76). Hence, we can conclude that -almost surely, is positive semidefinite.
Appendix C Derivations of the Dynamical Central Limit Theorem
The following derivation is an adaptation of the approach in for Vlasov interacting particle systems to our scenario. To start, and are governed by the following equations, respectively:
Taking the difference between the two equations in (81) and using the mean value theorem, we get
This ends the proof of Proposition 3.1.
C.2 Proof of Proposition 3.3 (Dynamical CLT - II)
Since , we can use Duhamel’s principle to deduce that
where the tensor is the Jacobian defined in Proposition 3.3. As a result
with and defined in (37) and (39), respectively. This is (38).
Appendix D Long-Time Behavior of the Fluctuations
With the argument outlined in Section 3.2, what remains to be shown is that is positive-semidefinite as a Volterra kernel, according to the definition in . We will utilize the following known result:
because by assumption, , is positive semidefinite, and hence is a positive semidefinite operator;
(2) nonincreasing: Taking derivative with respect to time,
because again, is positive semidefinite;
(3) convex: Taking one more derivative with respect to time,
Therefore, we can apply Proposition D.1 to conclude that is PSD as a Volterra kernel, and so .
D.2 Proof of Theorem 3.5 (Unregularized case)
where here and below we denote . As a result, to prove (46) or (49) in Theorem 3.5, it suffices to establish that
To this end, we examine (33) as an infinite-dimensional ODE. With the Hilbert space defined in Appendix A and , and defined by (61), (63) and (64), respectively, we can rewrite (33) as the following ODE on :
Note that for all , is a positive semidefinite (PSD) operator on , as ,
This implies that . Hence, to establish (99), it is sufficient to show that
To this end, we need two lemmas that are proved below in Appendices D.2.1 and D.2.2, respectively:
Assuming (47) and (48) together with Assumptions 2.2, 2.3 and 2.5, we have
Assuming (47) and (48) together with Assumptions 2.2, 2.3 and 2.5, we have
and therefore (109) is satisfied. This finishes the proof of (46) under (47) and (48) together with Assumptions 2.2, 2.3 and 2.5.
Next, we show (49) under the additional condition of Assumption 2.1. Thanks to (107) and (109), it is sufficient to establish that
Heuristically, if exists, then from (102), it has to satisfy
as (because under the assumption of (47)). This equation implies that
where denotes the component of in the range of , and denotes the Moore-Penrose pseudoinverse of . As a result,
Rigorously, without assuming the existence of , we can establish that
Assuming (47) and (48) together with Assumptions 2.2, 2.3 and 2.5, we have
This lemma is proved in D.2.3. It implies that we only need to show that
This requires us to further exploit the relationship among , and . With the Hilbert space defined in Appendix A and defined by (67), we can rewrite (63) as
Similar formulas hold when we replace by . With these relations, we see that
Lemma D.5 is proven in Appendix D.2.4 and it concludes the proof of (49) in Theorem 3.5.
To show that decreases monotonically when , note that in this case , , and so , and , . Thus, (102) becomes
As will be shown in Lemma D.6, is in the range of . Therefore, defining
whose solution can be written analytically as
Therefore, as , there is
In the ERM setting, is PSD with a finite number of nonzero eigenspaces. Consider a set of its orthonormal eigenfunctions that span those nonzero eigenspaces, , corresponding to eigenvalues , respectively. As is in the range of by Lemma D.6, we can decompose it as
for some real numbers ’s. Thus, we can write
which is decreasing in time. This completes the proof of Theorem 3.5.
Proof of (110): . By the definition of the operator norm induced by on , is the smallest number such that , there is
In the unregularized case, a straightforward bound of is
which gives us the desired bound. Proof of (111): . We have
Hence, the absolute value of the expression above is upper-bounded by
Proof of (112): . There is
By the property of , there is
Hence, with the assumption of (48), we can conclude that
Our goal is to show that remains bounded for all time. First note that, for all , is a positive semidefinite (PSD) operator on since
Second, by Assumption 2.5, for -almost-every , exists, which allows us to define , , and similarly to (61), (63) and (64) by replacing with . Since we assume that
This implies that is the zero operator on .
Third, we have the following observation:
where is the least nonzero eigenvalue of the matrix (and hence is the largest eigenvalue of ). Since
(End of the proof of Lemma D.6)
Coming back to the prof of Lemma D.3, we have shown that, as , (102) approaches the asymptotic dynamics
with positive semidefinite and in the range of . This is a stable system. Hence, the rest of the task is to examine what happens at finite time. To do so, we perform a change-of-variable with
as is defined in the proof of Lemma D.6. The dynamics of is governed by
where is the fundamental solution (a.k.a. Green’s function) associated with the time-variant homogeneous system
Since is positive semidefinite for all , there is for , where with a slight abuse of notation we also use for the operator norm. Hence,
Therefore, remains bounded for all time if we can show that
we see that (172) is guaranteed by Lemmas D.2 and D.6.
This completes the proof of Lemma D.3.
By (110) in Lemma D.2 as well as Lemma D.3, we know that
Next, by (111) and (112) in Lemma D.2 as well as Lemma D.3, we know that
Let denote the component of a vector field that is in the range of . In the ERM setting, has a least nonzero eigenvalue that is positive, and hence the above implies that
Similar to (111), it can be shown that . Therefore, we have
we know that when viewed as a -dimensional random vector, has the distribution
by the covariance of , (32). Thus, we decompose as , with
Since is PSD, its square root is well-defined. By the property of multivariate Gaussian, we can write
D.3 Proof of Theorem 3.6 (Under assumptions on the curvature in the long-time)
When the limiting measure does not necessarily interpolate the training data, such as in the regularized case, we have the following condition on which guarantees that (46) holds:
(including when this limit is ) then (46) holds.
Proof of Lemma D.7: With defined in (101), for (46) to hold, it is sufficient to show that
Since and is PSD, we see that the assumption (200) is sufficient.
Note that condition (200) is natural since we know from Proposition 2.7 that exists and is positive semidefinite -almost surely. This lemma then allows us to prove Theorem 3.6: Proof of Theorem 3.6: Our goal is to verify (200) in order to apply Lemma D.7. We first see that
where we define, for ,
Hence, if we assume that is small asymptotically, then what remains is to upper-bound . Recall from (102) that the dynamics of is governed by
Thus, in the norm defined above, we have
We then want to bound the growth of by upper-bounding the RHS. Note that for ,
To bound , we recall that
This implies that ,
On the other hand, similar to (162), we have
Thus, there is ,
Now, using (203), we see that in order for (200) to hold, it is sufficient to have
To intuitively understand (50), note that we know from (23) in Proposition 2.7 that -almost surely as . Condition (50) can therefore be satisfied by having converge to zero sufficiently fast in the regions of where it is negative, or having the measure of these regions with respect to converge to zero sufficiently fast, or both.
D.4 Proof of Theorem 3.7 (Regularized case)
Recall from Proposition 3.3 that the dynamics of is governed by
with being the Jacobian of the flow .
In the ERM setting, is singular, thus we have , where is the total number of training data points. We define together with the inner product and the norm as in Appendix A. We will also continue to consider and equivalently as -dimensional vectors,
respectively. Thus, can also be represented by the matrix
Under such an abuse of notations, we can simplify (221) into
where for simplicity, we write for and for . Then the heuristic argument outlined in Section 3.2 before Theorem 3.4 amounts to rewriting (225) as
and then arguing that 1) is a nonnegative convolution-type Volterra kernel, and 2) the second term on the RHS is small. Rigorously, we need to introduce an extra level of complication: for every , we can rewrite (225) into
Then, for any , by multiplying and integrating from to , we get
Then firstly, the second term on the LHS is nonnegative because of the nonnegativity of as a convolution-type Volterra kernel, as proven in Appendix D.1.
Therefore, putting everything together, we have
and hence, using to denote the averaged integral ,
Under all assumptions in Theorem 3.7 except for (52) being replaced by a weaker condition,
We will prove in Appendix D.4.2 that (52) indeed implies (238).
The lemma will be proved in Appendix D.4.1, and let us first proceed with the proof of the theorem assuming this lemma. Suppose for contradiction that (226) does not hold, meaning that
for some . We will select a pair of and for which the inequality (237) cannot be satisfied. Firstly, by the convergence of to , such that ,
Secondly, by our assumption (241) and the first part of Lemma D.8, such that both
are satisfied. In particular, (243) implies
By the second part of Lemma D.8, such that ,
By our assumption (241), we can choose a such that
we can assume without loss of generality that is large enough so that
Thus, back to the inequality (237), the LHS is strictly lower-bounded by
whereas the RHS is strictly upper-bounded by
This gives contradiction and we are done with the proof of Theorem 3.7.
It remains to prove Lemma D.8. To do so we will need an auxiliary result, that we state and prove first:
Let . If is uniformly positive definite with eigenvalues lower-bounded by , then there exists constants and whose values depend on , , , , and such that
where .
We will first try to bound as a function of . Define . Then
Since is positive semidefinite, we first have
To prepare for an application of Gronwall’s inequality, we introduce a change-of-variable by defining, for ,
Then we can rewrite the equation above as
or, back in the original variable that we are interested in,
and, since and ,
where we use to denote and we defined .
Therefore, using , , etc. to represent constants that depend on , , , and , we have
Note that can be further upper-bounded by . Furthermore, defining
(End of the proof of Lemma D.9.)
Proof of Lemma D.8: Lemma D.9 entails that, such that
where for the last inequality, we assume that (or, to accommodate the more general case, just replace by ).
To prove Lemma D.8, the first goal is to show
By our assumption, the RHS is finite for . Hence, by taking large enough, the value of can be made arbitrarily close to zero.
The second goal is to show that ,
because , there is
and is defined as , or concretely, for ,
In the ERM setting, is effectively an matrix. Thus,
This concludes the proof of Lemma D.8.
Below, we will illustrate the assumption (238)
in Theorem 3.7 by giving examples that satisfy this condition.
First, consider an example where such that and ,
that is, all characteristic flows share a uniform asymptotic convergence rate on the order of . Then ,
which is finite as long as . Thus,
If such that and ,
such that ,
Appendix E Properties of the Minimizers of the Regularized Loss
First, under Assumption 2.1, i.e. in the shallow neural networks setting, define
We prove Proposition 3.9, which we extend into:
Under Assumptions 2.1, 2.2, and 3.8, the minimizers of the loss defined in (4) are all in the form
where and satisfy
In addition, the constant is unique and positive if is not identically zero on , the closure of the supports of are disjoint (i.e. ), and the function
is the same for all minimizers and satisfies
where .
Note that the proposition automatically implies that . It also implies that
with equality on the support of and where is the expectation of the left hand side with respect to . Minimizing the left hand side of (309) over at fixed , we deduce that
If we insert this equality back in , we deduce that , with the constant related to as
and furthermore, ,
These considerations imply that the minimizer must be of the form (304), and if we combine (310) and (312) and evaluate the minimum on explicitly we deduce that and must satisfy the equations in (305). It is also clear from (305) that we must have : indeed if there was a point , then at that point would be discontinuous, which is not possible since this function is continuously differentiable for any by our assumptions on . Finally, to show that we must have that if is not identically zero on , note that if , (309) reduces to
which can only be satisfied if .
To show that and the function in (306) are unique, let and be two different minimizers and consider
Let us evaluate the loss on with . By convexity of we have
Since cannot have a lower loss than this minimum, we must have equality in (316), which reduces to
where and are associated with and , respectively. Clearly these equations can only be fulfilled for all if and -a.e. on .
To establish (307), notice that if is a minimizer and is given by (306), then we can derive from (313) that
Using (320) in (319) and reorganizing gives the first inequality in (307). To establish the second, let be the measure that minimizes under the constraint that , so that —the measure exists since we assumed that . Evaluated on , the loss is
Any minimizer of must do at least as well, i.e we must have
This establishes the second inequality in (307).
Appendix F Analytical Calculations of the Resampling Error
with being the angle between and , and
Thus, taking to be the measure representing the teacher network, , we have
In the experiments described in the main text, we take , and and are initialized with a fixed random seed such that their angle, , equal to . Thus,
Together, we get a numerical value of the RHS of (46) if we replace , and by , and , respectively.