Shape Matters: Understanding the Implicit Bias of the Noise Covariance
Jeff Z. HaoChen, Colin Wei, Jason D. Lee, Tengyu Ma
Introduction
One central mystery of deep artificial neural networks is their capability to generalize when having far more learnable parameters than training examples Zhang et al. (2016). To add to the mystery, deep nets can also obtain reasonable performance in the absence of any explicit regularization. This has motivated recent work to study the regularization effect due to the optimization (rather than objective function), also known as implicit bias or implicit regularization Gunasekar et al. (2017, 2018a, 2018b), Soudry et al. (2018), Arora et al. (2019a). The implicit bias is induced by and depends on many factors, such as learning rate and batch size (Smith et al., 2017, Goyal et al., 2017, Keskar et al., 2016, Li et al., 2019b, Hoffer et al., 2017), initialization and momentum (Sutskever et al., 2013), adaptive stepsize (Kingma and Ba, 2014, Neyshabur et al., 2015, Wilson et al., 2017), batch normalization Ioffe and Szegedy (2015), Hoffer et al. (2018), Arora et al. (2018) and dropout Srivastava et al. (2014), Wei et al. (2020).
Among these sources of implicit regularization, the SGD noise is believed to be a vital one (LeCun et al., 2012, Keskar et al., 2016). Previous theoretical works (e.g., Li et al. (2019b)) have studied the implicit regularization effect from the scale of the noise, which is directly influenced by learning rate and batch size. However, people have empirically observed that the shape of the noise also has a strong (if not stronger) implicit bias. For example, prior works show that mini-batch noise or label noise (label smoothing) – noise in the parameter updates from the perturbation of labels in training – is far more effective than adding spherical Gaussian noise (e.g., see (Shallue et al., 2018, Section 4.6) and Szegedy et al. (2016), Wen et al. (2019)). We also confirm this phenomenon in Figure 1 (left). Thus, understanding the implicit bias of the noise shape is crucial. Such an understanding may also be applicable to distributed training because synthetically adding noise may help generalization if parallelism reduces the amount of mini-batch noise (Shallue et al., 2018).
In this paper, we theoretically study the effect of the shape of the noise, demonstrating that it can provably determine generalization performance at convergence. Our analysis is based on a nonlinear quadratically-parameterized model introduced by (Woodworth et al., 2020, Vaskevicius et al., 2019), which is rich enough to exhibit similar empirical phenomena as deep networks. Indeed, Figure 1 (right) empirically shows that SGD with mini-batch noise or label noise can generalize with arbitrary initialization without explicit regularization, whereas GD or SGD with Gaussian noise cannot. We aim to analyze the implicit bias of label noise and Gaussian noise in the quadratically-parametrized model and explain these empirical observations.
We choose to study label noise because it can replicate the regularization effects of minibatch noise in both real and synthetic data (Figure 1), and has been used to regularize large-batch parallel training (Shallue et al., 2018). Moreover, label noise is less sensitive to the initialization and the optimization history than mini-batch noise, which makes it more amenable to theoretical analysis. For example, in an extreme case, if we happen to reach or initialize at a solution that overfits the data exactly, then mini-batch SGD will stay there forever because both the gradient and the noise vanish (Vaswani et al., 2019). In contrast, label noise will not accidentally vanish, so analysis is more tractable. Understanding label noise may lead to understanding mini-batch noise or replacing it with other more robust choices.
In our setting, we prove that with a proper learning rate schedule, SGD with label noise recovers a sparse ground-truth classifier and generalizes well, whereas SGD with spherical Gaussian noise generalizes poorly. Concretely, SGD with label noise biases the parameter towards sparse solutions and exactly recovers the sparse ground-truth, even when the initialization is arbitrarily large (Theorem 2.1). In this same regime, noise-free gradient descent quickly overfits because it trains in the NTK regime (Jacot et al., 2018, Chizat and Bach, 2018, Oymak and Soltanolkotabi, 2020, Du et al., 2018b, Arora et al., 2019b). Adding Gaussian noise is insufficient to fix this, as this algorithm would end up sampling from a Gibbs distribution with infinite partition function and fail to converge to the ground-truth (Theorem 2.2). In summary, with not too small learning rate or noise level, label noise suffices to bias the parameter towards sparse solutions without relying on a small initialization, whereas Gaussian noise cannot.
Our analysis suggests that the fundamental difference between label or mini-batch noise and Gaussian noise is that the former is parameter-dependent, and therefore introduces stronger biases than the latter. The conceptual message highlighted by our analysis is that there are two possible implicit biases induced by the noise: 1. prior work (Keskar et al., 2016) shows that by escaping sharp local minima, noisy gradient descent biases the parameter towards solutions which are more robust (i.e, solutions with low curvature, or “flat” minima), and 2. when the noise covariance varies across the parameter space, there is another (potentially stronger) implicit bias effect toward parameters where the noise covariance is smaller. Label or mini-batch noise benefit from both biases, whereas Gaussian noise is independent of the parameter, so it benefits from the first bias but not the second. For the quadratically-parameterized model, this first bias is not sufficient for finding solutions with good generalization because there is a large set of overfitting global minima of the training loss with reasonable curvature. In contrast, the covariance of label noise is proportional to the scale of the parameter, inducing a much stronger bias towards low norm solutions which generalize well.
There has been a line of work empirically studying how noise influences generalization. Keskar et al. (2016) argued that large batch training will converge to “sharp” local minima which do not generalize well. Hoffer et al. (2017) argued that large batch size doesn’t hurt generalization much if training goes on long enough and additional noise is added with a larger learning rate. Goyal et al. (2017) and Shallue et al. (2018) showed large batch training with proper learning rate and additional label noise can achieve similar generalization as small batch. Agarwal et al. (2020) disentangled the effects of update direction and scale for a variety of optimizers. Wei and Schwab (2019), Chaudhari and Soatto (2018), Yaida (2018) (heuristically) suggested that SGD may encourage solutions with smaller noise covariance. Martin and Mahoney (2018) used random matrix theory to analyze implicit regularization effects of noises. The noise induced by dropout has been shown to change the expected training objective, hence provides a regularization effect (Mianjy et al., 2018, Mianjy and Arora, 2019, Wei et al., 2020, Arora et al., 2020). Wei et al. (2020) showed that there also exisits an implicit bias induced by dropout noise.
Blanc et al. (2019) and Zhu et al. (2019) also studied implicit regularization effects which arise due to shape, rather than scale, of the noise, but only considered the local effect of the noise near some local minimum of the loss. In contrast, our work analyzes the global effect of noise. For a more detailed comparison with (Blanc et al., 2019), see Section 2.2.
Langevin dynamics or the closely-related stochastic gradient descent with Gaussian noise, has been studied in previous works Welling and Teh (2011), Teh et al. (2016), Raginsky et al. (2017), Zhang et al. (2017), Mou et al. (2017), Roberts et al. (1996), Ge et al. (2015), Negrea et al. (2019), Neelakantan et al. (2015). In particular, Raginsky et al. (2017) and Li et al. (2019a) provided generalization bounds for SGLD using algorithmic stability.
A number of works have theoretically analyzed implicit regularization in simplified settings (Soudry et al., 2018, Gunasekar et al., 2018b, Ji and Telgarsky, 2018a). Gunasekar et al. (2017) and Li et al. (2017) showed that gradient descent finds low rank solutions in matrix completion. Gradient descent also been shown to maximize the margin in linear and homogeneous models (Soudry et al., 2018, Ji and Telgarsky, 2018b, Nacson et al., 2018, Lyu and Li, 2019, Gunasekar et al., 2018a, Nacson et al., 2019, Poggio et al., 2017). Du et al. (2018a) showed that gradient descent implicitly balances the layers of deep homogeneous models. Other works showed that it may not be always possible to characterize implicit biases in terms of some norm (Arora et al., 2019a, Razin and Cohen, 2020). Gissin et al. (2019) showed that gradient descent dynamics exhibit different implicit biases based on depth. Hardt et al. (2015) derived stability-based generalization bounds for SGD based on training speed.
Woodworth et al. (2020), Vaskevicius et al. (2019) analyze the effect of initialization for the same model that we study, showing that a large initialization trains in the NTK regime (shown to generalize poorly (Wei et al., 2019, Ghorbani et al., 2019)) whereas small initialization does not. We show that when the initialization is large, adding noise helps avoid the NTK regime (Li and Liang, 2018, Jacot et al., 2018, Du et al., 2018b, Woodworth et al., 2020) without explicit regularization.
Recent works also suggest that explicit regularization may mitigate the lack of implicit regularization, especially in noisy or imbalanced settings. For example, Wei and Ma (2019) show that Lipschitz-ness regularization improves the performance in clean or noisy label setting when the learning rate is sub-optimal. Cao et al. (2019) show that additional regularization improves the generalization performance of rare classes. Nakkiran et al. (2020) show that explicit regularization can mitigate the double descent phenomenon in linear regression, which is caused by the fact that the implicit regularization of gradient descent with zero initialization is insufficient for the regime when the number of parameters is close to the number of datapoints.
Setup and Main Results
We remark that we can recover by re-parameterizing and applying LASSO (Tibshirani, 1996) in the -space when , which is minimax optimal (Raskutti et al., 2012). However, the main goal of the paper, similar to several prior works (Woodworth et al., 2020, Vaskevicius et al., 2019, Li et al., 2017), is to prove that the implicit biases of non-convex optimization can recover the ground truth without explicit regularization in the over-parameterized regime when .We also remark that it’s common to obtain only sub-optimal sample complexity guarantees in the sparsity parameters with non-convex optimization methods (Li et al., 2017, Ge et al., 2016, Vaskevicius et al., 2019, Chi et al., 2019) due to technical limitations. We also assume throughout the paper that are larger than some sufficiently large universal constant.
Initialization. We use a large initialization of the form where denotes the all 1’s vector, where we allow to be arbitrarily large (but polynomial in ).
SGD with label noise. We study SGD with label noise as shown in Algorithm 1. We sample an example, add label noise sampled from to the label, and apply the gradient update. Computing the gradient, we obtain the update rule written explicitly as:
Langevin dynamics/diffusion. We compare SGD with label noise to Langevin dynamics, which adds spherical Gaussian noise to gradient descent (Neal et al., 2011):
where the noise and controls the scale of noise. Langevin dynamics (LD) or its more computationally-efficient variant, stochastic gradient Langevin dynamics (SGLD), is known to converge to the Gibbs distribution under various settings with sufficiently small learning rate (Roberts et al., 1996, Dalalyan, 2017, Bubeck et al., 2018, Raginsky et al., 2017). In our negative result about Langevin dynamics/diffusion, we directly analyze the Gibbs distribution in order to disentangle the convergence and the generalization.
This paper equates discrete time Langevin dynamics (equation (2)) with gradient descent with Gaussian noise, because LD with learning rate and temperature parameter is exactly equivalent to gradient descent with learning rate and spherical Gaussian noise with standard deviation . Thus technically the negative result for the Gibbs distribution (Theorem 2.2) applies to gradient descent with -Gaussian noise when keeping fixed (to be any number) and letting be sufficiently small.We also note that when also tends to zero, the effect of the noise will vanish and very likely gradient descent with Gaussian noise perform similarly to gradient descent.
Notations. Unless otherwise specified, we use to hide absolute multiplicative factors and to hide poly-logarithmic factors in problem parameters such as and . For example, every occurrence of is a placeholder for a quantity that satisfies that for some absolute constants , , .
2 Main Results
Our main result can be summarized by the following theorem, which suggests that stochastic gradient descent with label noise can converge to the ground truth despite a potentially large initialization.
In the setting of Section 2.1, given a target error . Suppose we have samples. For any label noise level , we run SGD with label noise (Algorithm 1) with the following learning rate schedule:
learning rate for iterations,
learning rate for iterations,
learning rate for iterations.
Then, with probability at least , the final iterate at time satisfies
Here omits poly-logarithmic dependencies on , and .
In other words, with arbitrarily large initialization scale , we can choose large label noise level and the learning rate schedule so that SGD with label noise succeeds in recovering the ground truth. In contrast, when is large, gradient flow without noise trains in the “kernel” regime as shown by (Woodworth et al., 2020, Chizat and Bach, 2018). The solution in this kernel regime minimizes the RKHS distance to initialization, and in our setting equates to finding a zero-error solution with minimum . Such a solution could be arbitrarily far away when initialization scale is large and therefore have poor generalization. Figure 1 (right) confirms GD performs poorly with large initialization whereas SGD with minibatch or label noise works. We outline the analysis of Theorem 2.1 in Section 3.
On the other hand, the following negative result for Langevin dynamics demonstrates that adding Gaussian noise fails to recover the ground truth even when . This suggests that spherical Gaussian noise does not induce a strong enough implicit bias towards low-norm solutions.
Assume in addition to the setting in Section 2.1 that the ground truth . When , with probability at least over the randomness of the data, for any , the Gibbs distribution is not well-defined because the partition function explodes:
As a consequence, Langevin diffusion does not converge to a proper stationary distribution.
Theorem 2.2 helps explain the behavior in Figure 1, where adding Gaussian noise generalizes poorly for both synthetic and real data. In particular, in Figure 1 (right) adding Gaussian noise causes the parameter to diverge for synthetic data, and Theorem 2.2 explains this observation. A priori, the intuition regarding Langevin dynamics is as follows: as , the Gibbs distribution (if it exists) should concentrate on the manifold of global minima with zero loss. The measure on the manifold of global minima should be decided by the geometry of , and in particular, the curvature around the global minimum. As , the mass should likely concentrate at the flattest global minimum (according to some measure of flatness), which intuitively is in this case.
However, our main intuition is that when , even though the global minimum at is the flattest, there are also many bad global minima with only slightly sharper curvatures. The vast volume of bad global minima dominate the flatness of the global minimum at for any ,In fact, one can show that if this phenomenon happens for some , then it happens for all other . and hence the partition function blows up and the Gibbs distribution doesn’t exist. More details in Section 4.
Analysis Overview of SGD with Label Noise (Theorem 2.1)
Towards building intuition and tools for analyzing the parameter-dependent noise, in this subsection we start by studying an extremely simplified random walk in one dimensional space. The random walk is purely driven by mean-zero noisy updates and does not involve any gradient updates:
Indeed, attentive readers can verify that when dimension , sample size , and , equation (2) degenerates to the above random walk if we omit the gradient update term (second to last term in equation (2)). We compare it with the standard Brownian motion (which is the analog of gradient descent with spherical Gaussian noise under this extreme simplification)
However, the parameter-dependent random walk (5) has dramatically different behavior when : the random variable will eventually converge to with high probability (though the variance grows and the mean remains at 1.). This is because the variance of the noise depends on the scale of . The smaller is, the smaller the noise variance is, and so the random walk tends to get “trapped” around . In fact, this claim has the following informal but simple proof that does not strongly rely on the exact form of the noise and can be extended to more general high-dimensional cases.
From the 1-D case to the high-dimensional case. In one dimension, it may appear that the varying scale of noise or norm of the covariance introduces the bias. However, in the high dimensional case, the shape of the covariance also matters. For example, if we generalize the random walk (5) to high-dimensions by running of the random walks in parallel, then we will observe the same phenomenon, but the noise variances in different dimensions are not identical — they depend on the current scales of the coordinates. (Precisely, the noise variance for dimension is .) However, suppose we instead add noise of the same variance to all dimensions. Even if this variance depends on the norm of (say, ), the implicit bias will be diminished, as the smaller coordinates will have relatively outsized noise and the larger coordinates will have relatively insufficient noise.
Outline of the rest of the subsections. We will give a proof sketch of Theorem 2.1 that consists of three stages. We first show in the initial stage of the training that label noise effectively decreases the parameter on all dimensions, bringing the training from large initialization to a small initialization regime, where better generalization is possible (Section 3.2). Then, we show in Section 3.3 that when the parameter is decently small, with label noise and a decayed learning rate, the algorithm will increase the magnitude of those dimensions in support set of , while keep decreasing the norm of the rest of dimensions. Finally, with one more decay, the algorithm can recover the ground truth.
2 Stage 0: Label Noise with Large Learning Rate Reduces the Parameter Norm
We first analyze the initial phase where we use a relatively large learning rate. When the initialization is of a decent size, GD quickly overfits to a bad global minimum nearest to the initialization. In contrast, we prove that SGD with label noise biases towards the small norm region, for a similar reason as the random walk example with parameter-dependent noise in Section 3.1.
In the setting of Theorem 2.1, recall that we initialize with . Assume . Suppose we run SGD with label noise with noise level and learning rate for iterations. Then, with probability at least over the randomness of the algorithm,
Moreover, the minimum entry of is bounded below by .
We remark that our requirement of being large is consistent with the empirical observation that large initial learning rate helps generalization Goyal et al. (2017), Li et al. (2019b). We provide intuitions and a proof sketch of the theorem in the rest of the subsection and defer the full proof to Section B . Our proof is based on the construction of a concave potential function similar to Section 3.1. We will show that, at every step, the noise has a second order effect on the potential function and decrease the potential function by a quantity on the order of (omitting the dependency).In general, any mean-zero noise has a second order effect on any potential function. Therefore, when the noise level is fixed, as , the effect of the noise diminishes. This is why a lower bound on the learning rate is necessary for the noise to play a role. On the other hand, the gradient step may increase the potential by a quantity at most on the order of (omitting dependency again). Therefore, when , we expect the algorithm to decrease the potential and the parameter norm.
In particular, we define .In the formal proof we will use a slightly different version of potential function (see Definition B.1). By the update rule (1), the update for a coordinate can be written as
where is sampled from and is sampled from . Let be the component coming from the stochastic gradient. Using the fact that for any , we can evaluate the potential function at time ,
Here the expectation is over and . We perform Taylor-expansion on the term to deal with the non-linearity and use the fact that is mean-zero:
In the setting of Theorem 3.1, for some failure probability , let . Then, with probability at least , we have that for any .
By Lemma 3.2 and the bound on in terms of , we have with defined in Lemma 3.2 (up to logarithmic factors). Here we use again that each entry of the data is from . Plugging these into equation (10) we obtain
In the setting of Section 2.1, given a target error bound , we assume that . We run SGD with label noise (Algorithm 1) with an initialization whose entries are all in , where . Let noise level and learning rate , and number of iterations . Then, with probability at least , after iterations, we have
The proof of this theorem balances the contribution of the gradient against that of the noise on and . On , the gradient provides a stronger signal than label noise, whereas on , the implicit bias of the noise, similarly to the effect in Section 3.2, outweighs the gradient and reduces the entries to zero. The analysis is more involved than that of Theorem 3.1, and we defer the full proof to Section C.
The conclusion of Theorem 3.3 still allows constant error in the support, namely, . The following theorem shows that further annealing the learning rate will let the algorithm fully converge to with any target error .
[informal version of Theorem D.1] Assume initialization satisfies . Suppose we run SGD with label noise with any noise level and small enough learning rate for iterations. Then, with high probability over the randomness of the algorithm and data, there is
The formal version of Theorem 3.4 and its proof can be found in Section D.
Proof of Theorem 2.1. In Section E of Appendix, we combine Theorem 3.1, Theorem 3.3, and Theorem D.1 to prove our main Theorem 2.1.
Analysis Overview of Langevin Dynamics (Theorem 2.2)
Conclusion
In this work, we study the implicit bias effect induced by noise. For a quadratically-parameterized model, we theoretically show that the parameter-dependent noise has a strong implicit bias, which can help recover the sparse ground-truth from limited data. In comparison, our negative result shows that such a bias cannot be induced by spherical Gaussian noise. Our result provides an explanation for the empirical observation that replacing mini-batch noise or label noise with Gaussian noise usually leads to degradation in the generalization performance of deep models.
Acknowledgements
JZH acknowledges support from the Enlight Foundation Graduate Fellowship. CW acknowledges support from an NSF Graduate Research Fellowship. JDL acknowledges support of the ARO under MURI Award W911NF-11-1-0303, the Sloan Research Fellowship, and NSF CCF 2002272. TM acknowledges support of Google Faculty Award. The work is also partially supported by SDSI and SAIL at Stanford.
References
Appendix A Experimental Details
A.2 Experimental Details for Deep Neural Networks on CIFAR100
We train a VGG19 model (Simonyan and Zisserman, 2014) on CIFAR100, using a small and large batch baseline. We also experiment with adding Gaussian noise to the parameters after every gradient update as well as adding label noise in the following manner: with some probability that depends on the current iteration count, we replace the original label with a randomly chosen one.
To add spherical Gaussian noise to the parameter every update, we simply set after every gradient update, where is a mean-zero Gaussian whose coordinates are drawn independently from . We tune this over the values shown in Figure 1.
We turn off weight decay and BatchNorm to isolate the regularization effects of just the noise alone. Standard data augmentation is still present in our runs. Our small batch baseline uses a batch size of 26, and our large batch baseline uses a batch size of 256. In runs where we add noise, the batch size is always 256. For all runs, we use an initial learning rate of 0.004. We train for 410550 iterations (i.e., minibatches), annealing the learning rate by a factor of 0.1 at the 175950-th and 293250-th iteration. Our models take around 20 hours to train on a single NVIDIA TitanXp GPU when the batch size is 256. The final performance gap between label noise or small minibatch training v.s. large batch or Gaussian noise is around 13% accuracy.
Appendix B Proof of Stage 0 (Theorem 3.1)
In this section, we will first prove several lemmas on which the proof of Theorem 3.1 is built upon. Then we will provide a proof of Theorem 3.1.
Since the gradient descent with label noise algorithm will blow up with some very small chance, we first define a coupled version of each optimization trajectory such that it is bounded and behaves similarly to the original trajectory.
Recall the update at -th iteration is:
where the first inequality is Markov Inequality, the second is by the previous equation, and the third is by assumption of and the definition of . ∎
We also define the following potential function which is similar to the one introduced in Section 3.2 but is only non-zero in a bounded area.
(-bounded potential function) For a vector that is positive on each dimension, we define the -bounded potential function as follows: if , we let ; otherwise .
Next, we prove that this potential function decreases to less than with high probability after some number of iterations.
where is upper bound on for in to , which is less than if . So in our theorem if , we have
where the first inequality if by Markov Inequaltiy, the second inequality is by the previous inequality, and the last inequality is because . ∎
Now we are ready to prove Theorem 3.1 by combining the lemmas above.
Assume , then we only need , and then all the above assumptions are satisfied.
where the first inequality is by update rule and the second is because . Putting in the value of , we have
Appendix C Proof of Stage 1 (Theorem 3.3)
In this section, we will first prove several lemmas on which the proof of Theorem 3.3 is built upon. Then we will provide a proof of Theorem 3.3.
Similar to Section B, we first define a coupled version of each optimization trajectory such that it is bounded and behaves similarly to the original trajectory. The difference here is that since those dimensions in are expected to grow to larger than those dimensions not in , we use different boundaries for these two type of dimensions.
We first show that dimensions in don’t become much larger than the ground truth (which is for these dimensions).
where the first inequality is by Lemma G.3, the second inequality is by taking the sum of denominator.
where the last inequality is by assumption. ∎
Then, we prove that those dimensions not in don’t become much larger than ground truth (which is for these dimensions).
Next, we prove that suppose all the dimensions (in or not) are never much larger than the ground truth, for each dimension in , there is some time such that this dimension is very close to the ground truth.
Next, we prove that for each dimension in , whenever it gets close to ground truth, it never becomes much smaller than the ground truth.
where the first inequality is by Lemma G.3, the second inequality is by taking the sum of denominator.
Similar to Section B, we define a potential function in a bounded area. Since now we only want those dimensions not in to decrease, the potential function is only defined on these dimensions.
Then we prove that the this potential function decreases to less than after proper number of iterations.
Now we are ready to prove Theorem 3.3 by combining the lemmas above.
We show the assumptions in the previous lemmas are all satisfied. The assumption in Lemma C.2 is satisfied by
where the first is by , the second is by , and the last line is true because
The assumption in Lemma C.4 is satisfied by
Appendix D Proof of Stage 2 (Theorem 3.4)
The conclusion of Theorem 3.3 still allows constant error in the support, namely, . To prove that further annealing the learning rate will let the algorithm fully converge to , we leverage a “bootstrapping” type of proof, where we first prove that whenever the support dimensions of the iterate is already somewhat close to , it can always become even closer (by a factor of ) to ground truth, while at the same time the other dimensions don’t increase by too much. By repeatedly using this analysis, we can prove that eventually the iterates will be arbitrarily close to the ground truth. Formally, we index the number of rounds that we use this analysis to be , and assume initially the iterate’s distance to at the end of Theorem 3.3 is and . We prove the following theorem:
Let be the index of the current round of bootstrapping. Let constant . In the setting of Section 2.1, assume is an initial parameter satisfying and , where . Given a failure rate . Assume . Suppose we run SGD with label noise with noise level and learning rate for iterations. Then, with probability at least over the randomness of the algorithm and data, there is and Here omits poly logarithmic dependency on .
In the rest of this section, we will first prove several lemmas on which the proof of Theorem D.1 is built upon. Then we will provide a proof of Theorem D.1.
To begin with, we define the following coupled version of trajectories that are bounded to a region close to the ground truth.
First, we show that with high probability, those dimensions in don’t get too far away from ground truth (which is for these dimensions).
where the first inequality is by Lemma G.3, the second inequality is by taking the sum of denominator.
where the first inequality is by Lemma G.3, the second inequality is by taking the sum of denominator.
where the first inequality is by union bound, the second inequality is by previous results, the third inequality is by assumption of this lemma. ∎
The next step is to show that those dimensions not in remain close to ground truth .
here we are using by assumption and the last step is by assumption. ∎
Then we prove that when every dimension (in or not) remains close to the ground truth, each dimension in will become even closer (-close) to ground truth at some time.
Here the first inequality is by assumption, the second inequality is because and .
where the second inequality is because of assumption.
Next we show that once one dimension in become -close to the ground truth (which is ), this dimension’s distance to ground truth will never become larger than any more.
where the first inequality is by Lemma G.3, the second inequality is by taking the sum of denominator.
Finally, we finish the proof with a union bound:
where the first inequality is by union bound, the second inequality is by previous results, the third inequality is by assumption of this lemma. ∎
Now we are ready to combine these lemmas to prove Theorem D.1.
Set small enough such that . Obviously we only need , where omits poly logarithmic dependency on and . Assume , which can be represented as . Recall , .
We first show that the additional assumptions in the previous lemmas are satisfied. There is
The assumption in Lemma D.4 is therefore satisfied by definition of . The assumption in Lemma D.4 is satisfied because:
which is larger than by the definition of . The assumption in Lemma D.5 is satisfied because . All the other assumptions in Lemma D.3, Lemma D.4, Lemma D.5and Lemma D.6 naturally follows from the definition of and the requirement of .
Appendix E Proof of Theorem 2.1
Starting from initialization , by Theorem 3.1, running SGD with label noise with noise level and for iterations gives us that with probability at least , where . Now satisfies the initial condition of Theorem 3.3.
Recall the final target precision is , set . By Theorem 3.3, with data, after running SGD with label noise with learning rate for iterations, with probability at least , there is,
So we have satisfies the initial condition of Theorem D.1.
Finally, set , and apply Theorem D.1 for rounds. Since gets smaller by for each round, the final satisfies . Since the requirement of for round is , we can set to satisfy all the rounds at the same time. Set be the total number of iterations in all of these rounds, obviously . Notice that , we have with probability at least ,
The total failure rate of above three stages is , so with probability at least , there is , which finishes the proof. ∎
Appendix F Proof of Theorem 2.2
We first prove that with high probability, there is always some element-wise positive vector that is orthogonal to the subspace spanned by data.
By Theorem 1 of Amelunxen et al. (2014), we only need to prove
where is the statistical dimension of a set. By equation (2.1) of Amelunxen et al. (2014), there is
To calculate , we use Proposition 2.4 from Amelunxen et al. (2014),
where is a standard random vector, is projection of to , the expectation is over . Since is the set of all points with element-wise positive coordinate, is simply setting all the negative dimension of to and keep the positive ones. Therefore,
Now we use this lemma to prove Theorem 2.2.
Let be the subspace that is orthogonal to the subspace spanned by data. Since data is random, with probability the random subspace is of dimension. Therefore, according to the previous lemma, with probability at least , there is , where is the coordinate-wise positive cone. Let be such a vector such that for , and we scale it such that . We can construct the following orthonormal matrix
such that and . Consider the following transformation
We can lower bound the partition function with
Here the inequality is because of the definition of .
Appendix G Helper Lemmas
Suppose random data points are sampled i.i.d: Then, with probability at least , for every there is
By Gaussian tail bound, there is . So by union bound we have . Let we complete the proof. ∎
Suppose random data points are sampled i.i.d: . Then, when , with probability at least , for every there is
Therefore, when , by union bound we finish complete the proof. ∎
where means for any , .
We only need to consider when . Let be the following coupling of : starting from , for each time , if or there is such that , we let ; otherwise . Intuitively, whenever stops updating or exceeds proper range, we only times by afterwards, otherwise we let it be the same as . Notice that if the event in Equation 179 happens, there has to be (otherwise stops updating or exceeds range at some time, contradicting the event). So we only need to bound .
where means for any , doesn’t happen.
Let be the following coupling of : starting from , for each time , if exists such that happens or , we let ; otherwise . Intuitively, whenever exceeds proper range, we only times by afterwards, otherwise we let it be the same as . Notice that if the event in Equation 185 happens, there has to be (otherwise happens sometimes or , contradicting the event). So we only need to bound .