What Can ResNet Learn Efficiently, Going Beyond Kernels?

Zeyuan Allen-Zhu, Yuanzhi Li

Introduction

Neural network learning has become a key practical machine learning approach and has achieved remarkable success in a wide range of real-world domains, such as computer vision, speech recognition, and game playing . On the other hand, from a theoretical standpoint, it is less understood that how large-scale, non-convex, non-smooth neural networks can be optimized efficiently over the training data and generalize to the test data with relatively few training examples.

There has been a sequence of research trying to address this question, showing that under certain conditions neural networks can be learned efficiently . These provable guarantees typically come with strong assumptions and the proofs heavily rely on them. One common assumption from them is on the input distribution, usually being random Gaussian or sufficiently close to Gaussian. While providing great insights to the optimization side of neural networks, it is not clear whether these works emphasizing on Gaussian inputs can coincide with the neural network learning process in practice. Indeed, in nearly all real world data where deep learning is applied to, the input distributions are not close to Gaussians; even worse, there may be no simple model to capture such distributions.

The difficulty of modeling real-world distributions brings us back to the traditional PAC-learning language which is distribution-free. In this language, one of the most popular, provable learning methods is the kernel methods, defined with respect to kernel functions K(x,x′)K(x,x^{\prime}) over pairs of data (x,x′)(x,x^{\prime}). The optimization task associated with kernel methods is convex, hence the convergence rate and the generalization error bound are well-established in theory.

Recently, there is a line of work studying the convergence of neural networks in the PAC-learning language, especially for over-parameterized neural networks , putting neural network theory back to the distribution-free setting. Most of these works rely on the so-called Neural Tangent Kernel (NTK) technique , by relating the training process of sufficiently over-parameterized (or even infinite-width) neural networks to the learning process over a kernel whose features are defined by the randomly initialized weights of the neural network. In other words, on the same training data set, these works prove that neural networks can efficiently learn a concept class with as good generalization as kernels, but nothing more is known.Technically speaking, the three-layer learning theorem of is beyond NTK, because the learned weights across different layers interact with each other, while in NTK the learned weights of each layer only interact with random weights of other layers. However, there exist other kernels— such as recursive kernels — that can more or less efficiently learn the same concept class proposed in .

In contrast, in many practical tasks, neural networks give much better generalization error compared to kernels, although both methods can achieve zero training error. For example, ResNet achieves 96% test accuracy on the CIFAR-10 data set, but NTKs achieve 77% and random feature kernels achieve 85% . This gap becomes larger on more complicated data sets.

To separate the generalization power of neural networks from kernel methods, the recent work tries to identify conditions where the solutions found by neural networks provably generalize better than kernels. This approach assumes that the optimization converges to minimal complexity solutions (i.e. the ones minimizing the value of the regularizer, usually the sum of squared Frobenius norms of weight matrices) of the training objective. However, for most practical applications, it is unclear how, when training neural networks, minimal complexity solutions can be found efficiently by local search algorithms such as stochastic gradient descent. In fact, it is not true even for rather simple problems (see Figure 1).Consider the class of degree-6 polynomials over 6 coordinates of the dd-dimensional input. There exist two-layer networks with F-norm O(d)O(\sqrt{d}) implementing this function (thus have near-zero training and testing error). By Rademacher complexity, O(d)O(d) samples suffice to learn if we are able to find a minimal complexity solution. Unfortunately, due to the non-convexity of the optimization landscape, two-layer networks can not be trained to match this F-norm even with O(d2)O(d^{2}) samples, see Figure 1. Towards this end, the following fundamental question is largely unsolved:

Can neural networks efficiently and distribution-freely learn a concept class,

with better generalization than kernel methods?

In this paper, we give arguably the first positive answer to this question for neural networks with ReLU activations. We show without any distributional assumption, a three-layer residual network (ResNet) can (improperly) learn a concept class that includes three-layer ResNets of smaller size and smooth activations. This learning process can be efficiently done by stochastic gradient descent (SGD), and the generalization error is also small if polynomially many training examples are given.

More importantly, we give a provable separation between the generalization error obtained by neural networks and arbitrary kernel methods. For some δ∈(0,1)\delta\in(0,1), with N=O(δ−2)N=O(\delta^{-2}) training samples, we prove that neural networks can efficiently achieve generalization error δ\delta for this concept class over any distribution; in contrast, there exists rather simple distributions such that any kernel method (including NTK, recursive kernel, etc) cannot have generalization error better than δ\sqrt{\delta} for this class. To the best of our knowledge, this is the first work that gives provable, efficiently achievable separation between neural networks with ReLU activations and kernels in the distribution-free setting. In the end, we also prove a computation complexity advantage of neural networks with respect to linear regression over arbitrary feature mappings as well.

Roadmap. We present detailed overview of our positive and negative results in Section 2 and 3. Then, we introduce notations in Section 4, formally define our concept class in Section 5, and give proof overviews in Section 6 and 7.

Positive Result: The Learnability of Three-Layer ResNet

We wish to learn a concept class given by target functions that can be written as

To illustrate our result, we first assume for simplicity that y=H(x)y=\mathcal{H}\left(x\right) for some H\mathcal{H} of the form (2.2) (so the optimal target has zero regression error). Our main theorem can be sketched as follows.

Let CFC_{\mathcal{F}} and CGC_{\mathcal{G}} respectively be the individual “complexity” of F\mathcal{F} and G\mathcal{G}, which at a high level, capture the size and smoothness of F\mathcal{F} and G\mathcal{G}. This complexity notion shall be formally introduced in Section 4, and is used by prior works such as .

For any distribution over xx, for every \delta\in\big{(}(\alpha C_{\mathcal{G}})^{4},1\big{)}, with probability at least 0.990.99, SGD efficiently learns a network out(x)\mathsf{out}(x) in the form (2.1) satisfying

The running time of SGD is polynomial in \poly(CG,CF,α−1)\poly(C_{\mathcal{G}},C_{\mathcal{F}},\alpha^{-1}).

In other words, ResNet is capable of achieving population risk α4\alpha^{4}, or equivalently learning the output H(x)\mathcal{H}(x) up to α2\alpha^{2} error. In our full theorem, we also allow label yy to be generated from H(x)\mathcal{H}(x) with error, thus our result also holds in the agnostic learning framework.

we need O~(d)\widetilde{O}(d) samples to efficiently learn H=F+αG(F)\mathcal{H}=\mathcal{F}+\alpha\mathcal{G}(\mathcal{F}) up to accuracy O~(α2)\widetilde{O}(\alpha^{2}).

In contrast, the complexity of G(F)\mathcal{G}(\mathcal{F}) is O~((d)10)\widetilde{O}((\sqrt{d})^{10}), so

prior works need Ω~(d10)\widetilde{\Omega}(d^{10}) samples to efficiently learn H\mathcal{H} up to any accuracy o(α)o(\alpha),

Inductive Bias. Our network is over-parameterized, thus intuitively in the example above, with only O(d)O(d) training examples, the learner network could over-fit to the training data since it has to decide from a set of d10d^{10} many possible coefficients to learn the degree 10 polynomial G\mathcal{G}. This is indeed the case if we learn the target function using kernels, or possibly even learn it with a two-layer network. However, three-layer ResNet posts a completely different inductive bias, and manages to avoid over-fitting to G(F)\mathcal{G}(\mathcal{F}) with the help from F\mathcal{F}.

Implicit Hierarchical Learning using Forward Feature Learning. Since H(x)=F(x)+αG(F(x))\mathcal{H}(x)=\mathcal{F}(x)+\alpha\mathcal{G}\left(\mathcal{F}(x)\right), if we only learn F\mathcal{F} but not G(F)\mathcal{G}\left(\mathcal{F}\right), we will have regression error ≈(αCG)2\approx(\alpha C_{\mathcal{G}})^{2}. Thus, to get to regression error (αCG)4(\alpha C_{\mathcal{G}})^{4}, Theorem 1 shows that ResNet is also capable of learning G(F)\mathcal{G}\left(\mathcal{F}\right) up to some good accuracy with relatively few training examples. This is also observed in practice, where with this number of training examples, three-layer fully-connected networks and kernel methods can indeed fail to learn G(F)\mathcal{G}\left(\mathcal{F}\right) up to any non-trivial accuracy, see Figure 2.

Intuitively, there is a hierarchy of the learning process: we would like to first learn F\mathcal{F}, and then we could learn G(F)\mathcal{G}(\mathcal{F}) much easier with the help of F\mathcal{F} using the residual link. In our learner network (2.1), the first hidden layer serves to learn F\mathcal{F} and the second hidden layer serves to learn G\mathcal{G} with the help of F\mathcal{F}, which reduces the sample complexity. However, the important message is that F\mathcal{F} and G\mathcal{G} are not given as separate data to the network, rather the learning algorithm has to disentangle them from the “combined” function H=F+αG(F)\mathcal{H}=\mathcal{F}+\alpha\mathcal{G}(\mathcal{F}) automatically during the training process. Moreover, since we train both layers simultaneously, the learning algorithm also has to distribute the learning task of F\mathcal{F} and G\mathcal{G} onto different layers automatically. We call this process “forward feature learning”:

We point out forward feature learning is different from layer-wise training. For instance, our result cannot be obtained by first training the hidden layer close to the input, and then fixing it and training the hidden layer close to the output. Since it could be the case the first layer incurs some α\alpha error (since it cannot learn G(F)\mathcal{G}(\mathcal{F}) directly), then it could be really hard, or perhaps impossible, for the second layer to fix it only using inputs of the form F(x)±α\mathcal{F}(x)\pm\alpha. In other words, it is crucial that the two hidden layers are simultaneously trained. This does not mean that the error of the first layer can be reduced by its own, since it is still possible for the first layer to learn F+αR(x)±α2\mathcal{F}+\alpha\mathcal{R}(x)\pm\alpha^{2} and the second layer to learn G(F)(x)−R(x)±α\mathcal{G}(\mathcal{F})(x)-\mathcal{R}(x)\pm\alpha, for an arbitrary (bounded) function R\mathcal{R}.

A follow-up work. In a follow-up work , this theory of hierarchical learning is strengthened to further incorporate the backward feature correction step when training deep neural networks. In the language of this paper, when the two layers trained together, given enough samples, the accuracy in the first layer can actually be improved from F±α\mathcal{F}\pm\alpha to arbitrarily close to F\mathcal{F} during the training process. As a consequence, the final training and generalization error can be arbitrarily small as well, as opposite to α2\alpha^{2} (or equivalently population risk α4\alpha^{4}) in this work. The new “backward feature correction” is also critical to extend the hierarchical learning process from 33 layers to arbitrarily number of layers.

Negative Results

For every constant k≥2k\geq 2, for every sufficiently large d≥2d\geq 2, there exist concept classes consisting of functions H(x)=F(x)+αG(F(x))\mathcal{H}(x)=\mathcal{F}(x)+\alpha\mathcal{G}\left(\mathcal{F}(x)\right) with complexities CF,CGC_{\mathcal{F}},C_{\mathcal{G}} and α∈(0,1CG)\alpha\in(0,\frac{1}{C_{\mathcal{G}}}) such that, letting

then there exists simple distributions D\mathcal{D} over (x,H(x))(x,\mathcal{H}(x)) such that, for at least 99%99\% of the functions H\mathcal{H} in this concept class, even given N=O\big{(}(N_{\mathsf{res}})^{k/2}\big{)} training samples from D\mathcal{D}, any function K(x)\mathfrak{K}(x) of the form (3.1) has to suffer population risk

Contribution and Intuition. Let us compare this to Theorem 1. While both algorithms are efficient, neural networks (trained by SGD) achieve population risk α3.9\alpha^{3.9} using NresN_{\mathsf{res}} samples for any distribution over xx, while kernel methods cannot achieve any population risk better than α2\alpha^{2} for some simple distributions even with N=(Nres)k/2≫NresN=(N_{\mathsf{res}})^{k/2}\gg N_{\mathsf{res}} samples.It is necessary the negative result of kernel methods is distribution dependent, since for trivial distributions where xx is non-zero only on the first constantly many coordinates, both neural networks and kernel methods can learn it with constantly many samples. Our two theorems together gives a provable separation between the generalization error of the solutions found by neural networks and kernel methods, in the efficiently computable regime.

More specifically, recall CFC_{\mathcal{F}} and CGC_{\mathcal{G}} only depend on individual complexity of G,F\mathcal{G},\mathcal{F}, but not on G(F)\mathcal{G}(\mathcal{F}). In Theorem 2, we will construct F\mathcal{F} as linear functions and G\mathcal{G} as degree-kk polynomials. This ensures CF=O(d)C_{\mathcal{F}}=O(\sqrt{d}) and CG=O(1)C_{\mathcal{G}}=O(1) for kk being constant, but the combined complexity of G(F)\mathcal{G}(\mathcal{F}) is as high as Ω(dk/2)\Omega(d^{k/2}). Since ResNet can perform hierarchical learning, it only needs sample complexity Nres=O(d/α8)N_{\mathsf{res}}=O(d/\alpha^{8}) instead of paying (square of) the combined complexity Ω(dk)\Omega(d^{k}).

In contrast, a kernel method is not hierarchical: rather than discovering F\mathcal{F} first and then learning G(F)\mathcal{G}(\mathcal{F}) with the guidance of it, kernel method tries to learn everything in one shot. This unavoidably requires the sample complexity to be at least Ω(dk)\Omega(d^{k}). Intuitively, as the kernel method tries to learn G(F)\mathcal{G}(\mathcal{F}) from scratch, this means that it has to take into account all Ω(dk)\Omega(d^{k}) many possible choices of G(F)\mathcal{G}(\mathcal{F}) (recall that G\mathcal{G} is a degree kk polynomial over dimension dd). On the other hand, a kernel method with NN samples only has NN-degrees of freedom (for each output dimension). This means, if N≪o(dk)N\ll o(d^{k}), kernel method simply does not have enough degrees of freedom to distinguish between different G(F)\mathcal{G}(\mathcal{F}), so has to pay Ω(α2)\Omega(\alpha^{2}) in population risk. Choosing for instance α=d−0.1\alpha=d^{-0.1}, we have the desired negative result for all N\leq O\big{(}(N_{\mathsf{res}})^{k/2}\big{)}\ll o(d^{k}).

2 Limitation of Linear Regression Over Feature Mappings

for some regularizer R(w)R(w). In this paper, we do not make assumptions about how the weighted are found. Instead, we focus on any linear function over such feature mapping in the form (3.3).

For sufficiently large integers d,kd,k, there exist concept classes consisting of functions H(x)=F(x)+αG(F(x))\mathcal{H}(x)=\mathcal{F}(x)+\alpha\mathcal{G}\left(\mathcal{F}(x)\right) with complexities CF,CGC_{\mathcal{F}},C_{\mathcal{G}} and α∈(0,1CG)\alpha\in(0,\frac{1}{C_{\mathcal{G}}}) such that, letting

then for at least 99%99\% of the functions H\mathcal{H} in this concept class, even with arbitrary D=(Tres)2D=(T_{\mathsf{res}})^{2} dimensional feature mapping, any function F(x)\mathfrak{F}(x) of the form (3.3) has to suffer population risk

Interpretation. Since any algorithm that optimizes linear functions over DD-dimensional feature mapping has to run in time Ω(D)\Omega(D), this proves a time complexity separation between neural networks (say, for achieving population risk α3.9\alpha^{3.9}) and linear regression over feature mappings (for achieving even any population risk better than α2≫α3.9\alpha^{2}\gg\alpha^{3.9}). Usually, such an algorithm also has to suffer from Ω(D)\Omega(D) space complexity. If that happens, we also have a space complexity separation. Our hard instance in proving Theorem 3 is the same as Theorem 2, and the proof is analogous.

Notations

For notation simplicity, throughout this paper “with high probability” (or w.h.p.) means with probability 1−e−clog⁡2m1-e^{-c\log^{2}m} for a sufficiently large constant cc. We use O~\widetilde{O} to hide \polylog(m)\polylog(m) factors.

where C∗C^{*} is a sufficiently large constant (e.g., 10410^{4}).

Concept Class

We denote by Cε(F)=max⁡r,i{Cε(Fr,i)}\mathfrak{C}_{\varepsilon}(\mathcal{F})=\max_{r,i}\{\mathfrak{C}_{\varepsilon}(\mathcal{F}_{r,i})\} and Cs(F)=max⁡r,i{Cs(Fr,i)}\mathfrak{C}_{\mathfrak{s}}(\mathcal{F})=\max_{r,i}\{\mathfrak{C}_{\mathfrak{s}}(\mathcal{F}_{r,i})\}. Intuitively, F\mathcal{F} and G\mathcal{G} are both generated by two-layer neural networks with smooth activation functions Fr,i\mathcal{F}_{r,i} and Gr,i\mathcal{G}_{r,i}.

Borrowing the agnostic PAC-learning language, our concept class consists of all functions H(x)\mathcal{H}(x) in the form of Concept 1 with complexity bounded by tuple (pF,CF,pG,CG)(p_{F},C_{F},p_{G},C_{G}). Let OPT\mathsf{OPT} be the population risk achieved by the best target function in this concept class. Then, our goal is to learn this concept class with population risk O(OPT)+εO(\mathsf{OPT})+\varepsilon using sample and time complexity polynomial in pF,CF,pG,CGp_{F},C_{F},p_{G},C_{G} and 1/ε1/\varepsilon. In the remainder of this paper, to simplify notations, we do not explicitly define this concept class parameterized by (pF,CF,pG,CG)(p_{F},C_{F},p_{G},C_{G}). Instead, we equivalently state our theorem with respect to any (unknown) fixed target function H\mathcal{H} with with population risk OPT\mathsf{OPT}:

In the analysis we adopt the following notations. For every (x,y)∼D(x,y)\sim\mathcal{D}, it satisfies ∥F(x)∥2≤BF\|\mathcal{F}(x)\|_{2}\leq\mathfrak{B}_{\mathcal{F}} and ∥G(F(x))∥2≤BF∘G\|\mathcal{G}(\mathcal{F}(x))\|_{2}\leq\mathfrak{B}_{\mathcal{F}\circ\mathcal{G}}. We assume G(⋅)\mathcal{G}(\cdot) is LG\mathfrak{L}_{\mathcal{G}}-Lipschitz continuous. It is a simple exercise (see Fact A.3) to verify that LG≤kpGCs(G)\mathfrak{L}_{\mathcal{G}}\leq\sqrt{k}p_{\mathcal{G}}\mathfrak{C}_{\mathfrak{s}}(\mathcal{G}), BF≤kpFCs(F)\mathfrak{B}_{\mathcal{F}}\leq\sqrt{k}p_{\mathcal{F}}\mathfrak{C}_{\mathfrak{s}}(\mathcal{F}) and BF∘G≤LGBF+kpGC(G)≤kpFCs(F)pGCs(G)\mathfrak{B}_{\mathcal{F}\circ\mathcal{G}}\leq\mathfrak{L}_{\mathcal{G}}\mathfrak{B}_{\mathcal{F}}+\sqrt{k}p_{\mathcal{G}}\mathfrak{C}(\mathcal{G})\leq kp_{\mathcal{F}}\mathfrak{C}_{\mathfrak{s}}(\mathcal{F})p_{\mathcal{G}}\mathfrak{C}_{\mathfrak{s}}(\mathcal{G}).

Overview of Theorem 1

We consider the vanilla SGD algorithm given in Algorithm 1.Performing SGD with respect to W(0)+W{\mathbf{W}^{(0)}}+\mathbf{W} and V(0)+V{\mathbf{V}^{(0)}}+\mathbf{V} is the same as that with respect to W\mathbf{W} and V\mathbf{V}; we introduce W(0),V(0){\mathbf{W}^{(0)}},{\mathbf{V}^{(0)}} notation for analysis purpose. Note also, one can alternatively consider having a training set and then performing SGD on this training set with multiple passes; similar results can be obtained.

Under Concept 1 or Concept 2, for every \alpha\in\big{(}0,\widetilde{\Theta}(\frac{1}{kp_{\mathcal{G}}\mathfrak{C}_{\mathfrak{s}}(\mathcal{G})})\big{)} and δ≥OPT+Θ~(α4(kpGCs(G))4(1+BF)2)\delta\geq\mathsf{OPT}+\widetilde{\Theta}\left(\alpha^{4}(kp_{\mathcal{G}}\mathfrak{C}_{\mathfrak{s}}(\mathcal{G}))^{4}(1+\mathfrak{B}_{\mathcal{F}})^{2}\right). There exist M=\poly(Cα(F),Cα(G),pF,α−1)M=\poly(\mathfrak{C}_{\alpha}(\mathcal{F}),\mathfrak{C}_{\alpha}(\mathcal{G}),p_{\mathcal{F}},\alpha^{-1}) satisfying that for every m≥Mm\geq M, with high probability over A,W(0),V(0)\mathbf{A},{\mathbf{W}^{(0)}},{\mathbf{V}^{(0)}}, for a wide range of random initialization parameters σw,σv\sigma_{w},\sigma_{v} (see Table 1), choosing

With high probability, the SGD algorithm satisfies

As a corollary, under Concept 1, we can archive population risk

Our Theorem 1 is almost in the PAC-learning language, except that the final error has an additive α4\alpha^{4} term that can not be arbitrarily small.

In the analysis, let us define diagonal matrices

which satisfy out1(x)=ADW(W(0)+W)(x,1)\mathsf{out}_{1}(x)=\mathbf{A}D_{\mathbf{W}}({\mathbf{W}^{(0)}}+\mathbf{W})(x,1) and out(x)=ADV,W(V(0)+V)(out1(x),1)\mathsf{out}(x)=\mathbf{A}D_{\mathbf{V},\mathbf{W}}({\mathbf{V}^{(0)}}+\mathbf{V})(\mathsf{out}_{1}(x),1).

The proof of Theorem 1 can be divided into three simple steps with parameter choices in Table 1.

In the first step, we prove that for all weight matrices not very far from random initialization (namely, all ∥W∥2≤τw\|\mathbf{W}\|_{2}\leq\tau_{w} and ∥V∥2≤τv\|\mathbf{V}\|_{2}\leq\tau_{v}), many good “coupling properties” occur. This includes upper bounds on the number of sign changes (i.e., on ∥DW(0)−DW∥0\left\|D_{{\mathbf{W}^{(0)}}}-D_{\mathbf{W}}\right\|_{0} and ∥DV(0),W−DV,W∥0\left\|D_{{\mathbf{V}^{(0)}},\mathbf{W}}-D_{\mathbf{V},\mathbf{W}}\right\|_{0}) as well as vanishing properties such as ADWW(0),ADV,WV(0)\mathbf{A}D_{\mathbf{W}}{\mathbf{W}^{(0)}},\mathbf{A}D_{\mathbf{V},\mathbf{W}}{\mathbf{V}^{(0)}} being negligible. We prove such properties using techniques from prior works . Details are in Section C.1.

In the second step, we prove the existence of W⋇,V⋇\mathbf{W}^{\divideontimes},\mathbf{V}^{\divideontimes} with ∥W⋇∥F≤τw10\|\mathbf{W}^{\divideontimes}\|_{F}\leq\frac{\tau_{w}}{10} and ∥V⋇∥F≤τv10\|\mathbf{V}^{\divideontimes}\|_{F}\leq\frac{\tau_{v}}{10} satisfying ADW(0)W⋇(x,1)≈F(x)\mathbf{A}D_{{\mathbf{W}^{(0)}}}\mathbf{W}^{\divideontimes}(x,1)\approx\mathcal{F}(x) and ADV(0),WV⋇(out1(x),1)≈αG(out1(x))\mathbf{A}D_{{\mathbf{V}^{(0)}},\mathbf{W}}\mathbf{V}^{\divideontimes}(\mathsf{out}_{1}(x),1)\approx\alpha\mathcal{G}\left(\mathsf{out}_{1}(x)\right). This existential proof relies on an “indicator to function” lemma from ; for the purpose of this paper we have to revise it to include a trainable bias term (or equivalently, to support vectors of the form (x,1)(x,1)). Combining it with the aforementioned vanishing properties, we derive (details are in Section C.2):

In the third step, consider iteration tt of SGD with sample (xt,yt)∼D(x_{t},y_{t})\sim\mathcal{D}. For simplicity we assume OPT=0\mathsf{OPT}=0 so yt=H(xt)y_{t}=\mathcal{H}(x_{t}). One can carefully write down gradient formula, and plug in (6.3) to derive

Overview of Theorem 2 and 3

Consider the class of target functions H(x)=F(x)+αG(F(x))\mathcal{H}(x)=\mathcal{F}(x)+\alpha\mathcal{G}(\mathcal{F}(x)), where

where W∗=d(ei1,ei2,⋯eik)\mathbf{W}^{*}=\sqrt{d}(\mathbf{e}_{i_{1}},\mathbf{e}_{i_{2}},\cdots\mathbf{e}_{i_{k}}) for i1,i2,…,ik∈[d1]i_{1},i_{2},\dots,i_{k}\in[d_{1}] are distinct indices chosen from the first d1d_{1} coordinates. There are clearly (d1k)\binom{d_{1}}{k} many target functions in this class.

Intuitively, e1,⋯ ,ed1\mathbf{e}_{1},\cdots,\mathbf{e}_{d_{1}} represent the directions where the signal possibly lies, where usually the inputs would have high variance; and ed1+1,…,ed\mathbf{e}_{d_{1}+1},\dots,\mathbf{e}_{d} represent the directions that can be view as “background noise”, where the distribution can be arbitrary. For example when d1≤d/2d_{1}\leq d/2, such distribution D\mathcal{D} can be very different from Gaussian distribution or uniform distribution over Boolean cube, yet kernel methods still suffer from high population risk when learning over these distributions comparing to using neural networks.

We first state the population risk for the three-layer ResNet to learn this concept class: Our Theorem 1 implies the following complexity on learning this concept class (after verifying that Cs(F)=O(d)\mathfrak{C}_{\mathfrak{s}}(\mathcal{F})=O(\sqrt{d}), pF=1p_{\mathcal{F}}=1, Cs(G)=2O(k)\mathfrak{C}_{\mathfrak{s}}(\mathcal{G})=2^{O(k)}, pG=2kp_{\mathcal{G}}=2^{k}, see Section D.4).

For every d≥d1≥k≥2d\geq d_{1}\geq k\geq 2, for every \alpha\in\big{(}0,\frac{1}{\widetilde{\Theta}(2^{O(k)})}\big{)}, there exist M=\poly(d,2k,α−1)M=\poly(d,2^{k},\alpha^{-1}) satisfying that for every m≥Mm\geq M, for every target functions H(x)\mathcal{H}(x) in the class (7.1), with probability at least 0.99 over A,W(0),V(0)\mathbf{A},{\mathbf{W}^{(0)}},{\mathbf{V}^{(0)}} and X\mathcal{X}, given labels y(n)=H(x(n))y^{(n)}=\mathcal{H}(x^{(n)}) for n∈[N]n\in[N], SGD finds a network out(x)\mathsf{out}(x) with population risk

As an example, when k≥2k\geq 2 is constant, d=Θ(d1)d=\Theta(d_{1}) is sufficiently large, and α=Θ(d−0.1)\alpha=\Theta(d^{-0.1}),

Corollary 7.1 says that ResNet achieves regression error α3.9\alpha^{3.9} on the true distribution, with Nres=O~(d1.8)N_{\mathsf{res}}=\widetilde{O}(d^{1.8}) samples to learn any function in (7.1);

Theorem 2 says that kernel methods cannot achieve α2/16\alpha^{2}/16 error even with N≤(Nres)k/2≪o(dk)N\leq(N_{\mathsf{res}})^{k/2}\ll o(d^{k}) samples. Hence, to achieve generalization α2/16≫α3.9\alpha^{2}/16\gg\alpha^{3.9}, the sample complexity of any kernel method is at least N≥(Nres)k/2≫NresN\geq(N_{\mathsf{res}})^{k/2}\gg N_{\mathsf{res}}.

Proof Overview. Our proof of Theorem 2 is relatively simple, and we illustrate the main idea in the case of d=d1d=d_{1}. At a high level, given N≪(nd)N\ll\binom{n}{d} samples, the kernel regression function only has NN-degrees of freedom (each with respect to a sample point). Now, since there are possibly (nd)\binom{n}{d} many target functions, if the kernel regression learns most of these target functions to some sufficient accuracy, then by some rank counting argument, the degree of freedom is not enough.

2 Linear Regression Over Feature Mappings

As an example, there exists sufficiently large constant c>1c>1 such that, for every k≥4ck\geq 4c, for every d1≥d/2d_{1}\geq d/2, for every d≥Ω(2k)d\geq\Omega(2^{k}), there exists choice α=2−Θ(k)⋅d−0.001\alpha=2^{-\Theta(k)}\cdot d^{-0.001} such that

Corollary 7.1 says that ResNet achieves regression error O~(α42O(k))≤α3.9\widetilde{O}(\alpha^{4}2^{O(k)})\leq\alpha^{3.9} in time Tres=\poly(d,2k,α−1)≤dcT_{\mathsf{res}}=\poly(d,2^{k},\alpha^{-1})\leq d^{c} to learn any function in (7.1);

Theorem 3 says that linear regression over feature mapping cannot achieve regression error α2/16\alpha^{2}/16 even if D=\Omega\big{(}{d_{1}\choose k}\big{)}\geq d^{2c}.

In particular, this means linear regression over feature mappings cannot achieve regression error α2/16\alpha^{2}/16 even if D=(Tres)2D=(T_{\mathsf{res}})^{2}. Since a linear regression over RDR^{D} normally takes at least time/space DD to compute/store, this implies that ResNet is also more time/space efficient than linear regression over feature mappings as well.

Theorem 3 can be proved in the same way as Theorem 2, using exactly the same hard instance, since F(x)\mathfrak{F}(x) has exactly DD-degrees of freedom.

Experiments

Neural Networks Algorithms. Recall in our positive result on three-layer ResNet (see Theorem 1 and Footnote 12), to prove the strongest result, we only train hidden weights W\mathbf{W} and V\mathbf{V} but not the output layer A\mathbf{A}. One can naturally extend this to show that Theorem 1 also holds when W,V,A\mathbf{W},\mathbf{V},\mathbf{A} are jointly trained. For such reason, we implement both algorithms: 3resnet(hidden) for training only W,V\mathbf{W},\mathbf{V} and 3resnet(all) for training all W,V,A\mathbf{W},\mathbf{V},\mathbf{A}. This is similar for two-layer and three-layer fully-connected networks, where previously the strongest theoretical work is in terms of training only hidden weights , so we implement both (all) and (hidden) for them.

Kernel Methods. We implement conjugate kernel, which corresponds to training only the last (output) layer ; as well as neural tangent kernel (NTK), in which we train all the layers .

Setup. We choose the network width (i.e., parameter mm) in the range m∈{20,50,100,200,… }m\in\{20,50,100,200,\dots\} until the largest possible value mm that fits into a 16GB GPU memory. We choose the popular random initialization: entries of A,V,W\mathbf{A},\mathbf{V},\mathbf{W} (and their corresponding bias terms) are all i.i.d. from N(1,1m)\mathcal{N}(1,\frac{1}{m}).This corresponds to choosing the standard deviation as 1fan_in+fan_out\frac{1}{\sqrt{\texttt{fan\_in}}+\sqrt{\texttt{fan\_out}}}. Some practitioners also use 1fan_in\frac{1}{\sqrt{\texttt{fan\_in}}} as the standard deviation. We have included an experiment with respect to that choice in our V1/V2 of this paper. We use similar initializations for two and three-layer networks.

Experiment 1: Performance Comparison. Since it is unfair to compare neural network training “with respect to hidden weights only” vs. “with respect to all weights”, we conduct two experiments. The first experiment is on training all layers vs. kernel methods, see Figure 2(a); and the second experiment is on training hidden layers vs. kernel methods, see Figure 2(b). We use N=500N=500 training samples for the former case and N=1000N=1000 samples for the latter case, because training the last layer together gives more power to a neural network.

In both experiments, we choose α=0.3\alpha=0.3 and k=15k=15 so that test error kα2=1.35k\alpha^{2}=1.35 is a threshold for detecting whether the trained model has successfully learned αG(F(x))\alpha\mathcal{G}(\mathcal{F}(x)) or not. If the model has not learned αG(F(x))\alpha\mathcal{G}(\mathcal{F}(x)) to any non-trivial accuracy, then the error is α\alpha per output coordinate, totaling to kα2k\alpha^{2} in regression error.

From Figure 2, it is clear that for our choice of NN, training a three-layer ResNet is the only method among the ones we compare that can learn αG(F(x))\alpha\mathcal{G}(\mathcal{F}(x)) (even only non-trivially). All kernel methods fall far behind even when the network width mm is large.

𝛽ℱ𝑥𝛼𝒢ℱ𝑥\mathcal{H}(x)=\beta\mathcal{F}(x)+\alpha\mathcal{G}(\mathcal{F}(x)) with α=0.3\alpha=0.3 and varying β∈\beta\in. Experiment 2: Sensitivity on α\alpha. One key assumption of this paper is to have α\alpha to be sufficiently small, so that ResNet can perform hierarchical learning, by first learning the base signal F\mathcal{F}, which is simpler and contributes more to the target, and then learning the composite signal αG(F)\alpha\mathcal{G}\left(\mathcal{F}\right), which is more complicated but contributes less.

In Figure 3, we verify that this assumption is indeed necessary. Instead of varying α\alpha (which will change the error magnitude), we define H(x)=βF(x)+αG(F(x))\mathcal{H}(x)=\beta\mathcal{F}(x)+\alpha\mathcal{G}(\mathcal{F}(x)) and let β\beta vary between and 11. As shown in Figure 3, when α≲β\alpha\lesssim\beta, the base signal is larger than the composite signal, so indeed ResNet can perform hierachical learning; in contrast, when α≳β\alpha\gtrsim\beta, learning the composite signal becomes practically impossible.

Other Findings. Although this paper proves theoretical separation between three-layer ResNet and kernel methods (and it is verified by Figure 2), we do not yet have

theoretical separation between two/three-layer fully-connected networks and kernel methods;

theoretical separation between three-layer ResNet and two/three-layer networks.

It seems in practice such separations do exist (as observed in Figure 2). We leave these as future research directions.

2 SGD Does Not Converge To Minimal Norm Solutions

We give a simple experiment to show that optimization methods (such as SGD) do not necessarily converge to minimal complexity solutions.

It is a simple experimental exercise to verify that, for every even m≥200m\geq 200 and every d≥6d\geq 6, there exist This can be done by first considering m=200m=200 and d=6d=6. Experimentally one can easily use SGD to train such two-layer networks to obtain some W∗W^{*} with such test errors. Then, for general d>6d>6, one can pad W∗W^{*} with d−6d-6 zero columns; and for general m>200m>200, one can duplicate the rows of W∗W^{*} and re-scale.

Using simple Rademacher complexity argument, the above existential statement implies if we focus only on matrices WW with ∥W∥F≤9.7d\|W\|_{F}\leq 9.7\sqrt{d}, then given NN training samples the Rademacher complexity is at most 2m∑j∈[m]∥Wj∥2N≤2∥W∥FN\frac{\frac{2}{\sqrt{m}}\sum_{j\in[m]}\|W_{j}\|_{2}}{\sqrt{N}}\leq\frac{2\|W\|_{F}}{\sqrt{N}}.This can found for instance in . A cleaner one page proof can be found in the lecture notes . This implies, for any m≥200m\geq 200 and d≥6d\geq 6, if N=O(d)N=O(d) samples are given and if SGD finds any close-to-minimal complexity solution (i.e. with F-norm within some constant times d\sqrt{d}) that performs well on the training set, then it also generalizes to give small test error (i.e. test error <0.3<0.3).

SGD cannot find solution with test error better than 0.69 (see Figure 4(a)), and

SGD cannot find solution with small training error and small Frobenius norm (see Figure 4(a)). Thus, SGD starting from random initialization fails to find the minimal complexity solution.

SGD cannot find solution with test error better than 0.98 (see Figure 4(b)), and

SGD cannot find solution with small training error and small Frobenius norm (see Figure 4(b)).

In Appendix A we give some more information about our concept class and complexity measure.

In Appendix B we review some simple lemmas from probability theory.

In Appendix C we give our full proof to Theorem 1.

In Appendix D we give our full proof to Theorem 2.

In Appendix E we include a variant of the existential lemma from prior work, and include its proof only for completeness’ sake.

Appendix A Complexity and Concept Class

In this section we introduce an alternative (but bigger) concept class.

where where F\mathcal{F} and G\mathcal{G} respectively have general complexity (pF,Cs(F),Cε(G))(p_{\mathcal{F}},\mathfrak{C}_{\mathfrak{s}}(\mathcal{F}),\mathfrak{C}_{\varepsilon}(\mathcal{G})) and (pG,Cs(G),Cε(G))(p_{\mathcal{G}},\mathfrak{C}_{\mathfrak{s}}(\mathcal{G}),\mathfrak{C}_{\varepsilon}(\mathcal{G})). We further assume ∥F(x)∥2≤BF\|\mathcal{F}(x)\|_{2}\leq\mathfrak{B}_{\mathcal{F}} for all (x,y)∼D(x,y)\sim\mathcal{D}.

We have the following lemma which states that Concept 1 is a special case of Concept 2 (with constant factor 22 blow up).

Under Concept 1, we can construct F′,G′\mathcal{F}^{\prime},\mathcal{G}^{\prime} satisfying Concept 2 with general complexity (2pF,Cs(F),Cε(G))(2p_{\mathcal{F}},\mathfrak{C}_{\mathfrak{s}}(\mathcal{F}),\mathfrak{C}_{\varepsilon}(\mathcal{G})) and (2pG,Cs(G),Cε(G))(2p_{\mathcal{G}},\mathfrak{C}_{\mathfrak{s}}(\mathcal{G}),\mathfrak{C}_{\varepsilon}(\mathcal{G})) and with BF=1\mathfrak{B}_{\mathcal{F}}=1.

Lemma A.2 is a simple corollary of the following claim.

F′\mathcal{F}^{\prime} has general complexity (2p,Cs(F),Cε(F))(2p,\mathfrak{C}_{\mathfrak{s}}(\mathcal{F}),\mathfrak{C}_{\varepsilon}(\mathcal{F})) where Cε(F)=max⁡r,i{Cε(Fr,i)}\mathfrak{C}_{\varepsilon}(\mathcal{F})=\max_{r,i}\{\mathfrak{C}_{\varepsilon}(\mathcal{F}_{r,i})\} and Cs(F)=max⁡r,i{Cs(Fr,i)}\mathfrak{C}_{\mathfrak{s}}(\mathcal{F})=\max_{r,i}\{\mathfrak{C}_{\mathfrak{s}}(\mathcal{F}_{r,i})\}.

Below we prove that the above claim holds. For each Fr,i(⋅)\mathcal{F}_{r,i}(\cdot) suppose we have Fr,i(z)=∑i=0∞cizi\mathcal{F}_{r,i}(z)=\sum_{i=0}^{\infty}c_{i}z^{i} as its Taylor expansion, then we can write

It is a simple exercise to verify that F′(x)=F(x)\mathcal{F}^{\prime}(x)=\mathcal{F}(x) for all unit vectors xx. ∎

We also state some simple properties regarding our complexity measure.

The boundedness of ∥F(x)∥2\|\mathcal{F}(x)\|_{2} is trivial so we only focus on ∥F(x)−F(y)∥2\|\mathcal{F}(x)-\mathcal{F}(y)\|_{2}. For each component g(x)=Fr,i(⟨w1,i∗,(x,1)⟩∥(x,1)∥2)⋅⟨w2,i∗,(x,1)⟩g(x)=\mathcal{F}_{r,i}\left(\frac{\langle w^{*}_{1,i},(x,1)\rangle}{\|(x,1)\|_{2}}\right)\cdot\langle w^{*}_{2,i},(x,1)\rangle, denoting by w1∗w^{*}_{1} as the first dd coordinate of w1,i∗w^{*}_{1,i}, and by w2,i∗w^{*}_{2,i} as the first dd coordinates of w2,i∗w^{*}_{2,i}, we have

As a result, ∣Fr(x)−Fr(y)∣≤3pCs(Fr,i)|\mathcal{F}_{r}(x)-\mathcal{F}_{r}(y)|\leq 3p\mathfrak{C}_{\mathfrak{s}}(\mathcal{F}_{r,i}). ∎

Appendix B Probability Theory Review

The following concentration of chi-square distribution is standard.

If g∼N(0,I)g\sim\mathcal{N}(0,\mathbf{I}) is mm-dimensional, then for every t≥1t\geq 1

The following norm bound on random Gaussian matrix is standard.

For any t≥1t\geq 1, with probability ≥1−e−Ω(t2)\geq 1-e^{-\Omega(t^{2})} it satisfies ∥M∥2≤O(n+m)+t\|\mathbf{M}\|_{2}\leq O(\sqrt{n}+\sqrt{m})+t.

The first statement can be found for instance in [34, Proposition 2.4]. As for the second statement, it suffices for us to consider all (ms)\binom{m}{s} possible n×sn\times s sub-matrices of M\mathbf{M}, each applying the first statement, and then taking a union bound. ∎

The following concentration is proved for instance in .

Let (n1,α1,a1,1,a2,1),⋯ ,(nm,αm,a1,m,a2,m)(n_{1},\alpha_{1},a_{1,1},a_{2,1}),\cdots,(n_{m},\alpha_{m},a_{1,m},a_{2,m}) be mm i.i.d. samples from some distribution, where within a 4-tuples:

the marginal distribution of a1,ia_{1,i} and a2,ia_{2,i} is standard Gaussian N(0,1)\mathcal{N}(0,1);

nin_{i} and αi\alpha_{i} are not necessarily independent;

a1,ia_{1,i} and a2,ia_{2,i} are independent; and

nin_{i} and αi\alpha_{i} are independent of a1,ia_{1,i} and a2,ia_{2,i}.

Let us consider a fixed n1,α1,⋯ ,nm,αmn_{1},\alpha_{1},\cdots,n_{m},\alpha_{m}, then since each ∣\mathds1[ni≥0]h(αi)∣≤L|\mathds{1}[n_{i}\geq 0]h(\alpha_{i})|\leq L, by Gaussian chaos variables concentration bound (e.g., Example 2.15 in ) we have that

Since this holds for every choice of {ni,αi}i∈[m]\{n_{i},\alpha_{i}\}_{i\in[m]} we can complete the proof. The second inequality follows from sub-exponential concentration bounds. ∎

The next proposition at least traces back to and was stated for instance in .

Observe that (D′)j,j(D^{\prime})_{j,j} is non-zero for some j∈[m]j\in[m] only if

Therefore, denoting by x=D′g(0)x=D^{\prime}g^{(0)}, for each j∈[m]j\in[m] such that xj≠0x_{j}\neq 0, we must have ∣xj∣=∣(g(0))j∣≤∣(g′)j∣|x_{j}|=|(g^{(0)})_{j}|\leq|(g^{\prime})_{j}| so we have ∥x∥2≤∥g′∥2.\|x\|_{2}\leq\|g^{\prime}\|_{2}\enspace.

Let ξ≤12m\xi\leq\frac{1}{2\sqrt{m}} be a constant parameter to be chosen later.

We denote by S1⊆[m]S_{1}\subseteq[m] the index sets where jj satisfies ∣(g(0))j∣≤ξ|(g^{(0)})_{j}|\leq\xi. Since we know (g(0))j∼N(0,1/m)(g^{(0)})_{j}\sim\mathcal{N}(0,1/m), we have Pr⁡[∣(g(0))j∣≤ξ]≤O(ξm)\operatornamewithlimits{\mathbf{Pr}}[|(g^{(0)})_{j}|\leq\xi]\leq O\left(\xi\sqrt{m}\right) for each j∈[m]j\in[m]. Using Chernoff bound for all j∈[m]j\in[m], we have with probability at least 1−e−Ω(m3/2ξ)1-e^{-\Omega(m^{3/2}\xi)},

We denote by S2⊆[m]∖S1S_{2}\subseteq[m]\setminus S_{1} the index set of all j∈[m]∖S1j\in[m]\setminus S_{1} where (D′)j,j≠0(D^{\prime})_{j,j}\neq 0. Using (B.1), we have for each j∈S2j\in S_{2} it satisfies ∣(g′)j∣≥∣(g(0))j∣≥ξ.|(g^{\prime})_{j}|\geq|(g^{(0)})_{j}|\geq\xi\enspace. This means ∣S2∣≤∥g1′∥22ξ2.|S_{2}|\leq\frac{\|g^{\prime}_{1}\|_{2}^{2}}{\xi^{2}}\enspace.

From above, we have \|D^{\prime}\|_{0}\leq|S_{1}|+|S_{2}|\leq O\big{(}\xi m^{3/2}+\frac{\delta^{2}}{\xi^{2}}\big{)}. Choosing ξ=δ2/32m1/2\xi=\frac{\delta^{2/3}}{2m^{1/2}} gives the desired result. ∎

Appendix C Theorem 1 Proof Details

In the analysis, let us define a diagonal matrices

which satisfy out1(x)=ADW(W(0)+W)(x,1)\mathsf{out}_{1}(x)=\mathbf{A}D_{\mathbf{W}}({\mathbf{W}^{(0)}}+\mathbf{W})(x,1) and out(x)=ADV,W(V(0)+V)(out1(x),1)\mathsf{out}(x)=\mathbf{A}D_{\mathbf{V},\mathbf{W}}({\mathbf{V}^{(0)}}+\mathbf{V})(\mathsf{out}_{1}(x),1).

Throughout the proof, we assume m≥\poly(Cα(F),Cα(G),pG,pF,k,α−1)m\geq\poly(\mathfrak{C}_{\alpha}(\mathcal{F}),\mathfrak{C}_{\alpha}(\mathcal{G}),p_{\mathcal{G}},p_{\mathcal{F}},k,\alpha^{-1}).

In this subsection we present our coupling lemma. It shows that for all weight matrices not very far from random initialization (namely, all ∥W∥2≤τw\|\mathbf{W}\|_{2}\leq\tau_{w} and ∥V∥2≤τv\|\mathbf{V}\|_{2}\leq\tau_{v}), many good properties occur. This includes upper bounds on the number of sign changes (i.e., on ∥DW(0)−DW∥0\left\|D_{{\mathbf{W}^{(0)}}}-D_{\mathbf{W}}\right\|_{0} and ∥DV(0),W−DV,W∥0\left\|D_{{\mathbf{V}^{(0)}},\mathbf{W}}-D_{\mathbf{V},\mathbf{W}}\right\|_{0}) as well as vanishing properties such as ADWW(0),ADV,WV(0)\mathbf{A}D_{\mathbf{W}}{\mathbf{W}^{(0)}},\mathbf{A}D_{\mathbf{V},\mathbf{W}}{\mathbf{V}^{(0)}} being negligible. We prove such properties using techniques from prior works .

Suppose τw≥1\tau_{w}\geq 1, \tau_{w}\in\big{[}m^{1/8+0.001}\sigma_{w},m^{1/8-0.001}\sigma_{w}^{1/4}\big{]}, and \tau_{v}\in\big{[}\sigma_{v}\cdot(k/m)^{3/8},\sigma_{v}\big{]}. Then, for every fixed xx, with high probability over A,W(0),V(0)\mathbf{A},{\mathbf{W}^{(0)}},{\mathbf{V}^{(0)}}, we have that for all W,V\mathbf{W},\mathbf{V} satisfying ∥W∥2≤τw\|\mathbf{W}\|_{2}\leq\tau_{w} and ∥V∥2≤τv\|\mathbf{V}\|_{2}\leq\tau_{v}, it holds that

∥DW(0)−DW∥0≤O((τw/σw)2/3m2/3)\left\|D_{{\mathbf{W}^{(0)}}}-D_{\mathbf{W}}\right\|_{0}\leq O((\tau_{w}/\sigma_{w})^{2/3}m^{2/3})

∥ADWW(x,1)−ADW((W(0)+W)(x,1))∥2≤O~(τw(τw/σw)1/3m1/6)≤O(m−0.001)\left\|\mathbf{A}D_{\mathbf{W}}\mathbf{W}(x,1)-\mathbf{A}D_{\mathbf{W}}(({\mathbf{W}^{(0)}}+\mathbf{W})(x,1))\right\|_{2}\leq\widetilde{O}\left(\frac{\tau_{w}(\tau_{w}/\sigma_{w})^{1/3}}{m^{1/6}}\right)\leq O(m^{-0.001})

∥out1(x)∥2=∥ADW(W(0)+W)(x,1)∥2≤O(τw)\|\mathsf{out}_{1}(x)\|_{2}=\left\|\mathbf{A}D_{\mathbf{W}}({\mathbf{W}^{(0)}}+\mathbf{W})(x,1)\right\|_{2}\leq O\left(\tau_{w}\right)

∥DV(0),W−DV,W∥0≤O((τv/σv)2/3m)\left\|D_{{\mathbf{V}^{(0)}},\mathbf{W}}-D_{\mathbf{V},\mathbf{W}}\right\|_{0}\leq O((\tau_{v}/\sigma_{v})^{2/3}m)

∥ADV,WV(out1(x),1)−ADV,W(V(0)+V)(out1(x),1)∥2≤O~(τv(τv/σv)1/3)⋅(∥out1(x)∥2+1)\left\|\mathbf{A}D_{\mathbf{V},\mathbf{W}}\mathbf{V}(\mathsf{out}_{1}(x),1)-\mathbf{A}D_{\mathbf{V},\mathbf{W}}({\mathbf{V}^{(0)}}+\mathbf{V})(\mathsf{out}_{1}(x),1)\right\|_{2}\leq\widetilde{O}\left(\tau_{v}(\tau_{v}/\sigma_{v})^{1/3}\right)\cdot(\|\mathsf{out}_{1}(x)\|_{2}+1)

∥ADV,WV(0)∥2≤O~(τv(τv/σv)1/3)\left\|\mathbf{A}D_{\mathbf{V},\mathbf{W}}{\mathbf{V}^{(0)}}\right\|_{2}\leq\widetilde{O}\left(\tau_{v}(\tau_{v}/\sigma_{v})^{1/3}\right)

∥ADV,W(V(0)+V)(out1(x),1)∥2≤O~(τv(∥out1(x)∥2+1))\left\|\mathbf{A}D_{\mathbf{V},\mathbf{W}}({\mathbf{V}^{(0)}}+\mathbf{V})(\mathsf{out}_{1}(x),1)\right\|_{2}\leq\widetilde{O}\left(\tau_{v}(\|\mathsf{out}_{1}(x)\|_{2}+1)\right)

Using basic probability argument (appropriately scaling and invoking Proposition B.4) we have

For the first term, we have ∥DW(0)W(0)(x,1)∥2≤∥W(0)(x,1)∥2≤O(σwm)\left\|D_{\mathbf{W}^{(0)}}{\mathbf{W}^{(0)}}(x,1)\right\|_{2}\leq\left\|{\mathbf{W}^{(0)}}(x,1)\right\|_{2}\leq O(\sigma_{w}\sqrt{m}) with high probability due to concentration of chi-square distribution, and then using the randomness of A\mathbf{A} and applying concentration of chi-square distribution again, we have ∥ADW(0)W(0)(x,1)∥2≤O~(kσw)\left\|\mathbf{A}D_{\mathbf{W}^{(0)}}{\mathbf{W}^{(0)}}(x,1)\right\|_{2}\leq\widetilde{O}(\sqrt{k}\sigma_{w}) with high probability.

For the second term, invoking Proposition B.4 again, we have

Recall for every ss-sparse vectors yy, it satisfies ∥Ay∥2≤O~(sm)⋅∥y∥2\|\mathbf{A}y\|_{2}\leq\widetilde{O}(\frac{\sqrt{s}}{\sqrt{m}})\cdot\|y\|_{2} with high probability (see Proposition B.2). This implies

for s=O\left(\big{(}\frac{\tau_{w}}{\sigma_{w}\sqrt{m}}\big{)}^{2/3}\cdot m\right). Together, we have

We use Lemma lem:couplingb together with ∥ADWW(x,1)∥2≤∥A∥2∥W∥2≤O(τw)\|\mathbf{A}D_{\mathbf{W}}\mathbf{W}(x,1)\|_{2}\leq\|\mathbf{A}\|_{2}\|\mathbf{W}\|_{2}\leq O(\tau_{w}), where the property ∥A∥2≤O(1)\|\mathbf{A}\|_{2}\leq O(1) holds with high probability using Proposition B.2.

Then, for the first term, we have ADV(0),WV(0)z=Aσ(V(0)z)\mathbf{A}D_{{\mathbf{V}^{(0)}},\mathbf{W}}{\mathbf{V}^{(0)}}z=\mathbf{A}\sigma({\mathbf{V}^{(0)}}z) and by by concentration of chi-square distribution we have ∥V(0)z∥2≤O(σv∥z∥2)\|{\mathbf{V}^{(0)}}z\|_{2}\leq O(\sigma_{v}\|z\|_{2}) with probability at least 1−e−Ω(m)1-e^{-\Omega(m)}, and then using the randomness of A\mathbf{A} and applying chi-square concentration again (see Proposition B.1), we have with probability at least 1−e−Ω(klog⁡2m)1-e^{-\Omega(k\log^{2}m)},

For the second term, invoking Proposition B.4, we have

Recall for every ss-sparse vectors yy, it satisfies ∥Ay∥2≤O~(sm)⋅∥y∥2\|\mathbf{A}y\|_{2}\leq\widetilde{O}(\frac{\sqrt{s}}{\sqrt{m}})\cdot\|y\|_{2} with probability at least 1−e−Ω~(s)1-e^{-\widetilde{\Omega}(s)} (see Proposition B.2). This implies

This is a byproduct of the proof of Lemma lem:couplinge.

Combining this with Lemma lem:couplinge gives the proof.

C.2 Existantial

In this subsection, we prove the existence of matrices W⋇,V⋇\mathbf{W}^{\divideontimes},\mathbf{V}^{\divideontimes} with ∥W⋇∥F≤τw10\|\mathbf{W}^{\divideontimes}\|_{F}\leq\frac{\tau_{w}}{10} and ∥V⋇∥F≤τv10\|\mathbf{V}^{\divideontimes}\|_{F}\leq\frac{\tau_{v}}{10} satisfying ADW(0)W⋇(x,1)≈F(x)\mathbf{A}D_{{\mathbf{W}^{(0)}}}\mathbf{W}^{\divideontimes}(x,1)\approx\mathcal{F}(x) and ADV(0),WV⋇(out1(x),1)≈αG(out1(x))\mathbf{A}D_{{\mathbf{V}^{(0)}},\mathbf{W}}\mathbf{V}^{\divideontimes}(\mathsf{out}_{1}(x),1)\approx\alpha\mathcal{G}\left(\mathsf{out}_{1}(x)\right).

This existential proof relies on an “indicator to function” lemma that was used in prior work ; however, for the purpose of this paper we have to revise it to include a trainable bias term (or equivalently, to support vectors of the form (x,1)(x,1)). We treat that carefully in Appendix E.

for all xx and W\mathbf{W}, ∥ADV(0),WV⋇(out1(x),1)−αG(out1(x))∥2≤α~2⋅∥(out1(x),1)∥2\left\|\mathbf{A}D_{{\mathbf{V}^{(0)}},\mathbf{W}}\mathbf{V}^{\divideontimes}(\mathsf{out}_{1}(x),1)-\alpha\mathcal{G}\left(\mathsf{out}_{1}(x)\right)\right\|_{2}\leq\widetilde{\alpha}^{2}\cdot\|(\mathsf{out}_{1}(x),1)\|_{2}.

Finally, choosing z=out1(x)z=\mathsf{out}_{1}(x) finishes the proof.

Next, we can combine coupling and existential lemmas:

Under the assumptions of Lemma C.1 and Lemma C.2, we have

For every ss-sparse vectors yy, it satisfies ∥Ay∥2≤O~(sm)⋅∥y∥2\|\mathbf{A}y\|_{2}\leq\widetilde{O}(\frac{\sqrt{s}}{\sqrt{m}})\cdot\|y\|_{2} with high probability (see Proposition B.2). We also have ∥W⋇(x,1)∥2≤O(∥W⋇∥F)≤O(τw)\|\mathbf{W}^{\divideontimes}(x,1)\|_{2}\leq O(\|\mathbf{W}^{\divideontimes}\|_{F})\leq O(\tau_{w}). Therefore, ∥A(DW(0)−DW)W⋇(x,1)∥≤O(sτw/m)\|\mathbf{A}(D_{{\mathbf{W}^{(0)}}}-D_{\mathbf{W}})\mathbf{W}^{\divideontimes}(x,1)\|\leq O(\sqrt{s}\tau_{w}/\sqrt{m}) where ss is the maximum sparsity of DW(0)−DWD_{{\mathbf{W}^{(0)}}}-D_{\mathbf{W}}, which satisfies s=O((τw/σw)2/3m2/3)s=O((\tau_{w}/\sigma_{w})^{2/3}m^{2/3}) by Lemma lem:couplinga. This, combining with Lemma lem:exist-priora gives

Again, for every ss-sparse vectors yy, it satisfies ∥Ay∥2≤O~(sm)⋅∥y∥2\|\mathbf{A}y\|_{2}\leq\widetilde{O}(\frac{\sqrt{s}}{\sqrt{m}})\cdot\|y\|_{2} with high probability. We also have ∥V⋇(out1(x),1)∥2≤O(∥V⋇∥F)⋅∥(out1(x),1)∥2≤O(τv)⋅∥(out1(x),1)∥2\|\mathbf{V}^{\divideontimes}(\mathsf{out}_{1}(x),1)\|_{2}\leq O(\|\mathbf{V}^{\divideontimes}\|_{F})\cdot\|(\mathsf{out}_{1}(x),1)\|_{2}\leq O(\tau_{v})\cdot\|(\mathsf{out}_{1}(x),1)\|_{2}. Therefore,

where ss is the maximum sparsity of DV(0),W−DV,WD_{{\mathbf{V}^{(0)}},\mathbf{W}}-D_{\mathbf{V},\mathbf{W}}, which satisfies s=O((τv/σv)2/3m)s=O((\tau_{v}/\sigma_{v})^{2/3}m) by Lemma lem:couplingd. This, combining with Lemma lem:exist-priorb gives

This combines Lemma lem:couplingb and Lemma lem:exist-and-couplea, together with our sufficiently large choice of mm.

C.3 Optimization

In this subsection we give some structural results that shall be later used in the optimization step. The first fact gives an explicit formula of the gradient.

When Obj(W,V;(x,y))=12∥y−out(W,V;x)∥22\mathsf{Obj}(\mathbf{W},\mathbf{V};(x,y))=\frac{1}{2}\|y-\mathsf{out}(\mathbf{W},\mathbf{V};x)\|_{2}^{2}, we can write its gradient as follows.

The next claim gives simple upper bound on the norm of the gradient.

For all (x,y)(x,y) in the support of D\mathcal{D}, with high probability over A,W(0),V(0)\mathbf{A},{\mathbf{W}^{(0)}},{\mathbf{V}^{(0)}}, we have that for all W,V\mathbf{W},\mathbf{V} satisfying ∥W∥F≤τw\|\mathbf{W}\|_{F}\leq\tau_{w} and ∥V∥F≤τv\|\mathbf{V}\|_{F}\leq\tau_{v}, it holds that

For the gradient in W\mathbf{W}, we derive using the gradient formula Fact C.4 that

Above, the last inequality uses ∥A∥2≤O(1)\|\mathbf{A}\|_{2}\leq O(1) and ∥V(0)∥2≤O(σv)\|{\mathbf{V}^{(0)}}\|_{2}\leq O(\sigma_{v}) with high probability (using random matrix theory, see Proposition B.2), as well as τv≤σv\tau_{v}\leq\sigma_{v}. Similarly, using the gradient formula Fact C.4, we derive that

where the last inequality uses Lemma lem:couplingc and ∥A∥2≤O(1)\|\mathbf{A}\|_{2}\leq O(1). ∎

The next claim gives a careful approximation to f(W⋇−W;x)+g(V⋇−V;x)f(\mathbf{W}^{\divideontimes}-\mathbf{W};x)+g(\mathbf{V}^{\divideontimes}-\mathbf{V};x), which according to Fact C.4 is related to the correlation between the gradient direction and (W−W⋇,V−V⋇)(\mathbf{W}-\mathbf{W}^{\divideontimes},\mathbf{V}-\mathbf{V}^{\divideontimes}).

In the same setting as Lemma C.1 and Lemma C.2, suppose we set parameters according to Table 1. Then, we can write

and for every (x,y)∼D(x,y)\sim\mathcal{D}, with high probability ∥Err∥2≤O(τw)\|Err\|_{2}\leq O(\tau_{w}).

For the ♣\clubsuit term, under expectation over (x,y)∼D(x,y)\sim\mathcal{D},

where the last inequality uses Lemma lem:couplingf and Lemma lem:exist-and-couplec, together with τv≤1\polylog(m)σv\tau_{v}\leq\frac{1}{\polylog(m)}\sigma_{v}.

For the ♠\spadesuit term, under expectation over (x,y)∼D(x,y)\sim\mathcal{D},

where the first inequality uses Lemma lem:exist-and-couplea and Lemma lem:exist-and-coupleb, as well as the Lipscthiz continuity of G(x)\mathcal{G}(x) (which satisfies ∥G(x)−G(y)∥≤LG∥x−y∥\|\mathcal{G}(x)-\mathcal{G}(y)\|\leq\mathfrak{L}_{\mathcal{G}}\|x-y\|); and the second inequality uses 1σv≤τv2\frac{1}{\sigma_{v}}\leq\tau_{v}^{2} and the definition of α~\widetilde{\alpha}.

For the ♢\diamondsuit term, under expectation over (x,y)∼D(x,y)\sim\mathcal{D},

where the inequality uses Lemma lem:couplingb, Lemma lem:couplinge and 1σv≤τv2\frac{1}{\sigma_{v}}\leq\tau_{v}^{2}.

Combining this with Claim C.7, and using ∥out1(x)∥2≤∥out1(x)−F(x)∥2+BF\|\mathsf{out}_{1}(x)\|_{2}\leq\|\mathsf{out}_{1}(x)-\mathcal{F}(x)\|_{2}+\mathfrak{B}_{\mathcal{F}}, we have

As for the absolute value bound, one can naively derive that with high probability ∥f(W⋇−W;x)∥2≤O(τw)\|f(\mathbf{W}^{\divideontimes}-\mathbf{W};x)\|_{2}\leq O(\tau_{w}), ∥g(V⋇−V;x)∥2≤O(τwτv)\|g(\mathbf{V}^{\divideontimes}-\mathbf{V};x)\|_{2}\leq O(\tau_{w}\tau_{v}), ∥H(x)∥2≤BF+αBF∘G\|\mathcal{H}(x)\|_{2}\leq\mathfrak{B}_{\mathcal{F}}+\alpha\mathfrak{B}_{\mathcal{F}\circ\mathcal{G}}, and ∥out(τw)∥2≤O(τw)\|\mathsf{out}(\tau_{w})\|_{2}\leq O(\tau_{w}) (by Lemma lem:couplingc and lem:couplingg). Combining them with BF≤kpFCs(F)≤τw\mathfrak{B}_{\mathcal{F}}\leq\sqrt{k}p_{\mathcal{F}}\mathfrak{C}_{\mathfrak{s}}(\mathcal{F})\leq\tau_{w} and \alpha\mathfrak{B}_{\mathcal{F}\circ\mathcal{G}}\leq\alpha\big{(}\mathfrak{B}_{\mathcal{F}}\mathfrak{L}_{\mathcal{G}}+\mathfrak{C}_{\mathfrak{s}}(\mathcal{G})\big{)}\leq\frac{1}{kp_{\mathcal{G}}\mathfrak{C}_{\mathfrak{s}}(\mathcal{G})}\big{(}\mathfrak{B}_{\mathcal{F}}\mathfrak{L}_{\mathcal{G}}+\mathfrak{C}_{\mathfrak{s}}(\mathcal{G})\big{)}\leq\tau_{w} finishes the proof. ∎

Finally, we state a simple claim that bounds the norm of ∥out1(x)−F(x)∥2\|\mathsf{out}_{1}(x)-\mathcal{F}(x)\|_{2} given the norm of ∥out(x)−H(x)∥2\|\mathsf{out}(x)-\mathcal{H}(x)\|_{2}.

In the same setting as Lemma C.1, if we additionally have τv≤1\polylog(m)\tau_{v}\leq\frac{1}{\polylog(m)}, for every fixed xx, with high probability over A,W(0),V(0)\mathbf{A},{\mathbf{W}^{(0)}},{\mathbf{V}^{(0)}},

Using Lemma lem:couplingg we have ∥ADV,W(V(0)+V)(out1(x),1)∥≤O~(τv(∥out1(x)∥2+1))\|\mathbf{A}D_{\mathbf{V},\mathbf{W}}({\mathbf{V}^{(0)}}+\mathbf{V})(\mathsf{out}_{1}(x),1)\|\leq\widetilde{O}(\tau_{v}(\|\mathsf{out}_{1}(x)\|_{2}+1)), and using the boundedness we have ∥G(F(x))∥2≤BF∘G\|\mathcal{G}(\mathcal{F}(x))\|_{2}\leq\mathfrak{B}_{\mathcal{F}\circ\mathcal{G}}. We also have ∥out1(x)∥2≤∥out1(x)−F(x)∥2+BF\|\mathsf{out}_{1}(x)\|_{2}\leq\|\mathsf{out}_{1}(x)-\mathcal{F}(x)\|_{2}+\mathfrak{B}_{\mathcal{F}}. Together, we have

Using τv≤1\polylog(m)\tau_{v}\leq\frac{1}{\polylog(m)} we finish the proof. ∎

C.4 Proof of Theorem 1

Under Concept 1 or Concept 2, for every \alpha\in\big{(}0,\widetilde{\Theta}(\frac{1}{kp_{\mathcal{G}}\mathfrak{C}_{\mathfrak{s}}(\mathcal{G})})\big{)} and δ≥OPT+Θ~(α4(kpGCs(G))4(1+BF)2)\delta\geq\mathsf{OPT}+\widetilde{\Theta}\left(\alpha^{4}(kp_{\mathcal{G}}\mathfrak{C}_{\mathfrak{s}}(\mathcal{G}))^{4}(1+\mathfrak{B}_{\mathcal{F}})^{2}\right). There exist M=\poly(Cα(F),Cα(G),pF,α−1)M=\poly(\mathfrak{C}_{\alpha}(\mathcal{F}),\mathfrak{C}_{\alpha}(\mathcal{G}),p_{\mathcal{F}},\alpha^{-1}) satisfying that for every m≥Mm\geq M, with high probability over A,W(0),V(0)\mathbf{A},{\mathbf{W}^{(0)}},{\mathbf{V}^{(0)}}, for a wide range of random initialization parameters σw,σv\sigma_{w},\sigma_{v} (see Table 1), choosing

With high probability, the SGD algorithm satisfies

We first assume that throughout the SGD algorithm, it satisfies

We shall prove in the end that (C.3) holds throughout the SGD algorithm.

On one hand, using Claim C.6, at any point Wt,Vt\mathbf{W}_{t},\mathbf{V}_{t}, we have

where ErrtErr_{t} comes from Claim C.6. On the other hand, using Wt+1=Wt−ηw∇WObj(Wt,Vt;(xt,yt))\mathbf{W}_{t+1}=\mathbf{W}_{t}-\eta_{w}\nabla_{\mathbf{W}}\mathsf{Obj}(\mathbf{W}_{t},\mathbf{V}_{t};(x_{t},y_{t})) and Vt+1=Vt−ηv∇VObj(Wt,Vt;(xt,yt))\mathbf{V}_{t+1}=\mathbf{V}_{t}-\eta_{v}\nabla_{\mathbf{V}}\mathsf{Obj}(\mathbf{W}_{t},\mathbf{V}_{t};(x_{t},y_{t})), we have

Therefore, as long as O(ηw+ηvτw2)≤0.1O(\eta_{w}+\eta_{v}\tau_{w}^{2})\leq 0.1, it satisfies

After telescoping for t=0,1,…,T0−1t=0,1,\dots,T_{0}-1,

Choosing T0=TT_{0}=T, taking expectation with respect to {(xt,yt)}t=0,1,…,T−1\{(x_{t},y_{t})\}_{t=0,1,\dots,T-1} on both sides, and using Claim C.6 (by noticing O(τv+αLG)≤0.1O(\tau_{v}+\alpha\mathfrak{L}_{\mathcal{G}})\leq 0.1) and the definition of OPT\mathsf{OPT}, we have

Above, the last inequality uses 1kpGCs(G)≤O(11+LG)\frac{1}{kp_{\mathcal{G}}\mathfrak{C}_{\mathfrak{s}}(\mathcal{G})}\leq O(\frac{1}{1+\mathfrak{L}_{\mathcal{G}}}) (see Fact A.3) and the choice of α~\widetilde{\alpha} from Lemma C.2.

Using ∥W⋇∥F≤τw/10\|\mathbf{W}^{\divideontimes}\|_{F}\leq\tau_{w}/10, ∥V⋇∥F≤τv/10\|\mathbf{V}^{\divideontimes}\|_{F}\leq\tau_{v}/10, we have as long as δ≥OPT+δ0\delta\geq\mathsf{OPT}+\delta_{0},

Finally, we need to check that (C.3) holds. To do so, we use ∥Errt∥2≤O(τ)\|Err_{t}\|_{2}\leq O(\tau) from Claim C.6 and apply martingale concentration on (C.4) and derive that, with high probability

Using ∥W⋇∥F≤τw/10\|\mathbf{W}^{\divideontimes}\|_{F}\leq\tau_{w}/10 and ∥V⋇∥F≤τv/10\|\mathbf{V}^{\divideontimes}\|_{F}\leq\tau_{v}/10, and using the relationship τw2ηw=τv2ηv\frac{\tau_{w}^{2}}{\eta_{w}}=\frac{\tau_{v}^{2}}{\eta_{v}}, we have

we can ensure that ∥WT0∥F2τw2+∥WT0∥F2τv2≤1\frac{\|\mathbf{W}_{T_{0}}\|_{F}^{2}}{\tau_{w}^{2}}+\frac{\|\mathbf{W}_{T_{0}}\|_{F}^{2}}{\tau_{v}^{2}}\leq 1 with high probability for all T0=0,1,…,T−1T_{0}=0,1,\dots,T-1 (so (C.3) holds).

Finally, we note that it satisfies \poly(Cα~(F),Cα~(G),α~−1)≤\poly(Cα(F),Cα(G),pF,α−1)\poly(\mathfrak{C}_{\widetilde{\alpha}}(\mathcal{F}),\mathfrak{C}_{\widetilde{\alpha}}(\mathcal{G}),\widetilde{\alpha}^{-1})\leq\poly(\mathfrak{C}_{\alpha}(\mathcal{F}),\mathfrak{C}_{\alpha}(\mathcal{G}),p_{\mathcal{F}},\alpha^{-1}) with the choice α~=αk(pFCs(F)+pGCs(G))\widetilde{\alpha}=\frac{\alpha}{k(p_{\mathcal{F}}\mathfrak{C}_{\mathfrak{s}}(\mathcal{F})+p_{\mathcal{G}}\mathfrak{C}_{\mathfrak{s}}(\mathcal{G}))}. ∎

Appendix D Theorem 2 and Theorem 3 Proof Details

Our proof relies on the following two structural lemmas. The first one is a simple corollary of the Parseval’s equality from Boolean analysis.

For every k∈{2,3,⋯ ,d}k\in\{2,3,\cdots,d\}, for every function f(x)=∑S′⊆[d]λS′∏j∈S′xjf(x)=\sum_{\mathcal{S}^{\prime}\subseteq[d]}\lambda_{\mathcal{S}^{\prime}}\prod_{j\in\mathcal{S}^{\prime}}x_{j}, suppose there exists S⊆[d]\mathcal{S}\subseteq[d] of size kk and i∈Si\in\mathcal{S} such that

Then we must have λS≥34α\lambda_{\mathcal{S}}\geq\frac{3}{4}\alpha and ∑S′⊆[d],∣S′∣=k,S′≠SλS′2≤116α2\sum_{\mathcal{S}^{\prime}\subseteq[d],|\mathcal{S}^{\prime}|=k,\mathcal{S}^{\prime}\not=\mathcal{S}}\lambda_{\mathcal{S}^{\prime}}^{2}\leq\frac{1}{16}\alpha^{2}.

The lemma follows from the following equality that can be easily verified:

The next one can be proved by carefully bounding the matrix rank (see Section D.3).

Throughout the proof of Theorem 2, for notational simplicity, we re-scale inputs xx by d\sqrt{d} so that x∈{±1}dx\in\{\pm 1\}^{d}, and also re-scale W∗\mathbf{W}^{*} in the target function (7.1) to W∗=(ei1,ei2,⋯eik)\mathbf{W}^{*}=(\mathbf{e}_{i_{1}},\mathbf{e}_{i_{2}},\cdots\mathbf{e}_{i_{k}}).

For notation simplicity, below we restate Theorem 2 with respect to one single output k=1k=1 and d1=dd_{1}=d. The full statement for multiple outputs and more general distributions is a simple corollary (see Remark D.3).

However, according to Lemma D.2, as long as (dk)≥1000N{d\choose k}\geq 1000N, we know that the above condition cannot hold for at least 0.990.99 fraction of the S⊆[d]\mathcal{S}\subseteq[d] of size kk. This completes the proof. ∎

In the full statement of Theorem 2, there are multiple outputs K1(x),…,Kk(x)\mathfrak{K}_{1}(x),\dots,\mathfrak{K}_{k}(x). It suffices to focus on an arbitrary (say the first) coordinate and then apply the above lower bound.

and the final statement can be derived using the following simple property, for every S⊆[d1]\mathcal{S}\subseteq[d_{1}]

D.2 Proof of Theorem 3

For notation simplicity, we re-scale inputs xx by d\sqrt{d} so that x∈{±1}dx\in\{\pm 1\}^{d}, and also re-scale W∗\mathbf{W}^{*} in the target function (7.1) to W∗=(ei1,ei2,⋯eik)\mathbf{W}^{*}=(\mathbf{e}_{i_{1}},\mathbf{e}_{i_{2}},\cdots\mathbf{e}_{i_{k}}).

Again for notation simplicity, below we restate Theorem 3 with respect to one single output k=1k=1 and d1=dd_{1}=d. The full statement for multiple outputs and more general distributions is analogous (in the same spirit as Remark D.3).

This is exactly (D.2) in the proof of Theorem 2, so the rest of the proof follows analogously by applying Lemma D.2. ∎

D.3 Proof of Lemma D.2

Let us define br=1⟨Mr,ar⟩arb_{r}=\frac{1}{\langle\mathbf{M}_{r},a_{r}\rangle}a_{r} so they become

where E\mathbf{E} is matrix with zero diagonals. Since for every r∈[R]r\in[R], it satisfies ∑r′∈[R]Er,r′2=∑r′∈[R],r′≠r⟨Mr′,br⟩2≤19\sum_{r^{\prime}\in[R]}\mathbf{E}_{r,r^{\prime}}^{2}=\sum_{r^{\prime}\in[R],r^{\prime}\not=r}\langle\mathbf{M}_{r^{\prime}},b_{r}\rangle^{2}\leq\frac{1}{9}, we conclude that ∥E∥F2≤19R\|\mathbf{E}\|_{F}^{2}\leq\frac{1}{9}R.

To the contrary, we have rank(B⊤M)≤N≤12R\text{rank}(\mathbf{B}^{\top}\mathbf{M})\leq N\leq\frac{1}{2}R. This gives a contradiction. ∎

D.4 Proof of Corollary 7.1

To apply Theorem 1, we need to carefully verify Concept 1 by appropriately re-scaling. Without loss of generality suppose (i1,…,ik)=(1,…,k)(i_{1},\dots,i_{k})=(1,\dots,k). For every i∈[k]i\in[k], let us define

which satisfies Cs(F)=O(d)\mathfrak{C}_{\mathfrak{s}}(\mathcal{F})=O(\sqrt{d}), pF=1p_{\mathcal{F}}=1, and ∥F(x)∥2=1\|\mathcal{F}(x)\|_{2}=1. Next, let us define

and one can verify that Gr(z)=kk/2k∏i∈[k]zi\mathcal{G}_{r}(z)=\frac{k^{k/2}}{\sqrt{k}}\prod_{i\in[k]}z_{i} and therefore Gr(F(x))=1k∏i∈[k](dxi)\mathcal{G}_{r}(\mathcal{F}(x))=\frac{1}{\sqrt{k}}\prod_{i\in[k]}(\sqrt{d}x_{i}). It also satisfies Cs(G)=2O(k)\mathfrak{C}_{\mathfrak{s}}(\mathcal{G})=2^{O(k)} and pG=2kp_{\mathcal{G}}=2^{k}. In sum, we have constructed

and we can thus apply Theorem 1 (after rescaling the label by 1/k1/\sqrt{k}). ∎

Appendix E Existential Tool

In this section we include a simple variant of the existential lemma from . We include the proofs only for completeness’ sake.

Consider random function G((x,1);W⋇)=(G1((x,1);W⋇),…,Gk((x,1);W⋇))G((x,1);\mathbf{W}^{\divideontimes})=\left(G_{1}((x,1);\mathbf{W}^{\divideontimes}),\dots,G_{k}((x,1);\mathbf{W}^{\divideontimes})\right) in which

We have the following main lemma of this section:

be the similarly defined random function. We have the following:

We stress that Lemma E.1’ is a modified version of Lemma G.1 from [4, ver.4]. The only difference is that in their original Lemma G.1, the indicator function \mathds1⟨wi(0),x⟩≥0\mathds{1}_{\langle w_{i}^{(0)},x\rangle\geq 0} has an additional random bias term (that is, becomes \mathds1⟨wi(0),x⟩+bi(0)≥0\mathds{1}_{\langle w_{i}^{(0)},x\rangle+b^{(0)}_{i}\geq 0}). In our Lemma E.1’, we do not allow such bias and thus we can only fit functions Φ\Phi whose Taylor expansions have only zero-order and odd-order terms (as opposed to arbitrary smooth functions in the original Lemma G.1).

where α1,β1∼N(0,1)\alpha_{1},\beta_{1}\sim\mathcal{N}(0,1) are independent random variables.

where w∼N(0,I)w\sim\mathcal{N}(0,\mathbf{I}) is an dd-dimensional Gaussian.

In the remainder of this section, for sake of completeness, we first prove Lemma E.2 in Section E.2, and then prove Lemma E.1’ and Section E.3.

E.2 Proof of Lemma E.2: Indicator to Function

Recall from by renaming variables it suffices to prove Lemma lem:fit_fun_main_nobiasa. For notation simplicity, let us denote w0=(α1,β1)w_{0}=(\alpha_{1},\beta_{1}) and x=(x1,1−x12)x=(x_{1},\sqrt{1-x_{1}^{2}}) where α1,β1\alpha_{1},\beta_{1} are two independent random standard Gaussians.

Throughout the proof, we also take an alternative view of the randomness. We write ⟨w0,x⟩=α\langle w_{0},x\rangle=\alpha and α1=αx1+1−x12β\alpha_{1}=\alpha x_{1}+\sqrt{1-x_{1}^{2}}\beta for two independent α,β∼N(0,1)\alpha,\beta\sim\mathcal{N}(0,1).This is possible for the following reason. Let x⊥=(1−x12,−x1)x^{\perp}=(\sqrt{1-x_{1}^{2}},-x_{1}) be unit vector orthogonal to xx. We can write w0=αx+βx⊥w_{0}=\alpha x+\beta x^{\perp} where α,β∼N(0,1)\alpha,\beta\sim\mathcal{N}(0,1) are two independent Gaussians.

We first make a technical claim involving in fitting monomials in x1x_{1}. It is a simplified version of Claim B.1 of [4, ver.4].

Let hi(x)h_{i}(x) be the degree-ii Hermite polynomial (see Definition A.4 of [4, ver.4]). For every odd integer i≥1i\geq 1 there exists constant pi′p_{i}^{\prime} with ∣pi′∣≥(i−1)!!4|p_{i}^{\prime}|\geq\frac{(i-1)!!}{4} such that

(The proof of Claim E.3 is identical to that of the original Claim B.1 of [4, ver.4] by forcing the bias term b0=0b_{0}=0.)

We next use Claim E.3 to fit arbitrary functions ϕ(x1)\phi(x_{1}). By Taylor expansion, we have

Next, recall the following claim on absolute values of the Hermite polynomials (see Claim B.2 of [4, ver.4]).

where ∣R′(x1)∣<ϵ/4|R^{\prime}(x_{1})|<\epsilon/4 uses Claim claim:fit_fun:UP-LOa and Claim claim:fit_fun:UP-LOb. In other words, if we define

As for the range of hh, we use Claim claim:fit_fun:UP-LOb and Claim claim:fit_fun:UP-LOc to derive that

As for the Lipschitz continuity of hh on its first coordinate α1\alpha_{1}, we observe that for each i>0i>0, h^i(z)\widehat{h}_{i}(z) has zero sub-gradient for all ∣z∣≥Bi|z|\geq B_{i}. Therefore, it suffices to bound \big{|}\frac{d}{dz}h_{i}(z)\big{|} for ∣z∣<Bi|z|<B_{i}. Replacing the use of Claim claim:fit_fun:UP-LOc by Claim claim:fit_fun:UP-LOd immediately gives us the same bound on the Lipschitz continuity of hh with respect to α1\alpha_{1}.

Above, ① uses inequality i!((i−1)!!)2≤2i\frac{i!}{((i-1)!!)^{2}}\leq 2\sqrt{i} for all i≥1i\geq 1.

This finishes the proof of Lemma lem:fit_fun_main_nobiasa. ■\blacksquare

E.3 Proof of Lemma E.1’

Without loss of generality we assume ∥x∥2=1\|x\|_{2}=1 in this proof. (Both Φ\Phi and GG are positive homogeneous in xx.)

where m⟨wj(0),w1,i∗⟩\sqrt{m}\langle w_{j}^{(0)},w_{1,i}^{*}\rangle has the same distribution with α1\alpha_{1} in Lemma E.2. By Lemma E.2, we have that

Fit a combination ∑i∈[p]ar,i∗ϕr,i(⟨w1,r,i∗,x⟩)⟨w2,r,i∗,x⟩\sum_{i\in[p]}a^{*}_{r,i}\phi_{r,i}(\langle w_{1,r,i}^{*},x\rangle)\langle w_{2,r,i}^{*},x\rangle. We can re-define (the norm grows by a maximum factor of pp)

Fit multiple outputs. If there are kk outputs let us re-define (the norm grows by a maximum factor of kk)

Now, re-scaling each wj⋇w^{\divideontimes}_{j} by a factor of 1m\frac{1}{m} and re-scaling ε\varepsilon by 12pk\frac{1}{2pk}, we can write

Now, we use ∣h(r,i)∣≤Cε(Φ,1)|h^{(r,i)}|\leq\mathfrak{C}_{\varepsilon}(\Phi,1) and apply the concentration from Lemma B.3, which implies for our parameter choice of mm, with probability at least 1−e−Ω(mε2/(k4p2Cε(Φ,1)))1-e^{-\Omega(m\varepsilon^{2}/(k^{4}p^{2}\mathfrak{C}_{\varepsilon}(\Phi,1)))}

Norm on W⋇\mathbf{W}^{\divideontimes}. According to its definition in (E.3), we have for each j∈[m]j\in[m], with high probability \|w^{\divideontimes}_{j}\|_{2}\leq\widetilde{O}\big{(}\frac{kp\mathfrak{C}_{\varepsilon}(\Phi,1)}{m}\big{)} (here the additional 1m\frac{1}{m} is because we have re-scaled wj⋇w^{\divideontimes}_{j} by 1m\frac{1}{m}). This means \|\mathbf{W}^{\divideontimes}\|_{2,\infty}\leq\widetilde{O}\big{(}\frac{kp\mathfrak{C}_{\varepsilon}(\Phi,1)}{m}\big{)}. As for the Frobenius norm,

Now, for each i∈[p]i\in[p], we know that ∑j∈[m]h(r,i)(m⟨wj(0),w1,i∗⟩)2\sum_{j\in[m]}h^{(r,i)}\left(\sqrt{m}\langle w_{j}^{(0)},w_{1,i}^{*}\rangle\right)^{2} is a summation of i.i.d. random variables, each with expectation at most Cs(Φ,1)2\mathfrak{C}_{\mathfrak{s}}(\Phi,1)^{2} by Lemma E.2. Applying Hoeffding’s concentration, we have with probability at least 1−e−Ω(m)1-e^{-\Omega(\sqrt{m})}

Putting this back to (E.4) we have ∥W⋇∥F2≤O~(k2p2Cs(Φ,1)2m)\|\mathbf{W}^{\divideontimes}\|_{F}^{2}\leq\widetilde{O}(\frac{k^{2}p^{2}\mathfrak{C}_{\mathfrak{s}}(\Phi,1)^{2}}{m}). This finishes the proof of Lemma E.1’.

References