Benign Overfitting in Two-layer Convolutional Neural Networks
Yuan Cao, Zixiang Chen, Mikhail Belkin, Quanquan Gu
Introduction
Modern deep learning models often consist of a huge number of model parameters, which is more than the number of training data points and therefore over-parameterized. These over-parameterized models can be trained to overfit the training data (achieving a close to training accuracy), while still making accurate prediction on the unseen test data. This phenomenon has been observed in a number of prior works (Zhang et al., 2017; Neyshabur et al., 2019), and is often referred to as benign overfitting (Bartlett et al., 2020). It revolutionizes the the classical understanding about the bias-variance trade-off in statistical learning theory, and has drawn great attention from the community (Belkin et al., 2018, 2019a, 2019b; Hastie et al., 2019).
There exist a number of works towards understanding the benign overfitting phenomenon. While they offered important insights into the benign overfitting phenomenon, most of them are limited to the settings of linear models (Belkin et al., 2019b; Bartlett et al., 2020; Hastie et al., 2019; Wu and Xu, 2020; Chatterji and Long, 2020; Zou et al., 2021b; Cao et al., 2021) and kernel/random features models (Belkin et al., 2018; Liang and Rakhlin, 2020; Montanari and Zhong, 2020), and cannot be applied to neural network models that are of greater interest. The only notable exceptions are (Adlam and Pennington, 2020; Li et al., 2021), which attempted to understand benign overfitting in neural network models. However, they are still limited to the “neural tagent kernel regime” (Jacot et al., 2018) where the neural network learning problem is essentially equivalent to kernel regression. Thus, it remains a largely open problem to show how and when benign overfitting can occur in neural networks.
Clearly, understanding benign overfitting in neural networks is much more challenging than that in linear models, kernel methods or random feature models. The foremost challenge stems from nonconvexity: previous works on linear models and kernel methods/random features are all in the convex setting, while neural network training is a highly nonconvex optimization problem. Therefore, while most of the previous works can study the minimum norm interpolators/maximum margin classifiers according to the implicit bias (Soudry et al., 2018) results for the corresponding models, existing implicit bias results for neural networks (e.g., Lyu and Li (2019)) are not sufficient and a new analysis of the neural network learning process is in demand.
In this work, we provide one such algorithmic analysis for learning two-layer convolutional neural networks (CNNs) with the second layer parameters being fixed as ’s and ’s and polynomial ReLU activation function: , where is a hyperparameter. We consider a setting where the input data consist of label dependent signals and label independent noises, and utilize a signal-noise decomposition of the CNN filters to precisely characterize the signal learning and noise memorization processes during neural network training. Our result not only demonstrates that benign overfitting can occur in learning two-layer neural networks, but also gives precise conditions under which the overfitted CNN trained by gradient descent can achieve small population loss. Our paper makes the following major contributions:
We establish population loss bounds of overfitted CNN models trained by gradient descent, and theoretically demonstrate that benign overfitting can occur in learning over-parameterized neural networks. We show that under certain conditions on the signal-to-noise ratio, CNN models trained by gradient descent will prioritize learning the signal over memorizing the noise, and thus achieving both small training and test losses. To the best of our knowledge, this is the first result on the benign overfitting of neural networks that is beyond the neural tangent kernel regime.
We also establish a negative result showing that when the conditions on the signal-to-noise ratio do not hold, then the overfitted CNN model will achieve at least a constant population loss. This result, together with our upper bound result, reveals an interesting phase transition between benign overfitting and harmful overfitting.
Our analysis is based on a new proof technique namely signal-noise decomposition, which decomposes the convolutional filters into a linear combination of initial filters, the signal vectors and the noise vectors. We convert the neural network learning into a discrete dynamical system of the coefficients from the decomposition, and perform a two-stage analysis that decouples the complicated relation among the coefficients. This enables us to analyze the non-convex optimization problem, and bound the population loss of the CNN trained by gradient descent. We believe our proof technique is of independent interest and can potentially be applied to deep neural networks.
We note that a concurrent work (Frei et al., 2022) studies learning log-Concave mixture data with label flip noise using fully-connected two-layer neural networks with smoothed leaky ReLU activation. Notably, their risk bound matches the risk bound for linear models given in Cao et al. (2021) when the label flip noise is zero. However, their analysis only focuses on upper bounding the risk, and cannot demonstrate the phase transition between benign and harmful overfitting. Compared with (Frei et al., 2022), we focus on CNNs, and consider a different data model to better capture the nature of image classification problems. Moreover, we present both positive and negative results under different SNR regimes, and demonstrate a sharp phase transition between benign and harmful overfitting.
Related Work
A line of recent works have attempted to understand why overfitted predictors can still achieve a good test performance. Belkin et al. (2019a) first empirically demonstrated that in many machine learning models such as random Fourier features, decision trees and ensemble methods , the population risk curve has a double descent shape with respect to the number of model parameters. Belkin et al. (2019b) further studied two specific data models, namely the Gaussian model and Fourier series model, and theoretically demonstrated the double descent risk curve in linear regression. Bartlett et al. (2020) studied over-parameterized linear regression to fit data produced by a linear model with additive noises, and established matching upper and lower bounds of the risk achieved by the minimum norm interpolator on the training dataset. It is shown that under certain conditions on the spectrum of the data covariance matrix, the population risk of the interpolator can be asymptotically optimal. Hastie et al. (2019); Wu and Xu (2020) studied linear regression in the setting where both the dimension and sample size grow together with a fixed ratio, and showed double descent of the risk with respect to this ratio. Chatterji and Long (2020) studied the population risk bounds of over-parameterized linear logistic regression on sub-Gaussian mixture models with label flipping noises, and showed how gradient descent can train over-parameterized linear models to achieve nearly optimal population risk. Cao et al. (2021) tightened the upper bound given by Chatterji and Long (2020) in the case without the label flipping noises, and established a matching lower bound of the risk achieved by over-parameterized maximum margin interpolators. Shamir (2022) proposed a generic data model for benign overfitting of linear predictors, and studied different problem settings under which benign overfitting can or cannot occur.
Besides the studies on linear models, several recent works also studied the benign overfitting and double descent phenomena in kernel methods or random feature models. Zhang et al. (2017) first pointed out that overfitting kernel predictors can sometimes still achieve good population risk. Liang and Rakhlin (2020) studied how interpolating kernel regression with radial basis function (RBF) kernels (and variants) can generalize and how the spectrum of the data covariance matrix affects the population risk of the interpolating kernel predictor. Li et al. (2021) studied the benign overfitting phenomenon of random feature models defined as two-layer neural networks whose first layer parameters are fixed at random initialization. Mei and Montanari (2019); Liao et al. (2020) demonstrated the double descent phenomenon for the population risk of interpolating random feature predictors with respect to the ratio between the dimensions of the random feature and the data input. Adlam and Pennington (2020) shows that neural tangent kernel (Jacot et al., 2018) based kernel regression has a triple descent risk curve with respect to the total number of trainable parameters. Montanari and Zhong (2020) further pointed out an interesting phase transition of the generalization error achieved by neural networks trained in the neural tangent kernel regime.
Problem Setup
In this section, we introduce the data generation model and the convolutional neural network we consider in this paper. We focus on binary classification, and present our data distribution in the following definition.
The label is generated as a Rademacher random variable.
A noise vector is generated from the Gaussian distribution .
One of is given as , which represents the signal, the other is given by , which represents noises.
Intuitively, if a classifier learns the signal and utilizes the signal patch of the data to make prediction, it can perfectly fit a given training data set and at the same time have a good performance on the test data. However, when the dimension is large (), a classifier that is a function of the noises , can also perfectly fit the training data set, while the prediction will be totally random on the new test data. Therefore, the data generation model given in Definition 3.1 is a useful model to study the population loss of overfitted classifiers. Similar models have been studied in some recent works by Li et al. (2019); Allen-Zhu and Li (2020a, b); Zou et al. (2021a).
Two-layer CNNs. We consider a two-layer convolutional neural network whose filters are applied to the two patches and separately, and the second layer parameters of the network are fixed as and respectively. Then the network can be written as , where , are defined as:
We consider gradient descent starting from Gaussian initialization, where each entry of and is sampled from a Gaussian distribution , and is the variance. The gradient descent update of the filters in the CNN can be written as
Main Results
In this section, we present our main theoretical results. At the core of our analyses and results is a signal-noise decomposition of the filters in the CNN trained by gradient descent. By the gradient descent update rule (3.1), it is clear that the gradient descent iterate is a linear combination of its random initialization , the signal vector and the noise vectors in the training data , . Motivated by this observation, we introduce the following definition.
Let for , be the convolution filters of the CNN at the -th iteration of gradient descent. Then there exist unique coefficients and such that
We further denote , . Then we have that
We refer to (4.1) as the signal-noise decomposition of . We add normalization factors in the definition so that . In this decomposition, characterizes the progress of learning the signal vector , and characterizes the degree of noise memorization by the filter. Evidently, based on this decomposition, for some iteration , (i) If some of ’s are large enough while are relatively small, then the CNN will have small training and test losses; (ii) If some ’s are large and all ’s are small, then the CNN will achieve a small training loss, but a large test loss. Thus, Definition 4.1 provides a handle for us to study the convergence of the training loss as well as the the population loss of the CNN trained by gradient descent.
Our results are based on the following conditions on the dimension , sample size , neural network width , learning rate , initialization scale .
Dimension is sufficiently large: .
Training sample size and neural network width satisfy .
The learning rate satisfies .
The standard deviation of Gaussian initialization is appropriately chosen such that .
A few remarks on Condition 4.2 are in order. The condition on is to ensure that the learning is in a sufficiently over-parameterized setting, and similar conditions have been made in the study of learning over-parameterized linear models (Chatterji and Long, 2020; Cao et al., 2021). For example, if we choose , then the condition on becomes . Furthermore, we require the sample size and neural network width to be at least polylogarithmic in the dimension to ensure some statistical properties of the training data and weight initialization to hold with probability at least , which is a mild condition. Finally, the conditions on and are to ensure that gradient descent can effectively minimize the training loss, and they depend on the scale of the training data points. When and , the step size can be chosen as large as and the initialization can be as large as . In our paper, we only require , so our initialization and step-size can be chosen as an almost constant order. Based on these conditions, we give our main result on signal learning in the following theorem.
The CNN learns the signal: for .
The CNN does not memorize the noises in the training data: .
The training loss converges to , i.e., .
The trained CNN achieves a small test loss:
The CNN memorizes noises in the training data: .
The CNN does not sufficiently learn the signal: .
The training loss converges to , i.e., .
The trained CNN has a constant order test loss: .
Comparison with neural tangent kernel (NTK) results. We want to emphasize that our analysis is beyond the so-called neural tangent kernel regime. In the NTK regime, it has been shown that gradient descent can train an over-parameterized neural network to achieve good training and test accuracies (Jacot et al., 2018; Du et al., 2019b, a; Allen-Zhu et al., 2019b; Zou et al., 2019; Arora et al., 2019a; Cao and Gu, 2019a; Chen et al., 2019). However, it is widely believed in literature that the NTK analyses cannot fully explain the success of deep learning, as the neural networks in the NTK regime are almost “linearized” (Lee et al., 2019; Cao and Gu, 2019a). Our analysis and results are not in the NTK regime: In the NTK regime, the network parameters stay close to their initialization throughout training, i.e., , so that the NN model can be approximated by its linearization (Allen-Zhu et al., 2019b; Cao and Gu, 2019a; Chen et al., 2019). In comparison, our analysis does not rely on linearizing the neural network function, and can be as large as .
Overview of Proof Technique
In this section, we discuss the main challenges in the study of CNN training under our setting, and explain some key techniques we implement in our proofs to overcome these challenges. The complete proofs of all the results are given in the appendix.
Main challenges. Studying benign overfitting under our setting is a challenging task. The first challenge is the nonconvexity of the training objective function . Nonconvexity has introduced new challenges in the study of benign overfitting particularly because our goal is not only to show the convergence of the training loss, but also to study the population loss in the over-parameterized setting, which requires a precise algorithmic analysis of the learning problem.
In order to study the learning process based on the nonconvex optimization problem, we propose a key technique which enables the iterative analysis of the coefficients in the signal-noise decomposition in Definition 4.1. This technique is given in the following lemma.
The coefficients in Definition 4.1 satisfy the following equations:
With Lemma 5.1, we can reduce the study of the CNN learning process to the analysis of the discrete dynamical system given by (5.1)-(5.4). Our proof then focuses on a careful assessment of the values of the coefficients throughout training. To prepare for more detailed analyses, we first present the following bounds of the coefficients, which hold throughout training.
Under Condition 4.2, for any , the following bounds hold for :
for all , and .
for all , and .
We can then prove the following lemma, which demonstrates that the training objective function can dominate the gradient norm along the gradient descent path.
Under Condition 4.2, for any , the following result holds for :
2 Decoupling with a Two-Stage Analysis.
Under the same conditions as Theorem 4.3, there exists such that
for .
for all , , and .
where the second inequality follows by the convexity of the cross-entropy loss function. With the above key technique, we can prove the following lemma.
Let be defined in Theorem 4.3 and Lemma 5.5 respectively. Then under the same conditions as Theorem 4.3, for any , it holds that for all , and . Moreover, let be the collection of CNN parameters with convolution filters . Then the following bound holds
for all , where we denote .
Lemma 5.6 states two main results on signal learning. First of all, during this training period, it is guaranteed that the coefficients of noise vectors in the signal-noise decomposition remain sufficiently small. Moreover, it also gives an optimization type result that the best iterate in is small as long as is large enough.
Clearly, the convergence of the training loss stated in Theorems 4.3 directly follows by choosing to be sufficiently large in Lemmas 5.6. The lemma below further gives an upper bound on the test loss.
Let be defined in Theorem 4.3. Under the same conditions as Theorem 4.3, for any with , it holds that .
Below we finalize the proof of Theorem 4.3. The proofs of other results are in the appendix.
The first part of Theorem 4.3 follows by Lemma 5.5 and the monotonicity of . The second part of Theorem 4.3 follows by Lemma 5.6. For the third part, let be defined in Lemma 5.6. Then by the definition of , we have
where the first inequality is by triangle inequality, the second inequality is by the signal-noise decomposition of and the definition of , and the last equality is by Proposition 5.3 and Lemma 5.5. Therefore, choosing in Lemma 5.6 ensures that
and there exists such that . This completes the proof of the third part of Theorem 4.3. Finally, combining this bound with Lemma 5.7 gives
which proves the last part of Theorem 4.3. ∎
Conclusion and Future Work
This paper utilizes a signal-noise decomposition to study the signal learning and noise memorization process in the training of a two-layer CNN. We precisely give the conditions under which the CNN will mainly focus on learning signals or memorizing noises, and reveals a phase transition of the population loss with respect to the sample size, signal strength, noise level, and dimension. Our result theoretically demonstrates that benign overfitting can happen in neural network training. An important future work direction is to study the benign overfitting phenomenon of neural networks in learning other data models. Moreover, it is also important to generalize our analysis to deep convolutional neural networks.
Acknowledgements
We would like to thank Spencer Frei for valuable comment and discussion on the earlier version of this paper, and pointing out a related work.
Appendix A Additional Related Work
There has also been a large number of works studying the optimization and generalization of neural networks. A series of work (Li and Yuan, 2017; Soltanolkotabi, 2017; Du et al., 2018a, b; Zhong et al., 2017; Zhang et al., 2019; Cao and Gu, 2019b) studied the parameter recovery problem in two-layer neural networks, where the data are given by a teacher network and the task is to recover the parameters in the teacher network. These works either focus on the noiseless setting, or requires the number of training data points to be larger than the number of parameters in the network, and therefore does not cover the setting where the neural network can overfit the training data. Another line of works (Neyshabur et al., 2015; Bartlett et al., 2017; Neyshabur et al., 2018; Golowich et al., 2018; Arora et al., 2018) have studied the generalization gap between the training and test losses of neural networks with uniform convergence based arguments. However, these results are not algorithm-dependent and cannot explain benign overfitting. Some recent works studied the generalization gap based on stability based arguments (Bousquet and Elisseeff, 2002; Hardt et al., 2016; Mou et al., 2017; Chen et al., 2018). A more recent line of works studied the convergence (Jacot et al., 2018; Li and Liang, 2018; Du et al., 2019b; Allen-Zhu et al., 2019b; Du et al., 2019a; Zou et al., 2019) and test error bounds (Allen-Zhu et al., 2019a; Arora et al., 2019a, b; Cao and Gu, 2019a; Ji and Telgarsky, 2020; Chen et al., 2019) of over-parameterized networks in the neural tangent kernel regime. However, these works depend on the equivalence between neural network training and kernel methods, which cannot fully explain the success of deep learning. Compared with the works mentioned above, our work has a different focus which is to study the conditions for benign and harmful overfitting.
Appendix B Preliminary Lemmas
In this section, we present some pivotal lemmas that give some important properties of the data and the neural network parameters at their random initialization.
Suppose that and . Then with probability at least ,
By Hoeffding’s inequality, with probability at least , we have
Therefore, as long as , we have
This proves the result for . The proof for is exactly the same, and we can conclude the proof by applying a union bound. ∎
The following lemma estimates the norms of the noise vectors , , and gives an upper bound of their inner products with each other.
Suppose that and . Then with probability at least ,
By Bernstein’s inequality, with probability at least we have
Therefore, as long as , we have
Moreover, clearly has mean zero. For any with , by Bernstein’s inequality, with probability at least we have
Applying a union bound completes the proof. ∎
The following lemma studies the inner product between a randomly initialized CNN convolutional filter , and and the signal/noise vectors in the training data. The calculations characterize how the neural network at initialization randomly captures signal and noise information.
Suppose that , . Then with probability at least ,
for all , and . Moreover,
It is clear that for each , is a Gaussian random variable with mean zero and variance . Therefore, by Gaussian tail bound and union bound, with probability at least ,
By Lemma B.2, with probability at least , for all . Therefore, the result for follows the same proof as . ∎
Appendix C Signal-noise Decomposition Analysis
The coefficients defined in Definition 4.1 satisfy the following iterative equations:
for all , and .
By our data model in Definition 3.1 and Gaussian initialization of the CNN weights, it is clear that with probability , the vectors are linearly independent. Therefore, the decomposition (4.1) is unique. Now consider and
Hence by the uniqueness of the decomposition we have and . Then we have that
Writing out the iterative versions of (C.1) and (C.2) completes the proof. ∎
We can futher plug the signal-noise decomposition (4.1) into the iterative formulas in Lemma C.1. By the second equation in Lemma C.1, we have
Moreover, by the third equation in Lemma C.1, we have
if , and for all if . Similarly, by the last equation in Lemma C.1, we have
if , and for all if .
We will now show that the parameter of the signal-noise decomposition will stay a reasonable scale during a long time of training. Let us consider the learning period , where is the maximum admissible iterations. Note that we can consider any polynomial training time . Denote . Here we list the exact conditions for required by the proofs in this section, which are part of Condition 4.2:
Denote . By Lemma B.3, with probability at least , we can upper bound by . Then, by (C.7) and (C.8), it is straightforward to verify the following inequality:
Suppose the conditions listed in (C.6), (C.7) and (C.8) hold, we claim that for the following property holds.
Under Condition 4.2, for , we have that
for all , and .
We will use induction to prove Proposition C.2. We first introduce several technical lemmas that will be used for the proof of Proposition C.2.
For any , it holds that for all , .
where the equation is by our orthogonal assumption. ∎
Under Condition 4.2, suppose (C.10) and (C.11) hold at iteration . Then
for all , and .
For , we have that and
where the second inequality is by Lemma B.2 and the last inequality is by in (C.10) Similarly, for , we have that and
where the first inequality is by Lemma B.1 and the second inequality is by in (C.10). Similarly, we can show that and , which completes the proof. ∎
Under Condition 4.2, suppose (C.10) and (C.11) hold at iteration . Then
where the inequality is by . In addition, we have
where the first inequality is by Lemma C.4 and the second inequality is due to . Then we can get that
where the first inequality is by (C.12), (C.13) and the second inequality is by (C.9). ∎
Under Condition 4.2, suppose (C.10) and (C.11) hold at iteration . Then
for all , and . If , we further have that .
where the equation is by Lemma C.3. We also have that
where the inequality is by Lemma C.4. If , we have following bound
where the first inequality is by (C.14), (C.15) and the second inequality is by (C.9) where . ∎
Now we are ready to prove Proposition C.2.
Our proof is based on induction. The results are obvious at as all the coefficients are zero. Suppose that there exists such that the results in Proposition C.2 hold for all time . We aim to prove that they also hold for .
We first prove that (C.11) holds for , i.e., for , , and . Notice that . Therefore, we only need to consider the case that . When , by Lemma C.4 we have that
where the last inequality is by induction hypothesis. When , we have that
Next we prove (C.10) holds for . We have
where the last inequality is due to Lemma C.5. Moreover, recall the update rule of and ,
Let to be the last time that . Then we have that
where the first inequality is by Lemmas C.4 and B.2, the second inequality is by and , the last inequality is by .
Second, we bound . For and , we can lower bound as follows,
where the first inequality is by Lemma C.4, the second inequality is by and due to the definition of and , the last inequality is by and . Similarly, for and , we can also upper bound as follows,
where the first inequality is by Lemma C.4, the second inequality is by induction hypothesis , the last inequality is by and . Thus, plugging the upper and lower bounds of into gives
where the first inequality is by (C.16), the second inequality is by Lemma B.2, the third inequality is by \eta=O\big{(}nm/(q2^{q+2}\alpha^{q-2}\sigma_{p}^{2}d)\big{)} in (C.6), the fourth inequality is by our choice of and the last inequality is due to the fact that . Plugging the bound of into (C.17) completes the proof for . Similarly, we can prove that using \eta=O\big{(}nm/(q2^{q+2}\alpha^{q-2}\|\bm{\mu}\|_{2}^{2})\big{)} in (C.6). Therefore Proposition C.2 holds for , which completes the induction. ∎
Based on Proposition C.2, we introduce some important properties of the training loss function for .
Under Condition 4.2, for , the following result holds.
Without loss of generality, we suppose that and . Then we have that
where the first and second inequalities are by triangle inequality, the third inequality is by Jensen’s inequality and Lemma B.2, and the last inequality is due to Lemma C.5. Denote . Then we have that , and besides, by Lemma C.5. Then we have that
Appendix D Signal Learning
In this section, we consider the signal learning case under the condition that . We remind the readers that the proofs in this section are based on the results in Section B, which hold with high probability.
Under the same conditions as Theorem 4.3, in particular if we choose
where is a positive constant, there exists time
for .
for all , and .
We first prove the second bullet. Define . We use induction to show that
for all . By definition, clearly we have . Now suppose that there exists some such that (D.3) holds for . Then by (C.4) and (C.5) we have
where the second inequality follows by in our induction hypothesis. Therefore, by induction, we have for all .
Denote and let . Then we have
where the second inequality is by the lower bound on the number of positive data in Lemma B.1, the third inequality is due to the fact that is an increasing sequence, and the last inequality follows by proved in Lemma B.3. Therefore, the sequence will exponentially grow and we have that
where the second inequality is due to the fact that for and our condition of and listed in Condition 4.2, and the last inequality follows by Lemma B.3 and . Therefore, will reach within iterations. Since , will reach within iterations. We can next verify that
where the inequality holds due to our SNR condition in (D.1). Therefore, by the definition of , we have , where we use the non-decreasing property of . The proof for is similar, and we can prove that while , which completes the proof. ∎
D.2 Second Stage
By the results we get in the first stage we know that
And at the beginning of the second stage, we have following property holds:
.
where .
Lemma 5.1 implies that the learned feature will not get worse, i.e., for , we have that , and therefore . Now we choose as follows:
Based on the above definition of , we have the following lemma.
Under the same conditions as Theorem 4.4, we have that .
where the first inequality is by triangle inequality, the second inequality is by our decomposition of and the definition of , the third inequality is by Proposition C.2 and Lemma D.1, and the last inequality is by our condition of in Condition 4.2. ∎
Under the same conditions as Theorem 4.3, we have that for all and .
Recall that f(\mathbf{W}^{(t)},\mathbf{x}_{i})=(1/m){\sum_{j,r}}j\cdot\big{[}\sigma(\langle\mathbf{w}_{j,r},y_{i}\cdot\bm{\mu}\rangle)+\sigma(\langle\mathbf{w}_{j,r},\bm{\xi}_{i}\rangle)\big{]}, so we have
where the inequality is by Lemma B.3. Next we will bound the inner-product terms in (D.4) respectively. By Lemma C.6, we have that for
We can also get the upper bound of the inner products between the parameter and the signal (noise) as follows,
where (i) is by Lemma C.3, (iii) is by Lemma C.4, (ii) and (iv) are due to Proposition C.2. Plugging (D.5) and (D.6) into (D.4) gives,
where the last inequality is by in Condition 4.2. This completes the proof. ∎
Under the same conditions as Theorem 4.3, we have that
We first apply a proof technique similar to Lemma 2.6 in Ji and Telgarsky (2020). The difference between our analysis and Ji and Telgarsky (2020) is that here the neural network is homogeneous rather than 1 homogeneous.
where the first inequality is by Lemma D.3, the second inequality is due to the convexity of the cross entropy function, and the last inequality is due to Lemma C.7. ∎
Under the same conditions as Theorem 4.3, let T=T_{1}+\Big{\lfloor}\frac{\|\mathbf{W}^{(T_{1})}-\mathbf{W}^{*}\|_{F}^{2}}{2\eta\epsilon}\Big{\rfloor}=T_{1}+\widetilde{O}(m^{3}\eta^{-1}\epsilon^{-1}\|\bm{\mu}\|_{2}^{-2}). Then we have for all . Besides,
for all , and we can find an iterate with training loss smaller than within iterations.
By Lemma D.4, for any , we have that
holds for . Taking a summation, we obtain that
for all . Dividing on both side of (D.7) gives that
where we use the fact that and our choice that T=T_{1}+\Big{\lfloor}\frac{\|\mathbf{W}^{(T_{1})}-\mathbf{W}^{*}\|_{F}^{2}}{2\eta\epsilon}\Big{\rfloor}. Because the mean is smaller than , we can conclude that there exist such that .
Finally, we will prove that for all . Plugging T=T_{1}+\Big{\lfloor}\frac{\|\mathbf{W}^{(T_{1})}-\mathbf{W}^{*}\|_{F}^{2}}{2\eta\epsilon}\Big{\rfloor} into (D.7) gives that
where the inequality is due to in Lemma D.2. Define . We will use induction to prove for all . At , by the definition of , clearly we have . Now suppose that there exists such that for all . Then for , by (C.4) and (C.5) we have
where the second inequality is due to Lemmas B.2 and B.3, and the last inequality follows by the assumption that . Taking a telescoping sum over , we have that
D.3 Population Loss
Consider a new data point drawn from the distribution defined in Definition 3.1. Without loss of generality, we suppose that the first patch is the signal patch and the second patch is the noise patch, i.e., . Moreover, by the signal-noise decomposition, the learned neural network has parameter
Under the same conditions as Theorem 4.3, we have that for all .
We can get the upper bound of the inner products between the parameter and the noise as follows:
for all , and , where (i) is by Lemma C.3, (ii) is due to in Lemma B.3 and in Lemma D.5, and (iii) is due to our condition of and in Condition 4.2. ∎
Under the same conditions as Theorem 4.3, with probability at least , we have that for all , where .
Let , then we have that and
where the equality is due to by Condition 4.2.
By (D.9), , where . Clearly is a Gaussian distribution with mean zero and standard deviation smaller than . Therefore, the probability is bounded by
Applying a union bound over completes the proof. ∎
Let be defined in Lemma 5.5 respectively. Under the same conditions as Theorem 4.3, for any with , it holds that .
Let event to be the event that Lemma D.7 holds. Then we can divide into two parts:
In the following, we bound and respectively.
where (i) is by . If event holds, we have that
where the second inequality is by in Lemma D.7 and in Lemma D.6. Thus we have that
Bounding : Next we bound the second term . We choose an arbitrary training data such that . Then we have
where the first inequality is due to , the second inequality is by the property of cross-entropy loss, i.e., for all , the third inequality is by , the fourth inequality is by in Lemma C.5, and the last inequality is due to in (D.9). Then we further have that
Appendix E Noise Memorization
In this section, we will consider the noise memorization case under the condition that . We remind the readers that the proofs in this section are based on the results in Section B, which hold with high probability.
We also remind readers that is defined in Appendix C. Denote . The following lemma provides a lower bound of .
Under the same conditions as Theorem 4.4, if in particular
then we have that .
Because , we have that . Therefore we have that
where the first inequality is by Lemma B.3 and the last inequality is by our lower bound condition of in (E.1). ∎
Under the same conditions as Theorem 4.4, in particular if we choose
where is a positive constant, then there exist
for all .
for all .
for all .
By Proposition C.2, we have that for all , , and . Since and , we have that . Next, we will carefully compute the growth of the .
We will use induction to prove that for . By definition, clearly we have that . Now suppose that there exists some such that holds for . Taking a telescoping sum of (E.4) gives that
where the second inequality is by our induction hypothesis, the third inequality is by in Lemma B.3, and the last inequality is by (E.3). Thus we have that for all . Therefore, for all . Recall that
where the second inequality is by the non-decreasing property of . Therefore, is an exponentially increasing sequence and we have that
where the second inequality is due to the fact that for and our conditions of and listed in Condition 4.2, and the last inequality is due to . Therefore, will reach within T_{1}=\frac{\log\big{(}20/(\sigma_{0}\sigma_{p}\sqrt{d})\big{)}4mn}{C_{1}0.15^{q-2}\eta q\sigma_{0}^{q-2}(\sigma_{p}^{2}\sqrt{d})^{q}} iterations. Since , will reach within iterations. We can next verify that
where the inequality holds due to our SNR condition in (E.2). Therefore, by the definition of , we have , where we use the non-decreasing property of . This completes the proof. ∎
E.2 Second Stage
By the signal-noise decompositon, at the end of the first stage, we have
for and . By the results we get in the first stage, we know that at the beginning of this stage, we have following property holds:
for all .
.
, where .
Note that Lemma 5.1 implies that the learned noise will not decrease, i.e., . Therefore, for all data index , we have for all . Now we choose as follows
Based on the definition of , we have the following lemma.
Under the same conditions as Theorem 4.4, we have that .
where the first inequality is by triangle inequality, the second inequality is by our decomposition of and Lemma B.2 (notice that different noises are almost orthogonal), and the last inequality is by Proposition C.2 and Lemma E.2. This completes the proof. ∎
Under the same conditions as Theorem 4.4, we have that
Recall that f(\mathbf{W}^{(t)},\mathbf{x}_{i})=(1/m){\sum_{j,r}}j\cdot\big{[}\sigma(\langle\mathbf{w}_{j,r},y_{i}\cdot\bm{\mu}\rangle)+\sigma(\langle\mathbf{w}_{j,r},\bm{\xi}_{i}\rangle)\big{]}, so we have
where the first inequality is by Lemma B.3 and the last inequality is by Lemma B.2. Next we will bound the inner-product terms in (D.4) respectively. By Lemma C.6, we have that
where the last inequality is by Proposition C.2.
For , we can bound the inner product between the parameter and the noise as follows
where the first inequality is by Lemma C.4, the second inequality is by Lemma E.2.
For , we can bound the inner product between the parameter and the noise as follows
where the first inequality is by Lemma C.5 and the last inequality is by Lemma B.3 and the conditions of and in Condition 4.2. Therefore, plugging (E.6), (E.7), (E.8) into (E.5) gives
where the last inequality is by and in Condition 4.2. ∎
Under the same conditions as Theorem 4.4, we have that
The proof is exactly same as the proof of Lemma D.4.
where the first inequality is by Lemma E.4, the second inequality is due to the convexity of the cross entropy function and the last inequality is due to Lemma C.7. ∎
Under the same conditions as Theorem 4.4, let T=T_{1}+\Big{\lfloor}\frac{\|\mathbf{W}^{(T_{1})}-\mathbf{W}^{*}\|_{F}^{2}}{2\eta\epsilon}\Big{\rfloor}=T_{1}+\widetilde{O}(\eta^{-1}\epsilon^{-1}m^{3}nd^{-1}\sigma_{p}^{-2}). Then we have , for all . Besides,
for all , and we can find an iterate with training loss smaller than within iterations.
By Lemma E.5, for any , we obtain that
holds for . Taking a summation, we have that
where (i) is by and (ii) is by Lemma E.3 Then we can use induction to prove that for all . Clearly, by the definition of , we have . Now suppose that there exists such that for all . Then by (C.3), we have
E.3 Population Loss
Under the same conditions as Theorem 4.4, within iterations, we can find such that . Besides, for any we have that .
Given a new example , we have that
where (i) is by triangle inequality and (ii) is by in Lemma E.6 and in Proposition 5.3.
Therefore, we have that . So with probability ,
Since the signal vector is orthogonal to noises, by in Lemma E.6, we also have that . Now by union bound, with probability at least , we have that
where the last inequality is by and in Condition 4.2. Therefore, with probability at least , we have that
Thus . This completes the proof. ∎