Learning Over-Parametrized Two-Layer ReLU Neural Networks beyond NTK
Yuanzhi Li, Tengyu Ma, Hongyang R. Zhang
Introduction
Gradient-based optimization methods are the method of choice for learning neural networks. However, it has been challenging to understand their working on non-convex functions. Prior works prove that stochastic gradient descent provably convergences to an approximate local optimum Ge et al. (2015); Sun et al. (2015); Lee et al. (2017); Kleinberg et al. (2018). Remarkably, for many highly complex neural net models, gradient-based methods can also find high-quality solutions Sun (2019) and interpretable features Zeiler and Fergus (2014).
Recent studies made the connection between training wide neural networks and Neural Tangent Kernels (NTK) Jacot et al. (2018); Arora et al. (2019b); Cao and Gu (2019); Du et al. (2018c). The main idea is that training neural networks with gradient descent with a particular initialization is equivalent to using kernel methods. However, the NTK approach has not yet provided a fully satisfactory theory for explaining the success of neural networks. Empirically, there seems to be a non-negligible gap between the test performance of neural networks trained by SGD and that of the NTK Arora et al. (2019a); Li et al. (2019b). Recent works have suspected that the gap stems from that the NTK approach has difficulty dealing with non-trivial explicit regularizers or does not sufficiently leverage the implicit regularization of the algorithm Wei et al. (2019); Chizat and Bach (2018b); Li et al. (2019a); HaoChen et al. (2020).
In this work, we provide a new convergence analysis of the gradient descent dynamic on an over-parametrized two-layer ReLU neural network. We prove that for learning a certain two-layer target network with orthonormal ground truth weights, gradient descent is provably more accurate than any kernel method that uses polynomially large feature maps.
where is in for an absolute constant and satisfies , and forms an orthonormal basis. Equation (1.1) can also be written as the sum of neurons with ReLU activation:
Let be a training dataset of i.i.d. samples from the Gaussian distribution with identity covariance and for any .
We learn the target network using an over-parametrized two-layer ReLU network with neurons , given by:
Note that we have re-parametrized the output layer with the norm of the corresponding neuron, so that we only have one set of parameters . This is without loss of generality for learning because when , is equal to where . Given a training dataset , we learn the target network by minimizing the following empirical loss:
Let denote the population loss given by the expectation of over .
Algorithm. We focus on truncated gradient descent with random initialization. Algorithm 1 describes the procedure.An interesting feature is that when a neuron becomes larger than a certain threshold, we no longer update the neuron. This is a variant of gradient clipping often used in training recurrent neural networks (e.g. Merity et al. (2017); Gehring et al. (2017); Peters et al. (2018)) — here we drop the gradients of the large weights instead of re-scaling them. The truncation allows us to upper bound the norm of every neuron. Our main result is to show that Algorithm 1 learns the target network accurately in polynomially many iterations.
Let be a training dataset with samples generated by the model described above.Let denote a polynomial of and denote a polynomial whose degree may depend on . Let be a sufficiently large constant that only depends on . Let be a sufficiently small absolute constant that does not depend on . Let be a sufficiently small value on the order of and be a sufficiently small value on the order of . For a learning rate , a network width , and truncation parameters , let be the final network learned by Algorithm 1. With probability over the choice of the random initialization, we have that the population loss of satisfies
The intuition behind our main result is as follows. We build on a connection between the popluation and tensor decomposition for Gaussian inputs Ge et al. (2017, 2018). By expanding the population loss in the Hermite polynomial basis, the optimization problem becomes an infinite sum of tensor decompositions problems (cf. equation (2) in Section 2) To analyze the gradient descent dynamic on the infinite sum tensor decomposition objective, we first analyze the infinite-width case – when goes to infinity. We establish a conditional-symmetry condition on the population of neurons, which greatly simplifies the analysis. This is established using the fact that our input distribution and labeling function (the absolute value activation) are both symmetric. Our analysis uncovers a stage-wise convergence of the gradient descent dynamic as follows, which matches our observations in simulations.
First, Algorithm 1 minimizes the 0th and 2nd order tensor decompositions. Informally, the distribution of neurons is fitting to the 0th moment and the 2nd moment of .
Second, Algorithm 1 minimizes the 4th and higher order tensor decompositions. Initially, there is a long plateau where the evolution is slow, but after a certain point gets faster. As a remark, this behavior has been observed for randomly initialized tensor power method Anandkumar et al. (2017). Because the solution to the 4th and higher order orthogonal tensor decomposition problems is unique, we can learn the ground truth weights .
Then we show that the sampling error between the infinite-width case and the finite-width case is small. The finite-width case can be thought of as a finite sample of the infinite-width case. As the network width increases, the sampling error reduces. In Section 3 and 4, we will first present a proof overview. The full proof is given in Section A and B.
As a complement, we show that the generalization error bound of Theorem 1.1 cannot be achieved by kernel functions with polynomially large feature map. Hence, by minimizing the higher order tensor decomposition terms, the learned neural network is provably more accurate than kernel functions that simply fit the lower order terms. Our result is stated as follows.
Under either of the following two situations,
Comparing the above result with Theorem 1.1, we conclude that provided with polynomially many samples, Algorithm 1 can recover the target two-layer neural network more accurately than the feature map and kernel method described above. Section C shows how to prove Theorem 1.2.
2 Related Work
Neural tangent kernel (NTK). A sequence of recent work shows that the learning process of gradient descent on over-parametrized neural networks, under certain initializations, reduces to the learning process of the associated neural tangent kernel. See Jacot et al. (2018); Arora et al. (2019b); Cao and Gu (2019); Du et al. (2018c); Arora et al. (2019a); Allen-Zhu and Li (2019b); Allen-Zhu et al. (2019c, b); Li and Liang (2018); Zou et al. (2018); Du et al. (2018a); Daniely et al. (2016); Ghorbani et al. (2019); Li et al. (2019a); Hanin and Nica (2019); Yang (2019) and the references therein. For NTK based results, the learning process of gradient descent can be viewed as solving convex kernel regression. Our work analyzes a non-convex objective that involves an infinite sum of tensor decomposition problems. By analyzing the higher order tensor decompositions, we can achieve a smaller generalization error than kernel methods.
Allen-Zhu and Li (2019a, 2020a) show that over-parametrized neural networks can learn certain concept class more efficient than any kernel method. Their work assumes the target network satisfies a certain “information gap” assumption between the first and second layer, while our target network does not require such gaps. Allen-Zhu et al. (2019a); Bai and Lee (2019) go beyond NTK by studying quadratic approximations of neural networks. Our work further analyzes higher-order tensor decompositions that are present in the Taylor expansion of the loss objective.
Two-layer neural networks given Gaussian inputs. There is a large body of work on learning two-layer neural networks over the last few years, such as Kawaguchi (2016); Soudry and Carmon (2016); Xie et al. (2016); Soltanolkotabi et al. (2017); Tian (2017); Brutzkus and Globerson (2017); Boob and Lan (2017); Vempala and Wilmes (2018); Oymak and Soltanolkotabi (2019); Bakshi et al. (2018); Yehudai and Shamir (2019); Zhang et al. (2018); Li and Liang (2017); Li and Dou (2020); Allen-Zhu and Li (2020b). Our work is particularly related to those that learn a two-layer neural network given Gaussian inputs. Li and Yuan (2017); Zhong et al. (2017) consider learning two-layer networks with ReLU activations with a warm start tensor initialization, as opposed to from a random initialization. Du et al. (2017) consider learning a target function consisting of a single ReLU activation. Brutzkus and Globerson (2017); Tian (2017) study the case where the weight vector for each neuron has disjoint support. Apart from the gradient descent algorithm, the method of moments has also been shown to be an effective strategy with provable guarantees (e.g. Bakshi et al. (2018); Ge et al. (2018)).
The closest work to ours is Ge et al. (2017) that consider a similar concept class. However, their work requires designing a complicated loss function, which is different from the mean squared loss. The learner network also uses a low-degree activation function as opposed to the ReLU activation. These are introduced to address the challenge of analyzing non-convex optimization for tensor decomposition with multiple components as variables, because prior works mostly focus on the non-convex formulation that optimizes over a single component (e.g., see Ge and Ma (2017)). Ge et al. (2017) have stated the question of analyzing the gradient descent dynamic for minimizing the sum of second and fourth order tensor decompositions as a challenging open question. Our analysis not only applies to this setting, but also allows for more even order tensor decompositions. Apart from ReLU activations, quadratic activations have been studied in Li et al. (2018); Oymak and Soltanolkotabi (2019); Soltanolkotabi et al. (2017).
Infinite-width neural networks. Previous work such as Mei et al. (2018); Chizat and Bach (2018a) show that as the hidden layer width goes to infinity, gradient descent approaches the Wasserstein gradient flow. Mei et al. (2018) use tools from partial differential equations to prove the global convergence of the gradient descent. Both of these results do not provide explicit convergence rates. Wei et al. (2018) show that under a certain regularity assumption on the activation function, the Wasserstein gradient flow converges in polynomial iterations for infinite-width neural networks..
Organizations. The rest of the paper is organized as follows. In Section 2, we reduce our setting to learning a sum of tensor decomposition problems. In Section 3, we describe an overview of the analysis for the infinite-width case. In Section 4, we show how to connect the above case to the gradient descent dynamic on the empirical loss for polynomially-wide networks. Finally we validate our theoretical insight on simulations in Section 5. In Section A, we provide the proof of the infinite-width case. In Section B, we provide an error analysis of the infinite-width case and complete the proof of Theorem 1.1. In Section C, we present the proof of Theorem 1.2.
Preliminaries
Recall that the ground-truth weights forms an orthonormal basis. Since the input distribution and the initialization are both rotation invariant, without loss of generality we can assume that , for all .
We can average out the randomness in by applying Theorem 2.1 of Ge et al. (2017) on the loss function , by expanding the activations function in the Hermite basis O’Donnell (2014).
where is the Hermite coefficients of the absolute value function for any . We remark that the population loss is a infinite sum of orthogonal tensor decomposition problems! For example, the -th order tensor decomposition concerns the -norm of the weights. More generally, the -order tensor decomposition concerns the -th moment of the weights.
Correspondingly, the population loss of is given as
Gradient descent update. It has been shown in prior works that gradient descent in the (natural) parameter space corresponds to Wasserstein gradient descent in the distributional space. However, we found that the Wasserstein gradient perspective is not particularly helpful for us to analyze our algorithms and therefore we work with the update in the parameter space. The distribution can be viewed as a collection of infinitesimal neurons. The gradient of each neuron is given by computing the gradient of the objective w.r.t a particle assuming the rest of the particles follow the distribution . Let denote the gradient of . We have that
where , and for any , and . We use and as a shorthand for . Based on equation (2.5), we can further decompose into the sum of for , where the -th gradient refers to the gradient of the -th tensor decomposition. As a result, given a neural network with neuron distribution , the neuron distribution after a truncated gradient descent step, denoted by , satisfies that
Finite-width case. We briefly describe the connection between the above infinite-width case and the finite-width case. Intuitively, we can think of the finite-width case as sampling neurons randomly from the neuron population in the infinite-width case. There are two sources of sampling error that arise from the above process: (i) the error of the gradients between the finite neuron distribution and the infinite neuron distribution; (ii) the error between the empirical loss and the population loss. Because of gradient truncation, the norm of every neuron is bounded by . Therefore, the sampling error reduces as and increases, as shown in the following claim.
With probability at least over the randomness of and the training dataset , for every , we have that:
Claim 2.1 can be proved by standard concentration inequalities such as the Chernoff bound.
Overview of the Infinite-Width Case
We begin by studying Algorithm 1 for minimizing the population loss using an infinite-width neural network. The infinite-width case plays a central role in our analysis. First, the infinite-width case allows us to simplify the gradient update rule through a conditional-symmetry condition that we describe below. Second, the finite-width case can be reduced to the infinite-width case by bounding the sampling error of the two cases — we describe the reduction in the next section.
A natural starting point for the infinite-width case is to simply set the network width to infinity in Theorem 1.1. However, this will include negligible outliers such as those with large norms in the Gaussian distribution. Therefore, we focus on a truncated probability measure of by enforcing a certain bounded condition. The precise definition of is presented in Definition A.1 of Appendix A. For the purpose of providing an overview of the analysis, it suffices to think of as a Gaussian-like distribution that satisfies the following property.
Provided with as initialization, we are ready to state the main result of the infinite-width case as follows.
In the setting of Theorem 1.1, let the number of samples go to infinity. Starting from the initialization as the neuron distribution , let be the final output network by Algorithm 1. The population loss of satisfies .
In the rest of this section, we present an overview of the proof of Theorem 3.1 and provide pointers to the proof details to be found in Section A. First, we provide a simplifying formula for the gradient of . We describe an overview of the two stages of Algorithm 1 in Section 3.1 and 3.2, respectively.
Suppose the update rule of is given in equation (2.6). If is conditionally-symmetric, then is also conditionally-symmetric.
To see that Claim 3.1 is true, we first observe that the 1st order tensor decomposition is always zero when is conditionally symmetric. For the even order tensor decompositions, we observe that for every neuron in and every , subject to being fixed, is a polynomial of that only involves odd degree monomials. Therefore, as long as is conditionally-symmetric, then is still conditionally-symmetric. Since is conditionally-symmetric by definition, we conclude that the neuron distribution is conditionally-symmetric throughout Algorithm 1. Based on this claim, we simplify equation (2.5) as follows.
Suppose that is conditionally-symmetric. For any , let be a shorthand for the gradient of the 2j-th tensor . For any , let be the -th coordinate of . We have that is equal to the following for each value of :
The proof of Claim 3.2 is by applying Claim 3.1 to equation (2.5), which zeroes out the coordinates in that has an odd order before taking the expectation of in . For the 2nd order gradient , we have that
Similar arguments apply to the gradient of higher order tensor decompositions. Claim 3.1 and 3.2 together implies that for the infinite-width case, the gradient descent update is given by equation (3.2) and (3.3).
We show that Algorithm 1 minimizes the 0th and 2nd order tensor decompositions of the objective to zero first.
First, we show that the gradient of the 4th and higher order tensor decompositions is dominated by and . We observe that for , the -th coordinate of and satisfies that
This is because is a suitable truncation of . We further have that
After the 0th and 2nd order tensor decompositions are minimized to a small enough value, the gradient of higher order tensor decompositions begins to dominate the update. In Lemma A.3, we show that for a small fraction of neurons, their norms become much larger than an average neuron — a phenomenon that we term as “winning the lottery ticket”. The main intuition is as follows.
In Proposition A.10, we show that the gradient of most neurons except a small fraction can be approximated by a signal term from the 4th order gradient plus an error term:
where is a function that only depends on but grows slowly with . To see that equation (3.5) is true, except a small set of neurons with probability mass at most where will be specified later, any other neuron satisfies . For the small set of neurons, since we stop updating a neuron when its norm grows larger than , the norm of any of these neurons is less than . Thus, provided with a sufficiently large , the contribution of these neurons to the gradient is negligible. Combined together, we prove equation (3.5) in Proposition A.10.
Next, we reduce the dynamic to tensor power method. Based on equation (3.5), we observe that the update of is approximately , which is analogous to performing power method over a fourth order tensor decomposition problem. Hence, for larger initializations of , also grows faster. Based on the intuition, we introduce the set of “basis-like” neurons in the population , which are defined more precisely in Lemma A.3. Intuitively, includes any neuron that satisfies , which has probability measure at least by standard anti-concentration inequalities. Following equation (3.5), we show that the neurons in keeps growing until they become roughly equal to .
As shown in Lemma A.3, Algorithm 1 goes through a long plateau of iterations, until the neurons of are sufficiently large. Intuitively, the scaling of in the number of iterations arises from the increment in equation (3.5). This concludes Stage 1. The update of these basis-like neurons will be the focus of Stage 2.
2 Dynamic during Stage 2
In the second stage, we reduce the gradient truncation parameter in Algorithm 1 from to a smaller value . This allows the neurons that are close to basis vectors to fit the target network more accurately.
In Lemma A.5, we show that after iterations, the population loss reduces to less than . The proof of Lemma A.5 involves analyzing the 0th and 2nd order tensor decompositions, similar to Stage 1.1.
At the end of Stage 2.1, the weights of the learner neural network form a “warm start” initialization, meaning that its population loss is less than Li and Yuan (2017); Zhong et al. (2017). The final substage will show that the population loss can be further reduced from to , where is a fixed constant defined in Theorem 1.1.
In Lemma A.6, we show that the population loss further reduces to after iterations. We describe an informal argument by contrasting the gradient update of neurons in and the rest of the neurons for a particular coordinate .
For any neuron , in Claim A.10, we show that the -th coordinate of approximately follows the following update (cf. equation (A.45)):
where is a function that grows with but bounded above by and is a function that only depends on . For any neuron , in Claim A.10, we show that follows a similar update but its corresponding value of is much smaller than that of neurons in . Thus, basis-like neurons grow faster than the rest of neurons by an additive factor that scales with .
Once Lemma A.6 is finished, Algorithm 1 has learned an accurate approximation of and we can conclude the proof of Theorem 3.1. We show that the population loss has also become less than (cf. equation (A.10)). Thus, we have finished the analysis of Algorithm 1 for . We provide the proof details of Theorem 3.1 in Section A.
Overview of the Finite-Width Case
Based on the analysis of the infinite-width case, we reduce the finite-width case to the infinite-width case. By applying Claim 2.1 with , when are i.i.d. samples from , the empirical loss and its gradient are tightly concentrated around the population loss and its gradient. Furthermore, as we increase the number of neurons and the number of samples , the sampling error reduces. Therefore, the goal of our reduction is to show that the sampling error remains small throughout the iterations of Algorithm 1. We describe our reduction informally and leave the details to Section B.
Combined together, we show in Lemma B.1 that indeed remains polynomially small. For Stage 2, we analyze the propagation of in Lemma B.2 and B.3 using similar arguments.
Combining the above three lemmas on error propagation and Theorem 3.1, we complete the proof of Theorem 1.1 in Section B.
Simulations
We provide simulations to complement our theoretical result. We consider a setting where and , for . The input is drawn from the Gaussian distribution. For the th order tensor, we measure the corresponding tensor decomposition loss from the population loss .
We validate the insight of our analysis, which shows that the convergence of gradient descent has several stages. We use the labeling function of equation (1.1) and a learner network with absolute value activation functions as in Section 3 and Section A. First, the 0th and 2nd order tensor decomposition losses converge to zero quickly. Second, the 4th and higher order tensor decomposition losses converge to zero followed by a long plateau. Figure 2 shows the result. Here we use and . The number of samples is .
We can see that initially, the 0th and 2nd order tensor decompositions have higher loss than the 4th and higher order tensor decompositions. Then, both the 0th and the 2nd order losses decrease significantly from the initial value and converge to below very quickly. Moreover, after a quick warm up period, the 0th order loss always stays smaller than the 2nd order loss, as our theory predicts. This is followed by a long plateau, which corresponds to Stage 1.2 of our analysis. During this stage, the 4th and higher order losses dominate dynamic, where a small fraction of neurons converge to basis-like neurons. Eventually, the learner neural network accumulates enough basis-like neurons from the 4th and higher tensors in the network. The 4th and higher order losses become less than . The 0th and 2nd order losses further reduce to closer to zero. Our theory provides an in-depth explanation of these phenomena.
It has been observed that for properly parametrized gradient descent, gradient descent can get stuck starting from a random initialization Ge et al. (2017); Du et al. (2018b). We show that this is because the higher order losses remain large even though the 0th order loss has become small. We consider the same setting as the previous experiment but use . Figure 2 shows the result. We can see that the 0th order loss still reduces to less than . However, the 2nd, 4th and 6th order losses are still larger than even after iterations.
Conclusions and Discussions
In this work, we have shown that for learning a certain target network with absolute value activation, a truncated gradient descent algorithm can provably converge in polynomially many iterations starting from a random initialization. The learned network is more accurate compared to any kernel method that uses polynomially large feature mappings.
We describe several interesting questions for future work. First, it would be interesting to extend our result to a setting where the target network uses ReLU activation, i.e. . We note that there is a straightforward reduction from the above setting to our setting by simply solving a linear regression. After applying the reduction, we could then apply our result. The challenge of directly analyzing gradient descent for learning is that the 1st order tensor decomposition in the Hermite expansion of breaks the conditionally-symmetric property. Second, it would be interesting to extend our result to settings where is not necessarily orthonormal. The challenge is to analyze the gradient descent dynamic beyond orthogonal tensors. We leave this question for future research.
The work is in part supported by SDSI and SAIL. T. M is also supported in part by Lam Research and Google Faculty Award.
References
The appendix provides complete proofs to Theorem 1.1 and 1.2.
In Section A, we describe the proof of Theorem 3.1 for the infinite-width case. This section comprises the bulk of the appendix.
In Section B, we describe the proof of Theorem 1.1 by reducing the finite-width case to the infinite-width case.
In Section C, we prove Theorem 1.2 using ideas from the work of Allen-Zhu and Li [2019a].
Appendix A Proof of the Infinite-Width Case
We provide the proof of Theorem 3.1, which shows that running truncated gradient descent on an infinite-width network can recover the target network with population loss at most , where is a sufficiently small constant defined in Theorem 3.1. Recall from Section 3 that our analysis begins by setting up the random initialization and then proceeds in two stages. We fill in the proof details left from Section 3. The rest of this section is organized as follows.
Initialization: We set up the random initialization used by Algorithm 1.
Stage 1: We fill in the proof details of the dynamic during Stage 1, which subsumes Stage 1.1 and Stage 1.2 described in Section 3.1. This stage runs for iterations.
Stage 2: We fill in the proof details of the dynamic during Stage 2, which subsumes Stage 2.1 and Stage 2.2 described in Section 3.2. This stage runs for iterations.
Recall that for the infinite-width case, our initialization of the neuron distribution is a probability measure truncated from a Gaussian distribution with identity covariance. We formally define the truncation and the initialization, denoted by , as follows.
The maximum entry of is bounded: .
Both and are in the range
There are at most coordinates of such that .
We define as the probability measure of conditional on the support set .
Remark. For our purpose of proving the finite-width case later in Section B, it suffices to consider as the initialization as opposed to . This is because when Algorithm 1 samples neurons from , with high probability all the samples are in the set . To see this, by standard concentration inequalities for the Gaussian distribution, we can show that the set has probability measure at least . Thus by union bound, with high probability all samples are in .
As stated in Section 3, we are going to heavily use the conditionally-symmetric property (cf. Definition 3.1). We observe that the initialization is indeed conditionally-symmetric. This is because satisfies the conditionally-symmetric property and our truncation in Definition A.1 only involves conditions on the square of the coordinates of . Hence the truncation of to preserves the conditionally-symmetric condition.
Notations for gradients. Before describing the analysis, we introduce several notations first. Recall from Claim 3.2 that the gradient of a neuron in the distribution can be simplified given the conditionally-symmetric property. For each coordinate , the gradient of neuron satisfies that , where , denotes the gradient of for the -th loss, and denotes the -th coordinate of . Let and , where and are the Hermite coefficients of the -th loss given in Section 2. For a vector , let denote a neuron with initialization in the initialization . Let denote the -th iterate of following the update rule of equation (2.6).
Recall from Section 3.1 that the goal of Stage 1 is to show that a small fraction of neurons becomes basis-like, i.e. close to a basis times a scaling factor of at the end of iterations for some . To facilitate the analysis, we maintain an inductive hypothesis throughout Stage 1 that provides an upper bound on the norm of a typical neuron during the update. We first introduce the set of neurons that will not become basis-like by the end of Stage 1.
Let be a large enough constant. Let and be the set of all vectors in such that
where denotes being normalized to norm .
Based on the above definition, we introduce the following inductive hypothesis that shows the neurons in remain “small and dense” (i.e. not basis-like) throughout Stage 1. This stage runs for iterations. We use to denote a value that is less than .
In the setting of Theorem 3.1, let . There exists an increasing sequence where such that for every and every , the -th iterate of the neuron with initialization satisfies that
Furthermore, for every coordinate , we have that in expectation,
Equation (A.2) and (A.3), which we also refer to as inductive hypothesis , show that the norm of any neuron in will not grow beyond . Hence they will not become basis-like during Stage 1.
The set contains most neurons in because by standard anti-concentration inequalities, the measure of the set is at least . Hence, is at most . Based on this fact, we state a simple claim on the norm of neurons that are not in that will be used later:
To see that equation (A.4) is true, recall that the truncation of Algorithm 1 ensures that . Combined with the fact that and , we have that equation (A.4) holds for a sufficiently large constant . This finishes our introduction of the inductive hypothesis . The proof of Proposition A.1 can be found in Section A.2.2.
Given the inductive hypothesis , we can state the formal result that corresponds to Stage 1.1 in Section 3.1. For a neuron distribution , let us first introduce the following notations, which corresponds to the population loss of the 0th and 2nd order tensor decompositions.
Based on the above notations, we show the following convergence result at the end of Stage 1.1.
In the setting of Theorem 3.1, suppose that Proposition A.1 holds. Let . Then, for every , we have that are all less than , where is given in Proposition A.1.
The above result implies that after iterations, the 0th and 2nd order losses remain smaller than . The proof of Lemma A.2 can be found in Section A.2.1.
Once Stage 1.1 is finished, recall from Section 3 that the higher order gradients begin to dominate the dynamic. Hence Algorithm 1 enters Stage 1.2. We introduce the following notations in order to state the formal result. Let . For every , let . Let . Here, by our assumption, we know that . Since , we can see that . Consider a coordinate . We define the set of good neurons whose -th coordinate is larger than as
Then we define the set of bad neurons that have two large coordinates as
The following lemma shows that, among other statements, the neurons in will win the lottery and become basis-like at the end of Stage 1.2 in the sense described below.
In the setting of Theorem 3.1, suppose that Proposition A.1 holds. At iteration (recall that is defined in Proposition A.1), the following holds for and :
For every and every , we have that
For every and every , if there exists such that and are both greater than , then the neuron is in the union of and .
For every , the probability measure of and satisfies that
In the above result, the set contains neurons that become approximately a large scaling of the basis after iterations, a phenomenon that we term as winning the lottery ticket. The norm of these neurons become much larger than those in , whose norm is bounded by . The set contains neurons whose coordinate might be large in the end, but not close to a basis. The final statement in this lemma shows that the probability measure of bad neurons is small compared to good neurons. Lemma A.3 is proved in Section A.3. This concludes Stage 1.
The second stage begins by reducing the gradient truncation parameter from to .As a remark, the rational for this technical twist is that the neurons do not grow too large Stage 1. This is useful for the error analysis later in the finite-width case. Recall from Section 3.2 that the goal of Stage 2 is to allow basis-like neurons to grow until they fit the target network with population loss at most .
The first substage of the analysis shows that the population loss reduces below , after many iterations.
The second substage of the analysis shows that the population loss further reduces below , after many iterations.
To facilitate the analysis, we introduce an inductive hypothesis throughout Stage 2 that describes the behavior of the good and bad neurons. Let us introduce several notations first. Let the union of the bad neurons for all coordinates be given by
The set of potential neurons for coordinate is given by
We remark that these are the set of neurons whose coordinate can become larger than at the end of Stage 1 (cf. Section A.2.1). The set of good neurons is a subset of . Let the union of the potential neurons for all coordinates be given by
We maintain the following running hypothesis that, among other things, specifies the behavior of the potential, good, and bad neurons in detail.
In the setting of Theorem 3.1, there exists a monotonically increasing sequence such that and for every , the following list of properties holds for the neuron distribution :
For every , we have that . As a result, gradient truncation never happens during this stage.
For every , we have that
For every , every , and , we have that
The probability mass of the set of bad neurons satisfies that
For every and every , we have that .
For every , the following claims regarding the set of potential neurons and bad neurons hold:
where denotes and denotes .
We remark that in the above inductive hypothesis, equation (A.5) and (A.6) show similar conditions as equation (A.2) provided in Proposition A.1. For the rest of the section, we refer to the conclusion of Proposition A.4 as inductive hypothesis . The proof of Proposition A.4 can be found in Section A.4.1.
Given the inductive hypothesis, we can state the formal result that corresponds to Stage 2.1 in Section 3.2. We introduce the notation that measures the average error of the neurons across all coordinates at iteration . We show that by the end of iterations, we have obtained a warm start neuron distribution for , , and . We state the result below.
In the setting of Theorem 3.1, suppose Proposition A.4 holds. There exists an iteration such that at iteration , the following holds:
The above result implies that the set of potential neurons has fit the -th coordinate of the target network with error less than . The 0th order loss has also been reduced below . The proof of Lemma A.5 can be found in Appendix A.3.
In the end, we describe the formal result that corresponds to Stage 2.2 in Section 3.2. We construct a potential function to show that converges to when . After running for many iterations, we show that a certain set of potential neurons has converged to with error at most , for every .
The result is shown in Lemma A.6 below. We introduce the following notations for defining the potential function at iteration :
where denote two sufficiently large constants. Consider the following functions (recall that and have been defined in Stage 1):
Let . Let be our potential function. Lemma A.5 implies that by the end of iterations, we have that are all less than . Hence . The result below shows that after iteration , further decreases whenever is at least .
In the setting of Theorem 3.1, suppose that Proposition A.4 holds. Let be a fixed constant. For any , as long as (recalling that is defined in Proposition A.4) we have that
By combining the results of Stage 1 and Stage 2, we are ready to prove Theorem 3.1.
When Proposition A.1 and A.4 hold, using the induction hypothesis in equation (A.7), we have that for the infinite-width case, the population loss satisfies:
where the first term comes from the 0th order loss and the second term comes from 2nd and higher order losses. This claim also implies that
At the beginning of Stage 2.2, by Lemma A.5, we know that . During Stage 2.2, by Lemma A.6, as long as , . Hence, after at most iterations (or more precisely), reduces to below . Applying this result to equation (A.11), we conclude that .
A.1 Stage 1.1: Proof of Convergence for 0th and 2nd Order Tensors
This section provides the proof of Lemma A.2 is organized as follows.
In Proposition A.7, we first show that the gradients from 4th and higher order tensor decompositions are small compared to that of the 0th and 2nd order tensor decompositions.
The above shows that the dynamic is mainly dominated by the 0th and 2nd losses initially. In Proposition A.8 and Proposition A.9, we show the gradient update of the 0th and 2nd order. Based on these, we show the proof Lemma A.2 at the end of this subsection.
We first show that the 4th and higher order tensor gradients do not have much contribution to the gradient, for all the neurons in . We introduce the following notations for convenience. For a neuron distribution , let the following denote the gradient of involving only other neurons .
Recall that is the gradient of for the 2j-th tensor (cf. equation (3.3)). Let
The following result provides an upper bound on the higher order gradients.
In the setting of Lemma A.2, suppose Proposition A.1 holds. Then there exists an absolute constant such that for every and , at the -th iteration for , the neuron from distribution satisfies that
Moreover, the gradient from the network satisfies
As a corollary, for every , we have that
Let us focus on first. We now bound each term in in equation (3.3) separately.
For the signal term in the gradient, , because , we have
Another term in the gradient is (again, using the fact that for with , ):
The last term in the gradient is given by:
Combining Eq (A.13), Eq (A.14), Eq (A.15) and Eq (A.16), we obtain that
For , with , we can apply the same calculation as above, and show that
Since and we complete the proof. ∎
Based on the above result, we describe the dynamic of the 0th order tensor in the following proposition.
.
If , then . If , then .
Moreover, when , it holds that
where is the set of all with and denotes its cardinality.
Consider the iteration , we have that for every and every , the update of is given as:
Hence, using Proposition A.7 and inequality (A.4), it holds that
This implies that for every sufficiently small and , it holds:
Let us consider two cases when .
Now, consider a value , when , it holds that . Therefore, when , Eq (A.21) implies that
Summing up all with , this implies that
Combine the above inequality with inequality (A.20), we have that (using so that ):
Therefore we conclude that when and , it must holds that
Here the second inequality comes from Eq (A.23). This implies that will decrease faster than at the next iteration. Hence, when , then can never happen. Hence, by our choice of , we conclude that as long as , then
On the other hand, even when but , we still have that for every with , by Eq (A.22):
Hence, as long as , we will always have
Combining the above with equation (A.20), we have that
Here, we are using the fact that . Now, this implies that when , it also holds that
The proof follows by a similar argument to Case 1. ∎
Based on the above result, next we describe the dynamic of the 2nd order tensor.
Moreover, when , we have the following improved bound for :
By the update rule, we can obtain (in Eq (A.19)) that
which proves the condition. On the other hand when , we directly completes the proof by choosing a larger poly in . We can apply the same argument for , and the improved bound for the case when . ∎
A.1.1 Proof of the Main Lemma
Now we are ready to show the final convergence lemma. We first provide the following claim that shows on average, each coordinate of the neuron distribution lies in a bounded range. This also proves the first equation of (A.3) in the inductive hypothesis .
Hence, we only need to consider , for these iterations, by Proposition A.9 we know that
On the other hand by Proposition A.8, we have that when , it holds that:
Now, let us define , with for every and otherwise. We know that as long as , we have:
Clearly, by Proposition A.9 once or , they will stay within the interval for the next iterations. By Proposition A.8, after both and , we know will be within the interval as well.
Hence, we just need to consider the first time that and goes outside the interval. Following Proposition A.9, we know that when , it holds:
which gives the convergence error rate of after iterations. The same holds for . ∎
Finally, we have an estimate of how big each coordinate is for the neurons at the end of Stage 1.1, which can be given by the output layer weights . We show the following claim, which will be used in the proof of Stage 2.
In the setting of Lemma A.2, at iteration (recalling that ), for every and every , we have that
Let us first show the upper bound. For every . By the update rule, we have that
On the other hand, we have that by Eq (A.18), it holds:
A.2 Stage 1.2: Proof of Convergence for Higher Order Tensors
In this section, we prove Lemma A.3, which shows that by the end of Stage 1, a small fraction of neurons have won the lottery ticket by growing much larger than a typical neuron. This stage runs for approximately many iterations (or more precisely). The proof of Lemma A.3 is organized as follows.
First, in Proposition A.10, we show that the dynamic is mainly determined by the 4th order gradients by bounding the gradients contributed by the 0th and 2nd order losses so that, as described in Section 3.1. Based on this result, we can relate the dynamic of this substage to tensor power method.
Second, we provide a lower bound on the norm of every neuron in Claim A.3. Based on this result, we prove Claim A.4 that shows the growth of good neurons. This leads to the proof of Lemma A.3 in Section A.2.1.
Finally, we prove the inductive hypothesis in Section A.2.2.
We describe the following proposition to bound the gradients of 4th or higher tensors.
In the setting of Lemma A.3, suppose that Proposition A.1 holds. Consider any iteration and any neuron . Suppose that for every , . Then for every , the gradient of at iteration satisfies
The result mainly follows from combining Proposition A.7 for the gradient coming from 4th and higher order losses with Proposition A.2 for the gradient of 0th and 2nd order losses. The only remaining term is
By the definition of , we know that at every satisfies
We will maintain the following condition by induction.
Now suppose the following is true at some iteration , then we have that
Thus, for iteration , using Eq (A.28) we know that
Hence, we have that for every with , it holds that
Hence for every , as long as , we have:
This proves inequality (A.29) for . ∎
Next, we use the following claim to maintain a lower bound on the norm of each neuron.
In the setting of Lemma A.3, suppose Proposition A.1 holds. For every , the norm of at any iteration satisfies .
By the update rule, using Proposition A.7 we know that for every :
Combined with Proposition A.10 , we have that for every neuron , for every . ∎
Provided with the gradient bound and norm lower bound, we are now ready to prove the main result of Stage 1.2. Towards showing Lemma A.3, we prove the following claim, which shows that if a neuron has grown beyond at a certain iteration , then this neuron will become basis-like at iteartion .
In the setting of Lemma A.3, suppose that Proposition A.1 holds. For every , suppose at iteration (recalling that ), only one coordinate satisfies and all the other coordinates satisfies , then at iteration , we have that
In other words, the claim says that for neuron , its -th coordinate at iteration , denoted by , will be as large as , which implies that this neuron has won the lottery. We describe the proof of Claim A.4.
We shall prove the claim by doing an induction. Consider the condition and all the other coordinates satisfies for . Suppose it is true up to iteration , consider iteration . When , we have that for every , hence this implies that (using the fact that and is greater than plus a fixed constant):
where is defined in the proof of Claim A.3. With equation (A.33), this implies that
which provides a direct the lower bound on . Now, to show the upper bound of the other coordinates, recall that we have shown for every ,
Hence we prove all the other satisfies as long as , which complete the induction. In the end, since and all the other coordinates satisfies for every , we can further simplify Eq (A.36) as:
which directly gives us the bound at iteration . ∎
Now we are ready to prove Lemma A.3. We define the union of good neurons as
where we recall that and have been defined before the statement of Lemma A.3. In the proof, we focus on the dynamic of a neuron until the point that . The key step is to track the dynamic via a tensor gradient update.
We focus on proving the following three statements.
For every , never happen for any .
For every , must happen for some and when it happens, the condition in Claim A.4 meets for .
For every , might happen for some . If happens for some , then the condition in Claim A.4 meets for .
The first and second statement of Lemma A.3 follow by combining the above three statements and Claim A.4. The third statement can be proved by standard anti-concentration inequalities for the Gaussian distribution. For the rest of the proof, we focus on proving the above three statements. We know by Proposition A.10 that when the update of at every iteration is given by
For every , consider a process where , with
Along with Eq (A.38), we can see that for every where ,
To analyze this process, we introduce the following differential equation
The solution is given as . Therefore, we can easily obtain that as long as , when , which implies that , we have that
In the end, by Proposition A.1 and the definition of (Eq (A.1)), we know that for every and every , we have that
Putting into the definition of we complete the proof. ∎
In addition, we state the following claim that will be used in Appendix B for the error analysis.
In the setting of Theorem 3.1, at the first iteration where , i.e. the threshold where gradients are truncated, we have that
When , we have that for , the following holds
The above implies that as long as , we have:
After that, when , we have that as well, which implies
Hence, as long as , Eq (A.33) implies that
On the other hand, we also have for every iteration, by Eq (A.34):
The above implies that can only happen for iterations until the norm of is too large and gradient clipping happens. For these iterations when , we can also easily see that
For all the other iterations when , we have Eq (A.37) holds, which implies that as long as :
A.2.2 Proof of the Inductive Hypothesis
Note that the first part of equation (A.3) has been shown in Claim A.1 — the second part can be shown via a similar proof of Claim A.1. For the rest of the proof, we focus on proving equation (A.2). The construction of the sequence will be shown below.
By inequality (A.27) in the proof of Claim A.1, we know that for every and , it holds that
which implies that for every , . Now, we focus on . By Lemma A.2 ,we know that for every , we have that
By Proposition A.7, we have that for every , . Hence,
Iterating the above equation over gives us the sequence . By maintaining that for every , the norm of at iteration satisfies and the fact that , we have verified the running hypothesis . ∎
A.3 Stage 2.1: Obtaining a Warm Start Initialization
At the beginning of Stage 2, we reduce the gradient truncation parameter. This allows the basis-like neurons to continue to grow and we can obtain a warm start initialization at the end of Stage 2.1 in the sense described in Lemma A.5. The proof of Lemma A.5 consists of the following steps.
First, we analyze the 0th order loss in Claim A.6 and A.8.
Second, We analyze the 2nd order loss in Proposition A.11. Combined together, we prove Lemma A.5 in Section A.3.1.
Notations for gradients. To facilitate the analysis, we introduce several notations on the gradients of a neuron . We separate the gradient of into several components at the -th iteration as , where each term is given by
Recall that this substage runs for iterations. We first focus on the update of the 0th order term . Let denote . We show the following claim.
In the setting of Lemma A.5, suppose that Proposition A.4 holds. Let be any value in the range . When , for any iteration , we have that
Let us denote . We shall see that when , then for every with , we have that
Therefore, using equation A.44, we have that
On the other hand, when , we have that
In either case, we have that as long as , it holds that
Using , we obtain that
Next, we focus on the other side when is negative. We first show the first lower bound on the neuron mass.
In the setting of Lemma A.5, suppose that Proposition A.4 holds. Then we have that for any , the following holds:
Initially at , we have that ). Now, for every , when , we know that as long as and , we also have that
Thus, when , it can decrease at next iteration only when , in which case, the total decrement is bounded by . Therefore, taking , with the fact that , we obtain the result by combining equation A.42. ∎
Based on the above claim, we move on to the case when is negative. We show the following proposition.
In the setting of Lemma A.5, suppose that Proposition A.4 holds. Let be any value in the range . When , we have
We shall see that when , then for every with , we have that
On the other hand, as well, this implies that
Notice that . This implies that
In the setting of Claim A.6 and A.8, for every , the following holds:
To prove the above equation, we consider two scenarios. Using Claim A.6, for every , we have:
Combined together, using the fact that , we obtain equation (A.41). ∎
In the setting of Lemma A.5, suppose Proposition A.4 holds. There exists fixed constants such that for any and any , the update of satisfies that
Moreover, when , we have that
The above claim implies that the update between the potential neurons and those not in the potential set differs by a multiplicative factor of . Intuitively, this gap allows us to show that the mass of potential neurons will converge and reduce the value of . On the other hand, the mass of bad neurons will remain polynomially small throughout the update, since its increment only scales with every iteration. We now describe the proof of the above proposition, which is based on a simple claim that bounds the gradient from irrelevant neurons in equation (A.44).
We first show the following claim. For every , every :
To see that the above claim is true, for , we can bound as in Lemma A.7. For , we can bound directly using equation (A.7). For , we notice
On the other hand, when and , we have that by Eq (A.6). This implies that for
By plugging in the claim in the beginning of the proof into the gradient update rule, we can prove the update rules for each set of neurons. For every and every , we have that
For every with , we have that
By applying the above results on each set of neurons, we obtain the result of this claim. ∎
A.3.1 Proof of the Main Lemma
We are now ready to prove Lemma A.5. Based on the dynamic of 0th order tensor and the update of the 2nd order losses shown above, we prove the following proposition that shows cannot be too far away from for too many iterations.
Moreover, for every , we have:
We consider an update step, then it holds that as long as , using Claim A.10, the update of is given as:
Hence, consider the case that for , we have that . Hence in addition to Eq (A.48), we also have (using Claim A.7):
Note that originally using the fact that and , with Claim A.9, we have that for :
Similarly, we can see that when for , then either or . In either case, we have that
Eventually, consider for every , when and , then we also have
Using equation A.43, we obtain that when ,
Based on the above proposition, we are ready to prove the main Lemma of Stage 2.1, which provides a warm start initialization at a certain iteration .
We first define more precisely. We note that initially, for any , by construction. Using equation (A.41) and equation (A.46), by working on and noticing that , we have that there exists an iteration such that at this iteration, . We shall fix to be the maximum of over , which is on the order of .
Next, similar to the proof of Proposition A.11, we consider the function
Let be the coordinate that achieves the maximum for the function above. We show that
Let , , we have that
with . So we have when ,
When , we have that either , or and . In the first case, we have that
Combining this equation with the bound in equation (A.41), we know that for , we have that can only happen for at most many of the iterations within . Combining the above with equation (A.43), we obtain the desired result. ∎
A.4 Stage 2.2: The Final Substage
In this section, we present the proof of Lemma A.6 for the final substage. In the end, we prove the running inductive hypothesis in Proposition A.4.
Suppose the lemma holds at iteration , then using the condition at iteration , together with , we have that
Similar to the proof of Lemma A.8, we have that as long as and
Then it must satisfy that . Hence, if the maximizer of is , Then it must be the case that
Now, consider another case when , let be the argmax of , then we must have that
Hence as long as , we have that
is a decreasing function of with slop at least when , which holds true using Eq (A.49). Combining Eq (A.51) and Eq (A.52), we have that if the maximizer of is , the following is true
Consider another case when the maximizer is . Similar to the proof of Lemma A.8, as long as , we have that
Hence, if the maximizer of is , then it must be the case that
Moreover, using the fact that when , let be the argmax of , then we must have that as long as , we have that
The maximizer is . Then we must have that for every , , then we must have that as well. Hence, it holds that
Hence if the maximizer of is , it must be the case:
The maximizer is . Then there is a such that , and , we have that for this , it holds: let and , we have: if , then
On the other hand if , then using , we have:
Hence if the maximizer of is , it must be the case:
To sum up, the result follows by combining Eq (A.56), (A.55), (A.54), (A.50) and (A.53). ∎
We first verify the inductive hypothesis for . The bound for follows from Claim A.9 and Proposition A.11. We prove the bound for by tracking the gradient descent dynamic. Following Eq (A.31), for every neuron , and every , define
Hence, using Eq (A.44), we have that for every
Hence, we have that for every ,
Now, if , we also have that
Hence using Proposition A.11 we show that when , then as well for every . Now, we need to give an upper bound on the the coordinates of the neurons. For every , we know that all coordinates satisfies that . Hence, by Eq (A.57), we have that
Hence using Proposition A.11 and Claim A.9, we have proved Eq (A.5) and Eq (A.6).
Next, we proceed to the norm of neurons . For this neuron, using the fact that and equation A.45, we have that
Hence, for every , using Eq (A.46) we obtain that:
Notice that for every neuron , we have that can happen for at most many . Denote this set as , we have that is at most
Hence, for every , using Eq (A.41) and Eq (A.46), by working on and notice that , we conclude that for every .
Combining the above equation with Eq (A.46) we have that for every :
This proves that gradient truncation never happens during this substage. Now, apply Lemma A.3, which says that
We complete the proof of the first our statements. For the last statement on , Claim A.8 also proves the upper bound on as in equations (A.8) and (A.9). Taking , we can show that
Next verify the running inductive hypothesis for . Based on Lemma A.6, we have the following bounds on the update of each coordinate of each neuron. For every , using Eq (A.44), we have that
Note that by the definition of at Lemma A.6, we have that
Hence, we obtain that for , with Lemma A.6:
Hence as long as , we obtain the running hypothesis at this substage. ∎
Appendix B Proof of the Finite-Width Case
where is an extra error term that arises from the sampling error of the empirical loss.
Our main result in this section is that provided with polynomially many neuron samples and training samples, the errors and in equation (B.2) remain polynomially small throughout Algorithm 1. We first state the result for Stage 1.
The proof of Lemma B.1 can be found in Section B.2.3. Next, we consider the error propagation of Stage 2.1. We show that the norm of is much smaller than that of .
The proof of Lemma B.2 involves carefully studying the error term and follows a similar argument to Lemma B.1. The details can be found in Section B.3. Finally, we consider the error terms in the final stage. We use a different error analysis. At iteration , let us consider the set
Let . Consider the set
where we recall the definition of in Proposition A.4. We state the error propagation of the final substage as follows.
The proof of Lemma B.3 can be found in Section B.4. Based on the analysis of error propagation, we are now ready to prove our main result. We prove Theorem 1.1 as follows.
where denotes the empirical loss.
These statements together give us the following
Finally, combined with Claim 2.1 and Theorem 3.1 we complete the proof of Theorem 1.1. ∎
where . Using the update of equation (B.2) for the finite-width case, the gradient of for the 0th and 2nd order terms over the population loss is given by
The first order terms of the error term for the neuron is given by
The first inequality is obviously true. Now we consider the second inequality, we have that
Next we consider the first order tensor. The first order gradient in the finite-width case for the population loss is
The 1st order loss in the gradient is zero in the infinite-width case of Section A. The first-order expansion of the error is given by:
We have the following claim for the error in the first order gradients.
B.2 Stage 1.2: Analysis of Higher Order Tensor Decompositions
In this substage, we consider the error terms of the gradients of the higher order tensor decompositions. Towards showing the error propagation in Lemma B.1, our proof outline is as follows.
We decompose the error of the gradients into individual terms that we analyze one by one.
In Proposition B.4, we provide an upper bound on the average norm of the error. In Proposition B.7, we bound the error of the individual terms from the decomposition. Finally, we present the proof of Lemma B.1 in Section B.2.3.
We begin by writing down the gradient of higher order terms for the population loss..
As long as for every (recalling its definition in Def. A.2), , then we have
Next we show that the norm of the error in each individual neuron can also be bounded.
The proof of Proposition B.4 and Proposition B.5 is left to Section B.2.3.
In addition, we show that the second order terms in that contains and for are of a lower order compared to the first order terms. Informally, we know that and are less than . Meanwhile, and are at least , for every by Lemma A.3. Combined together, we show the following result.
B.2.2 Individual Error Norm bound
Based on the decomposition above, we provide several helper claims for bounding the error of the gradient terms. First, for , we have the following claim.
In the setting of Proposition B.4, we have that
The second inequality in the Lemma follows from the fact that forms PSD matrices, and the Hadamard product of PSD matrices is PSD. ∎
We also have the following claim, which serves as an upper bound of
In the setting of Proposition B.4, we have that
As a corollary, combine the above inequality with Proposition A.1, we obtain
The proof is a direct calculation, using for , we have that
Now, we can easily calculate that (using the Eq (A.2))
which completes the proof. For the other two inequalities, we can bound them in the exact same way. ∎
The final claim aims to bound the rest of the terms.
In the setting of Proposition B.4, we have that
As a corollary, combining the above inequality with Proposition A.1, we obtain
Below we also consider the error individually, we will mainly focus on the error term with .
In the setting of Proposition B.4, we have that
For , we can naively bound . Hence, using Eq (A.4), we have:
This claim together with Claim B.5 implies that
In the setting of Proposition B.4, for every , we have that
Now we move on to the harder terms, we have the following claim.
In the setting of Proposition B.4, for every , we have that for :
We first consider . Let We have that
Let us assume that for some value , then we have that .
Using the fact that , we know that
Note that we obtain:
which completes the proof. On the other hand, for , let . We have that
We can bound the terms in a similar way. ∎
Using the aforementioned claims, we conclude the proof of the following proposition.
In the setting of Proposition B.4, for every , we have that
For , using Claim B.6, we have
When , for , the following is true
For , we have that for , using Claim B.8, we get
B.2.3 Proof of Error Propagation
Based on the individual error norm bound and the average error norm bound, we are ready to prove the main result of stage 1. We first state the proof of the individual error norm bound.
On the other hand, by Eq (A.33), we have that for this , if the gradient clipping is not performed, then by the definition of , we have that . Therefore,
which implies that after , many iterations, if gradient clipping is not performed, we should have that
Since each iteration shall introduce at most amount error, so we have:
This gives us the final error bound of the individual error when combined with Claim B.5. ∎
Next we state the proof of the average error norm bound.
Using Proposition B.7 (together with Eq (B.4)) and by the definition of Eq (B.3), we can obtain the desired result. ∎
Based on Proposition B.4, Proposition B.5, and Proposition B.7, we are ready to prove Lemma B.1.
and for every neuron , . Suppose this is true for all , then consider . We apply Proposition B.4, which says that as long as for every , , we have that
By , a simple Chernoff bound gives us:
Now, using the update rule of Eq (A.17) and in Proposition A.9, we have that
Note that at iteration 0, . This implies that for : as well. Combine this with Proposition B.7 on the individual norm bound we complete the proof. ∎
B.3 Stage 2.1: Analysis After Reducing the Gradient Truncation Parameter
For every individual neuron and every value , the following holds
The proof of this claim is quite straightforward. We have that for , we use Claim B.3, which gives us:
For , we use that and
For , the result can be obtained similarly. For , we use that
Finally, the individual error bound comes from the following simple calculation.
Note that this substage has many iterations, where is upper bounded by for some value that only depends on . By by taking in Claim B.9, the rest of the proof is similar to the proof of Lemma B.1. We omit the details. ∎
B.4 Stage 2.2: The Final Substage
We provide the proof of Lemma B.3, which analyzes the error propagation in the final substage. Recall that and have been defined in the beginning of this section. At the beginning of Stage 2.2 when , we do a modification:
If in we will just set and keep the norm not changed.
If in , then we will just set .
Thus, we can see that for every and for every . We define a new update for the infinite neuron process at this substage for . We define such that at every iteration :
We will replace in the infinite neuron process with two neurons . For the simplicity of notation, we write simply as . For the other neurons, the update does not change.
By the running hypothesis in Proposition A.4, we have that at iteration ,
Moreover, throughout the entire process, by Lemma A.6, we will always have that
For every , we have that:
For every (cf. Lemma A.3 for the definition),
We consider . For these neurons, we have that
as the gradient of involving only a single neuron . For . Now, for we have that
For the second term, we have that when , we have for every : . Otherwise, when , we have that . Therefore,
For , following the same calculation by dividing into three parts we can easily conclude that
Next, we consider the error of the neurons not in . We use a direct corollary of Claim B.9 , except that for every , it holds that instead of for every vector . We state the result as follows.
Based on Claim B.10 and B.11, we prove Lemma B.3.
Let in Claim B.11, we show the following result the bound. For every ,
Together with the individual error bound as in Claim B.9, we can obtain the desired result using a similar proof to Lemma B.1. The details are omitted. ∎
Appendix C Proof of Lower Bound
We follow the proof of Theorem 2 in Allen-Zhu and Li [2019a] for proving the lower bound. We first describe the construction of the hardness distribution . We first show the following lemma.
For a positive integer , for every which is a multiple of , there exists at least many sets for such that
For every and , is a subset of of size .
For every and , .
For every and , .
We consider a uniformly at random distribution over the set , where is a subset of of size and for every , we have that . Let us sample many sets from it, then using union bound, we have that:
Hence when , for some , the above probability is smaller than one. This proves the existence of these sets. ∎
Now, we define the distribution . Recall that the Hadamard transform of dimension is a unitary matrix in dimension whose entries are all .
For every that is a power of , for every that is a multiple of bigger than , we generate as:
Pick uniformly at random from the set given by Lemma C.1.
where is the i-th column of the Hadamard transform of dimension .
Sample independent from $$ uniformly at random. Define
The proof of the lower bound relies on the following Lemma.
To prove this Lemma, we use Lemma and the proof of Corollary in Allen-Zhu and Li [2019a], which says the following.
Using this Corollary, we can prove Lemma C.2.
Hence we have that by :
Using the fact that , we have that
Notice that with probability at least over , we have that . Note that as well. Thus, using Markov’s inequality we complete the proof. ∎
Next we can derive the following corollary of Lemma C.2. For two vectors with the same dimension, we denote as the entry-wise product of .
Let be vectors in , let be i.i.d. random variable chosen uniformly at random from $F_{\mu}(\tau)=\sum_{i\in[r]}q_{i}\left|\langle p_{i}\circ\mu,\tau\rangle\right|r^{-O(r)}\mu\sim\mathcal{N}(0,\operatorname{Id}_{d\times d})q$:
Finally, we can complete the proof of Theorem 1.2.
We prove by contradiction. Suppose on the contrary that equation (1.3) does not hold. Then, there exists fraction of generated from such that for some we have , and it holds that
We consider where and . Clearly, as well. Thus,
Therefore, by Markov’s inequality we have that with probability at least over the choice of , we have that
where if the Fourier coefficient of the subset . Now, define to be the Fourier coefficients of and to be the Fourier coefficient of , we can observe that if we sample from to generate according to Definition C.1, then it holds that for every of size , we have:
Moreover, using Corollary C.4, we can conclude that w.p. at least over ,
Let us consider the set of generated from . We call if and only if the function defined using satisfies Eq (C.2) and there is a such that for with
We already know that there are at least fraction generated from that satisfies Eq (C.2). By our assumption, there are fraction of generated from satisfying that for some such that , it holds that
Thus, we can conclude . Together with Lemma C.1 which shows that , we know that .
Now, we consider a matrix , whose rows are indexed by each set of and Eq (C.1), whose columns are indexed by with .
We know that this matrix is of size . Moreover, for any matrix satisfies that
where is the -th row of . It must holds that . We immediately complete the proof by contradiction, following exactly the same argument in the lower bound proof in Allen-Zhu and Li [2019a] while taking to be a sufficiently large constant. ∎