Regularization Matters: Generalization and Optimization of Neural Nets v.s. their Induced Kernel

Colin Wei, Jason D. Lee, Qiang Liu, Tengyu Ma

Introduction

In deep learning, over-parametrization refers to the widely-adopted technique of using more parameters than necessary . Over-parametrization is crucial for successful optimization, and a large body of work has been devoted towards understanding why. One line of recent works offers an explanation that invites analogy with kernel methods, proving that with sufficient over-parameterization and a certain initialization scale and learning rate schedule, gradient descent essentially learns a linear classifier on top of the initial random features. For this same setting, Daniely , Du et al. , Jacot et al. , Arora et al. make this connection explicit by establishing that the prediction function found by gradient descent is in the span of the training data in a reproducing kernel Hilbert space (RKHS) induced by the Neural Tangent Kernel (NTK). The generalization error of the resulting network can be analyzed via the Rademacher complexity of the kernel method.

These works provide some of the first algorithmic results for the success of gradient descent in optimizing neural nets; however, the resulting generalization error is only as good as that of fixed kernels . On the other hand, the equivalence of gradient descent and NTK is broken if the loss has an explicit regularizer such as weight decay.

In this paper, we study the effect of an explicit regularizer on neural net generalization via the lens of margin theory. We first construct a simple distribution on which the two-layer network optimizing explicitly regularized logistic loss will achieve a large margin, and therefore, good generalization. On the other hand, any prediction function in the span of the training data in the RKHS induced by the NTK will overfit to noise and therefore achieve poor margin and bad generalization.

Motivated by the provably better generalization of regularized neural nets for our constructed instance, in Section 3 we study their optimization, as the previously cited results only apply when the neural net behaves like a kernel. We show optimization is possible for infinite-width regularized nets.

This improves upon prior works which study optimization in the same infinite-width limit but do not provide polynomial convergence rates. (See more discussions in Section 3.)

Finally, we empirically validate several claims made in this paper in Section 5. First, we confirm on synthetic data that neural networks do generalize better with an explicit regularizer vs. without. Second, we show that for two-layer networks, the test error decreases and margin increases as the hidden layer grows, as predicted by our theory.

Zhang et al. and Neyshabur et al. show that neural network generalization defies conventional explanations and requires new ones. Neyshabur et al. initiate the search for the “inductive bias” of neural networks towards solutions with good generalization. Recent papers study inductive bias through training time and sharpness of local minima. Neyshabur et al. propose a steepest descent algorithm in a geometry invariant to weight rescaling and show this improves generalization. Morcos et al. relate generalization to the number of “directions” in the neurons. Other papers study implicit regularization towards a specific solution. Ma et al. show that implicit regularization helps gradient descent avoid overshooting optima. Rosset et al. study linear logistic regression with weak regularization and show convergence to the max margin. In Section 4, we adopt their techniques and extend their results.

A line of work initiated by Neyshabur et al. has focused on deriving tighter norm-based Rademacher complexity bounds for deep neural networks and new compression based generalization properties . Bartlett et al. highlight the important role of normalized margin in neural net generalization. Wei and Ma prove generalization bounds depending on additional data-dependent properties. Dziugaite and Roy compute non-vacuous generalization bounds from PAC-Bayes bounds. Neyshabur et al. investigate the Rademacher complexity of two-layer networks and propose a bound that is decreasing with the distance to initialization. Liang and Rakhlin and Belkin et al. study the generalization of kernel methods.

For optimization, Soudry and Carmon explain why over-parametrization can remove bad local minima. Safran and Shamir show over-parametrization can improve the quality of a random initialization. Haeffele and Vidal , Nguyen and Hein , and Venturi et al. show that for sufficiently overparametrized networks, all local minima are global, but do not show how to find these minima via gradient descent. Du and Lee show for two-layer networks with quadratic activations, all second-order stationary points are global minimizers. Arora et al. interpret over-parametrization as a means of acceleration. Mei et al. , Chizat and Bach , Sirignano and Spiliopoulos , Dou and Liang , Mei et al. analyze a distributional view of over-parametrized networks. Chizat and Bach show that Wasserstein gradient flow converges to global optimizers under structural assumptions. We extend this to a polynomial-time result.

Finally, many papers have shown convergence of gradient descent on neural nets using analyses which prove the weights do not move far from initialization. These analyses do not apply to the regularized loss, and our experiments in Section F suggest that moving away from the initialization is important for better test performance.

Another line of work takes a Bayesian perspective on neural nets. Under an appropriate choice of prior, they show an equivalence between the random neural net and Gaussian processes in the limit of infinite width or channels . This provides another kernel perspective of neural nets.

Yehudai and Shamir , Chizat and Bach also argue that the kernel perspective of neural nets is not sufficient for understanding the success of deep learning. Chizat and Bach argue that the kernel perspective of gradient descent is caused by a large initialization and does not necessarily explain the empirical successes of over-parametrization. Yehudai and Shamir prove that Ω(exp⁡(d))\Omega(\exp(d)) random relu features cannot approximate a single neuron in squared error loss. In comparison, our lower bounds are for the sample complexity rather than width of the NTK prediction function and apply even with infinite over-parametrization for both classification and squared loss.

2 Notation

Generalization of Regularized Neural Net vs. NTK Kernel

We will compare neural net solutions found via regularization and methods involving the NTK and construct a data distribution D\mathcal{D} in dd dimensions which the neural net optimizer of regularized logistic loss learns with sample complexity O(d)O(d). The kernel method will require Ω(d2)\Omega(d^{2}) samples to learn.

The distribution D\mathcal{D} contains all of its signal in the first 2 coordinates, and the remaining d−2d-2 coordinates are noise. We visualize its first 2 coordinates in Figure 1.

Let Θλ∈arg min⁡ΘLλ(Θ)\Theta_{\lambda}\in\operatorname*{arg\,min}_{\Theta}L_{\lambda}(\Theta) be its global optimizer. Define the NTK kernel associated with the architecture (with random weights):

For coefficients β\beta, we can then define the prediction function fkernel(x;β)f^{\textup{kernel}}(x;\beta) in the RKHS induced by KK as fkernel(x;β)≜∑i=1nβiK(xi,x)f^{\textup{kernel}}(x;\beta)\triangleq\sum_{i=1}^{n}\beta_{i}K(x_{i},x). For example, such a classifier would be attained by running gradient descent on squared loss for a wide network using the appropriate random initialization (see ). We now present our comparison theorem below and fill in its proof in Section B.

Let D\mathcal{D} be the distribution defined in equation 2.5. With probability 1−d−51-d^{-5} over the random draw of n≲d2n\lesssim d^{2} samples (x1,y1),…,(xn,yn)(x_{1},y_{1}),\ldots,(x_{n},y_{n}) from D\mathcal{D}, for all choices of β\beta, the kernel prediction function fkernel(⋅;β)f^{\textup{kernel}}(\cdot;\beta) will have at least Ω(1)\Omega(1) error:

Meanwhile, for λ≤poly(n)−1\lambda\leq\textup{poly}(n)^{-1}, the regularized neural net solution fNN(⋅;Θλ)f^{\textup{NN}}(\cdot;\Theta_{\lambda}) with at least 4 hidden units can have good generalization with O(d2)O(d^{2}) samples because we have the following generalization error bound:

This implies a Ω(d)\Omega(d) sample-complexity gap between the regularized neural net and kernel prediction function.

Our intuition of this gap is that the regularization allows the neural net to find informative features (weight vectors), that are adaptive to the data distribution and easier for the last layers’ weights to separate. For example, the neurons [e1x]+[e_{1}x]_{+}, [−e1x]+[-e_{1}x]_{+}, [e2x]+[e_{2}x]_{+}, [−e2x]+[-e_{2}x]_{+} are enough to fit our particular distribution. In comparison, the NTK method is unable to change the feature space and is only searching for the coefficients in the kernel space.

Proof techniques for the upper bound: For the upper bound, neural nets with small Euclidean norm will be able to separate D\mathcal{D} with large margin (a two-layer net with width 4 can already achieve a large margin). As we show in Section 4, a solution with a max neural-net margin is attained by the global optimizer of the regularized logistic loss — in fact, we show this holds for generally homogeneous networks of any depth and width (Theorem 4.1). Then, by the classical connection between margin and generalization , this optimizer will generalize well.

Proof techniques for the lower bound: On the other hand, the NTK will have a worse margin when fitting samples from D\mathcal{D} than the regularized neural networks because NTK operates in a fixed kernel space.There could be some variations of the NTK space depending on the scales of the initialization of the two layers, but our Theorem 2.1 shows that these variations also suffer from a worse sample complexity. However, proving that the NTK has a small margin does not suffice because the generalization error bounds which depend on margin may not be tight.

We develop a new technique to prove lower bounds for kernel methods, which we believe is of independent interest, as there are few prior works that prove lower bounds for kernel methods. (One that does is , but their results require constructing an artificial kernel and data distribution, whereas our lower bounds are for a fixed kernel.) The main intuition is that because NTK uses infinitely many random features, it is difficult for the NTK to focus on a small number of informative features – doing so would require a very high RKHS norm. In fact, we show that with a limited number of examples, any function that in the span of the training examples must heavily use random features rather than informative features. The random features can collectively fit the training data, but will give worse generalization.

Perturbed Wasserstein Gradient Flow Finds Global Optimizers in Polynomial Time

Prior work has shown that as the hidden layer size grows to infinity, gradient descent for a finite neural network approaches the Wasserstein gradient flow over distributions of hidden units (defined in equation 3.1). With the assumption that the gradient flow converges, which is non-trivial since the space of distributions is infinite-dimensional, Chizat and Bach prove that Wasserstein gradient flow converges to a global optimizer but do not specify a rate. Mei et al. add an entropy regularizer to form an objective that is the infinite-neuron limit of stochastic Langevin dynamics. They show global convergence but also do not provide explicit rates. In the worst case, their convergence can be exponential in dimension. In contrast, we provide explicit polynomial convergence rates for a slightly different algorithm, perturbed Wasserstein gradient flow.

Φ\Phi and VV are differentiable as well as upper bounded and Lipschitz on the unit sphere. RR is Lipschitz and its Hessian has bounded operator norm.

We interpret ρ\rho as a distribution over the parameters of the network. Let k≜nk\triangleq n and Φi(θ)≜wϕ(u⊤xi)\Phi_{i}(\theta)\triangleq w\phi(u^{\top}x_{i}) for θ=(w,u)\theta=(w,u). In this case, ∫Φdρ\int\Phi d\rho is a distributional neural network that computes an output for each of the nn training examples (like a standard neural network, it also computes a weighted sum over hidden units). We can compute the distributional version of the regularized logistic loss in equation 2.6 by setting V(θ)≜λ∥θ∥22V(\theta)\triangleq\lambda\|\theta\|_{2}^{2} and R(a1,…,an)≜∑i=1nlog⁡(1+exp⁡(−yiai))R(a_{1},\ldots,a_{n})\triangleq\sum_{i=1}^{n}\log(1+\exp(-y_{i}a_{i})).

where ∇⋅\nabla\cdot denotes the divergence of a vector field. For neural networks, these dynamics formally define continuous-time gradient descent when the hidden layer has infinite size (see Theorem 2.6 of , for instance). More generally, equation 3.1 is due to the formula for Wasserstein gradient flow dynamics (see for example ), which are derived via continuous-time steepest descent with respect to Wasserstein distance over the space of probability distributions on the neurons. We propose the following modified dynamics:

Suppose that Φ\Phi and VV are 2-homogeneous and the regularity conditions of Assumption 3.1 are satisfied. Also assume that from starting distribution ρ0\rho_{0}, a solution to the dynamics in equation 3.2 exists. Define L⋆≜inf⁡ρL[ρ]L^{\star}\triangleq\inf_{\rho}L[\rho]. Let ϵ>0\epsilon>0 be a desired error threshold and choose σ≜exp⁡(−dlog⁡(1/ϵ)poly(k,L[ρ0]−L⋆))\sigma\triangleq\exp(-d\log(1/\epsilon)\textup{poly}(k,L[\rho_{0}]-L^{\star})) and tϵ≜d2ϵ4poly(log⁡(1/ϵ),k,L[ρ0]−L⋆)t_{\epsilon}\triangleq\frac{d^{2}}{\epsilon^{4}}\textup{poly}(\log(1/\epsilon),k,L[\rho_{0}]-L^{\star}), where the regularity parameters for Φ\Phi, VV, and RR are hidden in the poly(⋅)\textup{poly}(\cdot). Then, perturbed Wasserstein gradient flow converges to an ϵ{\epsilon}-approximate global minimum in tϵt_{\epsilon} time:

As a technical detail, Theorem 3.3 requires that a solution to the dynamics exists. We can remove this assumption by analyzing a discrete-time version of equation 3.2: ρt+1≜ρt+η(−σρt+σUd−∇⋅(v[ρt]ρt))\rho_{t+1}\triangleq\rho_{t}+\eta(-\sigma\rho_{t}+\sigma U^{d}-\nabla\cdot(v[\rho_{t}]\rho_{t})), and additionally assuming Φ\Phi and VV have Lipschitz gradients. In this setting, a polynomial time convergence result also holds. We state the result in Section E.4.

Weak Regularizer Guarantees Max Margin Solutions

In this section, we collect a number of results regarding the margin of a regularized neural net. These results provide the tools for proving generalization of the weakly-regularized NN solution in Theorem 2.1. The key technique is showing that with small regularizer λ→0\lambda\rightarrow 0, the global optimizer of regularized logistic loss will obtain a maximum margin. It is well-understood that a large neural net margin implies good generalization performance .

In fact, our result applies to a function class much broader than two-layer relu nets: in Theorem 4.1 we show that when we add a weak regularizer to cross-entropy loss with any positive-homogeneous prediction function, the normalized margin of the optimum converges to the max margin. For example, Theorem 4.1 applies to feedforward relu networks of arbitrary depth and width. In Theorem C.2, we bound the approximation error in the maximum margin when we only obtain an approximate optimizer of the regularized loss. In Corollary 4.2, we leverage these results and pre-existing Rademacher complexity bounds to conclude that the optimizer of the weakly-regularized logistic loss will have width-free generalization bound scaling with the inverse of the max margin and network depth. Finally, we note that the maximum possible margin can only increase with the width of the network, which suggests that increasing width can improve generalization of the solution (see Theorem 4.3).

for fixed r>0r>0. Let Θλ∈arg min⁡Lλ(Θ)\Theta_{\lambda}\in\operatorname*{arg\,min}L_{\lambda}(\Theta).We formally show that LλL_{\lambda} has a minimizer in Claim C.3 of Section C. Define the normalized margin γλ\gamma_{\lambda} and max-margin γ⋆\gamma^{\star} by γλ≜min⁡iyif(xi;Θˉλ)\gamma_{\lambda}\triangleq\min_{i}y_{i}f(x_{i};\bar{\Theta}_{\lambda}) and γ⋆≜max⁡∥Θ∥≤1min⁡iyif(xi;Θ)\gamma^{\star}\triangleq\max_{\|\Theta\|\leq 1}\min_{i}y_{i}f(x_{i};\Theta). Let Θ⋆\Theta^{\star} achieve this maximum.

We show that with sufficiently small regularization level λ\lambda, the normalized margin γλ\gamma_{\lambda} approaches the maximum margin γ⋆\gamma^{\star}. Our theorem and proof are inspired by the result of Rosset et al. , who analyze the special case when ff is a linear function. In contrast, our result can be applied to non-linear ff as long as ff is homogeneous.

Assume the training data is separable by a network f(⋅;Θ⋆)∈Ff(\cdot;\Theta^{\star})\in\mathcal{F} with an optimal normalized margin γ⋆>0\gamma^{\star}>0. Then, the normalized margin of the global optimum of the weakly-regularized objective (equation 4.1) converges to γ⋆\gamma^{\star} as the regularization goes to zero. Mathematically,

An intuitive explanation for our result is as follows: because of the homogeneity, the loss L(Θλ)L(\Theta_{\lambda}) roughly satisfies the following (for small λ\lambda, and ignoring parameters such as nn):

Thus, the loss selects parameters with larger margin, while the regularization favors smaller norms. The full proof of the theorem is deferred to Section C.

Though the result in this section is stated for binary classification, it extends to the multi-class setting with cross-entropy loss. We provide formal definitions and results in Section C. In Theorem C.2, we also show that an approximate minimizer of LλL_{\lambda} can obtain margin that approximates γ⋆\gamma^{\star}.

We consider depth-qq networks with 1-Lipschitz, 1-positive-homogeneous activation ϕ\phi for q≥2q\geq 2. Note that the network function is qq-positive-homogeneous. Suppose that the collection of parameters Θ\Theta is given by matrices W1,…,WqW_{1},\ldots,W_{q}. For simplicity we work in the binary class setting, so the qq-layer network computes a real-valued score

Following notation established in this section, we denote the optimizer of Lλ,ML_{\lambda,\mathcal{M}} by Θλ,M\Theta_{\lambda,\mathcal{M}}, the normalized margin of Θλ,M\Theta_{\lambda,\mathcal{M}} by γλ,M\gamma_{\lambda,\mathcal{M}}, the max-margin solution by Θ⋆,M\Theta^{\star,\mathcal{M}}, and the max-margin by γ⋆,M\gamma^{\star,\mathcal{M}}, assumed to be positive. Our notation emphasizes the architecture of the network.

We can define the population 0-1 loss of the network parameterized by Θ\Theta by L(Θ)≜Pr⁡(x,y)∼pdata[yfNN(x;Θ)≤0]L(\Theta)\triangleq\Pr_{(x,y)\sim p_{\rm{data}}}[yf^{\textup{NN}}(x;\Theta)\leq 0]. We let X\mathcal{X} denote the data domain and C≜sup⁡x∈X∥x∥2C\triangleq\sup_{x\in\mathcal{X}}\|x\|_{2} denote the largest possible norm of a single datapoint.

By combining the neural net complexity bounds of Golowich et al. with our Theorem 4.1, we can conclude that optimizing weakly-regularized logistic loss gives generalization bounds that depend on the maximum possible network margin for the given architecture.

Suppose ϕ\phi is 1-Lipschitz and 1-positive-homogeneous. With probability at least 1−δ1-\delta over the draw of (x1,y1),…,(xn,yn)(x_{1},y_{1}),\ldots,(x_{n},y_{n}) i.i.d. from pdatap_{\rm{data}}, we can bound the test error of the optimizer of the regularized loss by

where ϵ(γ)≜log⁡log⁡24Cγn+log⁡(1/δ)n\epsilon(\gamma)\triangleq\sqrt{\frac{\log\log_{2}\frac{4C}{\gamma}}{n}}+\sqrt{\frac{\log(1/\delta)}{n}}. Note that ϵ(γ⋆,M)\epsilon(\gamma^{\star,\mathcal{M}}) is primarily a smaller order term, so the bound mainly scales with Cγ⋆,Mq(q−1)/2n\frac{C}{\gamma^{\star,\mathcal{M}}q^{(q-1)/2}\sqrt{n}}. Although the 1q(q−1)/2\frac{1}{q^{(q-1)/2}} factor of equation D.1 decreases with depth qq, the margin γ\gamma will also tend to decrease as the constraint ∥Θˉ∥F≤1\|\bar{\Theta}\|_{F}\leq 1 becomes more stringent.

Finally, we observe that the maximum normalized margin is non-decreasing with the size of the architecture. Formally, for two depth-qq architectures M=(m1,…,mq−1)\mathcal{M}=(m_{1},\ldots,m_{q-1}) and M′=(m1′,…,mq−1′)\mathcal{M^{\prime}}=(m^{\prime}_{1},\ldots,m^{\prime}_{q-1}), we say M≤M′\mathcal{M}\leq\mathcal{M^{\prime}} if mi≤mi′ ∀i=1,…q−1m_{i}\leq m^{\prime}_{i}\ \forall i=1,\ldots q-1. Theorem 4.3 states if M≤M′\mathcal{M}\leq\mathcal{M^{\prime}}, the max-margin over networks with architecture M′\mathcal{M^{\prime}} is at least the max-margin over networks with architecture M\mathcal{M}.

Recall that γ⋆,M\gamma^{\star,\mathcal{M}} denotes the maximum normalized margin of a network with architecture M\mathcal{M}. If M≤M′\mathcal{M}\leq\mathcal{M^{\prime}}, we have

As a important consequence, the generalization error bound of Corollary 4.2 for M′\mathcal{M^{\prime}} is at least as good as that for M\mathcal{M}.

This theorem is simple to prove and follows because we can directly implement any network of architecture M\mathcal{M} using one of architecture M′\mathcal{M^{\prime}}, if M≤M′\mathcal{M}\leq\mathcal{M^{\prime}}. This highlights one of the benefits of over-parametrization: the margin does not decrease with a larger network size, and therefore Corollary 4.2 gives a better generalization bound. In Section F, we provide empirical evidence that the test error decreases with larger network size while the margin is non-decreasing.

Simulations

We empirically validate our theory with several simulations. First, we train a two-layer net on synthetic data with and without explicit regularization starting from the same initialization in order to demonstrate the effect of an explicit regularizer on generalization. We confirm that the regularized network does indeed generalize better and moves further from its initialization. For this experiment, we use a large initialization scale, so every weight ∼N(0,1)\sim\mathcal{N}(0,1). We average this experiment over 20 trials and plot the test accuracy, normalized margin, and percentage change in activation patterns in Figure 2. We compute the percentage of activation patterns changed over every possible pair of hidden unit and training example. Since a low percentage of activations change when λ=0\lambda=0, the unregularized neural net learns in the kernel regime. Our simulations demonstrate that an explicit regularizer improves generalization error as well as the margin, as predicted by our theory.

The data comes from a ground truth network with 1010 hidden networks, input dimension 2020, and a ground truth unnormalized margin of at least 0.010.01. We use a training set of size 200200 and train for 2000020000 steps with learning rate 0.10.1, once using regularizer λ=5×10−4\lambda=5\times 10^{-4} and once using regularization λ=0\lambda=0. We note that the training error hits 0 extremely quickly (within 50 training iterations). The initial normalized margin is negative because the training error has not yet hit zero.

We also compare the generalization of a regularized neural net and kernel method as the sample size increases. Furthermore, we demonstrate that for two-layer nets, the test error decreases and margin increases as the width of the hidden layer grows, as predicted by our theory. We provide figures and full details in Section F.

Conclusion

Acknowledgments

CW acknowledges the support of a NSF Graduate Research Fellowship. JDL acknowledges support of the ARO under MURI Award W911NF-11-1-0303. This is part of the collaboration between US DOD, UK MOD and UK Engineering and Physical Research Council (EPSRC) under the Multidisciplinary University Research Initiative. We also thank Nati Srebro and Suriya Gunasekar for helpful discussions in various stages of this work.

References

Appendix A Additional Notation

In this section we collect additional notations that will be useful for our proofs.

Appendix B Missing Material from Section 2

Then as the kernel K(x′,x)K(x^{\prime},x) is the sum of positive scalings of ⟨φgrad(x),φgrad(x′)⟩\langle\varphi_{\textup{grad}}(x),\varphi_{\textup{grad}}(x^{\prime})\rangle and ⟨φrelu(x),φrelu(x′)⟩\langle\varphi_{\textup{relu}}(x),\varphi_{\textup{relu}}(x^{\prime})\rangle, we can express

For the distribution D\mathcal{D} defined in Section 2, if n≲d2n\lesssim d^{2}, with probability 1−exp⁡(−Ω(n))1-\exp(-\Omega(\sqrt{n})) over (x1,y1),…,(xn,yn)(x_{1},y_{1}),\ldots,(x_{n},y_{n}) drawn i.i.d. from D\mathcal{D}, for all choices of β\beta, in test time the kernel prediction function fkernel(⋅;β)f^{\textup{kernel}}(\cdot;\beta) will predict the sign of yy wrong Ω(1)\Omega(1) fraction of the time:

Then with probability 1−exp⁡(−Ω(d))1-\exp(-\Omega(d)), there is some universal constant cc such that

As a result, for all choices of β1,…,βn\beta_{1},\ldots,\beta_{n}, we can lower bound the test error of the kernel prediction function by

For sufficiently small n≲d2n\lesssim d^{2}, with probability 1−exp⁡(−Ω(n))1-\exp(-\Omega(\sqrt{n})) over the random draws of z1,…,znz_{1},\ldots,z_{n}, the following holds: for all β1,…,βn\beta_{1},\ldots,\beta_{n}, we will have

where cc is the constant defined in Lemma B.2.

This will allow us to complete the proof of Theorem B.1.

By plugging Lemma B.3 into the statement of Lemma B.2, we can conclude that for sufficiently small n≲d2n\lesssim d^{2}, with probability 1−exp⁡(−Ω(n))1-\exp(-\Omega(\sqrt{n})) over the random draws of z1,…,znz_{1},\ldots,z_{n}, we have

for all choices of β\beta. This gives precisely Theorem B.1. ∎

It now suffices to prove Lemmas B.2 and B.3.

Let z∈{−1,+1}d−2z\in\{-1,+1\}^{d-2} be a uniform random point from the d−2d-2-dimensional hypercube and x∈supp(Dx)x\in\text{supp}(\mathcal{D}_{x}) be given. With probability 1−exp⁡(−Ω(d))1-\exp(-\Omega(d)) over the choice of zz, we have

In the same setting as Lemma B.4, with probability 1−exp⁡(−Ω(d))1-\exp(-\Omega(d)) over the choice of zz, we have

As it will be clear in the context of this proof, we use x1x_{1} to denote the first coordinate of xx and x2x_{2} to denote the second coordinate of xx. We prove the first inequality, as the proof for the second is identical. First, note that if x1=0x_{1}=0,∣x2∣=1|x_{2}|=1, then we have K1(x,(1,0,z))+K1(x,(−1,0,z))=2K1((0,1,x−2),(1,0,z))K_{1}(x,(1,0,z))+K_{1}(x,(-1,0,z))=2K_{1}((0,1,x_{-2}),(1,0,z)) so the inequality holds trivially. Thus, we work in the case that ∣x1∣=1|x_{1}|=1, x2=0x_{2}=0.

Note that ∥(1,0,z)∥2=∥(−1,0,z)∥2=∥x∥2=d−1\|(1,0,z)\|_{2}=\|(-1,0,z)\|_{2}=\|x\|_{2}=\sqrt{d-1}. We have:

Now we perform a Taylor expansion of arccos⁡\arccos around ν≜x−2⊤z/(d−1)\nu\triangleq x_{-2}^{\top}z/(d-1) to get

for any ∣ν∣,∣ν+ϵ∣≤3/4|\nu|,|\nu+\epsilon|\leq 3/4. Note that this happens with probability 1−exp⁡(−Ω(d))1-\exp(-\Omega(d)) by Hoeffding’s inequality. Furthermore, for ∣ν∣≤3/4|\nu|\leq 3/4, arccos⁡′(ν)=O(1)\arccos^{\prime}(\nu)=O(1), so we get that equation B.4 can be bounded by O(1d)O(\frac{1}{d}). Next, we claim the following:

This follows simply from Taylor expansion around ν\nu setting ϵ\epsilon to ±1d−1\pm\frac{1}{d-1}. Substituting this into equation B.5 and using our bound on equation B.4, we get

Now we use the fact that x−2⊤z(1−π−1arccos⁡(x−2⊤zd−1))=K1((0,1,x−2),(1,0,z))x_{-2}^{\top}z\left(1-\pi^{-1}\arccos\left(\frac{x_{-2}^{\top}z}{d-1}\right)\right)=K_{1}((0,1,x_{-2}),(1,0,z)) to complete the proof. ∎

As before, it suffices to prove the first inequality in the case that ∣x1∣=1|x_{1}|=1, x2=0x_{2}=0. We can compute

Now we again perform a Taylor expansion, this time of g(v)=1−v2g(v)=\sqrt{1-v^{2}} around ν≜x−2⊤zd−1\nu\triangleq\frac{x_{-2}^{\top}z}{d-1}. We get

for any ∣ν∣,∣ν+ϵ∣≤3/4|\nu|,|\nu+\epsilon|\leq 3/4. Note that ∣ν∣,∣ν+ϵ∣≤3/4|\nu|,|\nu+\epsilon|\leq 3/4 with probability 1−exp⁡(−Ω(d))1-\exp(-\Omega(d)) via straightforward concentration. It follows that

Now plugging this into equation B.6 and using the fact that 1π(d−1)1−(x−2⊤zd−1)2=K2((0,1,x−2),(1,0,z))\frac{1}{\pi}(d-1)\sqrt{1-\left(\frac{x_{-2}^{\top}z}{d-1}\right)^{2}}=K_{2}((0,1,x_{-2}),(1,0,z)) gives the desired result. ∎

Now we can complete the proof of Lemma B.2.

Now with applying Lemmas B.4 and B.5 with a union bound over all ii, we get with probability 1−exp⁡(−Ω(d))1-\exp(-\Omega(d)) over the choice of zz uniform from {−1,+1}d−2\{-1,+1\}^{d-2}, for all ii

Now plugging into equation B.7 and applying triangle inequality gives us

with probablity 1−exp⁡(−Ω(d))1-\exp(-\Omega(d)) over zz for some universal constant cc. An identical argument also gives us

Finally, to lower bound the quantity Pr⁡(x,y)∼D[f(x;β)y≤0]\Pr_{(x,y)\sim\mathcal{D}}[f(x;\beta)y\leq 0], we note that if

and equation B.2 hold, then f+(z;β)f^{+}(z;\beta) and f−(z;β)f^{-}(z;\beta) will have the same sign. However, this in turn means that one of the following must hold:

which implies an incorrect predicted sign. As (1,0,z)(1,0,z), (−1,0,z)(-1,0,z), (0,1,z)(0,1,z), (0,−1,z)(0,-1,z) are all equally likely under distribution Dx\mathcal{D}_{x}, the probability of drawing one of these examples under Dx\mathcal{D}_{x} is at least

This gives the desired lower bound on Pr⁡(x,y)∼D[f(x;β)y≤0]\Pr_{(x,y)\sim\mathcal{D}}[f(x;\beta)y\leq 0]. ∎

Then for z∈{−1,+1}d−2z\in\{-1,+1\}^{d-2} distributed uniformly over the hypercube and some given z′∈{−1,+1}d−2z^{\prime}\in\{-1,+1\}^{d-2},

where z∈{−1,+1}dz\in\{-1,+1\}^{d} is a uniform vector from the hypercube.

For the degree-4 polynomial gg defined in Lemma B.6, we define

Note that by Cauchy-Schartz, ∑i=1nβi2≥1n(∑i=1n∣βi∣)2\sum_{i=1}^{n}{\beta_{i}}^{2}\geq\frac{1}{n}(\sum_{i=1}^{n}|\beta_{i}|)^{2}. It follows that if n≤c24c2d2n\leq\frac{c_{2}}{4c^{2}}d^{2}, we have

Now we can apply Bonami’s Lemma (see Chapter 9 of O’Donnell ) along with the fact that f^\hat{f} is a degree-4 polynomial in i.i.d. ±1\pm 1 variables z1,…,zd−2z_{1},\ldots,z_{d-2} to obtain

Combining this with Proposition 9.4 of O’Donnell lets us conclude that if E\mathcal{E} holds, with probability Ω(1)\Omega(1) over the random draw of zz,

holds with probability Ω(1)\Omega(1) over zz. This gives the desired result. ∎

with ∣h1(x)−g1(x)∣≤O(∣x∣5)|h_{1}(x)-g_{1}(x)|\leq O(|x|^{5}) and ∣h2(x)−g2(x)∣≤O(∣x∣5)|h_{2}(x)-g_{2}(x)|\leq O(|x|^{5}) for ∣x∣≤3/4|x|\leq 3/4. )Now we can observe that g(x)=(τ1+τ2)(d−1)g1(x)+τ2(d−1)g2(x)g(x)=(\tau_{1}+\tau_{2})(d-1)g_{1}(x)+\tau_{2}(d-1)g_{2}(x). Thus,

As ∣z⊤z′∣/(d−1)≤3/4|z^{\top}z^{\prime}|/(d-1)\leq 3/4 with probability 1−exp⁡(−Ω(d))1-\exp(-\Omega(d)), the above is bounded in absolute value by (d−1)(τ1+τ2)O((∣z⊤z′∣d−1)5)(d-1)(\tau_{1}+\tau_{2})O\left(\left(\frac{|z^{\top}z^{\prime}|}{d-1}\right)^{5}\right). Finally, by Hoeffding’s inequality ∣z⊤z′∣≤cdlog⁡d|z^{\top}z^{\prime}|\leq c\sqrt{d\log d} with probability 1−d−101-d^{-10} for some universal constant cc. This gives the desired bound. ∎

Now note that all terms in the above sum are nonnegative by Lemma B.9 and the fact that aj1,aj2≥0a_{j_{1}},a_{j_{2}}\geq 0. Thus, we can lower bound the above by the term corresponding to j1=j2=2j_{1}=j_{2}=2:

Now letting MS⊗2M^{\otimes 2}_{S} denote M⊗2M^{\otimes 2} with rows whose indices are not in SS zero’ed out, it follows that

Therefore, it suffices to show σmin⁡(M[d2]∖S⊗2⊤M[d2]∖S⊗2)≳d2\sigma_{\min}({M_{[d^{2}]\setminus S}^{\otimes 2}}^{\top}M_{[d^{2}]\setminus S}^{\otimes 2})\gtrsim d^{2} with high probability. To do this, we can simply invoke Proposition 7.9 of Soltanolkotabi et al. using ηmin⁡=ηmax⁡=d2−d\eta_{\min}=\eta_{\max}=\sqrt{d^{2}-d} and the fact that the columns of M[d2]∖S⊗2M_{[d^{2}]\setminus S}^{\otimes 2} are O(1)O(1)-sub-exponential (Claim B.8 to get that if n≤cd2n\leq cd^{2} for some universal constant cc, then σmin⁡2(M[d2]∖S⊗2)≳d2\sigma_{\min}^{2}(M_{[d^{2}]\setminus S}^{\otimes 2})\gtrsim d^{2} with probability 1−exp⁡(O(n))1-\exp(O(\sqrt{n})).

Finally, combining this with equation B.11 and equation B.10 gives the desired result. ∎

Suppose that z∼{−1,+1}dz\sim\{-1,+1\}^{d} is a uniform vector on the hypercube. Then there is a universal constant cc such that z⊗2−1⃗Sz^{\otimes{2}}-\vec{1}_{S} is cc-sub-exponential, where S≜{(i−1)d+i:i∈[d]}S\triangleq\{(i-1)d+i:i\in[d]\} is the set of indices corresponding to squared entries of z⊗2z^{\otimes{2}}.

Now we can apply Theorem 1.1 of Rudelson et al. , using the fact that ei⊤ze_{i}^{\top}z have sub-Gaussian norm 22 to get

for some universal constant c′c^{\prime}. Since this holds for all yy, we can conclude the claim statement using Lemma 5.5 of Soltanolkotabi et al. . ∎

The following lemma is useful for proving the lower bound in Lemma B.7.

Let zi∈{−1,+1}dz_{i}\in\{-1,+1\}^{d} for i∈[n]i\in[n], and let z∈{−1,+1}dz\in\{-1,+1\}^{d} be a vector sampled uniformly from the hypercube. Then for any integers p,q≥0p,q\geq 0,

Furthermore, equality holds if exactly one of pp or qq is odd.

For this proof we will use double indices on the ziz_{i} vectors, so that zi,jz_{i,j} will denote the jj-th coordinate of ziz_{i}. We will only use the symbols jj to index the vectors z,z1,…,znz,z_{1},\ldots,z_{n}. We define the functions g(z)≜∑iβi(z⊤zi)qg(z)\triangleq\sum_{i}\beta_{i}(z^{\top}z_{i})^{q} and h(z)≜∑iβi(z⊤zi)ph(z)\triangleq\sum_{i}\beta_{i}(z^{\top}z_{i})^{p}, with Fourier coefficients g^\hat{g}, h^\hat{h}, respectively, and gi(z)=(z⊤zi)qg_{i}(z)=(z^{\top}z_{i})^{q}, hi(z)=(z⊤zi)ph_{i}(z)=(z^{\top}z_{i})^{p} with Fourier coefficients g^i\hat{g}_{i}, h^i\hat{h}_{i}. We claim that for any S⊆[d]S\subseteq[d], g^(S)h^(S)≥0\hat{g}(S)\hat{h}(S)\geq 0.

for some positive integer cq,∣S∣c_{q,|S|} depending only on q,∣S∣q,|S|. We obtained equation B.13 via symmetry and the fact that (zS)2=1(z^{S})^{2}=1, zj1a1⋯zjkakzi,j1a1⋯zi,jkak=1z_{j_{1}}^{a_{1}}\cdots z_{j_{k}}^{a_{k}}z_{i,j_{1}}^{a_{1}}\cdots z_{i,j_{k}}^{a_{k}}=1, as they are squares of values in {−1,+1}\{-1,+1\}. Note that cq,∣S∣=0c_{q,|S|}=0 for ∣S∣>q|S|>q. It follows that g^(S)=cq,∣S∣∑iβiziS\hat{g}(S)=c_{q,|S|}\sum_{i}\beta_{i}z_{i}^{S}, and h^(S)=cp,∣S∣∑iβiziS\hat{h}(S)=c_{p,|S|}\sum_{i}\beta_{i}z^{S}_{i}. Thus, g^(S)h^(S)≥0∀S\hat{g}(S)\hat{h}(S)\geq 0\forall S, which means by equation B.12, we get

B.2 Proof of Theorem 2.1

We now complete the proof of Theorem 2.1. Note that the kernel lower bound follows from B.1, so it suffices to upper bound the generalization error of the neural net solution.

We first invoke Theorem C.2 to conclude that with λ=poly(n)−1\lambda=\textup{poly}(n)^{-1}, the network fNN(⋅;Θλ)f^{\textup{NN}}(\cdot;\Theta_{\lambda}) will have margin that is a constant factor approximation to the max-margin.

For neural nets with at least 4 hidden units, we now construct a neural net with a good normalized margin:

As this network has constant norm and margin 1, it has normalized margin Θ(1)\Theta(1), and therefore the max neural net margin is Ω(1)\Omega(1). Now we apply the generalization bound of Proposition D.1 to obtain

as desired. Choosing δ=n−5\delta=n^{-5} gives the desired result. Combined with the Theorem B.1 lower bound on the kernel method, this completes the proof. ∎

B.3 Regression Setting

Let fNN(⋅;Θ)f^{\textup{NN}}(\cdot;\Theta) be some two-layer neural network with mm hidden units parametrized by Θ\Theta, as in Section 2. Define the λ\lambda-regularized squared error loss

with Θλ,m∈arg min⁡ΘLλ,m(Θ)\Theta_{\lambda,m}\in\operatorname*{arg\,min}_{\Theta}L_{\lambda,m}(\Theta). Suppose there exists a width-mm network that fits the data (xi,yi)(x_{i},y_{i}) perfectly. Then as λ→0\lambda\rightarrow 0, Lλ,m(Θλ,m)→0L_{\lambda,m}(\Theta_{\lambda,m})\rightarrow 0 and ∥Θλ,m∥2→∥Θ⋆,m∥22\|\Theta_{\lambda,m}\|_{2}\rightarrow\|\Theta^{\star,m}\|_{2}^{2}, where Θ⋆,m\Theta^{\star,m} is an optimizer of the following problem:

We note that λ∥Θλ,m∥22≤Lλ,m(Θλ,m)≤Lλ,m(Θ⋆,m)=λ∥Θ⋆,m∥22\lambda\|\Theta_{\lambda,m}\|_{2}^{2}\leq L_{\lambda,m}(\Theta_{\lambda,m})\leq L_{\lambda,m}(\Theta^{\star,m})=\lambda\|\Theta^{\star,m}\|_{2}^{2}, so as λ→0\lambda\rightarrow 0, and also ∥Θλ,m∥2≤∥Θ⋆,m∥2\|\Theta_{\lambda,m}\|_{2}\leq\|\Theta^{\star,m}\|_{2}. Now assume for the sake of contradiction that ∃B\exists B with ∥Θλ,m∥2≤B<∥Θ⋆,m∥2\|\Theta_{\lambda,m}\|_{2}\leq B<\|\Theta^{\star,m}\|_{2} for arbitrarily small λ\lambda. We define

Note that r⋆>0r^{\star}>0 since Θ⋆,m\Theta^{\star,m} is optimal for equation B.14. However, Lλ,m≥r⋆L_{\lambda,m}\geq r^{\star} for arbitrarily small λ\lambda, a contradiction. Thus, lim⁡λ→0∥Θλ,m∥22=∥Θ⋆,m∥22\lim_{\lambda\rightarrow 0}\|\Theta_{\lambda,m}\|_{2}^{2}=\|\Theta^{\star,m}\|_{2}^{2}. ∎

This formulation is equivalent to a hard-margin optimization on “convex neural networks” . Bach also study optimization and generalization of convex neural networks. Using results from , our Theorem C.1 implies that optimizing weakly-regularized logistic loss over two-layer networks is equivalent to solving equation B.15 when the size of the hidden layer is at least n+1n+1. Proposition B.11 states this deduction.The factor of 12\frac{1}{2} is due the the relation that every unit-norm parameter Θ\Theta corresponds to an μ\mu in the lifted space with ∥μ∥=2\|\mu\|=2.

Appendix C Missing Material for Section 4

We will first state our analogue of Theorem 4.1 in the multi-class setting, as the proofs for the binary case will follow by reduction to the multi-class case.

We redefine the normalized margin of Θλ\Theta_{\lambda} as:

Define the ∥⋅∥\|\cdot\|-max normalized margin as

and let Θ⋆\Theta^{\star} be a parameter achieving this maximum. With these new definitions, our theorem statement for the multi-class setting is identical as the binary setting:

Assume γ⋆>0\gamma^{\star}>0 in the multi-class setting with cross entropy loss. Then as λ→0\lambda\rightarrow 0, γλ→γ⋆\gamma_{\lambda}\rightarrow\gamma^{\star}.

Since LλL_{\lambda} is typically hard to optimize exactly for neural nets, we study how accurately we need to optimize LλL_{\lambda} to obtain a margin that approximates γ⋆\gamma^{\star} up to a constant. We show that for λ\lambda polynomial in n,γ⋆n,\gamma^{\star}, and ll, it suffices to find Θ′\Theta^{\prime} achieving a constant factor α\alpha multiplicative approximation of Lλ(Θλ)L_{\lambda}(\Theta_{\lambda}) in order to have margin γ′\gamma^{\prime} satisfying γ′≥γ⋆αa/r\gamma^{\prime}\geq\frac{\gamma^{\star}}{\alpha^{a/r}}.

In the setting of Theorem C.1, suppose that we choose λ=exp⁡(−(2r/a−1)−a/r)(γ⋆)r/anc(l−1)c\lambda=\exp(-(2^{r/a}-1)^{-a/r})\frac{(\gamma^{\star})^{r/a}}{n^{c}(l-1)^{c}} for sufficiently large cc (that only depends on r/ar/a). For α≤2\alpha\leq 2, let Θ′\Theta^{\prime} denote a α\alpha-approximate minimizer of LλL_{\lambda}, so Lλ(Θ′)≤αLλ(Θλ)L_{\lambda}(\Theta^{\prime})\leq\alpha L_{\lambda}(\Theta_{\lambda}). Denote the normalized margin of Θ′\Theta^{\prime} by γ′\gamma^{\prime}. Then γ′≥γ⋆10⋅αa/r.\gamma^{\prime}\geq\frac{\gamma^{\star}}{10\cdot\alpha^{a/r}}.

Towards proving Theorem C.1, we first prove that LλL_{\lambda} does indeed have a global minimizer.

In the setting of Theorems C.1 and 4.1, arg min⁡ΘLλ(Θ)\operatorname*{arg\,min}_{\Theta}L_{\lambda}(\Theta) exists.

We will argue in the setting of Theorem C.1 where LλL_{\lambda} is the multi-class cross entropy loss, because the logistic loss case is analogous. We first note that LλL_{\lambda} is continuous in Θ\Theta because ff is continuous in Θ\Theta and the term inside the logarithm is always positive. Next, define b≜inf⁡ΘLλ(Θ)>0b\triangleq\inf_{\Theta}L_{\lambda}(\Theta)>0. Then we note that for ∥Θ∥>(b/λ)1/r≜M\|\Theta\|>(b/\lambda)^{1/r}\triangleq M, we must have Lλ(Θ)>bL_{\lambda}(\Theta)>b. It follows that inf⁡∥Θ∥≤MLλ(Θ)=inf⁡ΘLλ(Θ)\inf_{\|\Theta\|\leq M}L_{\lambda}(\Theta)=\inf_{\Theta}L_{\lambda}(\Theta). However, there must be a value Θλ\Theta_{\lambda} which attains inf⁡∥Θ∥≤MLλ(Θ)\inf_{\|\Theta\|\leq M}L_{\lambda}(\Theta), because {Θ:∥Θ∥≤M}\{\Theta:\|\Theta\|\leq M\} is a compact set and LλL_{\lambda} is continuous. Thus, inf⁡ΘLλ(Θ)\inf_{\Theta}L_{\lambda}(\Theta) is attained by some Θλ\Theta_{\lambda}. ∎

Next we present the following lemma, which says that as we decrease λ\lambda, the norm of the solution ∥Θλ∥\|\Theta_{\lambda}\| grows.

In the setting of Theorem C.1, as λ→0\lambda\rightarrow 0, we have ∥Θλ∥→∞\|\Theta_{\lambda}\|\rightarrow\infty.

To prove Theorem C.1, we rely on the exponential scaling of the cross entropy: LλL_{\lambda} can be lower bounded roughly by exp⁡(−∥Θλ∥γλ)\exp(-\|\Theta_{\lambda}\|\gamma_{\lambda}), but also has an upper bound that scales with exp⁡(−∥Θλ∥γ⋆)\exp(-\|\Theta_{\lambda}\|\gamma^{\star}). By Lemma C.4, we can take large ∥Θλ∥\|\Theta_{\lambda}\| so the gap γ⋆−γλ\gamma^{\star}-\gamma_{\lambda} vanishes. This proof technique is inspired by that of Rosset et al. .

For any M>0M>0 and Θ\Theta with γΘ≜min⁡i(f(xi;Θˉ)−max⁡j≠yif(xi;Θˉ))\gamma_{\Theta}\triangleq\min_{i}\left(f(x_{i};\bar{\Theta})-\max_{j\neq y_{i}}f(x_{i};\bar{\Theta})\right),

We can also apply ∑j≠yiexp⁡(Ma(fj(xi;Θ)−fyi(xi;Θ)))≥max⁡exp⁡(Ma(fj(xi;Θ)−fyi(xi;Θ)))=exp⁡γΘ\sum_{j\neq y_{i}}\exp(M^{a}(f_{j}(x_{i};\Theta)-f_{y_{i}}(x_{i};\Theta)))\geq\max\exp(M^{a}(f_{j}(x_{i};\Theta)-f_{y_{i}}(x_{i};\Theta)))=\exp\gamma_{\Theta} in order to lower bound equation C.3 and obtain

Applying equation C.4 with M=∥Θλ∥M=\|\Theta_{\lambda}\| and Θ=Θ⋆\Theta=\Theta^{\star}, noting that ∥Θ⋆∥≤1\|\Theta^{\star}\|\leq 1, we have:

Next we lower bound Lλ(Θλ)L_{\lambda}(\Theta_{\lambda}) by applying equation C.5,

Combining equation C.6 and equation C.7 with the fact that Lλ(Θλ)≤Lλ(Θ⋆∥Θλ∥)L_{\lambda}(\Theta_{\lambda})\leq L_{\lambda}(\Theta^{\star}\|\Theta_{\lambda}\|) (by the global optimality of Θλ\Theta_{\lambda}), we have

Recall that by Lemma C.4, as λ→0\lambda\rightarrow 0, we have ∥Θλ∥→∞\|\Theta_{\lambda}\|\rightarrow\infty. Therefore, exp⁡(−∥Θλ∥aγ⋆),exp⁡(−∥Θλ∥aγλ)→0\exp(-\|\Theta_{\lambda}\|^{a}\gamma^{\star}),\exp(-\|\Theta_{\lambda}\|^{a}\gamma_{\lambda})\rightarrow 0. Thus, we can apply Taylor expansion to the equation above with respect to exp⁡(−∥Θλ∥aγ⋆)\exp(-\|\Theta_{\lambda}\|^{a}\gamma^{\star}) and exp⁡(−∥Θλ∥aγλ)\exp(-\|\Theta_{\lambda}\|^{a}\gamma_{\lambda}). If max⁡{exp⁡(−∥Θλ∥aγ⋆),exp⁡(−∥Θλ∥aγλ)}<1\max\{\exp(-\|\Theta_{\lambda}\|^{a}\gamma^{\star}),\exp(-\|\Theta_{\lambda}\|^{a}\gamma_{\lambda})\}<1, then we obtain

Finally, we have γλ≤γ⋆\gamma_{\lambda}\leq\gamma^{\star} by definition of γ⋆\gamma^{\star}. Hence, lim⁡λ→0γλ\lim_{\lambda\rightarrow 0}\gamma_{\lambda} exists and equals γ⋆\gamma^{\star}. ∎

For the sake of contradiction, we assume that ∃C>0\exists C>0 such that for any λ0>0\lambda_{0}>0, there exists 0<λ<λ00<\lambda<\lambda_{0} with ∥Θλ∥≤C\|\Theta_{\lambda}\|\leq C. We will determine the choice of λ0\lambda_{0} later and pick λ\lambda such that ∥Θλ∥≤C\|\Theta_{\lambda}\|\leq C. Then the logits (the prediction fj(xi;Θ)f_{j}(x_{i};\Theta) before softmax) are bounded in absolute value by some constant (that depends on CC), and therefore the loss function −log⁡exp⁡(fyi(xi;Θ))∑j=1lexp⁡(fj(xi;Θ))-\log\frac{\exp(f_{y_{i}}(x_{i};\Theta))}{\sum_{j=1}^{l}\exp(f_{j}(x_{i};\Theta))}for every example is bounded from below by some constant D>0D>0 (depending on CC but not λ\lambda.)

Taking a sufficiently small λ0\lambda_{0}, we obtain a contradiction and complete the proof. ∎

C.2 Missing Proof for Optimization Accuracy

Choose B≜(1γ⋆log⁡(l−1)(γ⋆)r/aλ)1/aB\triangleq\left(\frac{1}{\gamma^{\star}}\log\frac{(l-1)(\gamma^{\star})^{r/a}}{\lambda}\right)^{1/a}. We can upper bound Lλ(Θ′)L_{\lambda}(\Theta^{\prime}) by computing

Furthermore, it holds that ∥Θ′∥r≤L(UB)λ\|\Theta^{\prime}\|^{r}\leq\frac{L^{(UB)}}{\lambda}. Now we note that

for sufficiently large cc depending only on a/ra/r. Now using the fact that log⁡(x)≥x1+x ∀x≥−1\log(x)\geq\frac{x}{1+x}\ \forall x\geq-1, we additionally have the lower bound Lλ(Θ′)≥1nlog⁡(1+exp⁡(−γ′∥Θ′∥a))≥1nexp⁡(−γ′∥Θ′∥a)1+exp⁡(−γ′∥Θ′∥a)L_{\lambda}(\Theta^{\prime})\geq\frac{1}{n}\log(1+\exp(-\gamma^{\prime}\|\Theta^{\prime}\|^{a}))\geq\frac{1}{n}\frac{\exp(-\gamma^{\prime}\|\Theta^{\prime}\|^{a})}{1+\exp(-\gamma^{\prime}\|\Theta^{\prime}\|^{a})}. Since L(UB)≤1L^{(UB)}\leq 1, we can rearrange to get

The middle inequality followed because x1−x\frac{x}{1-x} is increasing in xx for 0≤x<10\leq x<1, and the last because L(UB)≤12nL^{(UB)}\leq\frac{1}{2n}. Since −log⁡2nL(UB)>0-\log 2nL^{(UB)}>0 we can also apply the bound ∥Θ′∥r≤L(UB)λ\|\Theta^{\prime}\|^{r}\leq\frac{L^{(UB)}}{\lambda} to get

We will first bound ♣\clubsuit. First note that

where the last inequality follows from the fact that (γ⋆)r/aλ≥nc(l−1)c\frac{(\gamma^{\star})^{r/a}}{\lambda}\geq n^{c}(l-1)^{c} and α≤2\alpha\leq 2. Next, using the fact that log⁡(γ⋆)r/aλ≥1(2r/a−1)a/r\log\frac{(\gamma^{\star})^{r/a}}{\lambda}\geq\frac{1}{(2^{r/a}-1)^{a/r}}, we note that

Combining equation C.8 and equation C.9, we can conclude that

Finally, we note that if 1+(log⁡(l−1)(γ⋆)r/aλ)r/a1+\left(\log\frac{(l-1)(\gamma^{\star})^{r/a}}{\lambda}\right)^{r/a} is a sufficiently large constant that depends only on a/ra/r (which can be achieved by choosing cc sufficiently large) it will follow that ♡≤110\heartsuit\leq\frac{1}{10}. Thus, for sufficiently large c≥5c\geq 5, we can combine our bounds on ♣\clubsuit and ♡\heartsuit to get that

C.3 Proofs of Theorem 4.1

For completeness, we will now prove Theorem 4.1 via reduction to the multi-class cases. Recall that we now fit binary labels yi∈{−1,+1}y_{i}\in\{-1,+1\} (as opposed to indices in [l][l]) and redefine f(⋅;Θ)f(\cdot;\Theta) to assign a single real-valued score (as opposed to a score for each label). We also work with the simpler logistic loss in equation 4.1.

Appendix D Generalization Bounds for Neural Nets

[Straightforward consequence of Golowich et al. [25, Theorem 1]] Suppose ϕ\phi is 1-Lipschitz and 11-positive-homogeneous. With probability at least 1−δ1-\delta over the draw of X,YX,Y, for all depth-qq networks fNN(⋅;Θ)f^{\textup{NN}}(\cdot;\Theta) separating the data with normalized margin γ≜min⁡iyifNN(xi;Θ/∥Θ∥F)>0\gamma\triangleq\min_{i}y_{i}f^{\textup{NN}}(x_{i};\Theta/\|\Theta\|_{F})>0,

where ϵ(γ)≜log⁡log⁡24Cγn+log⁡(1/δ)n\epsilon(\gamma)\triangleq\sqrt{\frac{\log\log_{2}\frac{4C}{\gamma}}{n}}+\sqrt{\frac{\log(1/\delta)}{n}} and C=max⁡x∈X∥x∥2C=\max_{x\in\mathcal{X}}\|x\|_{2} is the max norm of the data. Note that ϵ(γ)\epsilon(\gamma) is typically small, and thus the above bound mainly scales with Cγq(q−1)/2n\frac{C}{\gamma q^{(q-1)/2}\sqrt{n}}. Although the 1K(K−1)/2\frac{1}{K^{(K-1)/2}} factor of equation D.1 decreases with depth KK, the margin γ\gamma will also tend to decrease as the constraint ∥Θˉ∥F≤1\|\bar{\Theta}\|_{F}\leq 1 becomes more stringent.

We note that Proposition D.1 is stated directly in terms of the normalized margin in order to maintain consistency in our notation, whereas prior works state their results using a ratio between unnormalized margin and norms of the weight matrices . We provide the proof in the following section.

We prove the generalization error bounds stated in Proposition D.1 via Rademacher complexity and margin theory.

Assume that our data X,YX,Y are drawn i.i.d. from ground truth distribution pdatap_{\rm{data}} supported on X×Y\mathcal{X}\times\mathcal{Y}. For some hypothesis class F\mathcal{F} of real-valued functions, we define the empirical Rademacher complexity R^(F)\hat{\mathfrak{R}}(\mathcal{F}) as follows:

where ϵi\epsilon_{i} are independent Rademacher random variables. For a classifier ff, following the notation of Section 4.1 we will use L(f)≜Pr⁡(x,y)∼pdata(yf(x)≤0)L(f)\triangleq\Pr_{(x,y)\sim p_{\rm{data}}}(yf(x)\leq 0) to denote the population 0-1 loss of the classifier ff. The following classical theorem , bounds generalization error in terms of the Rademacher complexity and margin loss.

Let (xi,yi)i=1n(x_{i},y_{i})_{i=1}^{n} be drawn iid from pdatap_{\rm{data}}. We work in the binary classification setting, so Y={−1,1}\mathcal{Y}=\{-1,1\}. Assume that for all f∈Ff\in\mathcal{F}, we have sup⁡x∈X∣f(x)∣≤C\sup_{x\in\mathcal{X}}|f(x)|\leq C. Then with probability at least 1−δ1-\delta over the random draws of the data, for every γ>0\gamma>0 and f∈Ff\in\mathcal{F},

We will prove Proposition D.1 by applying the Rademacher complexity bounds of Golowich et al. with Theorem D.2.

Define the hypothesis class Fq\mathcal{F}_{q} over depth-qq neural networks by

Let C≜sup⁡x∈X∥x∥2C\triangleq\sup_{x\in\mathcal{X}}\|x\|_{2}. Recall that L(Θ)L(\Theta) denotes the 0-1 population loss L(f(⋅;Θ))L(f(\cdot;\Theta)). Then for any f(⋅;Θ)∈Fqf(\cdot;\Theta)\in\mathcal{F}_{q} classifying the training data correctly with unnormalized margin γΘ≜min⁡iyif(xi;Θ)>0\gamma_{\Theta}\triangleq\min_{i}y_{i}f(x_{i};\Theta)>0, with probability at least 1−δ1-\delta,

Note the dependence on the unnormalized margin rather than the normalized margin.

We first claim that sup⁡f(⋅;Θ)∈Fqsup⁡x∈Xf(x;Θ)≤C\sup_{f(\cdot;\Theta)\in\mathcal{F}_{q}}\sup_{x\in\mathcal{X}}f(x;\Theta)\leq C. To see this, for any f(⋅;Θ)∈Fqf(\cdot;\Theta)\in\mathcal{F}_{q},

Furthermore, by Theorem 1 of Golowich et al. , R^(Fq)\hat{\mathfrak{R}}(\mathcal{F}_{q}) has upper bound

Thus, we can apply Theorem D.2 to conclude that for all f(⋅;Θ)∈Fqf(\cdot;\Theta)\in\mathcal{F}_{q} and all γ>0\gamma>0, with probability 1−δ1-\delta,

In particular, by definition choosing γ=γΘ\gamma=\gamma_{\Theta} makes the first term on the LHS vanish and gives the statement of the lemma. ∎

To conclude Corollary 4.2, we apply the above on Θλ,M\Theta_{\lambda,\mathcal{M}} and use Theorem 4.1.

Applying the statement of Proposition D.1, with probability 1−δ1-\delta, for all λ>0\lambda>0,

Now we take the lim sup⁡\limsup of both sides as λ→0\lambda\rightarrow 0:

Appendix E Missing Proofs in Section 3

We first write our regularity assumptions on Φ\Phi, RR, and VV in more detail:

RR is convex, nonnegative, Lipschitz, and smooth: ∃MR,CR\exists M_{R},C_{R} such that ∥∇2R∥op≤CR\|\nabla^{2}R\|_{op}\leq C_{R}, and ∥∇R∥2≤MR\|\nabla R\|_{2}\leq M_{R}.

We state the version of Theorem 3.3 that collects these parameters:

Suppose that Φ\Phi and VV are 2-homogeneous and Assumptions E.1, E.2, and E.3 hold. Fix a desired error threshold ϵ>0\epsilon>0. Suppose that from a starting distribution ρ0\rho_{0}, a solution to the dynamics in equation 3.2 exists. Choose

Then it must hold that min⁡0≤t≤tϵL[ρt]−inf⁡ρL[ρ]≤2ϵ\min_{0\leq t\leq t_{\epsilon}}L[\rho_{t}]-\inf_{\rho}L[\rho]\leq 2\epsilon.

E.2 Proof Outline of Theorem E.4

In this section, we will provide an outline of the proof of Theorem E.4. We will fill in the missing details in Section E.3.

Choose any t≤σBL/bVt\leq\sigma B_{L}/b_{V}. For all 0≤t′≤t0\leq t^{\prime}\leq t, Wt′2≤L[ρ0]+σtBLbV−tσBLW_{t^{\prime}}^{2}\leq\frac{L[\rho_{0}]+\sigma tB_{L}}{b_{V}-t\sigma B_{L}}. In particular, for all t≤tϵt\leq t_{\epsilon}, we have Wt≤WϵW_{t}\leq W_{\epsilon}, where WϵW_{\epsilon} is defined as follows:

where WϵW_{\epsilon} is defined as in equation E.1.

The proof of Lemma E.6 intuitively holds because in order for L′[ρt](θˉ)L^{\prime}[\rho_{t}](\bar{\theta}) to change by a large amount, the gradient flow dynamics must have shifted ρt\rho_{t} by some amount, which would have resulted in some decrease of the objective L[ρt]L[\rho_{t}]. We will rely on the 2-homogeneity of Φ\Phi to formalize this argument.

Next, we will rely on the convexity of LL: letting ρ⋆\rho^{\star} be an ϵ\epsilon-approximate global optimizer of LL, since LL is convex in ρ\rho, we have

For the first case, we have the following guarantee that the objective decreases by a large amount:

For any time tt with 0≤t≤tϵ0\leq t\leq t_{\epsilon}, we have

Lemma E.7 relies on the 2-homogeneity of Φ\Phi and RR and is proven via arguing that the gradient flow dynamics will result in a large shift in ρt\rho_{t} and therefore substantial decrease in loss.

For the second case, we will show that the σUd\sigma U^{d} noise term will cause mass to grow exponentially fast in this descent direction until we make progress in decreasing the objective.

Fix any τ>0\tau>0. Choose time interval length ll by

Here c1c_{1} is the constant defined in Lemma E.6 and c2c_{2} is defined by c2≜kMRMΦ+MVc_{2}\triangleq\sqrt{k}M_{R}M_{\Phi}+M_{V}.

Lemma E.8 is proven via the following argument: first, if L′[ρt](θˉ)L^{\prime}[\rho_{t}](\bar{\theta}) is close to −τ-\tau for all t∈[t∗,t∗+l]t\in[t^{*},t^{*}+l], then from the 2-homogeneity of Φ\Phi and RR, the mass of ρt\rho_{t} in the neighborhood around θˉ\bar{\theta} will grow exponentially fast, leading to a violation of Lemma E.5. (Because of the uniform noise injected into the gradient flow dynamics, ρt\rho_{t} will always have some mass in the neighborhood of θˉ\bar{\theta} to start with.) Thus, it follows that L′[ρt](θˉ)L^{\prime}[\rho_{t}](\bar{\theta}) must change by at least τ/4\tau/4, allowing us to invoke Lemma E.6 to argue that the objective must drop.

Lemmas E.7 and E.8 are enough to ensure that the objective will always decrease a sufficient amount after some polynomial-size time interval. This allows us to complete the proof of Theorem E.4 below:

Now we bound the suboptimality of ρt\rho_{t}: since LL is convex in ρ\rho,

Now let l\triangleq\frac{W_{\epsilon}^{2}}{\epsilon-2W^{2}_{\epsilon}\sigma}\big{(}2\log\frac{W_{\epsilon}^{2}}{\sigma}+2d\log\frac{4W_{\epsilon}^{2}c_{2}}{\epsilon}\big{)}, which satisfies Lemma E.8 with the value of τ\tau later specified. Suppose that there is a tt with 0≤t≤tϵ−2l0\leq t\leq t_{\epsilon}-2l and ∀t′∈[t,t+2l]\forall t^{\prime}\in[t,t+2l], L[ρt′]−L⋆≥2ϵL[\rho_{t^{\prime}}]-L^{\star}\geq 2\epsilon. Then L[ρt′]−L[ρ⋆]≥ϵL[\rho_{t^{\prime}}]-L[\rho^{\star}]\geq\epsilon. We will argue that the objective decreases when we are ϵ\epsilon suboptimal:

Using equation E.6 and Wϵ≥W⋆W_{\epsilon}\geq W^{\star}, we first note that

Furthermore, from Lemma E.13, L[ρt+2l]−L[ρt′+l]≤σlc1(Wϵ2+1)L[\rho_{t+2l}]-L[\rho_{t^{\prime}+l}]\leq\sigma lc_{1}(W_{\epsilon}^{2}+1) and L[ρt′]−L[ρt]≤σlBL(Wϵ2+1)L[\rho_{t^{\prime}}]-L[\rho_{t}]\leq\sigma lB_{L}(W_{\epsilon}^{2}+1), and so combining gives

Therefore, applying Lemma E.13 again gives

For the simplicity, in the remaining computation, we will use O(⋅)O(\cdot) notation to hide polynomials in the problem parameters besides d,ϵd,\epsilon. We simply write σ=exp⁡(−c3dlog⁡(1/ϵ))\sigma=\exp(-c_{3}d\log(1/\epsilon)). Recall our choice tϵ≜O(d2ϵ4log⁡2(1/ϵ))t_{\epsilon}\triangleq O(\frac{d^{2}}{\epsilon^{4}}\log^{2}(1/\epsilon)). It suffices to show that our objective would have sufficiently decreased in tϵt_{\epsilon} steps. We first note that with c3c_{3} sufficiently large, Wϵ2=O(L[ρ0]/bv)=O(1)W_{\epsilon}^{2}=O(L[\rho_{0}]/b_{v})=O(1). Simplifying our expression for ll, we get that l=O(dϵlog⁡1ϵ)l=O(\frac{d}{\epsilon}\log\frac{1}{\epsilon}), so long as σWϵ2=o(ϵ)\sigma W_{\epsilon}^{2}=o(\epsilon), which holds for sufficiently large c3c_{3}. Now let

Again, for sufficiently large c3c_{3}, the terms with σ\sigma become negligible, and δ1=O(ϵ2l)=O(ϵ3dlog⁡(1/ϵ))\delta_{1}=O(\frac{\epsilon^{2}}{l})=O(\frac{\epsilon^{3}}{d\log(1/\epsilon)}). Likewise, δ2=O(dϵlog⁡(1/ϵ))\delta_{2}=O(d\epsilon\log(1/\epsilon)).

Thus, if by time tt we have not encountered 2ϵ2\epsilon-optimal ρt\rho_{t}, then we will decrease the objective by O(ϵ3dlog⁡(1/ϵ))O(\frac{\epsilon^{3}}{d\log(1/\epsilon)}) in O(dϵlog⁡1ϵ)O(\frac{d}{\epsilon}\log\frac{1}{\epsilon}) time. Therefore, a total of O(d2ϵ4log⁡2(1/ϵ))O(\frac{d^{2}}{\epsilon^{4}}\log^{2}(1/\epsilon)) time is sufficient to obtain ϵ\epsilon accuracy. ∎

In the following section, we will complete the proofs of Lemmas E.5, E.6, E.7, and E.8.

E.3 Missing Proofs for Theorem E.4

In this section, we complete the proofs of Lemmas E.5, E.6, E.7, and E.8. We first collect some general lemmas which will be useful in these proofs. The following general lemma computes integrals over vector field divergences.

The proof follows from integration by parts. ∎

We note that ρt\rho_{t} will satisfy the boundedness condition of Lemma E.9 during the course of our algorithm - ρ0\rho_{0} starts with this property, and Lemma E.5 proves that ρt\rho_{t} will continue to have this property. We therefore freely apply Lemma E.9 in the remaining proofs. Now we bound the absolute value of L′[ρt]L^{\prime}[\rho_{t}] over the sphere by BLB_{L}.

The next lemma analyzes the decrease in L[ρt]L[\rho_{t}] due to the gradient flow dynamics.

Under the perturbed Wasserstein gradient flow

where we use Lemma E.9 with h1=L′[ρt]h_{1}=L^{\prime}[\rho_{t}] and h2=v[ρt]h_{2}=v[\rho_{t}]. ∎

By combining the above Lemma with Lemma E.10, it follows that at the decrease in objective value is approximately the average velocity of all parameters under ρt\rho_{t} plus some additional noise on the scale of σ\sigma. At the end, we choose σ\sigma small enough so that the noise terms essentially do not matter.

We can bound ddtL[ρt]\frac{d}{dt}L[\rho_{t}] by

Corollary E.12 implies that if we run the dynamics for a short time, the second moment of ρt\rho_{t} will grow slowly, again at a rate that is roughly the scale of the noise σ\sigma. This allows us to complete the proof of Lemma E.5.

Let t∗≜arg max⁡t′∈[0,t]Wt′2t^{*}\triangleq\operatorname*{arg\,max}_{t^{\prime}\in[0,t]}W_{t^{\prime}}^{2}. Integrating both sides of equation E.11, and rearranging, we get

Now since RR is nonnegative, we apply L[ρt∗]≥Eθ∼ρt∗[V(θ)]≥Eθ∼ρt∗[V(θˉ)∥θ∥22]≥bVWt∗2L[\rho_{t^{*}}]\geq E_{\theta\sim\rho_{t^{*}}}[V(\theta)]\geq E_{\theta\sim\rho_{t^{*}}}[V(\bar{\theta})\|\theta\|_{2}^{2}]\geq b_{V}W_{t^{*}}^{2}. We now plug this in and rearrange to get Wt′2≤Wt∗2≤L[ρ0]+t∗σBLbV−t∗σBL≤L[ρ0]+tσBLbV−tσBL ∀0≤t′≤tW_{t^{\prime}}^{2}\leq W_{t^{*}}^{2}\leq\frac{L[\rho_{0}]+t^{*}\sigma B_{L}}{b_{V}-t^{*}\sigma B_{L}}\leq\frac{L[\rho_{0}]+t\sigma B_{L}}{b_{V}-t\sigma B_{L}}\ \forall 0\leq t^{\prime}\leq t.

From the proof above, it immediately follows that ∀0≤t≤tϵ\forall 0\leq t\leq t_{\epsilon}, Wt2≤Wϵ2W_{t}^{2}\leq W_{\epsilon}^{2}. ∎

The next statement allows us to argue that our dynamics will never increase the objective by too much.

For any t1,t2t_{1},t_{2} with 0≤t1≤t2≤tϵ0\leq t_{1}\leq t_{2}\leq t_{\epsilon}, L[ρt2]−L[ρt1]≤σ(t2−t1)BL(Wϵ2+1)L[\rho_{t_{2}}]-L[\rho_{t_{1}}]\leq\sigma(t_{2}-t_{1})B_{L}(W_{\epsilon}^{2}+1).

From Corollary E.12, ∀t∈[t1,t2]\forall t\in[t_{1},t_{2}] we have

Integrating from t1t_{1} to t2t_{2} gives the desired result. ∎

The following lemma bounds the change in expectation of a 2-homogeneous function over ρt\rho_{t}. At a high level, we lower bound the decrease in our loss as a function of the change in this expectation. By applying this lemma, we will be able to prove Lemma E.6.

Let Q(t)≜∫hdρtQ(t)\triangleq\int hd\rho_{t}. We can compute:

Note that the first two terms are bounded by σB(Wϵ2+1)\sigma B(W_{\epsilon}^{2}+1) by the assumptions for the lemma. For the third term, we have from Lemma E.9:

Plugging this into equation E.13, we get that

Recall that L′[ρt](θˉ)=⟨∇R(∫Φdρt),Φ(θˉ)⟩+V(θˉ)L^{\prime}[\rho_{t}](\bar{\theta})=\langle\nabla R(\int\Phi d\rho_{t}),\Phi(\bar{\theta})\rangle+V(\bar{\theta}). Differentiating with respect to tt,

Integrating and applying the same reasoning to −L′[ρt]-L^{\prime}[\rho_{t}] gives us equation E.2. Now we apply Lemma E.14 to get

We plug this into equation E.14 and then integrate both sides to obtain

Using c1≜max⁡{kCRBΦ2,kCRBΦMΦ,BL}c_{1}\triangleq\max\{kC_{R}B_{\Phi}^{2},kC_{R}B_{\Phi}M_{\Phi},B_{L}\} gives the statement in the lemma. ∎

Now we will fill in the proof of Lemma E.8. We first show that L′L^{\prime} is Lipschitz on the unit ball. Recall that in the statement of Lemma E.8, we define a constant c2c_{2} by c2≜kMRMΦ+MVc_{2}\triangleq\sqrt{k}M_{R}M_{\Phi}+M_{V}.

Using the definition of L′L^{\prime} and triangle inequality,

If Kt−τK_{t}^{-\tau} is nonempty, for 0≤δ≤τ0\leq\delta\leq\tau, log⁡m(Kt−τ+δ)≥−2dlog⁡c2δ\log m(K_{t}^{-\tau+\delta})\geq-2d\log\frac{c_{2}}{\delta}.

Let θˉ∈Kt−τ\bar{\theta}\in K_{t}^{-\tau}. From Lemma E.15, L′[ρ](θˉ′)≤−τ+δL^{\prime}[\rho](\bar{\theta}^{\prime})\leq-\tau+\delta for all θˉ′\bar{\theta}^{\prime} with ∥θˉ′−θˉ∥2≤δc2\|\bar{\theta}^{\prime}-\bar{\theta}\|_{2}\leq\frac{\delta}{c_{2}}. Thus, we have

Now the statement follows by Lemma 2.3 of . ∎

Finally, the proof of Lemma E.8 will require a general lemma about the magnitude of the gradient of a 2-homogeneous function in the radial direction.

We have h(θ+αθˉ)=(∥θ∥2+α)2h(θˉ)h(\theta+\alpha\bar{\theta})=(\|\theta\|_{2}+\alpha)^{2}h(\bar{\theta}). Differentiating both sides with respect to α\alpha and evaluating the derivative at 0, we get θˉ⊤∇h(θ)=2∥θ∥2h(θˉ)\bar{\theta}^{\top}\nabla h(\theta)=2\|\theta\|_{2}h(\bar{\theta}), as desired. ∎

For all s≤ls\leq l, Kt∗+s−τ+z(s)K_{t^{*}+s}^{-\tau+z(s)} is nonempty.

By assumption, ∃θˉ\exists\bar{\theta} with θˉ∈Kt∗−τ\bar{\theta}\in K_{t^{*}}^{-\tau}. Then L′[ρt∗+s](θˉ)≤L′[ρt∗](θˉ)+z(s)≤−τ+z(s)L^{\prime}[\rho_{t^{*}+s}](\bar{\theta})\leq L^{\prime}[\rho_{t^{*}}](\bar{\theta})+z(s)\leq-\tau+z(s), so Kt∗+s−τ+z(s)K_{t^{*}+s}^{-\tau+z(s)} is nonempty. ∎

Let Ts≜Kt∗+s−τ/2+z(s)T_{s}\triangleq K_{t^{*}+s}^{-\tau/2+z(s)} for 0≤s≤l0\leq s\leq l. We now argue that this set TsT_{s} does not shrink as tt increases.

For all s′>ss^{\prime}>s, Ts′⊇TsT_{s^{\prime}}\supseteq T_{s}.

From equation E.14 and the definition of z(s)z(s), ∣L′[ρt+s′](θˉ)−L′[ρt+s](θˉ)∣≤z(s′)−z(s)|L^{\prime}[\rho_{t+s^{\prime}}](\bar{\theta})-L^{\prime}[\rho_{t+s}](\bar{\theta})|\leq z(s^{\prime})-z(s). It follows that for θˉ∈Ts\bar{\theta}\in T_{s}

which means that θˉ∈Ts′\bar{\theta}\in T_{s^{\prime}}. ∎

Now we show that the weight of the particles in TsT_{s} grows very fast if z(k)z(k) is small.

Furthermore, since Kt∗+s−τ+z(s)K_{t^{*}+s}^{-\tau+z(s)} is nonempty by Claim E.18, we can apply Lemma E.16 and obtain

Plugging equation E.17 and equation E.18 back into equation E.16, we get

and so N′(s)≥(τ−σ)N(s)+σβN^{\prime}(s)\geq(\tau-\sigma)N(s)+\sigma\beta. ∎

Using Claim E.20 allows us to complete the proof of Lemma E.8.

If z(l)=CRBΦ∫tt+l∥Q′(t)∥1≥τ4z(l)=C_{R}B_{\Phi}\int_{t}^{t+l}\|Q^{\prime}(t)\|_{1}\geq\frac{\tau}{4}, then by rearranging the conclusion of Lemma E.6 we immediately get equation E.5.

Suppose for the sake of contradiction that z(l)≤τ/4z(l)\leq\tau/4. From Claim E.20, it follows that N(1)≥σβN(1)\geq\sigma\beta, and N(l)≥exp⁡((τ−σ)(l−1))N(1)N(l)\geq\exp((\tau-\sigma)(l-1))N(1). Thus, in log⁡(Wϵ2/σ)+2dlog⁡2c2ττ−σ+1\frac{\log(W_{\epsilon}^{2}/\sigma)+2d\log\frac{2c_{2}}{\tau}}{\tau-\sigma}+1 time, Wt∗+l≥N(l)≥Wϵ2W_{t^{*}+l}\geq N(l)\geq W_{\epsilon}^{2}, a contradiction. Therefore, it must be true that z(l)≥τ/4z(l)\geq\tau/4.

Finally, we fill in the proof of Lemma E.7.

E.4 Discrete-Time Optimization

To circumvent the technical issue of existence of a solution to the continuous-time dynamics, we also note that polynomial time convergence holds for discrete-time updates.

Along with Assumptions E.1, E.2, E.3 additionally assume that ∇Φi\nabla\Phi_{i} and ∇V\nabla V are CΦC_{\Phi} and CVC_{V}-Lipschitz, respectively. Let ρt\rho_{t} evolve according to the following discrete-time update:

such that min⁡0≤t≤tϵL[ρt]−L⋆≤ϵ\min_{0\leq t\leq t_{\epsilon}}L[\rho_{t}]-L^{\star}\leq\epsilon.

The proof follows from a standard conversion of the continuous-time proof of Theorem E.4 to discrete time, and we omit it here for simplicity.

Appendix F Additional Simulations

In this section we provide more details on the simulations described in Section 5. The experiments were small enough to run on a standard computer, though we used a single NVIDIA TitanXp GPU. We decided the value of regularization λ\lambda based on the training length - longer training time meant we could use smaller λ\lambda.

To justify Theorem 4.3, we also plot the dependence of the test error and margin on the hidden layer size in Figure 3 for synthetic data generated from a ground truth network with 1010 hidden units and also MNIST. The plots indicate that test error is decreasing in hidden layer size while margin is increasing, as Theorem 4.3 predicts. We train the networks for a long time in this experiment: we train for 80000 passes on the synthetic data and 600 epochs for MNIST.

The left side of Figure 3 shows the experimental results for synthetic data generated from a ground truth network with 1010 hidden units, input dimension d=20d=20, and a ground truth unnormalized margin of at least 0.010.01. We train for 80000 steps with learning rate 0.10.1 and λ=10−5\lambda=10^{-5}, using two-layer networks with 2i2^{i} hidden units for ii ranging from 4 to 10. We perform 20 trials per hidden layer size and plot the average over trials where the training error hit 0. (At a hidden layer size of 272^{7} or greater, all trials fit the training data perfectly.) The right side of Figure 3 demonstrates the same experiment, but performed on MNIST with hidden layer sizes of 2i2^{i} for ii ranging from 66 to 1515. We train for 600 epochs using a learning rate of 0.01 and λ=10−6\lambda=10^{-6} and use a single trial per plot point. For MNIST, all trials fit the training data perfectly. The MNIST experiments are more noisy because we run one trial per plot point for MNIST, but the same trend of decreasing test error and increasing margin still holds.

F.2 Neural Net and Kernel Generalization vs. Training Set Size

For classification we plot 0-1 error, whereas for regression we plot squared error. The plots show that two-layer nets clearly outperform the kernel method in test error as nn grows.

F.3 Verifying Convergence to the Max-Margin