The merged-staircase property: a necessary and nearly sufficient condition for SGD learning of sparse functions on two-layer neural networks

Emmanuel Abbe, Enric Boix-Adsera, Theodor Misiakiewicz

Introduction

Major research activity has recently been devoted to understanding what function classes can be learned by SGD on neural networks. Two extremal cases are well understood. On one extreme, neural networks can be parametrized to collapse under SGD to linear models, for which a clear picture has been drawn [JGH18, LL18, Du+18, Du+19, ALS19, ALL19, Aro+19, Zou+20, OS20]. On the other extreme, neural networks with zero parametrization constraint (besides polynomial size) have been shown to be able to emulate essentially any efficient learning algorithm [AS20, Abb+21] albeit with non-regularHere we refer to ‘regular’ for architectures used in tangent kernel results or more generally architectures used in neural network applications. architectures. So both of these extremes admit a fairly complete characterization. However, none of these seem to capture the right behavior behind deep learning, or more specifically, behind non-linear but regular networks. Such networks are known to go beyond linear learning [Bac17, Gho+21a, DM20, Ref+21, AL19, Gho+19, YS19, AL20, LMZ20] (even though the NTK can be competitive on several instances [Gei+20]), and seem to exploit structural properties of the target functions in order to build efficiently their features.

Can we thus characterize learning in the non-linear regime for regular networks? Various important results have been developed in this direction, we focus here on the most relevant to us. [CB18, MMN18, RV18, SS20] show that for a certain scaling at initialization, the SGD dynamics on large-width neural networks concentrates on a fully non-linear dynamics, the mean-field dynamics, described by a Wasserstein gradient flow, contrasting with the linear dynamics of the NTK regime [JGH18]. In [AL19, AL20a], the power of deep networks is demonstrated by showing how SGD and quadratic activations can efficiently learn a non-trivial teacher class hierarchically, with the notion of backward feature correction [AL20a].

However, no tight necessary and sufficient characterization of what functions are learnable emerges from these works. The difficulty being that tight necessity results are difficult to obtain in such a setting since SQ-like arguments [Blu+94, FGV17, Kea98, BKW03, Fel16, Yan05, Fel+17, SVW15, AS20, Abb+21, Goe+20] are not expected to be tight (besides for the extreme case of unconstrained networks [AS20, Abb+21]), and sufficiency results are significantly more difficult to obtain due to the more complex (non-linear) dynamics of SGD training.

Is there hope to characterize tight necessary and sufficient conditions for function classes to be learnable by standard SGD on standard neural networks?

As a first attempt in that direction, we focus in this paper on a natural setting: learning sparse functions on the dd-dimensional hypercube, i.e., functions that depend on a small latent (unknown) subset of coordinates of the input. We further restrict the optimization regime considered to two layers neural networks trained by one-pass batch-SGD in the mean-field regime. This allows us to study a regime of optimization that goes beyond the linear regime while averaging out some of the complexity of studying non-linear SGD.

The motivation for the setting of learning sparse function is three-fold: (1) Linear (fixed features) methods do not adapt to latent sparsity, and suffer from the curse of dimensionality [Bac17]. (2) On the contrary, [Bac17, Sch20] shows that neural networks can overcome this curse and learn sparse functions sample-efficiently. However, these works do not provide tractable algorithms and the question of when SGD-trained neural networks can adapt to sparsity remains largely open. (3) Some sparse functions, such as monomials, are known to be much harder to learn than others from SQ-like lower bounds [Kea98, Blu+94, Abb+21], and we expect SGD to inherit some of this complex behavior. Therefore, the problem of learning sparse functions presents a clear-cut separation between fixed-feature and feature learning methods, and can help understand the limits of SGD-training on neural networks.

Both of these functions are 33-sparse, and both present the same tight sample-complexity lower bound of Ω(d3)\Omega(d^{3}) to be learned by any linear method. However, are these functions equivalent for SGD-trained neural networks? If not, can we obtain a fine-grained analysis that separates them?

In this paper, we introduce the following notion: we say that a latent function h∗h_{*} is strongly SGD-learnable in O(d)O(d)-scaling, if O(d)O(d) samples are enough to learn f∗(x)=h∗(z)f_{*}({\bm{x}})=h_{*}({\bm{z}}) for arbitrary latent subspace z{\bm{z}} and dimension dd, using batch-SGD on a two-layer neural network in the mean-field regime. The main contribution of this paper is then to characterize with a necessary and nearly sufficient condition the class of functions that are strongly SGD-learnable in O(d)O(d)-scaling. This is achieved with the merged-staircase property (MSP), stating that the non-zero Fourier coefficients of gg can be ordered as subsets {S1,…,Sr}\{S_{1},\ldots,S_{r}\} such that for any i∈[r]i\in[r],

For instance, h2(z)=z1+z1z2+z1z2z3h_{2}({\bm{z}})=z_{1}+z_{1}z_{2}+z_{1}z_{2}z_{3} has Fourier coefficients (monomials) that can be ordered as {{1},{1,2},{1,2,3}}\{\{1\},\{1,2\},\{1,2,3\}\}, and each new set is incremented only by one element at each time. So h2h_{2} satisfies the MSP (or is an MSP function with a slight abuse of terminology) and so is the function z1+z1z2+z2z3+z1z2z3z_{1}+z_{1}z_{2}+z_{2}z_{3}+z_{1}z_{2}z_{3}. However, the function h1(z)=z1z2z3h_{1}({\bm{z}})=z_{1}z_{2}z_{3} directly makes a leap to a degree-3 Fourier coefficient and does not therefore satisfy the MSP. Our main results thus imply that h2h_{2} can be learned with O(d)O(d) samples in this regime, but not h1h_{1}. The near sufficiency part in our result stands for the fact that the sufficiency result is proved for “generic” merged-staircase functions, i.e., excluding a measure zero subclass. This ‘genericity’ is in fact needed, as we provide degenerate examples in Section 4 for which the strong SGD-learnability in O(d)O(d)-scaling is indeed not achievable.

The terminology MSP comes from the fact that this condition generalizes the basic staircase property introduced in [Abb+21a], which only encompasses nested chains of coefficients with ∣Si∖Si−1∣=1|S_{i}\setminus S_{i-1}|=1, such as the vanilla staircase function (e.g., h2h_{2}) and slight generalizations with multiple chains. In [Abb+21a] it is shown that staircase functions are learnable by neural nets that are deep bur sparse, and with an unconventional gradient-based training algorithm (see Section 1.2 for further discussion). Further [Abb+21a] does not provide necessary conditions for learning, nor fine-grained complexity guarantees (beyond ‘polynomial’).

Finally, while strong SGD-learnability is defined for a fixed latent function and fixed PP, the number of samples required to fit MSP functions remains polynomial in dd for PP growing sufficiently slowly in dd. This is of interest because in this regime, we can show that the considered functions are not learnable by any linear methods with any sample complexity (or feature space dimension) that is polynomial (using contribution (4) below). Thus the merged-staircase functions of such degree are efficiently learnable by SGD on networks of depth two but not by linear methods.

We now formally define the Merged-Staircase Property. Let us call any S⊆2[P]{\mathcal{S}}\subseteq 2^{[P]} a set structure.

We say that S={S1,…,Sm}⊆2[P]{\mathcal{S}}=\{S_{1},\ldots,S_{m}\}\subseteq 2^{[P]} is a Merged-Staircase Property (MSP) set structure if the sets can be ordered so that for each i∈[m]i\in[m], ∣Si∖(Si∩(∪i′<iSi′))∣≤1|S_{i}\setminus(S_{i}\cap(\cup_{i^{\prime}<i}S_{i^{\prime}}))|\leq 1.

Let S⊂2[P]{\mathcal{S}}\subset 2^{[P]} be the non-zero Fourier coefficients of h∗h_{*}, i.e., h^∗(S)≠0\hat{h}_{*}(S)\neq 0 iff S∈SS\in{\mathcal{S}}. We say that h∗h_{*} satisfies the merged-staircase property (MSP) if S{\mathcal{S}} is a MSP set structure.

In words, h∗h_{*} satisfies the MSP if the monomials in its Fourier decomposition can be ordered sequentially such that the supports of the monomials grow by at most one at a time. Examples of MSP functions include vanilla staircases (i.e., z1+z1z2+⋯+∏i=1Pziz_{1}+z_{1}z_{2}+\dots+\prod_{i=1}^{P}z_{i}), z1+z1z2+z2z3+z3z4z_{1}+z_{1}z_{2}+z_{2}z_{3}+z_{3}z_{4}, or z1+z2+z3+z4+z1z2z3z4z_{1}+z_{2}+z_{3}+z_{4}+z_{1}z_{2}z_{3}z_{4}, but not z1+z1z2z3+z1z2z3z4z_{1}+z_{1}z_{2}z_{3}+z_{1}z_{2}z_{3}z_{4}, z1+z1z2+z3z4z_{1}+z_{1}z_{2}+z_{3}z_{4}, or z1z2z3z_{1}z_{2}z_{3}. We briefly summarize our results here:

We show that for non-MSP h∗h_{*}, the associated dimension-free dynamics stays bounded away from . From the previous equivalence, we deduce that MSP is necessary for a function to be strongly O(d)O(d)-SGD-learnable.

We first show that vanilla staircases are strongly O(d)O(d)-SGD-learnable for smooth activation functions as long as σ(r)(0)≠0\sigma^{(r)}(0)\neq 0 for r=0,…,Pr=0,\ldots,P.

For general MSP functions, however, some symmetric MSP functions have degenerate dynamics and are not strongly O(d)O(d)-SGD-learnable (see Section 4). We show instead that MSP h∗h_{*} are almost surely strongly O(d)O(d)-SGD-learnable. I.e., the degenerate examples are a measure-zero set. This is proved for generic degree-LL polynomial activations, and we explain how one can extend this result to generic smooth activations in the appendix.

One can take MSP functions (e.g., vanilla staircases) with PP slowly growing with dd so that the overall sample complexity of the above neural network results stay as dO(1)d^{O(1)}, while we show that any linear method requires a sample complexity of dωd(1)d^{\omega_{d}(1)}.

These main results are further achieved with several side results of independent interest: (i) The approximation of the standard mean-field dynamics by the dimension-free dynamics, valid for PP-sparse target functions and d≫Pd\gg P. We provide a new version of the non-asymptotic bounds from [MMN18, MMM19], which now compares SGD with this dimension-independent dynamics; (ii) A new proof technique to study layer-wise SGD dynamics which reduces the proof of global convergence to a polynomial identity testing problem, i.e., whether a certain polynomial is non-identically zero; (iii) An improvement of prior dimension lower-bounds for linear (kernel) methods [Hsu+21, Hsu, KMS20] that is tighter for function classes that are non-almost orthogonal (such as staircase functions, allowing for contribution (4) above).

The rest of the paper is organized as follows. The next section overviews related work. Section 2 provides a formal definition of strong SGD-learnability in O(d)O(d)-scaling. In Section 3, we introduce the dimension-free dynamics and the equivalence with strong O(d)O(d)-SGD-learnability. The MSP necessary condition is then derived as a direct consequence of this equivalence. In Section 4, we provide our sufficient conditions for strong O(d)O(d)-SGD-learnability. In Section 5, we discuss how this implies a separation with linear methods.

2 Further related literature

[Abb+21a] introduces a class of staircase functions, which our merged-staircase function class generalizes. They show that staircase functions are learnable by some neural nets with a gradient-based training algorithm. However, the approach remains non-standard: (i) the network’s layers are sparse in order to guide the construction of the features; (ii) a coordinate descent variant of SGD is used that differs from the classical SGD algorithm. Further, the analysis is carried in the ‘polynomial scaling lens’ rather than a finer sample complexity, and no necessity results are derived. In contrast, we provide here both a necessary and nearly sufficient characterization for SGD-learning on a two-layer neural networks in the fine-grained O(d)O(d)-scaling.

Multiple works have used mean-field (also called distributional) dynamics to approximate the SGD trajectory. Relevant to us is [CB20] which showed that neural networks trained in the mean-field regime converge to a max-margin classifier that is independent of the dimension for latent low-dimensional target functions. However, these works do not provide quantitative results in terms of sample-complexity. A notable exception is [MMN18] which studies classifying anisotropic gaussians: they show that the mean-field dynamics concentrates on a simplified low-dimensional dynamics as d→∞d\to\infty. However, this simplification is due to rotational invariance of the problem and not the sparsity of the target function.

In approximation theory, it has been understood for a long time that sparse functions are naturally well approximated by neural networks [Bar93]. Recent work [Bac17, Sch20, Gho+21a, CMM21] have shown that neural networks can learn sparse functions more sample-efficiently than linear methods. However, these works do not provide tractable algorithms.

Finally, a string of works [YS19, AL19, AL20, LMZ20, DM20, Ref+21, Gho+21, Gho+21a, Mal+21, Kar+21, SA20] have shown separation results between gradient-trained neural networks and fixed-features models. We refer to Appendix B of [Mal+21] for a detailed survey. In particular, [DM20] considers the learning of parity functions, with a modified input distribution that gives correlation to the response and allows for domain extraction; it also uses the population dynamics (infinite samples). In [MS20], the learning of Boolean circuits of logarithmic depth is considered via neural networks with layer-wise gradient descent, but with an architecture that is required to match the Boolean circuit being learned, i.e., not with a ‘regular’ or ‘blackbox’ architecture. Lastly, [Bas+19, Cao+21] show that during training, SGD on 2-layer ReLU\mathsf{ReLU} networks learns faster the lower frequency components of a target function, in similar spirit to low degree monomials, but the approach relies on the linear regime rather than the non-linear regime of interest here, and suffers from an exponential dependency on the degree.

Strong SGD-learnability in O​(d)𝑂𝑑O(d)-scaling

We first consider a general definition for a class of sparse functions to be learnable. We take {P(d)}d≥1\{P(d)\}_{d\geq 1} a sequence of integers (here, we allow the sparsity parameter PP to grow with dd) and consider a general class of functions defined as H={HP(d)}d≥1{\mathcal{H}}=\{{\mathcal{H}}_{P(d)}\}_{d\geq 1} with HP(d)⊆L2({+1,−1}P(d)){\mathcal{H}}_{P(d)}\subseteq L^{2}(\{+1,-1\}^{P(d)}).

This definition covers many scenarios that occur in practice where the practitioner is allowed to tune the hyperparameters of the dynamics. While this choice leaves the question of tractability open, we note that the requirement that learnability must hold uniformly over all possible latent subspaces excludes many irregular scenarios. Furthermore, the next definition will require strong regularity on the hyperparameters, and our sufficiency results will hold for simple choices of hyperparameters.

In order to introduce strong SGD-learnability, we will restrict the previous definition in three major ways: (1) we consider a fixed dimension PP and function H={h∗}{\mathcal{H}}=\{h_{*}\}; (2) we consider the scalingExtending our results to α>1\alpha>1, and establishing how this relates to the ‘leap’ in the staircase definition (i.e., how can one jump monomial degrees) is a natural future direction to this work. of α=1\alpha=1; (3) we restrain the hyperparameters to be in either two regimes (i) small batch size b=o(d)b=o(d) and step size η=o(1)\eta=o(1) trained for Θ(1/η)\Theta(1/\eta) steps (“continuous”); and (ii) large batch size b=Θ(d)b=\Theta(d) and step size η=Θ(1)\eta=\Theta(1) trained for a total number of Θ(1)\Theta(1) steps (“discrete”). For the sake of presentation, we will only present the continuous regime in the main text and defer the presentation of the discrete regime to Appendix C. We will assume that the hyperparameters obey the following for some constant KK (independent of dd):

(One-pass) We have fresh samples at each steps, meaning {(xki,yki)}k≥0,i∈[b]\{({\bm{x}}_{k_{i}},y_{k_{i}})\}_{k\geq 0,i\in[b]} are iid. Furthermore, the response variable is bounded ∣y∣≤K|y|\leq K.

(Boundedness and lipschitzness of hyperparameters) There exists a constant η>0\eta>0 such that ηka,ηkw≤ηK\eta_{k}^{a},\eta_{k}^{w}\leq\eta K, ∣ηk+1a−ηka∣≤η2K|\eta_{k+1}^{a}-\eta_{k}^{a}|\leq\eta^{2}K and ∣ηk+1w−ηkw∣≤η2K|\eta_{k+1}^{w}-\eta_{k}^{w}|\leq\eta^{2}K. Furthermore, λa,λw≤K\lambda^{a},\lambda^{w}\leq K.

Conditions A0{\rm A}0-A3{\rm A}3 guarantee that as long as d,n,Nd,n,N are taken sufficiently large, there exists a continuous mean-field dynamics that well-approximates batch-SGD up to (continuous) time TT depending on ε,h∗\varepsilon,h_{*}. An analogous statement is true for strong-SGD-learnability in the “discrete regime”, except convergence is to a family of limiting discrete-time dynamics (deferred to Appendix C). This allows us to get a necessary condition for strong-learnability by studying the limiting dynamics (see next section).

Finally, we note that for any degree-kk sparse function h∗h_{*}, any linear method (e.g., arbitrary kernel or random feature methods) will require Ω(dk)\Omega(d^{k}) samples to fit functions f∗(x)=h∗(z)f_{*}({\bm{x}})=h_{*}({\bm{z}}) uniformly well over all latent subspaces z=xI{\bm{z}}={\bm{x}}_{{\mathcal{I}}} (see Section 5 for a formal statement). As emphasized in the introduction, this bound is not adaptive to the sparsity parameter PP. In particular, any non-linear h∗h_{*} that is strongly O(d)O(d)-SGD-learnable provides a separation result between SGD-trained neural networks and linear methods.

Continuous dimension-free dynamics and necessary condition

For simplicity, the results in this section are stated in the ‘continuous regime’ of strong SGD-learnability. Discrete versions can be found, with little modification, in Appendix C.

ξa,ξw\xi^{a},\xi^{w} are bounded Lipschitz ∥ξa∥∞,∥ξw∥∞,∥ξa∥Lip,∥ξw∥Lip≤K\|\xi^{a}\|_{\infty},\|\xi^{w}\|_{\infty},\|\xi^{a}\|_{\text{Lip}},\|\xi^{w}\|_{\text{Lip}}\leq K and λa,λw≤K\lambda^{a},\lambda^{w}\leq K.

Note that for any (ηka,ηkw)k≥0(\eta_{k}^{a},\eta_{k}^{w})_{k\geq 0} obeying A3{\rm A}3, there exists functions ξa,ξw\xi^{a},\xi^{w} such that A3′{\rm A}3^{\prime} holds with same constant KK. Conversely, any η\eta discretization of ξa,ξw\xi^{a},\xi^{w} obeys A3{\rm A}3 with constants η,K\eta,K.

and we denote with a slight abuse of notation, f^NN(z;ρt):=f^NN(x;ρt)\hat{f}_{{\sf NN}}({\bm{z}};\rho_{t}):=\hat{f}_{{\sf NN}}({\bm{x}};\rho_{t}).

We see that f^NN(⋅;ρ‾t)\hat{f}_{{\sf NN}}(\cdot;\overline{\rho}_{t}) can be seen as a two layer neural network in dimension PP, with adaptive Gaussian smoothing. Taking d→∞d\to\infty with PP fixed, (a0,u0,∥v0∥2)(a^{0},{\bm{u}}^{0},\|{\bm{v}}^{0}\|_{2}) (with distribution ρ0\rho_{0} satisfying A2{\rm A}2) converges in distribution to (a‾0,u‾0,s‾0)∼ρ‾0(\overline{a}^{0},\overline{{\bm{u}}}^{0},\overline{s}^{0})\sim\overline{\rho}_{0} with a‾0∼μa\overline{a}^{0}\sim\mu_{a}, u‾0=0\overline{{\bm{u}}}^{0}={\bm{0}} and s‾0=m2w\overline{s}^{0}=m_{2}^{w}, and the dynamics (MF-PDE) simplifies into the following dimension-free dynamics

The following theorem provides a non-asymptotic bound between the (bSGD) solution f^NN(⋅;ρ^t(N))\hat{f}_{{\sf NN}}(\cdot;\hat{\rho}^{(N)}_{t}) and the (DF-PDE) solution f^NN(⋅;ρ‾t)\hat{f}_{{\sf NN}}(\cdot;\overline{\rho}_{t}):

Assume conditions A0{\rm A}0-A2{\rm A}2,A3′{\rm A}3^{\prime} hold, and let T≥1T\geq 1. There exist constants K0K_{0} and K1K_{1} depending only on the constants in A0{\rm A}0-A2{\rm A}2,A3′{\rm A}3^{\prime} (in particular, independent of d,P,Td,P,T), such that for any b≤db\leq d, N≤edN\leq e^{d}, η≤e−K0T3b/(d+log⁡(N))\eta\leq e^{-K_{0}T^{3}}b/(d+\log(N)), we have

The proof of Thm. 3.1 can be found in App. B.2.1. An extension of the results in [MMM19] bounds the difference between (bSGD) and (MF-PDE) dynamics, and then we use a propagation-of-chaos argument to bound the distance between the (MF-PDE) and (DF-PDE) solutions.

From Theorem 3.1, (DF-PDE) is a good approximation of (bSGD) as long as d,N,1/ηd,N,1/\eta are taken sufficiently large while keeping T=ηn/bT=\eta n/b bounded. This leads to the equivalence described in the introduction (the proof can be found in Appendix B.2.1):

For generic activation, we have inf⁡ρ‾R(ρ‾)=0\inf_{\overline{\rho}}R(\overline{\rho})=0. Hence, Theorem 3.2 states that h∗h_{*} is strongly O(d)O(d)-SGD-learnable if and only if the global minimizer is dynamically reachable by a gradient flow initialized at ρ‾0=μa⊗δu‾0=0⊗δs‾0=c\overline{\rho}_{0}=\mu_{a}\otimes\delta_{\overline{{\bm{u}}}^{0}={\bm{0}}}\otimes\delta_{\overline{s}^{0}=c}. See Appendix A for additional discussions and numerical illustrations. In Figure 1, we plotted a comparison between (bSGD) and (DF-PDE) for h∗(z)=z1+z1z2+z1z2z3+z1z2z3z4h_{*}({\bm{z}})=z_{1}+z_{1}z_{2}+z_{1}z_{2}z_{3}+z_{1}z_{2}z_{3}z_{4} and shifted sigmoid activation σ(x)=(1+e−x+0.5)−1\sigma(x)=(1+e^{-x+0.5})^{-1}. We fix d=N=100d=N=100, b=150b=150, λa=λw=0\lambda^{a}=\lambda^{w}=0, ηka=ηkw=1/2\eta^{a}_{k}=\eta^{w}_{k}=1/2, μa=Unif([+1,−1])\mu_{a}={\rm Unif}([+1,-1]) and μw=N(0,1)\mu_{w}={\sf N}(0,1). Let us emphasize a few prominent features of this plot: 1) The (DF-PDE) approximation tracks well (bSGD) until convergence even for moderate d,N,b/ηd,N,b/\eta, despite a convergence with nontrivial structure. 2) The monomials are picked up sequentially with increasing degree, which agrees with the intuition that lower-degree monomials guide SGD to learn higher degree monomials. 3) (DF-PDE) reaches a global minimum, which by Theorem 3.2 implies that h∗h_{*} is strongly SGD-learnable in O(d)O(d)-scaling.

We can show that the (DF-PDE) dynamics with h∗h_{*} without MSP cannot reach arbitrarily small test error when initialized with ρ‾0\overline{\rho}_{0}. By Theorem 3.2, this implies that MSP is necessary for strong SGD-learnability in O(d)O(d)-scaling.

for some r(u23t)∈[−2u23t,2u23t]r(u_{23}^{t})\in[-2u_{23}^{t},2u_{23}^{t}] using the mean value theorem. Recalling that u230=0u_{23}^{0}=0, we deduce that u23t=u‾2t=u‾3t=0u^{t}_{23}=\overline{u}_{2}^{t}=\overline{u}_{3}^{t}=0.

Sufficient conditions for strong SGD-learnability

In the previous section, we saw that having MSP is necessary for strong O(d)O(d)-SGD-learnability. Is the converse true? Is any MSP function strongly SGD-learnable in the O(d)O(d)-scaling?

To bypass this difficulty, we prove a learnability result that holds for “generic” MSP functions – i.e., that holds almost surely over a random choice of non-zero Fourier coefficients. Formally, for any set structure S={S1,…,Sm}⊆2[P]{\mathcal{S}}=\{S_{1},\ldots,S_{m}\}\subseteq 2^{[P]}, let us define a measure over functions that have those Fourier coefficients.

Our main sufficiency result shows that the degenerate cases are a measure-zero set. In this sense, there are very few bad examples, and so MSP structure is “nearly” sufficient for strong O(d)O(d)-SGD-learnability.

For any MSP set structure S⊆2[P]{\mathcal{S}}\subseteq 2^{[P]}, h∗h_{*} is strongly O(d)O(d)-SGD-learnable almost surely with respect to μS\mu_{{\mathcal{S}}}, using activation function σ(x)=(1+x)L\sigma(x)=(1+x)^{L} where L=28PL=2^{8P}.Technically speaking, for the strong SGD-learnability definition we cannot take σ(x)=(1+x)L\sigma(x)=(1+x)^{L} as it is not bounded. However, we take an activation function that equals (1+x)L(1+x)^{L} on the interval (−1,1)(-1,1) and is bounded elsewhere.

The converse to this result is implied by the necessity result of the previous section, which states that for any h∗h_{*} with non-zero Fourier coefficients (set structure) S{\mathcal{S}} that is not MSP, h∗h_{*} is not strongly O(d)O(d)-SGD-learnable. While we prove Theorem 4.2 for a particular activation, we note that the proof implies that the same is true for any degree-LL polynomial activation almost surely over its (L+1)(L+1)-coefficients (see Theorem E.5 in Appendix E). In Appendix F we show how this result extends to generic smooth (non-polynomial) activations as long as a certain polynomial is not identically for a given set structure (which we show with a small technical caveat).

In the special case of functions with “vanilla staircase” structure we do not need a genericity assumption, and we require weaker assumptions on the activation function.

The proofs for Theorems 4.2 and 4.3 follow a similar approach. From the equivalence stated in Theorem 3.2, it is sufficient to display, for each ε>0\varepsilon>0, hyperparameters such that the (DF-PDE) dynamics reaches ε\varepsilon-risk. We choose λa=λw=0\lambda^{a}=\lambda^{w}=0 (no regularization) and initialization μa=Unif([−1,+1])\mu_{a}={\rm Unif}([-1,+1]) and μw=δ0\mu_{w}=\delta_{0} (this choice simplifies the analysis as s‾t=s‾0=0\overline{s}^{t}=\overline{s}^{0}=0). We split the learning in two phases: in Phase 1, we train the first layer weights u‾t\overline{{\bm{u}}}^{t} for time t∈[0,T1]t\in[0,T_{1}] while keeping a‾t=a‾0\overline{a}^{t}=\overline{a}^{0} fixed, and in Phase 2, we train the second layer weights a‾t\overline{a}^{t} for time t∈[T1,T2]t\in[T_{1},T_{2}] while keeping u‾t=u‾T1\overline{{\bm{u}}}^{t}=\overline{{\bm{u}}}^{T_{1}} fixed.

The goal of the analysis in Phase 1 is therefore to prove this lower bound on the eigenvalues of the kernel matrix. Phase 1 corresponds to a nonlinear dynamics, and is a priori unclear how to analyze. In the case of vanilla staircases, we show that it is enough to track the leading order in tt for each coordinates (u‾it)i∈[P](\overline{u}_{i}^{t})_{i\in[P]} and take T1T_{1} small enough: the lower bound on the eigenvalues of KT1{\bm{K}}^{T_{1}} follows from a simple algebraic fact (see Appendix D for the detailed proof). For general MSP set structure, it is not enough to only track the leading order term. We show instead that it is enough to lower bound a kernel matrix K^T1\hat{{\bm{K}}}^{T_{1}} obtained from a simplified dynamics u^t(a‾0)\hat{{\bm{u}}}^{t}(\overline{a}^{0}). The weights u^it(a‾0)\hat{u}_{i}^{t}(\overline{a}^{0}) can be written in terms of polynomials in a‾0\overline{a}^{0}, (αS)S∈S(\alpha_{S})_{S\in{\mathcal{S}}} and (σ(r)(0))r=0,…,L(\sigma^{(r)}(0))_{r=0,\ldots,L}, with coefficients defined explicitly by a recurrence relation and only depending on the set structure S{\mathcal{S}}. Using algebraic facts about the linear independence of large powers of polynomials and plugging a‾0∼Unif()\overline{a}^{0}\sim{\rm Unif}(), we show that det⁡(K^T1)>0\det(\hat{{\bm{K}}}^{T_{1}})>0 for T1T_{1} small enough, by anti-concentration of polynomials, which implies the lower bound on λmin⁡(KT1)\lambda_{\min}({\bm{K}}^{T_{1}}). The proof can be found in Appendix E. We present a more general argument in Appendix F for non-polynomial activations, where we show instead that the polynomials are not identically by adding a perturbation to the activation.

Separation with linear methods

It is well known that any SQ algorithm (adaptive or not) with polynomially-many queries and polynomial query precision cannot learn the class of degree PP monomials if PP grows with the input dimension dd [Kea98, Blu+94], and likewise no linear method with polynomially many features or samples can learn this function class [Hsu+21, Hsu, KMS20]. But the implication is not obvious for staircase functions of growing degree. These functions contain monomials of growing degree, but the hierarchical structure could potentially allow a sequential learning of these monomials; in fact, staircases of degree PP are efficiently SQ learnable with adaptive queries as one can sequentially query the monomials of increasing degree (making at most dd queries per degree, e.g., at most dlog⁡dd\log d queries for P=log⁡dP=\log d vanilla staircases). We thus need a lower-bound on linear methods that goes beyond general SQ lower-bounds, which we obtain by separating the analysis using subspace projections.

We will further denote q=dim⁡(H)q=\dim({\mathcal{H}}). Popular examples include random feature models (qq is equal to the number of random features) and kernel methods (q=∞q=\infty typically). While the optimization problem (72) is over a (potentially) infinite dimensional space H{\mathcal{H}}, it is an easy exercise to verify that a^∈span{ψ(xi):i∈[n]}{\hat{\bm{a}}}\in{\rm span}\{\psi({\bm{x}}_{i}):i\in[n]\} which has dimension bounded by min⁡(n,q)\min(n,q).

Let Ω⊆L2(X)\Omega\subseteq L^{2}({\mathcal{X}}) a linear subspace. Let FM={f1,…,fM}⊂L2(X){\mathcal{F}}_{M}=\{f_{1},\ldots,f_{M}\}\subset L^{2}({\mathcal{X}}) such that ∥PΩfj∥L22=1−κ\|{\mathsf{P}}_{\Omega}f_{j}\|_{L^{2}}^{2}=1-\kappa and ∥PΩ⊥fj∥L22=κ\|{\mathsf{P}}_{\Omega}^{\perp}f_{j}\|_{L^{2}}^{2}=\kappa for all fj∈FMf_{j}\in{\mathcal{F}}_{M}. For any linear method, if R‾n(FM)≤1−η\overline{R}_{n}({\mathcal{F}}_{M})\leq 1-\eta, then we must have

For any linear method, if R‾n(FPoly-k)≤1/2⋅(1−η)\overline{R}_{n}({\mathcal{F}}_{{\text{Poly-}k}})\leq 1/2\cdot(1-\eta) then we must have min⁡(n,q)≥ηm(dk)\min(n,q)\geq\frac{\eta}{m}{{d}\choose{k}}. Similarly, if R‾n(FStr-P)≤1−η\overline{R}_{n}({\mathcal{F}}_{{\text{Str-}P}})\leq 1-\eta then we must have min⁡(n,q)≥η2(d⌊ηP2⌋)\min(n,q)\geq\frac{\eta}{2}{{d}\choose{\lfloor\frac{\eta P}{2}\rfloor}}.

Note that kernel and random features methods achieve the lower bound for FPoly-k{\mathcal{F}}_{{\text{Poly-}k}} [Gho+21, MMM21]. Comparing Proposition 5.1 with the result of Section 4, we get the following separation results between SGD-trained neural networks and linear methods:

SGD on two-layer neural networks outperforms linear methods almost surely on non-linear MSP functions (n=O(d)n=O(d) versus n=Ωd(dk)n=\Omega_{d}(d^{k}) for degree-kk MSP).

We obtain from Proposition 5.2 that for any P=ωd(1)P=\omega_{d}(1), linear methods must have min⁡(n,q)=dωd(1)\min(n,q)=d^{\omega_{d}(1)} to learn the vanilla staircase of degree PP, while Theorem 4.3 can still guarantee a sample complexity of dO(1)d^{O(1)} for PP growing slowly enough with dd.

Conclusion and future directions

In this paper, we considered learning sparse functions in arbitrarily large ambient dimension, using two-layer neural networks trained by batch-SGD in the mean-field regime. We proved that the merged-staircase property is a necessary and nearly-sufficient condition for such functions to be learnable on such models in O(d)O(d) sample-complexity. The near sufficiency part, which excludes a measure-zero subset, is unavoidable as there exist symmetric MSP functions with degenerate dynamics that are not strongly SGD-learnable in O(d)O(d)-scaling. This provides a regime where one can achieve a tight characterization of functions that are learnable by regular SGD on regular neural networks, while going beyond the linear regime.

Finally, it is natural to seek counterparts of the results in this work and counterparts of the staircase notions for other Hilbert spaces than the one considered here.

Acknowledgements

We thank Guy Bresler, Dheeraj Nagaraj, and Nati Srebro for stimulating discussions. We thank the Simons Foundations and the NSF for supporting us through the Collaboration on the Theoretical Foundations of Deep Learning (deepfoundations.ai). This work was done (in part) while E.B. and T.M. were visiting the Simons Institute for the Theory of Computing and while E.B. was visiting the Bernoulli Center at EPFL.

References

Appendix A Additional numerical simulations

In this Appendix, we provide further background and numerical illustrations on the strong O(d)O(d)-SGD learning setting, merged-staircase functions and the dimension-free dynamics.

While global convergence proofs are challenging, the (DF-PDE) dynamics is a low dimensional problem and can be efficiently solved numerically. In the rest of this section, we provide a few numerical simulations to illustrate phenomena alluded to in the main text. We will fix the activation to be a shifted sigmoid σ(x)=(1+e−x+1)−1\sigma(x)=(1+e^{-x+1})^{-1}, and choose learning schedules ξa(t)=ξw(t)=1\xi^{a}(t)=\xi^{w}(t)=1, zero regularization parameters λa=λw=0\lambda^{a}=\lambda^{w}=0, and initialization μa=Unif([+1,−1])\mu_{a}={\rm Unif}([+1,-1]) and s‾0=1\overline{s}^{0}=1. In Figure 2, we consider four MSP functions and plot the evolution of their Fourier coefficients during the (DF-PDE) dynamics. In particular, the two top row examples, h1(z)=z1+z1z2+z3+z1z2z3z4h_{1}({\bm{z}})=z_{1}+z_{1}z_{2}+z_{3}+z_{1}z_{2}z_{3}z_{4} and h2(z)=z1+z1z2+z2z3+z3z4+z1z2z3z4h_{2}({\bm{z}})=z_{1}+z_{1}z_{2}+z_{2}z_{3}+z_{3}z_{4}+z_{1}z_{2}z_{3}z_{4}, converge to the global minimum and are therefore strongly O(d)O(d)-SGD-learnable. The bottom row examples, h3(z)=z1+z1z2+z3+z3z4h_{3}({\bm{z}})=z_{1}+z_{1}z_{2}+z_{3}+z_{3}z_{4} and h4(z)=z1+z2+z3+z1z2z3h_{4}({\bm{z}})=z_{1}+z_{2}+z_{3}+z_{1}z_{2}z_{3}, do not converge and have risks bounded away from . Functions h3h_{3} and h4h_{4} are two examples of GG-invariant MSP functions.

In this paper, we only prove that the set of MSP functions that are not strongly O(d)O(d)-SGD-learnable is of Lebesgue measure . We do not characterize this set beyond this and do not prove that GG-invariant MSP functions coincides with this set (in particular, we do not show that GG-invariant MSP functions are the only functions that might not be strongly O(d)O(d)-SGD-learnable).

We conclude this section with a final comment about the necessity condition of MSP, which holds only when considering arbitrarily large dd.

The proof that non-MSP functions are not strongly O(d)O(d)-SGD-learnable relies on the fact that, when dd goes to infinity, the initialization ui0→0u_{i}^{0}\to 0 for i∈[P]i\in[P]. However, for dd fixed, ui0≈1/du_{i}^{0}\approx 1/\sqrt{d} and waiting sufficiently long, one-pass (bSGD) escapes the neighborhood of the subspace ui0=0u_{i}^{0}=0. In this case, the time to escape the subspace has to grow with dd, and we are not in the O(d)O(d)-scaling anymore (indeed n=Tb/η≈Tdn=Tb/\eta\approx Td for one pass (bSGD)). In Figure 4, we consider the same experimental setting as Figure 1 but with h∗h_{*} missing one (left) or two (right) stairs. We see that (DF-PDE) remains trapped in the saddle-space, while one-pass (bSGD) escapes around n≈d2n\approx d^{2} and n≈d2.7n\approx d^{2.7} respectively. This agrees with the intuition that staircases with larger leaps are harder to learn with SGD.

Appendix B Proofs for continuous mean-field and dimension-free dynamics

In this appendix, we provide proofs and discussions for the results presented in Section 3, which corresponds to the ‘continuous-time regime’ of strong O(d)O(d)-SGD-learnability. A discrete version of these results and proofs are presented in Appendix C and require little modifications.

Throughout this section, we will denote by KK a constant that depends only on the constants in Assumptions A0{\rm A}0-A2{\rm A}2,A3′{\rm A}3^{\prime} (in particular, KK is independent of d,P,Td,P,T). The value of this constant is allowed to change from line to line.

Here, we provide more details and intuition on how to derive the equations of the dimension-free dynamics (DF-PDE). We report to Section B.2.1 a rigorous proof of Theorem 3.1, which shows a non-asymptotic bound between (bSGD) and (DF-PDE) dynamics.

First, by Assumption A2{\rm A}2, the coordinates of w0{\bm{w}}^{0} are iid and symmetric and therefore

By symmetry of (MF-PDE), the following lemma shows that the neural network stays independent of the uninformative part r{\bm{r}} of the input during the whole trajectory.

The solution (ρt)t≥0(\rho_{t})_{t\geq 0} of (MF-PDE) with initialization ρ0\rho_{0} satisfying A2{\rm A}2, obeys:

where we used in the third line that ψ(φr(θ);ρt)=ψ(θ;ρt#r)\psi(\varphi_{{\bm{r}}}({\bm{\theta}});\rho_{t})=\psi({\bm{\theta}};\rho_{t}^{\#{\bm{r}}}). Hence ρt#r\rho_{t}^{\#{\bm{r}}} is the solution of the (MF-PDE) dynamics with initialization ρ0#r=ρ0\rho^{\#{\bm{r}}}_{0}=\rho_{0}. Hence by uniqueness of the solution, we deduce that ρt#r=ρt\rho^{\#{\bm{r}}}_{t}=\rho_{t} for any t≥0t\geq 0. ∎

The evolution equations of (at,ut,∥vt∥2)(a^{t},{\bm{u}}^{t},\|{\bm{v}}^{t}\|_{2}) associated to the (MF-PDE) dynamics are given by

where we used that ddt∥vt∥2=1∥vt∥2⟨vt,ddtvt⟩\frac{{\rm d}}{{\rm d}t}\|{\bm{v}}^{t}\|_{2}=\frac{1}{\|{\bm{v}}^{t}\|_{2}}\langle{\bm{v}}^{t},\frac{{\rm d}}{{\rm d}t}{\bm{v}}^{t}\rangle to write the last equation.

Equivalently, this PDE corresponds to the gradient flow in the Wasserstein space (with H‾(t)\overline{{\bm{H}}}(t) rescaling) over the regularized risk functional:

B.2 Proof of the results in Section 3

In this section, we gather the proofs for the results on the dimension free dynamics and the necessity condition. The longer and more technical arguments are deferred to Sections B.3 and B.4.

We use the mean-field dynamics (MF-PDE) as an intermediary dynamics for the bound. Theorem 3.1 is a direct consequence of the following two bounds:

Assume conditions A0{\rm A}0-A2{\rm A}2,A3′{\rm A}3^{\prime}, and let T≥1T\geq 1. There exists constants K0K_{0} and K1K_{1} depending only on the constants in A0{\rm A}0-A2{\rm A}2,A3′{\rm A}3^{\prime} (in particular, independent of d,P,Td,P,T), such that for any \eta\leq e^{-K_{0}T^{3}}\big{[}\{b/(d+\log(N))\}\wedge 1\big{]}, we have

This proposition follows from a straightforward extension of [MMM19] to batch-SGD and anisotropic step sizes, and can be found in Section B.3. In particular, Proposition B.2 implies that, if we consider T,K=Od(1)T,K=O_{d}(1), then N=Ωd(1)N=\Omega_{d}(1) and 1/η=Ωd(d/b)1/\eta=\Omega_{d}(d/b) are sufficient for the mean-field PDE to be an accurate approximation of batch-SGD up to time TT (recall that T=ηn/bT=\eta n/b by one-pass assumption and therefore n=Od(d)n=O_{d}(d)).

Assume conditions A0{\rm A}0-A2{\rm A}2,A3′{\rm A}3^{\prime}, and let T≥1T\geq 1. There exists a constant K1K_{1} depending only on the constants in A0{\rm A}0-A2{\rm A}2,A3′{\rm A}3^{\prime} (in particular, independent of d,P,Td,P,T), such that

The proof of Theorem B.3 can be found in Section B.4.

B.2.2 Proof of Theorem 3.2

Conversely, assume that h∗h_{*} is strongly SGD-learnable in O(d)O(d)-scaling. Let (b,λa,λw,{ηka,ηkw}k∈[0,k0])(b,\lambda^{a},\lambda^{w},\{\eta_{k}^{a},\eta_{k}^{w}\}_{k\in[0,k_{0}]}) be the hyperparameters that satisfy strong learnability for ε/4\varepsilon/4: in particular, k0=n/bk_{0}=n/b and R(Θk0)≤ε/4R({\bm{\Theta}}^{k_{0}})\leq\varepsilon/4 with probability at least 9/109/10. Take T=nη/b≤T(h∗,ε/4)T=n\eta/b\leq T(h_{*},\varepsilon/4) and let ηa,ηw\eta^{a},\eta^{w} be piecewise linear functions such that ηa(ηk)=ηka/η\eta^{a}(\eta k)=\eta_{k}^{a}/\eta and ηw(ηk)=ηkw/η\eta^{w}(\eta k)=\eta_{k}^{w}/\eta. Consider (ρ‾t)t≥0(\overline{\rho}_{t})_{t\geq 0} the solution of (DF-PDE) with ηa,ηw,λa,λw\eta^{a},\eta^{w},\lambda^{a},\lambda^{w}. From Theorem 3.1, there exists constants K0K_{0} and K1K_{1} that only depend on ηa,ηw,λa,λw\eta^{a},\eta^{w},\lambda^{a},\lambda^{w} through the constants in assumption A3{\rm A}3, such that

with probability at least 1−1/N1-1/N. We can therefore take d,N,nd,N,n sufficiently big such that the right-hand side is less than ε/2\sqrt{\varepsilon}/2. On the intersection of this event and the event R(Θk0)≤ε/4R({\bm{\Theta}}^{k_{0}})\leq\varepsilon/4 (which happens with positive probability), we have

B.2.3 Proof of Theorem 3.3

This lower bound does not depend on the details of the dynamics (parameters ξa,ξw,λa,λw\xi^{a},\xi^{w},\lambda^{a},\lambda^{w}, activation and initialization μa\mu_{a},m2wm_{2}^{w}). Let zi,+{\bm{z}}_{i,+} and zi,−{\bm{z}}_{i,-} denote the vector z∈{+1,−1}P{\bm{z}}\in\{+1,-1\}^{P}, with zi=+1z_{i}=+1 and zi=−1z_{i}=-1 respectively, and note that by Lemma B.6, ∣a‾t∣≤K(1+t)|\overline{a}^{t}|\leq K(1+t). Using Assumption A0{\rm A}0, we have by integrating out ziz_{i}:

Similarly, for i∈Ωi\in\Omega and S∈S‾∗S\in\overline{{\mathcal{S}}}_{*} (in particular, since i∉Si\not\in S)

while if S∈S∗∖S‾∗S\in{\mathcal{S}}_{*}\setminus\overline{{\mathcal{S}}}_{*}, then there exists j∈Ω∩Sj\in\Omega\cap S with j≠ij\neq i, hence

Denoting mΩt=max⁡i∈Ω∣u‾it∣m_{\Omega}^{t}=\max_{i\in\Omega}|\overline{u}_{i}^{t}| (recall mΩ0=0m_{\Omega}^{0}=0), we conclude that for any i∈Ωi\in\Omega:

and therefore mΩt=0m_{\Omega}^{t}=0 during the whole dynamics.

B.3 Proof of Proposition B.2

The proof is an application of an extension of Theorem 1.(B) in [MMM19] to batch-SGD and anisotropic step sizes. This extension is straightforward and we simply list below the two main differences with the proof in Appendix C of [MMM19]:

Recall that we defined the regularized risk E(ρ):=12R(ρ)+12∫θTΛθρ(dθ)E(\rho):=\frac{1}{2}R(\rho)+\frac{1}{2}\int{\bm{\theta}}^{\mathsf{T}}{\bm{\Lambda}}{\bm{\theta}}\rho({\rm d}{\bm{\theta}}). We have

where ψ(θt;ρt)\psi({\bm{\theta}}^{t};\rho_{t}) is defined in Eq. (MF-PDE) and we denoted ∥v∥A=∥A1/2v∥2\|{\bm{v}}\|_{{\bm{A}}}=\|{\bm{A}}^{1/2}{\bm{v}}\|_{2}. We conclude that E(ρt)E(\rho_{t}) is nonincreasing. The rest of the proof only uses that H(t){\bm{H}}(t) verifies ∥H∥∞,∥H∥Lip≤K\|{\bm{H}}\|_{\infty},\|{\bm{H}}\|_{\text{Lip}}\leq K.

The concentration between the batch-SGD and gradient descent (Appendix C.5 in [MMM19]) uses that there is an extra 1/b1/b factor in the sub-Gaussian constant.

The proof of Proposition B.2 simply amounts to checking that our setting (with Assumptions A0{\rm A}0-A2,A3′{\rm A}2,{\rm A}3^{\prime}) falls under the general framework of Theorem 1.(B) in [MMM19].

We conclude that ∥∇v(w)∥2,∥∇u(w1,w2)∥2,∥∇2v(w)∥op,∥∇2u(w1,w2)∥op≤K\|\nabla v({\bm{w}})\|_{2},\|\nabla u({\bm{w}}_{1},{\bm{w}}_{2})\|_{2},\|\nabla^{2}v({\bm{w}})\|_{\rm op},\|\nabla^{2}u({\bm{w}}_{1},{\bm{w}}_{2})\|_{{\rm op}}\leq K, and assumption A3{\rm A3} in [MMM19] is verified. ∎

B.4 Proof of Theorem B.3: bound between (MF-PDE) and (DF-PDE) dynamics

We will assume throughout this section that the assumptions and the setting of Theorem B.3 hold. In particular, we will use Assumptions A0{\rm A}0-A2,A3′{\rm A}2,{\rm A}3^{\prime} without mention when clear from context. For clarity, we will write the proof in the case ξa(t)=ξw(t)=1\xi^{a}(t)=\xi^{w}(t)=1 and λa=λw=0\lambda^{a}=\lambda^{w}=0. The general case follows easily, using ∥ξa∥∞,∥ξw∥∞,λa,λw≤K\|\xi^{a}\|_{\infty},\|\xi^{w}\|_{\infty},\lambda^{a},\lambda^{w}\leq K by Assumption A3′{\rm A}3^{\prime}.

The value of the integrand in Eq. (11) only depends on {(at,ut,⟨vt,r⟩)}t≥0\{(a^{t},{\bm{u}}^{t},\langle{\bm{v}}^{t},{\bm{r}}\rangle)\}_{t\geq 0} and {(a‾t,u‾t,s‾tG)}t≥0\{(\overline{a}^{t},\overline{{\bm{u}}}^{t},\overline{s}^{t}G)\}_{t\geq 0} with r∼Unif({−1,+1}d−P){\bm{r}}\sim{\rm Unif}(\{-1,+1\}^{d-P}) and G∼N(0,1)G\sim{\sf N}(0,1) independent of {(θt,θ‾t)}t≥0\{({\bm{\theta}}^{t},\overline{{\bm{\theta}}}^{t})\}_{t\geq 0}. Conditioning on (θt,θ‾t)({\bm{\theta}}^{t},\overline{{\bm{\theta}}}^{t}), we consider the 11-Wasserstein distance

where we recall that W1W_{1} is defined by

The following lemma bounds the right hand-side through the value of vt{\bm{v}}^{t} at initialization:

Consider the same setting and assumptions as Theorem B.3. There exists a constant KK independent of d,Pd,P and depending only on the Assumptions A0{\rm A}0-A2,A3′{\rm A}2,{\rm A}3^{\prime} such that for any T≥0T\geq 0,

where we expanded the expectation on rir_{i} in the second line and used the mean value theorem, and used Eq. (40) in Lemma B.6 in the last line. We deduce that

Using Lemma B.4 in the bound (13) yields (conditional on θ0{\bm{\theta}}^{0}):

Using Eq. (15) and the coupling described above, we will bound (11). Introduce the random quantity

We will show the following technical bounds:

Consider the same setting and assumptions as Theorem B.3. There exists a constant KK independent of d,Pd,P and depending only on the Assumptions A0{\rm A}0-A2,A3′{\rm A}2,{\rm A}3^{\prime} such that for any T≥0T\geq 0,

From this lemma, we can now complete the proof of Theorem B.3:

From Gronwall’s lemma applied to Eq. (52) in Lemma B.5, we have

Injecting this bound in Eq. (18) concludes the proof. ∎

The proof consists in carefully bounding the evolution of the distance between the parameters in the two dynamics.

Step 1. Bound on ∥f^NN(⋅;ρt)−f^NN(⋅;ρ‾t)∥L2\|\hat{f}_{{\sf NN}}(\cdot;\rho_{t})-\hat{f}_{{\sf NN}}(\cdot;\overline{\rho}_{t})\|_{L^{2}}.

We can bound the difference between the two functions with

while we use Eq. (20) for the second term

where we used Eq. (40) in Lemma B.6 and Eq. (15) with q=1q=1.

Combining bounds (21) and (22) and by Jensen’s inequality,

Step 2. Bound on (at−a‾t)2(a^{t}-\overline{a}^{t})^{2}.

Noting that g^(z;ρt)−g^(z;ρ‾t)=f^NN(z;ρ‾t)−f^NN(z;ρt)\hat{g}({\bm{z}};\rho_{t})-\hat{g}({\bm{z}};\overline{\rho}_{t})=\hat{f}_{{\sf NN}}({\bm{z}};\overline{\rho}_{t})-\hat{f}_{{\sf NN}}({\bm{z}};\rho_{t}), the first term can be bounded as in step 1 by

For the second term, we use Eq. (41) in Lemma B.6 and the decomposition (20):

Combining Eqs. (23) and (24) and applying Cauchy-Schwarz inequality yield

where we used the bound (13) on W1W_{1} and Eq. (15) in Lemma B.8 in the last line. We deduce that for t∈[0,T]t\in[0,T],

where we used that a0=a‾0a^{0}=\overline{a}^{0} at initialization.

Step 3. Bound on ∥ut−u‾t∥22\|{\bm{u}}^{t}-\overline{{\bm{u}}}^{t}\|_{2}^{2}.

Combining inequalities (27) and (28) yields

where we again used the bound (15). We deduce that for t∈[0,T]t\in[0,T],

Step 4. Bound on \big{|}\overline{s}^{t}-\|{\bm{v}}^{t}\|_{2}\big{|}^{2}.

First, notice that we have the following simple upper bounds on the evolution of ∥vt∥2\|{\bm{v}}^{t}\|_{2} and s‾t\overline{s}^{t}:

Furthermore, we have by Gaussian integration by part

Similarly, we have by expanding the expectation over the rir_{i}’s and using the mean-value theorem:

We can now bound the evolution in time of (∥vt∥2−s‾t)(\|{\bm{v}}^{t}\|_{2}-\overline{s}^{t}). Using the expressions in Eqs. (32) and (33), we decompose

These four quantities can be bounded as previously:

For the last term, we use Eq. (34) and that ∣ξi∣≤∣vit∣|\xi_{i}|\leq|v_{i}^{t}|:

Combining Eqs. (35) and (36) and applying Cauchy-Schwarz inequality yield

We can now combine inequalities (26), (30) and (30) to get

B.5 Auxiliary lemmas

Denote the residuals of the dynamics g^(z;ρt)=h∗(z)−f^NN(z;ρt)\hat{g}({\bm{z}};\rho_{t})=h_{*}({\bm{z}})-\hat{f}_{{\sf NN}}({\bm{z}};\rho_{t}) and g^(z;ρ‾t)=h∗(z)−f^NN(z;ρ‾t)\hat{g}({\bm{z}};\overline{\rho}_{t})=h_{*}({\bm{z}})-\hat{f}_{{\sf NN}}({\bm{z}};\overline{\rho}_{t}). By the properties of gradient flows, the risks

By definition (ρt)t≥0(\rho_{t})_{t\geq 0} and (ρ‾t)t≥0(\overline{\rho}_{t})_{t\geq 0} are the solutions of a gradient flow:

and similarly for ∥g^(⋅;ρ‾t)∥L2\|\hat{g}(\cdot;\overline{\rho}_{t})\|_{L^{2}}.

A similar result holds for a‾t\overline{a}^{t}. Finally,

This is a simple application of Stein’s method. Consider ff twice differentiable such that ∥f∥∞≤1\|f\|_{\infty}\leq 1, ∥f′∥∞≤2/π\|f^{\prime}\|_{\infty}\leq\sqrt{2/\pi} and ∥f′′∥∞≤2\|f^{\prime\prime}\|_{\infty}\leq 2. Introduce Si=S−vn−1/2Xi=vn−1/2∑j≠iXjS_{i}=S-v_{n}^{-1/2}X_{i}=v_{n}^{-1/2}\sum_{j\neq i}X_{j}. By expanding, we get

where we used Jensen’s inequality in the last line. Combining bounds Eqs. (44) and (45) in the identity (43) yields

By sub-Gaussianity, there exists a universal constant c>0c>0 such that

Consider t_{c}=\Big{(}\tau^{2}\frac{\log(2d)}{\kappa_{q}cd}\Big{)}^{q/2} with κq=22(q−2)/q2∨0\kappa_{q}=2^{2(q-2)/q^{2}\vee 0}, such that 2de−cdκqtc2/q/τ2=12de^{-cd\kappa_{q}t_{c}^{2/q}/\tau^{2}}=1. Then, we have the following upper bound:

Appendix C Strong SGD-learnability in the discrete-time regime

In this appendix, we define strong SGD-learnability in the discrete-time regime, i.e., for large batch size bb and large η\eta. We keep the same assumptions A0{\rm A}0-A2{\rm A}2, and replace Assumption A3{\rm A}3 by

(Boundedness of hyperparameters) We have ηka,ηkw≤K\eta_{k}^{a},\eta_{k}^{w}\leq K and λa,λw≤K\lambda^{a},\lambda^{w}\leq K.

While the continuous-time regime requires step size η\eta to be small enough compared to n/bn/b, the discrete-time regime requires the batch size bb to be big enough compared to cncn for c≪1c\ll 1 (recall b≤nb\leq n by one-pass assumption) in the discrete regime.

Again, conditions A0{\rm A}0-A2,D3{\rm A}2,{\rm D}3 guarantee that as long as d,n,Nd,n,N are taken sufficiently large, there exist a discrete mean-field dynamics that well-approximates batch-SGD up to a constant number of steps that depends on ε,h∗\varepsilon,h_{*}.

where (ak,wk)∼ρk(a^{k},{\bm{w}}^{k})\sim\rho_{k}.

We have the new non-asymptotic bound between the (bSGD) and (d-DF-PDE) dynamics, analogous to Theorem 3.1, but with a worse dependency on the number of iterations.

Assume conditions A0{\rm A}0-A2{\rm A}2,D3{\rm D}3 hold, and let k0≥0k_{0}\geq 0. There exists a constant KK depending only on the constants in A0{\rm A}0-A2{\rm A}2,D3{\rm D}3 (in particular, independent of d,P,k0d,P,k_{0}), such that

From there, it is straightforward, following the same arguments as for Theorems 3.2 and 3.3, to get the equivalence of strong O(d)O(d)-SGD-learnability in the discrete-time regime and global convergence of the discrete (d-DF-PDE) dynamics, and the MSP necessary condition:

C.2 Proof of Theorem C.2

The proof relies on first comparing the (bSGD) dynamics to the discrete mean-field dynamics (d-MF-PDE), using an extension of the results in [MMM19] to the discrete (d-DF-PDE) dynamics (see Appendix H.1).

The proof of this proposition follows from applying Proposition H.1, with the assumptions already verified in Appendix B.3.

The proof of Theorem C.2 then follows by combining the above result with the following bound between the discrete mean-field dynamics (d-MF-PDE) and the discrete dimension-free dynamics (d-DF-PDE):

Assume conditions A0{\rm A}0-A2{\rm A}2,D3{\rm D}3, and let k0≥0k_{0}\geq 0. There exists a constant KK depending only on the constants in A0{\rm A}0-A2{\rm A}2,D3{\rm D}3 (in particular, independent of d,P,Td,P,T), such that

The proof follows similarly to the proof in the continuous case (see Section B.4) and we will simply highlight the differences. First, by the same argument as in the proof of Proposition H.1, we replace the bounds from Lemma B.6 by

The proof follows by using discrete Grönwall lemma in Lemma C.7 stated in the next section, which is the analogous of Lemma B.5 in discrete time. ∎

C.3 Auxiliary lemma

The proof proceeds similarly to the proof of Lemma B.5 in Section B.4.1, where we use discrete Grönwall instead. Step 1 to Step 3 are very similar, using that

Note that ⟨vk/∥vk∥2,Tk⟩=Mk\langle{\bm{v}}_{k}/\|{\bm{v}}^{k}\|_{2},{\bm{T}}^{k}\rangle=M_{k} as defined in Eq. (34) and we can use the bound in Eq. (36):

We can further bound (II)({\rm II}) using the same decomposition as in Eq. (35):

Appendix D Vanilla staircase functions are strongly O​(d)𝑂𝑑O(d)-SGD-learnable: Proof of Theorem 4.3

We start by providing the proof that vanilla staircases are strongly O(d)O(d)-SGD-learnabile, as described in Theorem 4.3. This proof will outline the main ideas behind our global convergence results, without the technical complexity of dealing with general MSP set structure.

We will assume the following hold for the activation σ\sigma:

In particular, this assumption implies that we have the following polynomial approximations of σ\sigma and σ′\sigma^{\prime} around : for any x∈(−η,η)x\in(-\eta,\eta),

Recall from the equivalence with (DF-PDE) (Theorem 3.2) that it is sufficient to show for any ε>0\varepsilon>0, there exist hyperparameters satisfying A0{\rm A}0-A2{\rm A}2, A3′{\rm A}3^{\prime} such that (DF-PDE) dynamics reaches ε\varepsilon-risk. We consider the following hyperparameters:

We do not regularize, i.e., λa=λw=0\lambda^{a}=\lambda^{w}=0.

We initialize the first layer to deterministically weights, and the second layer to uniform random weights. I.e., we take μa=Unif([+1,−1])\mu_{a}={\rm Unif}([+1,-1]) and μW=δ0\mu_{W}=\delta_{0}. Although initializing the first layer to 0 may at first glance seem restrictive, there turns out to be enough randomness in the initialization of the second layer to ensure that the neural network learns. For the dimension-free dynamics, this corresponds to taking (a‾0,u‾0,s‾0)∼ρ‾0(\overline{a}^{0},\overline{{\bm{u}}}^{0},\overline{s}^{0})\sim\overline{\rho}_{0} with a‾0∼Unif([+1,−1])\overline{a}^{0}\sim{\rm Unif}([+1,-1]), u‾0=0\overline{{\bm{u}}}^{0}={\bm{0}} and s‾0=0\overline{s}^{0}=0. In particular, s‾t=0\overline{s}^{t}=0 during the whole dynamics, which allows for a simpler analysis.

Our learning rate schedule has two phases:

We train the first layer weights u‾t\overline{{\bm{u}}}^{t} while keeping the second layer weights fixed a‾t=a‾0\overline{a}^{t}=\overline{a}^{0}. We set ξa(t)=0\xi^{a}(t)=0 and ξw(t)=1\xi^{w}(t)=1 for t∈[0,T1]t\in[0,T_{1}].

We train the second layer weights a‾t\overline{a}^{t} while keeping the first layer weights fixed at u‾t=u‾T1\overline{{\bm{u}}}^{t}=\overline{{\bm{u}}}^{T_{1}}. We set ξa(t)=1\xi^{a}(t)=1 and ξw(t)=0\xi^{w}(t)=0 for t∈[T1,T2]t\in[T_{1},T_{2}].

We restate the sufficient condition in the case of the vanilla staircase.

D.1 Outline of the proof

The proof analyzes Phase 1 and Phase 2 of training separately.

In this phase, we train the first layer, which has nonlinear dynamics, and so it is a priori unclear how to analyze. Nevertheless, since h∗h_{*} is specially structured, the structure in the weights during training is particularly simple and it is enough to track the smallest order terms in the weights.

Specifically, in Proposition D.5 (see next section), we prove that there exist constants c,C>0c,C>0 such that for all t≤ct\leq c and k∈[P]k\in[P], we have ∣ukt(a)−u^kt(a)∣≤Ct2k−1+1|u_{k}^{t}(a)-\hat{u}_{k}^{t}(a)|\leq Ct^{2^{k-1}+1}, where

Denote νk(t)=21−2k−1t2k−1∏i∈[k](miα{1,…,i})2max⁡((k−1−i),0)\nu_{k}(t)=2^{1-2^{k-1}}t^{2^{k-1}}\prod_{i\in[k]}(m_{i}\alpha_{\{1,\ldots,i\}})^{2^{\max((k-1-i),0)}} such that ukt(a)=νk(t)(a2k−1+O(t))u_{k}^{t}(a)=\nu_{k}(t)(a^{2^{k-1}}+O(t)).

In this phase, we train the second layer, and the training has linear dynamics. Denote gt(z):=h∗(z)−f^NN(z;ρ‾t)g_{t}({\bm{z}}):=h_{*}({\bm{z}})-\hat{f}_{{\sf NN}}({\bm{z}};\overline{\rho}_{t}) the residual function at time tt. During this phase, we have the following evolution on the risk:

(This is indeed the kernel, since at the end of Phase 1, the distribution ρ‾T1\overline{\rho}_{T_{1}} of the parameters is given by (a,uT1(a))(a,{\bm{u}}^{T_{1}}(a)) with a∼μaa\sim\mu_{a}, and the first-layer weights are kept constant during Phase 2.)

It only remains to lower-bound λmin⁡(KT1)\lambda_{\min}({\bm{K}}^{T_{1}}). For this we use the structure on uT1{\bm{u}}^{T_{1}} that we prove holds in Phase 1. For all S⊆[P]S\subseteq[P], denote

From Lemma D.4 (see next section), there exists a constant C>0C>0 depending only on PP (and independent of T1T_{1}) such that for any S⊆[P]S\subseteq[P],

Denote DS=m∣S∣νS(T1)D_{S}=m_{|S|}\nu_{S}(T_{1}) and D=diag((DS)S⊆[P]){\bm{D}}={\rm diag}((D_{S})_{S\subseteq[P]}). We have

where ∥Δ∥op≤CT1P\|{\bm{\Delta}}\|_{{\rm op}}\leq CT_{1}P.

Note that β(S)\beta(S) takes value {0,…,2P−1}\{0,\ldots,2^{P}-1\}, and M{\bm{M}} is the Gram matrix of the monomials [1,X,…,X2P−1][1,X,\ldots,X^{2^{P}-1}] in L2([+1,−1],Unif)L^{2}([+1,-1],{\rm Unif}), which are linearly independent. We deduce that λmin⁡(M)\lambda_{\min}({\bm{M}}) is bounded away from (independent of T1T_{1}). We can therefore take T1≤λmin⁡(M)/(2P)T_{1}\leq\lambda_{\min}({\bm{M}})/(2P), so that λmin⁡(M+Δ)≥λmin⁡(M)/2\lambda_{\min}({\bm{M}}+{\bm{\Delta}})\geq\lambda_{\min}({\bm{M}})/2, and λmin⁡(KT1)≥{min⁡SDS2}λmin⁡(M)/2>0\lambda_{\min}({\bm{K}}^{T_{1}})\geq\{\min_{S}D_{S}^{2}\}\lambda_{\min}({\bm{M}})/2>0.

First, we have the following simple bound on ∥ut∥1\|{\bm{u}}^{t}\|_{1}:

There exists a constant CC depending on K,PK,P such that ∥ut∥1≤Ct\|{\bm{u}}^{t}\|_{1}\leq Ct.

By Assumptions A0{\rm A}0 and A1{\rm A}_{1}, we have ∥σ′∥∞,∥h∗∥∞≤K\|\sigma^{\prime}\|_{\infty},\|h_{*}\|_{\infty}\leq K and ∥f^NN(⋅;ρ‾t)∥∞≤∫∣a∣∥σ∥∞dμa≤K\|\hat{f}_{{\sf NN}}(\cdot;\overline{\rho}_{t})\|_{\infty}\leq\int|a|\|\sigma\|_{\infty}{\rm d}\mu_{a}\leq K. Combining these bounds, we get for t≤T1t\leq T_{1}:

and therefore ddt∥ut∥1≤PK\frac{{\rm d}}{{\rm d}t}\|{\bm{u}}^{t}\|_{1}\leq PK. Recalling, u0=0{\bm{u}}^{0}={\bm{0}}, we conclude ∥ut∥1≤KPt\|{\bm{u}}^{t}\|_{1}\leq KPt. ∎

The following lemma give the leading order in tt approximation of the Fourier coefficients of σ(⟨ut,z⟩)\sigma(\langle{\bm{u}}^{t},{\bm{z}}\rangle):

There exists a constant c>0c>0 that depend on η,K,P\eta,K,P such that for any t≤ct\leq c, S⊆[P]S\subseteq[P] and i∈{0,1}i\in\{0,1\},

From Claim D.3, we can choose cc sufficiently small such that ∥ut∥1<η\|{\bm{u}}^{t}\|_{1}<\eta, and ∣⟨z,ut⟩∣<η|\langle{\bm{z}},{\bm{u}}^{t}\rangle|<\eta. We can therefore use the polynomial approximation Eq. (55) of σ(i)\sigma^{(i)}:

Injecting these bounds in Eq. (62) yields the result. ∎

We can now prove the main structural result on the ut{\bm{u}}^{t}, on which the rest of the proof relies.

There exists constants c,C>0c,C>0 depending on η,K,P\eta,K,P, such that for all t≤ct\leq c and k∈[P]k\in[P], ∣ukt(a)−u^kt(a)∣≤Ct2k−1+1|u_{k}^{t}(a)-\hat{u}_{k}^{t}(a)|\leq Ct^{2^{k-1}+1}.

Denote u^t=(u^kt)k∈[P]\hat{{\bm{u}}}^{t}=(\hat{u}_{k}^{t})_{k\in[P]}. Notice that

Denote Δkt=sup⁡s∈[0,t]sup⁡a∈[−1,+1]∣ukt(a)−u^kt(a)∣\Delta_{k}^{t}=\sup_{s\in[0,t]}\sup_{a\in[-1,+1]}|u_{k}^{t}(a)-\hat{u}_{k}^{t}(a)|. By Grönwall’s lemma, it is sufficient to show that ddtΔkt≤K(t2k−1+Δkt)\frac{{\rm d}}{{\rm d}t}\Delta_{k}^{t}\leq K(t^{2^{k-1}}+\Delta_{k}^{t}) for some constant K>0K>0. We will consider cc sufficiently small to apply Lemma D.4.

where we used Lemma D.4. Furthermore, note that ∣f^NN(S;ρ‾t)∣≤K|\hat{f}_{{\sf NN}}(S;\overline{\rho}_{t})|\leq K for any S⊆[P]S\subseteq[P]. By expanding f^NN\hat{f}_{{\sf NN}} in the Fourier basis, we get

where we used Eq. (64) in the second line and Lemma D.4 in the third line. We see therefore that

We can separate the first term into three contributions:

where we used in the last line that ∥ut∥1≤Ct\|{\bm{u}}^{t}\|_{1}\leq Ct from Claim D.3. In particular, notice that for any i<ki<k, ddtΔkt≤Δit\frac{{\rm d}}{{\rm d}t}\Delta_{k}^{t}\leq\Delta_{i}^{t}. We can therefore prove recursively that ∣Δkt∣≤O(t2k−1+1)|\Delta_{k}^{t}|\leq O(t^{2^{k-1}+1}) by noting that 1) Δ1t≤Kt2\Delta_{1}^{t}\leq Kt^{2}; 2) ∣u^kt∣=Θ(t2k−1)|\hat{u}^{t}_{k}|=\Theta(t^{2^{k-1}}) and ∏j<k∣u^jt∣≤Kt2k−1−1\prod_{j<k}|\hat{u}^{t}_{j}|\leq Kt^{2^{k-1}-1}; and 3) tL=O(t2k−1)t^{L}=O(t^{2^{k-1}}) for any k∈[P]k\in[P], and do not contribute to the leading terms. ∎

Appendix E Generic MSP functions are strongly O​(d)𝑂𝑑O(d)-SGD-learnable: Proof of Theorem 4.2 (discrete-time regime)

In this appendix, we prove Theorem 4.2, which states that generic functions with MSP structure are strongly SGD-learnable in the O(d)O(d)-scaling. While the proof for vanilla staircases in Appendix D is done in the continuous-time regime, we use here the discrete-time regime as defined in Appendix C, with O(1)O(1)-steps of size η=Θ(1)\eta=\Theta(1). Furthermore, we will consider the activation function to be a degree-LL polynomial, with LL sufficiently large. In Appendix F, we provide a more general proof of this result for smooth (non-polynomial) activations (see Theorem F.3) and using the continuous-time regime, with one technical caveat: the activation function needs to be perturbed at some point during training (the result holds almost surely over this perturbation, see Appendix F.2 for a discussion on this technical caveat).

Recall the definition of an MSP set structure.

We say that S={S1,…,Sm}{\mathcal{S}}=\{S_{1},\ldots,S_{m}\} is a Merged-Staircase Property (MSP) set structure on the variables z1,…,zPz_{1},\ldots,z_{P} if the sets are (without loss of generality) ordered so that for each i∈[m]i\in[m], ∣Si∖(Si∩(∪i′<iSi′))∣≤1|S_{i}\setminus(S_{i}\cap(\cup_{i^{\prime}<i}S_{i^{\prime}}))|\leq 1.

Ideally, we would like prove that for any MSP set structure S{\mathcal{S}}, then any function h∗h_{*} with nonzero Fourier coefficients S{\mathcal{S}} is strongly O(d)O(d)-SGD-learnable. However, there are degenerate examples of functions such as h∗(z)=z1+z2+z1z3+z2z4h_{*}({\bm{z}})=z_{1}+z_{2}+z_{1}z_{3}+z_{2}z_{4} which satisfy MSP structure but are not strongly O(d)O(d)-SGD-learnable (see Section A). Therefore, it is not possible to prove a result that holds for every MSP function. The existence of degenerate functions satisfying MSP also adds difficulty to the problem of showing that specific functions satisfying MSP are learnable.

Nevertheless, in this section we are able to show that for any MSP set structure S{\mathcal{S}} there are very few degenerate functions h∗h_{*}. In fact, almost all functions with MSP structure S{\mathcal{S}} are non-degenerate and are strongly O(d)O(d)-SGD-learnable.

More precisely, for any set structure S⊆2[P]{\mathcal{S}}\subseteq 2^{[P]}, define the following measure over functions:

For any MSP structure S{\mathcal{S}}, we prove that h∗h_{*} is almost surely strongly O(d)O(d)-SGD-learnable with respect to μS\mu_{{\mathcal{S}}}:

For any MSP set structure S⊆2[P]{\mathcal{S}}\subseteq 2^{[P]}, h∗h_{*} is strongly O(d)O(d)-SGD-learnable almost surely with respect to μS\mu_{{\mathcal{S}}}, using activation function σ(x)=(1+x)L\sigma(x)=(1+x)^{L} where L=28PL=2^{8P}.

We note that although σ(x)=(1+x)L\sigma(x)=(1+x)^{L} does not satisfy Assumption A0{\rm A}0, we can instead use an activation function such that σ(x)=(1+x)L\sigma(x)=(1+x)^{L} in the interval (−1,1)(-1,1), and σ(x)\sigma(x) is smoothly thresholded outside this interval. In the proof, we control the growth of the first-layer weights and the input of the activation remains ∣x∣≤1|x|\leq 1, so such a thresholding does not impact training.

We also prove the following variation on the theorem, which shows that we can take activation function that is a polynomial of degree L≥28PL\geq 2^{8P} with random coefficients. This proves that almost surely any polynomial activation will work, so it does not hold just for activation (1+x)L(1+x)^{L}:

We train in the discrete-time regime with Θ(1)\Theta(1) steps of size Θ(1)\Theta(1) and Θ(d)\Theta(d) batch size. Recall from (d-DF-PDE) (Theorem C.3) that it is sufficient to show for any ε>0\varepsilon>0, there exist hyperparameters satisfying A0{\rm A}0-A2{\rm A}2, D3{\rm D}3 such that (d-DF-PDE) reaches ε\varepsilon-risk. We consider the following hyperparameters.

We do not regularize. I.e., λw=0\lambda^{w}=0, and λa=λw=0\lambda^{a}=\lambda^{w}=0, same as Section D.

We initialize the first layer to deterministically weights, and the second layer to uniform random weights. I.e., we take μa=Unif([+1,−1])\mu_{a}={\rm Unif}([+1,-1]) and μW=δ0\mu_{W}=\delta_{0}. This is the same as in the vanilla staircase proof of Section D. For the dimension-free dynamics, this corresponds to taking (a‾0,u‾0,s‾0)∼ρ‾0(\overline{a}^{0},\overline{{\bm{u}}}^{0},\overline{s}^{0})\sim\overline{\rho}_{0} with a‾0∼Unif([+1,−1])\overline{a}^{0}\sim{\rm Unif}([+1,-1]), u‾0=0\overline{{\bm{u}}}^{0}={\bm{0}} and s‾0=0\overline{s}^{0}=0. In particular, s‾k=0\overline{s}^{k}=0 during the whole dynamics, which lets us ignore it and allows for a simpler analysis.

Our learning rate schedule has two phases, with learning rate given by parameter η>0\eta>0:

For k1k_{1} steps we train the first layer weights u‾k\overline{{\bm{u}}}^{k} while keeping the second layer weights fixed a‾k=a‾0\overline{a}^{k}=\overline{a}^{0}. We set ηka=0\eta^{a}_{k}=0 and ηkw=η\eta^{w}_{k}=\eta for k∈{0,…,k1−1}k\in\{0,\ldots,k_{1}-1\}.

For k2k_{2} steps we train the second layer weights a‾k\overline{a}^{k} while keeping the first layer weights fixed at u‾k=u‾k1\overline{{\bm{u}}}^{k}=\overline{{\bm{u}}}^{k_{1}}. We set ηka=η\eta^{a}_{k}=\eta and ηkw=0\eta^{w}_{k}=0 for k∈{k1,…,k2−1}k\in\{k_{1},\ldots,k_{2}-1\}.

We also take η>0\eta>0 to be a small enough constant, and b=Ω(d)b=\Omega(d) for a large enough constant depending on P,ε,ηP,\varepsilon,\eta. For the first phase, we will train for k1=Pk_{1}=P time steps, since this turns out to be sufficient to prove learnability. For the second phase, we train for k2=Θ(1)k_{2}=\Theta(1) time steps, where k2k_{2} is a constant depending on η,ε\eta,\varepsilon, and PP, to be determined later. We prove that (d-DF-PDE) with such hyperparameters will reach ε\varepsilon-risk, which, by the equivalence stated Theorem C.3, implies the strong SGD-learnability in O(d)O(d)-scaling.

We will assume that on the interval (−1,1)(-1,1) our activation is given by a polynomial of degree at most LL. I.e., for all x∈(−1,1)x\in(-1,1), we have σ(x)=∑i=0Lmii!xi\sigma(x)=\sum_{i=0}^{L}\frac{m_{i}}{i!}x^{i} for m=[m0,…,mL]=[σ(0),σ(1)(0),…,σ(L)(0)]{\bm{m}}=[m_{0},\ldots,m_{L}]=[\sigma(0),\sigma^{(1)}(0),\ldots,\sigma^{(L)}(0)].

E.1.1 Phase 2 (linear training)

So the residual gk(z)=h∗(z)−f^NN(z;ρˉk)g_{k}({\bm{z}})=h_{*}({\bm{z}})-\hat{f}_{{\sf NN}}({\bm{z}};\bar{\rho}_{k}), evolves, for any k∈{k1,…,k2−1}k\in\{k_{1},\ldots,k_{2}-1\}, as:

E.1.2 Phase 1 (nonlinear training)

First, we show that if we train for a constant number k1k_{1} of steps, then we can write the weights obtained by the dimension-free dynamics as a constant-degree polynomial in the second-layer weights. This is because the activation is a polynomial in the interval (−1,1)(-1,1), and the weights of the first layer do not grow enough to leave this interval.

For each i∈[P]i\in[P] define p0,i(ζ,ξ,ρ)≡0p_{0,i}(\zeta,{\bm{\xi}},{\bm{\rho}})\equiv 0. For each 0≤k≤k1−10\leq k\leq k_{1}-1, define pk+1,i(ζ,ξ,ρ)p_{k+1,i}(\zeta,{\bm{\xi}},{\bm{\rho}}) with the recurrence relation:

There is a constant c>0c>0 depending only on k1,P,Kk_{1},P,K, such that for any 0<η<c0<\eta<c,

where β=(βS,k)S⊆[P],0≤k≤k1−1{\bm{\beta}}=(\beta_{S,k})_{S\subseteq[P],0\leq k\leq k_{1}-1} has values given by, for all S⊆[P]S\subseteq[P],

Because of the term f^NN(⋅;ρˉk)\hat{f}_{{\sf NN}}(\cdot;\bar{\rho}_{k}), which evolves nonlinearly, this is nontrivial to directly analyze. However, if the step size η\eta is taken small enough, then the interaction term f^NN(⋅;ρˉk)\hat{f}_{{\sf NN}}(\cdot;\bar{\rho}_{k}) is small, of order O(ηk)O(\eta k), and we show that it can be ignored. Formally, we define the simplified dynamics u^k(a)\hat{{\bm{u}}}^{k}(a) for each 0≤k≤k10\leq k\leq k_{1} by letting u^0(a)=0\hat{{\bm{u}}}^{0}(a)={\bm{0}} and inductively setting for each k∈{0,…,k1−1}k\in\{0,\ldots,k_{1}-1\},

This differs from the definition of the dynamics for uˉk\bar{\bm{u}}^{k} in that we have dropped the f^NN(z;ρk)\hat{f}_{{\sf NN}}({\bm{z}};\rho_{k}) term in the update equation. By a similar argument, we may show:

There is a constant c>0c>0 depending only on k1,P,Kk_{1},P,K, such that for any 0<η<c0<\eta<c, any i∈[P]i\in[P] and any 0≤k≤k10\leq k\leq k_{1}, we have

where we abuse notation (since α=(αS)S⊆[P]{\bm{\alpha}}=(\alpha_{S})_{S\subseteq[P]} otherwise) and let α=(αS,k)S⊆[P],0≤k≤k1−1{\bm{\alpha}}=(\alpha_{S,k})_{S\subseteq[P],0\leq k\leq k_{1}-1} be given by

We now show that the simplified dynamics u^k\hat{\bm{u}}^{k} is a good enough approximation to uˉk\bar{\bm{u}}^{k}, and it suffices to analyze u^k\hat{\bm{u}}^{k}.

This matrix is motivated by the following fact:

There is a constant c>0c>0 depending only on k1,P,Kk_{1},P,K, such that for any 0<η<c0<\eta<c, and any a=[a1,…,a2P]∈2P{\bm{a}}=[a_{1},\ldots,a_{2^{P}}]\in^{2^{P}}, we have

There is a constant c>0c>0 depending on K,PK,P such that for any 0<η<c0<\eta<c,

There is D>0D>0 depending only on P,k1,LP,k_{1},L, and there are C,c>0C,c>0 depending only on P,k1,K,LP,k_{1},K,L such that if we write

Combining the above lemmas, it holds that if det⁡(M(ζ,α,m))\det({\bm{M}}({\bm{\zeta}},{\bm{\alpha}},{\bm{m}})) is a nonzero polynomial in ζ{\bm{\zeta}}, then h∗h_{*} is strongly-O(d)O(d) learnable:

Suppose that det⁡(M(ζ,α,m))≢0\det({\bm{M}}({\bm{\zeta}},{\bm{\alpha}},{\bm{m}}))\not\equiv 0 as a polynomial in ζ{\bm{\zeta}}. Then h∗(z)=∑S⊆[P]αSχS(z)h_{*}({\bm{z}})=\sum_{S\subseteq[P]}\alpha_{S}\chi_{S}({\bm{z}}) is strongly O(d)O(d)-SGD-learnable with any activation function σ\sigma that is equal to σ(x)=∑i=0Lmii!xi\sigma(x)=\sum_{i=0}^{L}\frac{m_{i}}{i!}x^{i} on the interval x∈(−1,1)x\in(-1,1).

Let k1k_{1} be a constant depending on PP, and let C,c>0C,c>0 be constants depending on k1,P,K,Lk_{1},P,K,L such that Lemmas E.9 and E.10 hold. Then taking any learning rate

which is a nonnegative constant that does not depend on dd. So by the analysis of Phase 2 in Section E.1.1, we can set k2k_{2} to be a large enough constant that R(ρˉk2)≤εR(\bar{\rho}_{k_{2}})\leq\varepsilon. By Theorem C.3 (which gives the equivalence between (d-DF-PDE) and strong O(d)O(d)-SGD-learnability in the discrete-time setting), this implies strong O(d)O(d)-SGD-learnability. ∎

By the above arguments, the problem has been reduced to proving that det⁡(M(ζ,α,m))≢0\det({\bm{M}}({\bm{\zeta}},{\bm{\alpha}},{\bm{m}}))\not\equiv 0 as a polynomial in ζ{\bm{\zeta}}. In other words, by Lemma E.8, this means that it suffices to analyze the simplified dynamics u^k\hat{\bm{u}}^{k}.

The matrix N{\bm{N}} differs from M{\bm{M}} only in that we have changed the variables from (ξS,k)S,k(\xi_{S,k})_{S,k} to variables (ϕS)S∈S(\phi_{S})_{S\in{\mathcal{S}}}, effectively incorporating the constraints on α{\bm{\alpha}}. This is helpful, because suppose that we can prove that

Then almost surely over the Lebesgue measure on (αS)S∈S(\alpha_{S})_{S\in{\mathcal{S}}}, we have that det⁡(N(ζ,α,m))≢0\det({\bm{N}}({\bm{\zeta}},{\bm{\alpha}},{\bm{m}}))\not\equiv 0 as a polynomial over ζ{\bm{\zeta}}. And indeed, det⁡(N(ζ,α,m))≡det⁡(M(ζ,α,m))≢0\det({\bm{N}}({\bm{\zeta}},{\bm{\alpha}},{\bm{m}}))\equiv\det({\bm{M}}({\bm{\zeta}},{\bm{\alpha}},{\bm{m}}))\not\equiv 0, which is what we wanted to show. So it suffices to prove (65).

We prove (65) by analyzing the recurrence relations for pk,ip_{k,i} to show that to first-order the polynomials pk1,ip_{k_{1},i} are distinct for all i∈[P]i\in[P], and then leveraging the algebraic result of [NS79] that large powers of distinct polynomials are linearly independent. We show:

Suppose that L≥28PL\geq 2^{8P} and let mi=i!(Li)m_{i}=i!\binom{L}{i} for all 0≤i≤L0\leq i\leq L, corresponding to activation function σ(x)=(1+x)L\sigma(x)=(1+x)^{L}. Also let k1=Pk_{1}=P. Then det⁡(N(ζ,ϕ,m))≢0\det({\bm{N}}({\bm{\zeta}},{\bm{\phi}},{\bm{m}}))\not\equiv 0 (i.e., (65) holds).

This also yields the immediate corollary:

This allows us to prove Theorems 4.2 and E.5.

Taking mi=i!(Li)m_{i}=i!\binom{L}{i} corresponds to activation function σ(x)=(1+x)L\sigma(x)=(1+x)^{L}. By Lemma E.12, we have det⁡(N(ζ,α,m))≢0\det({\bm{N}}({\bm{\zeta}},{\bm{\alpha}},{\bm{m}}))\not\equiv 0 almost surely over α{\bm{\alpha}} with respect to the Lebesgue measure. So by Lemma E.11, h∗(z)=∑S∈SαSχS(z)h_{*}({\bm{z}})=\sum_{S\in{\mathcal{S}}}\alpha_{S}\chi_{S}({\bm{z}}) is strongly O(d)O(d)-SGD-learnable with activation σ(x)=(1+x)L\sigma(x)=(1+x)^{L}, almost surely over h∗h_{*} with respect to μS\mu_{{\mathcal{S}}}. ∎

The argument is the same, except using Corollary E.13. ∎

E.2 Proof of Lemmas E.6, E.7, and E.8

We show that if the learning rate η\eta is small then for 0≤k≤k10\leq k\leq k_{1} the weights of uˉk\bar{{\bm{u}}}^{k} and u^k\hat{{\bm{u}}}^{k} remain small enough that the activation σ\sigma only ever has inputs in the range (−1,1)(-1,1), meaning that we can treat the activation σ\sigma as exactly given by the polynomial ∑i=0Lmii!xi\sum_{i=0}^{L}\frac{m_{i}}{i!}x^{i}.

For any time step 0≤k≤k10\leq k\leq k_{1} any j∈[N]j\in[N], and any learning rate η<1/(4K2Pk)\eta<1/(4K^{2}Pk), and any a∈a\in we have

The bound for ∥u^k(a)∥1\|\hat{\bm{u}}^{k}(a)\|_{1} is similar. ∎

This allows us to prove Lemmas E.6 and E.7.

Substituting in ζ=ηa\zeta=\eta a and ρ=m{\bm{\rho}}={\bm{m}}, this recurrence relation is satisfied by uˉk(a)\bar{\bm{u}}^{k}(a) with sk(z)=−f^NN(z;ρˉk)+h∗(z)=∑SβS,kχS(z)s_{k}({\bm{z}})=-\hat{f}_{{\sf NN}}({\bm{z}};\bar{\rho}_{k})+h_{*}({\bm{z}})=\sum_{S}\beta_{S,k}\chi_{S}({\bm{z}}) and by u^k(a)\hat{\bm{u}}^{k}(a) with sk(z)=h∗(z)=∑SαSχS(z)s_{k}({\bm{z}})=h_{*}({\bm{z}})=\sum_{S}\alpha_{S}\chi_{S}({\bm{z}}). This is because ∣⟨uˉk,z⟩∣,∣⟨u^k,z⟩∣≤1/2<1|\langle\bar{{\bm{u}}}^{k},{\bm{z}}\rangle|,|\langle\hat{{\bm{u}}}^{k},{\bm{z}}\rangle|\leq 1/2<1 by Claim E.14 and in the interval (−1,1)(-1,1) σ(x)=∑r=0Lmrr!xr\sigma(x)=\sum_{r=0}^{L}\frac{m_{r}}{r!}x^{r}.

The proof is by induction on kk. For k=0k=0, it is true that p0,i(ζ,ξ)=0=νi0p_{0,i}(\zeta,{\bm{\xi}})=0=\nu_{i}^{0}. For the inductive step, notice that for any r≥1r\geq 1 and i∈[d]i\in[d], we can write

This is immediate from Lemmas E.6 and E.7, using the fact from Claim E.14 that ∥uˉk1(a)∥1,∥u^k1(a)∥1≤1/2\|\bar{{\bm{u}}}^{k_{1}}(a)\|_{1},\|\hat{{\bm{u}}}^{k_{1}}(a)\|_{1}\leq 1/2, so ⟨uˉk1(a),z⟩,⟨u^k1(a),z⟩∈(−1/2,1/2)\langle\bar{{\bm{u}}}^{k_{1}}(a),{\bm{z}}\rangle,\langle\hat{{\bm{u}}}^{k_{1}}(a),{\bm{z}}\rangle\in(-1/2,1/2), and in this interval σ(x)=∑i=0Lmii!xi\sigma(x)=\sum_{i=0}^{L}\frac{m_{i}}{i!}x^{i}. ∎

E.3 Proof of Lemma E.9

For short-hand write B(a)=M(ηa,β,m){\bm{B}}({\bm{a}})={\bm{M}}(\eta{\bm{a}},{\bm{\beta}},{\bm{m}}). By Lemma E.8, Bz,j(a)=σ(⟨uˉk1(aj),z⟩)B_{{\bm{z}},j}({\bm{a}})=\sigma(\langle\bar{\bm{u}}^{k_{1}}(a_{j}),{\bm{z}}\rangle), so

E.4 Proof of Lemma E.10

There are constants C,c>0C,c>0 depending on k1,P,Kk_{1},P,K such that for any 0<η<c0<\eta<c, any S⊆[P]S\subseteq[P], and any k∈{0,…,k1−1}k\in\{0,\ldots,k_{1}-1\},

Write det⁡(M(ζ,α,m))=∑γ∈{0,…,D}2Ph^γζγ\det({\bm{M}}({\bm{\zeta}},{\bm{\alpha}},{\bm{m}}))=\sum_{{\bm{\gamma}}\in\{0,\ldots,D\}^{2^{P}}}\hat{h}_{{\bm{\gamma}}}{\bm{\zeta}}^{{\bm{\gamma}}}. Let us prove that there is a constant CC depending on k1,P,K,Lk_{1},P,K,L such that ∣hγ−hˉγ∣≤Cη|h_{{\bm{\gamma}}}-\bar{h}_{{\bm{\gamma}}}|\leq C\eta for all γ{\bm{\gamma}}. To see this, notice that det⁡(M(ζ,ξ,ρ))\det({\bm{M}}({\bm{\zeta}},{\bm{\xi}},{\bm{\rho}})) is a polynomial in ζ,ξ,ρ{\bm{\zeta}},{\bm{\xi}},{\bm{\rho}}, whose degree and coefficients depend only on k1,P,Lk_{1},P,L (this is because each entry of M(ζ,ξ,ρ){\bm{M}}({\bm{\zeta}},{\bm{\xi}},{\bm{\rho}}) is a polynomial in ζ,ξ,ρ{\bm{\zeta}},{\bm{\xi}},{\bm{\rho}} with coefficients depending on k1,P,Lk_{1},P,L, and it is a 2P×2P2^{P}\times 2^{P} matrix). Since ∥m∥∞≤K\|{\bm{m}}\|_{\infty}\leq K and ∥α∥∞,∥β∥∞≤2K\|{\bm{\alpha}}\|_{\infty},\|{\bm{\beta}}\|_{\infty}\leq 2K, and ∥α−β∥∞≤Cη\|{\bm{\alpha}}-{\bm{\beta}}\|_{\infty}\leq C\eta by Claim E.15, we conclude that there is a constant CC depending on k1,P,K,Lk_{1},P,K,L such that ∣hγ−hˉγ∣≤Cη|h_{{\bm{\gamma}}}-\bar{h}_{{\bm{\gamma}}}|\leq C\eta for all γ{\bm{\gamma}}.

By anti-concentration of polynomials (i.e., Lemma H.3), we have that there exists a constant c>0c>0 depending on k1,L,Pk_{1},L,P such that

E.5 Proof of Lemma E.12

To show that det⁡(N(ζ,ϕ,m))≢0\det({\bm{N}}({\bm{\zeta}},{\bm{\phi}},{\bm{m}}))\not\equiv 0, we first show that it suffices to consider “minimal” MSP set structures.

Let S′⊆S{\mathcal{S}}^{\prime}\subseteq{\mathcal{S}} be such that S′{\mathcal{S}}^{\prime} is an MSP set structure. Then if

Substituting 0 for ϕS\phi_{S} for all S∈S∖S′S\in{\mathcal{S}}\setminus{\mathcal{S}}^{\prime}. ∎

Therefore it suffices to prove the lemma for minimal MSP structures. Without loss of generality (up to permutation of the variables), we assume that we can write

Otherwise, we could remove a set from S{\mathcal{S}} and still have a MSP set structure.

E.5.2 Computing the weights to leading order

Let us define the polynomials qk,iq_{k,i} in variables ζ,ϕ,ρ{\bm{\zeta}},{\bm{\phi}},{\bm{\rho}}. For all k∈{0,…,k1−1}k\in\{0,\ldots,k_{1}-1\} and i∈[P]i\in[P],

Therefore N(ζ,ϕ,ρ){\bm{N}}({\bm{\zeta}},{\bm{\phi}},{\bm{\rho}}) has entries Nz,j(ζ,ϕ,ρ)=∑r=0Lρrr!(∑i=1Pqk,i(ζj,ϕ,ρ))rN_{{\bm{z}},j}({\bm{\zeta}},{\bm{\phi}},{\bm{\rho}})=\sum_{r=0}^{L}\frac{\rho_{r}}{r!}\left(\sum_{i=1}^{P}q_{k,i}(\zeta_{j},{\bm{\phi}},{\bm{\rho}})\right)^{r}. Let us explicitly compute the nonzero term of qk,iq_{k,i} that is of lowest-degree in ζ\zeta. First, we show that many terms are zero.

Recursively define oi=1+∑i′∈Si∖{i}oi′o_{i}=1+\sum_{i^{\prime}\in S_{i}\setminus\{i\}}o_{i^{\prime}} for all i∈[P]i\in[P].The sum over an empty set is by convention. Then qk,i(ζ,ϕ,m)q_{k,i}(\zeta,{\bm{\phi}},{\bm{m}}) has no nonzero terms of degree less than oio_{i} in ζ\zeta.

The proof is by induction on kk. In the base case of k=0k=0 it is true since q0,i≡0q_{0,i}\equiv 0. In the inductive step, we assume it is true for all k′∈{0,…,k}k^{\prime}\in\{0,\ldots,k\} and we prove the claim for k+1k+1. By the recurrence dynamics,

The first term, qk,i(ζ,ϕ,m)q_{k,i}(\zeta,{\bm{\phi}},{\bm{m}}), is handled by the inductive hypothesis. The second term is nonzero only in the case that {i}∈S\{i\}\in{\mathcal{S}}, in which case Si={i}∉S′S_{i}=\{i\}\not\in{\mathcal{S}}^{\prime} and oi=1o_{i}=1, so we do not have a contradiction. The last terms can be handled by the inductive hypothesis: for any (i1,…,ir)(i_{1},\ldots,i_{r}), each qk,ilq_{k,i_{l}} has no terms of degree less than oilo_{i_{l}} in ζ\zeta. So ζ∏lqk,il(ζ,α)\zeta\prod_{l}q_{k,i_{l}}(\zeta,{\bm{\alpha}}) has no terms of degree less than 1+∑l=1roil1+\sum_{l=1}^{r}o_{i_{l}} in ζ\zeta. We break into cases. Case a. If {i}⊕{i1}⊕…{ir}=Si\{i\}\oplus\{i_{1}\}\oplus\dots\{i_{r}\}=S_{i}, then Si∖{i}⊂{i1,…,ir}S_{i}\setminus\{i\}\subset\{i_{1},\ldots,i_{r}\}, so 1+∑i=1loil≥oi1+\sum_{i=1}^{l}o_{i_{l}}\geq o_{i}, and so no new terms of degree less than oio_{i} are added. Case b. If {i}⊕{i1}⊕…{ir}=Si′\{i\}\oplus\{i_{1}\}\oplus\dots\{i_{r}\}=S_{i^{\prime}} for some i′≠ii^{\prime}\neq i, then either i∈{i1,…,ir}i\in\{i_{1},\ldots,i_{r}\}, in which case 1+∑l=1roil>oi1+\sum_{l=1}^{r}o_{i_{l}}>o_{i}. Otherwise, we must have i′>ii^{\prime}>i. But in this case oi′>oio_{i^{\prime}}>o_{i} since i∈Si′i\in S_{i^{\prime}}, so we also have ∑l=1roil>oi\sum_{l=1}^{r}o_{i_{l}}>o_{i} and again no new terms of degree less than oio_{i} are added. In fact, only terms of degree strictly more than oio_{i} are added. ∎

Following the analysis of the previous claim used to prove that [ζl]qk,i(ζ,ϕ,m)=0[\zeta^{l}]q_{k,i}(\zeta,{\bm{\phi}},{\bm{m}})=0 for all l<oil<o_{i}, only certain terms contribute in the recurrence. So we can simplify it to:

Next, for all k≥sik\geq s_{i} we prove that

So γk,i=γk−1,i+m∣Si∣∏i′∈Si∖{i}γk−1,i′>0\gamma_{k,i}=\gamma_{k-1,i}+m_{|S_{i}|}\prod_{i^{\prime}\in S_{i}\setminus\{i\}}\gamma_{k-1,i^{\prime}}>0 since m∣Si∣>0m_{|S_{i}|}>0 by nonnegativity. This concludes the induction for (67).

Recall that the interpretation of qk,iq_{k,i} with respect to the simplified dynamics: for any second-layer weight a∈a\in, the first-layer weights after training the simplified dynamics are u^ik1(a)=qk,i(ηa,α,m)\hat{{\bm{u}}}_{i}^{k_{1}}(a)=q_{k,i}(\eta a,{\bm{\alpha}},{\bm{m}}). What we have shown in the previous two claims is that for any i≠i′i\neq i^{\prime} to leading order u^ik1(a)\hat{{\bm{u}}}_{i}^{k_{1}}(a) and u^i′k1\hat{{\bm{u}}}_{i^{\prime}}^{k_{1}} have different dependence on the Fourier coefficients α{\bm{\alpha}} of the target function h∗h_{*}. Now we use this to essentially show that ⟨u^k1(a),z⟩\langle\hat{\bm{u}}^{k_{1}}(a),{\bm{z}}\rangle and ⟨u^k1(a),z′⟩\langle\hat{\bm{u}}^{k_{1}}(a),{\bm{z}}^{\prime}\rangle are distinct for all z≠z′{\bm{z}}\neq{\bm{z}}^{\prime}.

Then, for each distinct pair z,z′∈{+1,−1}P{\bm{z}},{\bm{z}}^{\prime}\in\{+1,-1\}^{P}, we have rz(ζ,ϕ,m)−rz′(ζ,ϕ,m)≢0r_{{\bm{z}}}(\zeta,{\bm{\phi}},{\bm{m}})-r_{{\bm{z}}^{\prime}}(\zeta,{\bm{\phi}},{\bm{m}})\not\equiv 0 as a polynomial in ζ\zeta and ϕ{\bm{\phi}}.

Recall the definition of oio_{i} from Claim E.17. Let i∈[P]i\in[P] be such that zi≠zi′z_{i}\neq z^{\prime}_{i} and oio_{i} is minimized. By Claim E.17,

E.5.3 Applying linear independence of powers of polynomials

We conclude the proof of the lemma by using the following result of [NS79] showing that large powers of distinct polynomials are linearly independent.

We are ready to prove that det⁡(N(ζ,ϕ,m))≢0\det({\bm{N}}({\bm{\zeta}},{\bm{\phi}},{\bm{m}}))\not\equiv 0.

Since we have chosen mi=i!(Li)m_{i}=i!\binom{L}{i} for all i∈{0,…,L}i\in\{0,\ldots,L\}, we have

Finally notice that we can write det⁡(H(ζ))=∂∂ζ2∂∂ζ32…∂2P−1∂ζ2Pdet⁡(N(ζ,α,m))∣ζ=ζ1=⋯=ζ2P\det({\bm{H}}(\zeta))=\frac{\partial}{\partial\zeta_{2}}\frac{\partial}{\partial\zeta_{3}^{2}}\dots\frac{\partial^{2^{P}-1}}{\partial\zeta_{2^{P}}}\det({\bm{N}}({\bm{\zeta}},{\bm{\alpha}},{\bm{m}}))\mid_{\zeta=\zeta_{1}=\dots=\zeta_{2^{P}}}.

Therefore det⁡(N(ζ,α,m))≢0\det({\bm{N}}({\bm{\zeta}},{\bm{\alpha}},{\bm{m}}))\not\equiv 0 as a polynomial in ζ{\bm{\zeta}}. So det⁡(N(ζ,ϕ,m))≢0\det({\bm{N}}({\bm{\zeta}},{\bm{\phi}},{\bm{m}}))\not\equiv 0 as a polynomial in ζ{\bm{\zeta}} and ϕ{\bm{\phi}}. ∎

In this appendix, we provide a more general approach to proving strong O(d)O(d)-SGD-learnability for generic MSP functions that goes beyond polynomial activation functions. The reason to include this second approach is two-fold:

We consider the continuous-time regime (as opposed to the discrete-time regime as in Appendix E), which is closer to practice, with small batch and step sizes. (Note that the extension to non-polynomial activations would also hold in discrete time.)

For continuous time and non-polynomial activations, the first layer weights u‾t\overline{{\bm{u}}}^{t} are not polynomials in a‾0\overline{a}^{0} anymore. However, we show that they can still be approximated by polynomials and that global convergence reduces to showing that certain (universal) polynomials are not identically .

Using this approach, we show in Theorem F.3 that generic MSP functions are strongly O(d)O(d)-SGD-learnable for smooth activation functions (as long as σ(r)(0)≠0\sigma^{(r)}(0)\neq 0 for r=0,…,Pr=0,\ldots,P), with one technical caveat: we need to introduce a random perturbation to the activation function at one point during the training dynamics. While unnatural, this modification allows us to prove that the polynomials are non-zero for general MSP structure, using a “Vandermonde trick”. See Section F.2 for a discussion on this technicality.

Recall the definition of the measure over functions with MSP set structure S{\mathcal{S}}:

Recall from the equivalence with (DF-PDE) (Theorem 3.2) that it is sufficient to show for any ε>0\varepsilon>0, there exists hyperparameters satisfying A3′{\rm A}3^{\prime} such that (DF-PDE) reaches ε\varepsilon-risk. We consider the following hyperparameters, which are the same as in the proof for the vanilla staircase in Section D:

We do not regularize, i.e., λa=λw=0\lambda^{a}=\lambda^{w}=0, same as Section D.

We initialize the first layer to deterministically u‾0=0\overline{{\bm{u}}}^{0}={\bm{0}}, and the second layer to uniform random weights on $,i.e.,, i.e.,\mu_{a}={\rm Unif}([+1,-1])andand\mu_{W}=\delta_{0}$.

Our learning rate schedule is the same as in Section D,

We train the first layer weights u‾t\overline{{\bm{u}}}^{t} while keeping the second layer weights fixed a‾t=a‾0\overline{a}^{t}=\overline{a}^{0}. We set ξa(t)=0\xi^{a}(t)=0 and ξw(t)=1\xi^{w}(t)=1 for t∈[0,T1]t\in[0,T_{1}].

We train the second layer weights a‾t\overline{a}^{t} while keeping the first layer weights fixed at u‾t=u‾T1\overline{{\bm{u}}}^{t}=\overline{{\bm{u}}}^{T_{1}}. We set ξa(t)=1\xi^{a}(t)=1 and ξw(t)=0\xi^{w}(t)=0 for t∈[T1,T2]t\in[T_{1},T_{2}].

As in Section D, the learning rate schedules can be made Lipschitz at T1T_{1} with a change of variables, falling under the assumptions of strong SGD learnability.

The dynamics of (DF-PDE) in time [0,T1][0,T_{1}] with activation σ\sigma stitched together with the dynamics in time [T1,T2][T_{1},T_{2}] with activation σpert\sigma_{pert} corresponds to an algorithm that falls under the definition of strong O(d)O(d)-SGD-learnability, when extended to allow such a perturbation (in particular, the equivalent characterization and necessary condition in Theorems 3.2 and 3.3 would still hold). See Section F.2 for more discussion.

We restate the sufficient condition, proving that for any MSP set structure S{\mathcal{S}}, generic functions h∗h_{*} with that set structure S{\mathcal{S}} are strongly O(d)O(d)-SGD-learnable:

Consider S⊆2[P]{\mathcal{S}}\subseteq 2^{[P]} a MSP set structure, and 0<τpert<10<\tau_{pert}<1 a perturbation parameter. Assume that the activation function σ\sigma satisfies A{\rm A}0’ and has nonzero derivatives σ(r)(0)≠0\sigma^{(r)}(0)\neq 0 for r=0,…,Pr=0,\ldots,P. Then, almost surely for h∗h_{*} with respect to to μS\mu_{{\mathcal{S}}} and almost surely for perturbation ρ∼Unif([−τpert,τpert]28P){\bm{\rho}}\sim{\rm Unif}([-\tau_{pert},\tau_{pert}]^{2^{8P}}), the following hold: for any ε>0\varepsilon>0, there exist T1,T2>0T_{1},T_{2}>0 such that training with the above hyperparameters and activation perturbation will learn h∗h_{*} to accuracy ε\varepsilon.

This implies that almost surely over μS\mu_{{\mathcal{S}}}, h∗h_{*} is strongly O(d)O(d)-SGD-learnable (under the expanded definition of O(d)O(d)-SGD-learnability where the SGD algorithm is allowed to perturb the activation function once).

F.2 Discussion on the perturbation of the activation

The perturbation is convenient to show that a polynomial is not identically zero for arbitrary MSP set structure. Note that given a set structure S{\mathcal{S}}, these polynomials are fully explicit (given by recurrent relations) and one can verify by hand that they have a non zero coefficient. It is an interesting direction to show this result directly without relying on perturbing the activation function. In the setting of discrete-time regime and polynomial activations (cf. Theorem 4.2), such a perturbation is not needed: the weights u‾T1\overline{{\bm{u}}}^{T_{1}} are exact polynomials of a‾0\overline{a}^{0} and one can use algebraic tricks involving linear independence of powers of polynomials (see Proposition E.20).

Note that we can extend the definition of strong SGD-learnability in O(d)O(d)-scaling to allow such a perturbation. In that case, the dimension-free dynamics (DF-PDE) corresponds to gluing two dynamics with activations σ\sigma between [0,T1][0,T_{1}] and σpert\sigma_{pert} between [T1,T2][T_{1},T_{2}]. The equivalent characterization (Theorem 3.2) and necessary condition (Theorem 3.3) still hold using this extended definition.

F.3 Outline of the proof

The proof analyzes Phase 1 and Phase 2 of training separately.

We break our analysis of the nonlinear training in Phase 1 into several parts. The goal is to understand the evolution under the dimension-free PDE of each neuron’s weights (a,ut(a))(a,{\bm{u}}^{t}(a)). Because we initialize the first layer to , it suffices to study the dynamics of ut{\bm{u}}^{t}, ignoring the dynamics of s‾t\overline{s}^{t} since it stays at s‾t=s‾0=0\overline{s}^{t}=\overline{s}^{0}=0 throughout. The dynamics of ut{\bm{u}}^{t} are given by

where gt(z)=h∗(z)−f^NN(z;ρˉt)g_{t}({\bm{z}})=h_{*}({\bm{z}})-\hat{f}_{{\sf NN}}({\bm{z}};\bar{\rho}_{t}) is the residual at time tt.

Analyzing the simplified dynamics with a recurrence relation. We analyze the u^t\hat{{\bm{u}}}^{t} dynamics by deriving recurrence relations for the coefficients Q^ilt\hat{Q}_{il}^{t}. In particular, we may express each coefficient Q^ilt\hat{Q}_{il}^{t} as a polynomial in aa, tt, and the nonzero Fourier coefficients {αS}s∈S\{\alpha_{S}\}_{s\in{\mathcal{S}}} of h∗h_{*} (see Section F.6). This allows us to prove that almost surely over the choice of h∗h_{*} each coordinate u^it\hat{{\bm{u}}}_{i}^{t} has distinct dynamics: namely, u^it−u^i′≢0\hat{{\bm{u}}}_{i}^{t}-\hat{{\bm{u}}}_{i^{\prime}}\not\equiv 0 for all i≠i′∈[P]i\neq i^{\prime}\in[P]. This is where we must use the fact that the MSP function h∗h_{*} is “generic”, i.e., the coefficients {αS}S∈S\{\alpha_{S}\}_{S\in{\mathcal{S}}} are chosen randomly. (In fact, we prove and use the stronger result that for any z≠z′∈{+1,−1}P{\bm{z}}\neq{\bm{z}}^{\prime}\in\{+1,-1\}^{P}, we have ⟨u^t,z−z′⟩≢0\langle\hat{{\bm{u}}}^{t},{\bm{z}}-{\bm{z}}^{\prime}\rangle\not\equiv 0, and this difference has nonzero low-degree terms.)

As outlined above, we study the dynamics of the dimension-free PDE. Let us first analyze Phase 1, when we train for time T1T_{1} using activation function σ\sigma, and keep the second layer fixed. In particular, we analyze the dynamics of ut(a){\bm{u}}^{t}(a) given by eq. 68 and the initialization ut=0{\bm{u}}^{t}={\bm{0}}. In the proof below, we sometimes omit the dependence on aa and time tt, e.g., writing u{\bm{u}} instead of ut(a){\bm{u}}^{t}(a), when the dependence on tt and aa is clear.

We first prove for each l∈[L],i∈[L]l\in[L],i\in[L], that each coefficient QiltQ_{il}^{t} of ala^{l} scales as O(tl)O(t^{l}).

There is a constant CC depending on K,L,PK,L,P such that for any i∈[P]i\in[P], l∈[L]l\in[L], and 0≤t≤T10\leq t\leq T_{1}, ∣Qilt∣≤Ctl|Q_{il}^{t}|\leq Ct^{l}.

We prove this by induction on ll. For the base case of l=1l=1, we know that

since ∥gt∥∞≤K\|g_{t}\|_{\infty}\leq K throughout the dynamics, and ∣m1∣≤K|m_{1}|\leq K. So ∣Qi1t∣≤Kt≤C1t|Q_{i1}^{t}|\leq Kt\leq C_{1}t for a constant C1C_{1}. For the inductive step, let 2≤l≤L2\leq l\leq L and suppose ∣Qil′t∣≤Cl′tl′|Q_{il^{\prime}}^{t}|\leq C_{l^{\prime}}t^{l^{\prime}} for all 1≤l′<l1\leq l^{\prime}<l. Then

So ∣Qilt∣≤Cltl|Q_{il}^{t}|\leq C_{l}t^{l}, defining ClC_{l} appropriately. ∎

The proof will use Gronwall’s inequality. First, by triangle inequality

for a constant CC depending on K,L,PK,L,P, where used Claim F.4 to bound Qir′lr′tQ_{i_{r^{\prime}}l_{r^{\prime}}}^{t} and that ∣a∣≤1|a|\leq 1 and t<1t<1 in the final bound.

F.5 Simplified dynamics without interaction term

To show that the new dynamics is close to the old dynamics, we first show that ∥f^NN(z;ρt)∥∞=O(t)\|\hat{f}_{{\sf NN}}({\bm{z}};\rho_{t})\|_{\infty}=O(t), is small when tt is small:

There is a constant CC depending on K,L,PK,L,P such that for all 0≤t≤T10\leq t\leq T_{1}, ∥f^NN(z;ρt)∥∞≤Ct\|\hat{f}_{{\sf NN}}({\bm{z}};\rho_{t})\|_{\infty}\leq Ct.

We also prove the analogue of Claim F.4 for Q^\hat{Q}:

There is a constant CC depending on K,L,PK,L,P such that for all i∈[P]i\in[P], l∈[L]l\in[L], and 0≤t≤T10\leq t\leq T_{1}, ∣Q^ilt∣≤Ctl|\hat{Q}_{il}^{t}|\leq Ct^{l}. Also, ∥u^t∥≤Ct\|\hat{{\bm{u}}}^{t}\|\leq Ct.

The bound on ∣Q^il∣|\hat{Q}_{il}| is the same as Claim F.4, but using the bound ∥h∗∥∞≤K\|h_{*}\|_{\infty}\leq K instead of the bound ∥gt∥∞≤2K\|g_{t}\|_{\infty}\leq 2K. The bound on ∥u^t∥\|\hat{{\bm{u}}}^{t}\| is the same as Claim F.5, using the bound on ∣Q^ilt∣|\hat{Q}_{il}^{t}|. ∎

We show that ∣Qilt−Q^ilt∣≤O(tl+1)|Q_{il}^{t}-\hat{Q}_{il}^{t}|\leq O(t^{l+1}) for each l∈[L]l\in[L]:

There is a constant CC depending on K,L,PK,L,P such that for any i∈[P]i\in[P], l∈[L]l\in[L], ∣Qilt−Q^ilt∣≤Ctl+1|Q_{il}^{t}-\hat{Q}_{il}^{t}|\leq Ct^{l+1}.

We prove this by induction on ll. For l=1l=1,

by Claim F.7, for some large enough constant C1C_{1}. Therefore ∣Q^i1t−Qi1t∣≤C1t2|\hat{Q}_{i1}^{t}-Q_{i1}^{t}|\leq C_{1}t^{2}. For the inductive step, let 2≤l≤L2\leq l\leq L, and assume that ∣Q^il′t−Qil′t∣≤C1tl′+1|\hat{Q}^{t}_{il^{\prime}}-Q_{il^{\prime}}^{t}|\leq C_{1}t^{l^{\prime}+1} for all 1≤l′≤l−11\leq l^{\prime}\leq l-1. Then

where the second-to-last-line was by the inductive hypothesis. Since Qil0=Q^il0=0Q_{il}^{0}=\hat{Q}_{il}^{0}=0, we conclude ∣Q^ilt−Qilt∣≤Cltl+1|\hat{Q}_{il}^{t}-Q_{il}^{t}|\leq C_{l}t^{l+1}. ∎

The above lemma will be used in Section F.7 to show that it suffices to analyze the dynamics of Q^t\hat{\bm{Q}}^{t} instead of the dynamics of Qt{\bm{Q}}^{t}, and in turn instead of the dynamics of ut{\bm{u}}^{t}.

F.6 Recurrence relation of the coefficients in the simplified dynamics

For each i∈[P]i\in[P], l∈[L]l\in[L], we have Q^ilt=tlpil(α,m)\hat{Q}^{t}_{il}=t^{l}p_{il}({\bm{\alpha}},{\bm{m}}), where pp is a polynomial in the Fourier coefficients α{\bm{\alpha}} of h∗h_{*} and in the first LL derivatives m{\bm{m}} of σ\sigma. Furthermore, {pil}i∈[P],l∈[L]\{p_{il}\}_{i\in[P],l\in[L]} satisfies the recurrence relations pi1=α{i}m1p_{i1}=\alpha_{\{i\}}m_{1} and

The proof is by induction on ll. In the base case, for any i∈[P]i\in[P],

so Q^i1t=tα{i}m1\hat{Q}_{i1}^{t}=t\alpha_{\{i\}}m_{1}. For the inductive step, suppose that the lemma is true for all i∈[P]i\in[P] and l′∈{1,…,l−1}l^{\prime}\in\{1,\ldots,l-1\}. Then

The recurrence relation follows by integrating with respect to tt. ∎

We will subsequently prove that it suffices to study u^\hat{{\bm{u}}}, for which the recurrence relation in Lemma F.10 becomes useful.

F.7 Reduction to analyzing the simplified dynamics

There are constants c,C>0c,C>0 depending on K,L,PK,L,P such that, for all T1≤cT_{1}\leq c,

There is a constant c>0c>0 depending on K,L,PK,L,P such that, for all T1≤cT_{1}\leq c,

In other words, the determinant is a polynomial in a{\bm{a}} of individual degree at most L2L^{2}.

There is a constant c>0c>0 depending on LL and PP such that for all 0≤t≤T10\leq t\leq T_{1},

For each γ∈{0,…,L2}2P{\bm{\gamma}}\in\{0,\ldots,L^{2}\}^{2^{P}}, there is a coefficient h^γ\hat{h}_{{\bm{\gamma}}} depending only on tt, h∗h_{*}, m{\bm{m}} and ρ{\bm{\rho}} such that

In other words, the determinant is a polynomial in a{\bm{a}} of individual degree at most L2L^{2}.

There is a constant C>0C>0 depending on K,L,PK,L,P, such that for any γ∈{0,…,L2}2P{\bm{\gamma}}\in\{0,\ldots,L^{2}\}^{2^{P}},

Furthermore, in fact det⁡(M^)\det(\hat{{\bm{M}}}) has the special structure that each coefficient h^γ\hat{h}_{{\bm{\gamma}}} is of size proportional to (T1)∥γ∥1(T_{1})^{\|{\bm{\gamma}}\|_{1}} if it is nonzero:

For any γ∈{0,…,L2}2P{\bm{\gamma}}\in\{0,\ldots,L^{2}\}^{2^{P}}, there is a polynomial qγ(α,m,ρ)q_{{\bm{\gamma}}}({\bm{\alpha}},{\bm{m}},{\bm{\rho}}) such that h^γ=(T1)∥γ∥1qγ(α,m,ρ)\hat{h}_{{\bm{\gamma}}}=(T_{1})^{\|{\bm{\gamma}}\|_{1}}q_{{\bm{\gamma}}}({\bm{\alpha}},{\bm{m}},{\bm{\rho}}).

Since Q^ir′lr′=(T1)lr′pir′lr′(α,m)\hat{Q}_{i_{r^{\prime}}l_{r^{\prime}}}=(T_{1})^{l_{r^{\prime}}}p_{i_{r^{\prime}}l_{r^{\prime}}}({\bm{\alpha}},{\bm{m}}) by Lemma F.10, we have

where qγ(α,m,ρ)q_{{\bm{\gamma}}}({\bm{\alpha}},{\bm{m}},{\bm{\rho}}) is the polynomial defined by

which concludes the proof of the claim. ∎

Suppose that for some γ∈{0,…,L2}2P{\bm{\gamma}}\in\{0,\ldots,L^{2}\}^{2^{P}}, we have qγ(α,m,ρ)≠0q_{{\bm{\gamma}}}({\bm{\alpha}},{\bm{m}},{\bm{\rho}})\neq 0. Then there is a small enough constant c>0c>0 depending on K,L,P,α,m,γK,L,P,{\bm{\alpha}},{\bm{m}},{\bm{\gamma}}, such that for all T1≤cT_{1}\leq c,

By combining Claims F.14, F.16, and F.17, we know that there is a large enough constant C>0C>0 and small enough constant c>0c>0 such that

Choosing c>0c>0 smaller than ∣qγ(α,m,ρ)∣/(2C)|q_{{\bm{\gamma}}}({\bm{\alpha}},{\bm{m}},{\bm{\rho}})|/(2C) concludes the claim. ∎

We conclude by combining all of the above claims to get the result of this subsection:

Suppose that for some γ∈{0,…,L2}2P{\bm{\gamma}}\in\{0,\ldots,L^{2}\}^{2P} such that ∥γ∥1<L/2\|{\bm{\gamma}}\|_{1}<L/2 we have qγ(α,m,ρ)≠0q_{{\bm{\gamma}}}({\bm{\alpha}},{\bm{m}},{\bm{\rho}})\neq 0. Then there is a small enough constant c>0c>0 depending on K,L,P,α,m,γ,ρK,L,P,{\bm{\alpha}},{\bm{m}},{\bm{\gamma}},{\bm{\rho}} such that for all T1≤cT_{1}\leq c we have

This is immediate by combining Claims F.11, F.12 and F.18. ∎

F.8 Proving learnability of generic MSP functions, Theorem F.3

Here we give the final technical step to proving that generic MSP functions are learnable. The proof idea is to use Lemma F.19 to lower-bound the minimum eigenvalue of the kernel matrix KT1{\bm{K}}^{T_{1}}. By Lemma F.19, it suffices to prove that for any minimal MSP structure S⊆2[P]{\mathcal{S}}\subseteq 2^{[P]}, if we plug in αS=0\alpha_{S}=0 for all S∉SS\not\in{\mathcal{S}} the determinant det⁡(M^)\det(\hat{\bm{M}}) almost surely is a non-zero polynomial in tt with nonzero low-order terms. In other words, the main technical lemma that remains to be proved is the following.

Let S⊆2[P]{\mathcal{S}}\subseteq 2^{[P]} be any MSP set structure on PP variables. Then there are constants lSl_{{\mathcal{S}}} and LSL_{{\mathcal{S}}} depending only S{\mathcal{S}} such that if we take the truncation to the dynamics to be L≥LSL\geq L_{{\mathcal{S}}} then det⁡(M^)∣(αS)S∉S=0\det(\hat{\bm{M}})\mid_{(\alpha_{S})_{S\not\in{\mathcal{S}}}={\bm{0}}} is a polynomial in t,a,{α}S∈S,m,ρt,{\bm{a}},\{{\bm{\alpha}}\}_{S\in{\mathcal{S}}},{\bm{m}},{\bm{\rho}} that has a nonzero term with degree lSl_{{\mathcal{S}}} in tt.

Before we show this lemma, let us see how it implies the main theorem.

For t≥T1t\geq T_{1}, let gt=(gt(z))z∈{+1,−1}P{\bm{g}}_{t}=(g_{t}({\bm{z}}))_{{\bm{z}}\in\{+1,-1\}^{P}} denote the residual vector where gt(z)=h∗(z)−f^NNpert(z;ρˉt)g_{t}({\bm{z}})=h_{*}({\bm{z}})-\hat{f}_{{\sf NN}}^{pert}({\bm{z}};\bar{\rho}_{t}). Here f^NNpert\hat{f}_{{\sf NN}}^{pert} is f^NN\hat{f}_{{\sf NN}} but with the activation σ\sigma replaced by the perturbed activation σpert\sigma_{pert} that is used in Phase 2. Recall that during Phase 2 the dynamics are linear since we are training the second layer, and are governed by kernel KT1{\bm{K}}^{T_{1}}. We have following bound on the norm of the residuals for t≥T1t\geq T_{1}:

Choose T1=cT_{1}=c, and T2=T1+log⁡(∥gT1∥2/ε)/c2T_{2}=T_{1}+\log(\|{\bm{g}}_{T_{1}}\|^{2}/\varepsilon)/c^{2} to achieve error ε>0\varepsilon>0. Since ∥gT1∥2≤2P(∥h∗∥2+∥f^NNpert(⋅;ρˉT1)∥2)≤K\|{\bm{g}}_{T_{1}}\|^{2}\leq 2^{P}(\|h_{*}\|^{2}+\|\hat{f}_{{\sf NN}}^{pert}(\cdot;\bar{\rho}_{T_{1}})\|^{2})\leq K, we have that T1T_{1} and T2T_{2} are constants depending on K,P,α,ρK,P,{\bm{\alpha}},{\bm{\rho}}. This proves strong O(d)O(d)-SGD learnability (with the variation that the activation function is perturbed at time T1T_{1}) almost surely over the Fourier coefficients α{\bm{\alpha}} and the perturbation ρ{\bm{\rho}}. ∎

F.9 Proof of Lemma F.20

It only remains to show Lemma F.20. To show this lemma, we will use the fact from Claim F.17 that det⁡(M^)\det(\hat{\bm{M}}) is a polynomial in all relevant parameters: t,a,α,m,ρt,{\bm{a}},{\bm{\alpha}},{\bm{m}},{\bm{\rho}}.

There is a large enough integer DD depending on L,PL,P such that det⁡(M^)\det(\hat{{\bm{M}}}) is a polynomial of degree at most DD in a,m,α,ρ{\bm{a}},{\bm{m}},{\bm{\alpha}},{\bm{\rho}}, and tt.

This is by writing det⁡(M^)=∑γt∥γ∥1aγqγ(α,m,ρ)\det(\hat{\bm{M}})=\sum_{{\bm{\gamma}}}t^{\|{\bm{\gamma}}\|_{1}}{\bm{a}}^{{\bm{\gamma}}}q_{{\bm{\gamma}}}({\bm{\alpha}},{\bm{m}},{\bm{\rho}}) where each qγq_{{\bm{\gamma}}} is a polynomial, as proved in Claim F.17. ∎

To study this polynomial, we first reduce to studying “minimal” MSP set structures, defined as follows.

We say that S={S1,…,SP}{\mathcal{S}}=\{S_{1},\ldots,S_{P}\} is a minimal MSP set structure if the sets can be ordered such that for each i∈[P]i\in[P] we have Si⊂[i]S_{i}\subset[i] and i∈Sii\in S_{i}.

The following claim shows that it is sufficient to restrict our attention to minimal MSP set structures.

Suppose that for every PP there are constants lP,LP,0l_{P},L_{P,0} depending only on PP such that for any L>LP,0L>L_{P,0}, and every minimal MSP set structure S⊆2[P]{\mathcal{S}}\subseteq 2^{[P]}, the polynomial det⁡(M^)∣(αS)S∉S=0\det(\hat{{\bm{M}}})\mid_{(\alpha_{S})_{S\not\in{\mathcal{S}}}={\bm{0}}} has a nonzero term with degree at most lPl_{P} in tt.

Then, for any L>LP,0L>L_{P,0} and MSP set structure S⊆2[P]{\mathcal{S}}\subseteq 2^{[P]}, the polynomial det⁡(M^)∣(αS)S∉S′=0\det(\hat{{\bm{M}}})\mid_{(\alpha_{S})_{S\not\in{\mathcal{S}}^{\prime}}={\bm{0}}} has a nonzero term with degree at most lPl_{P} in tt.

For any MSP set structure S′⊆2[P]{\mathcal{S}}^{\prime}\subseteq 2^{[P]}, up to a permutation of the variables there is a minimal MSP set structure S⊆2[P]{\mathcal{S}}\subseteq 2^{[P]} such that S⊆S′{\mathcal{S}}\subseteq{\mathcal{S}}^{\prime}. Since det⁡(M^)∣(αS)S∉S=0\det(\hat{{\bm{M}}})\mid_{(\alpha_{S})_{S\not\in{\mathcal{S}}}={\bm{0}}} has a nonzero term with degree at most lPl_{P}, so does det⁡(M^)∣(αS)S∉S′=0\det(\hat{{\bm{M}}})\mid_{(\alpha_{S})_{S\not\in{\mathcal{S}}^{\prime}}={\bm{0}}}, because the former polynomial can be constructed from the latter by additionally setting (αS)S∈S′∖S=0(\alpha_{S})_{S\in{\mathcal{S}}^{\prime}\setminus{\mathcal{S}}}=0, which could only zero out monomials. ∎

Because of the above claim, for the remainder of this section, we fix a minimal MSP set structure S={S1,…,SP}{\mathcal{S}}=\{S_{1},\ldots,S_{P}\}. Let us analyze the behavior of the dynamics of u^\hat{{\bm{u}}} on a function h∗(z)=∑S⊆[P]αSχS(z)h_{*}({\bm{z}})=\sum_{S\subseteq[P]}\alpha_{S}\chi_{S}({\bm{z}}) with this structure, i.e., with αS=0\alpha_{S}=0 for all S∉SS\not\in{\mathcal{S}}. Let us explicitly compute the leading order terms of the weights u^it\hat{{\bm{u}}}_{i}^{t} using the recurrence relations for the simplified dynamics. Recall that u^it(a)=∑l=1Laltlpil(α,m)\hat{{\bm{u}}}_{i}^{t}(a)=\sum_{l=1}^{L}a^{l}t^{l}p_{il}({\bm{\alpha}},{\bm{m}}).

Suppose that L>2PL>2^{P}. For each i∈[P]i\in[P], define

We have pil(α,m)∣(αS)S∉S=0≡0p_{il}({\bm{\alpha}},{\bm{m}})\mid_{(\alpha_{S})_{S\not\in{\mathcal{S}}}={\bm{0}}}\equiv 0 for all l<oil<o_{i}, and for l=oil=o_{i} we have

with the convention that a product over an empty set is 11 and a sum over an empty set is .

We prove this by induction on ll using the recurrence relations for pilp_{il} derived in Lemma F.10. For simplicity, we write pil=pil((αS)S∈S,m)=pil(α,m)∣(αS)S∉S=0p_{il}=p_{il}((\alpha_{S})_{S\in{\mathcal{S}}},{\bm{m}})=p_{il}({\bm{\alpha}},{\bm{m}})\mid_{(\alpha_{S})_{S\not\in S}={\bm{0}}}. First consider the base case of l=1l=1. For any ii such that oi=1o_{i}=1, we have Si={i}S_{i}=\{i\}. Therefore, from the base case of the recurrence relations, we have pioi=pi1=tα{i}m1p_{io_{i}}=p_{i1}=t\alpha_{\{i\}}m_{1}. On the other hand, if oi>1o_{i}>1, then Si≠{i}S_{i}\neq\{i\}. By the minimality of the MSP structure we have {i}∉S\{i\}\not\in{\mathcal{S}} so α{i}=0\alpha_{\{i\}}=0. Therefore pi1=tα{i}m1=0p_{i1}=t\alpha_{\{i\}}m_{1}=0.

For the inductive step, suppose l≥2l\geq 2 and that the result is true for l′∈{0,…,l−1}l^{\prime}\in\{0,\ldots,l-1\}. Now consider any S∈SS\in{\mathcal{S}}, any 1≤r≤L1\leq r\leq L and any (i1,…,ir)∈[P]r(i_{1},\ldots,i_{r})\in[P]^{r} such that {i}⊕S⊕{i1}⋯⊕{ir}=∅\{i\}\oplus S\oplus\{i_{1}\}\dots\oplus\{i_{r}\}=\emptyset. Consider also any l1,…,lr∈[L−1]rl_{1},\ldots,l_{r}\in[L-1]^{r} such that ∑r′lr′=l−1\sum_{r^{\prime}}l_{r^{\prime}}=l-1. Each of these corresponds to a possible contribution to pilp_{il} in the recurrence relation of Lemma F.10. Suppose that l≤oil\leq o_{i}.

Case 1: Suppose there is i′∈{i1,…,ir}i^{\prime}\in\{i_{1},\ldots,i_{r}\} such that oi′≥oio_{i^{\prime}}\geq o_{i}. Without loss of generality take i′=i1i^{\prime}=i_{1}. But since l1,…,lr≤l−1<oi≤oi′l_{1},\ldots,l_{r}\leq l-1<o_{i}\leq o_{i^{\prime}}, we have pi1l1=pi′oi′=0p_{i_{1}l_{1}}=p_{i^{\prime}o_{i^{\prime}}}=0 by the inductive hypothesis, so the terms in case 1 do not contribute.

Case 2: Suppose for all r′∈[r]r^{\prime}\in[r] we have oir′<oio_{i_{r^{\prime}}}<o_{i}. Then i∈Si\in S since otherwise i∈{i}⊕S⊕{i1}⊕⋯⊕{ir}i\in\{i\}\oplus S\oplus\{i_{1}\}\oplus\dots\oplus\{i_{r}\} and of course oi≥oio_{i}\geq o_{i}. If S=Si′S=S_{i^{\prime}} for some i′>ii^{\prime}>i, then we have i′∈Si^{\prime}\in S. And, as a consequence i′∈{i1,…,ir}i^{\prime}\in\{i_{1},\ldots,i_{r}\}, because otherwise i′∈{i}⊕S⊕{i1}⊕⋯⊕{ir}i^{\prime}\in\{i\}\oplus S\oplus\{i_{1}\}\oplus\dots\oplus\{i_{r}\} However, oi′>oio_{i^{\prime}}>o_{i} since i∈Si′i\in S_{i^{\prime}}, so this is a contradiction. We conclude that S=SiS=S_{i}, and so Si∖{i}={i1,…,ir}S_{i}\setminus\{i\}=\{i_{1},\ldots,i_{r}\}. Since ∑i′∈Si∖{i}=oi−1\sum_{i^{\prime}\in S_{i}\setminus\{i\}}=o_{i}-1 and ∑r′=1rir′=l−1≤oi\sum_{r^{\prime}=1}^{r}i_{r^{\prime}}=l-1\leq o_{i}, we conclude that either Case a: there is some r′r^{\prime} such that lr′<oir′l_{r^{\prime}}<o_{i_{r^{\prime}}}, or Case b: lr′=oir′l_{r^{\prime}}=o_{i_{r^{\prime}}} for all r′∈[r]r^{\prime}\in[r]. In Case a, we have pir′lr′=0p_{i_{r^{\prime}}l_{r^{\prime}}}=0 by the inductive hypothesis, so the term does not contribute to pilp_{il}. Case b occurs if and only if l=oil=o_{i} and i1,…,iri_{1},\ldots,i_{r} are a permutation of Si∖{i}S_{i}\setminus\{i\}. There are exactly (∣Si∣−1)!(|S_{i}|-1)! such terms, so the recurrence relation for pilp_{il} holds. ∎

For any z∈{+1,−1}P{\bm{z}}\in\{+1,-1\}^{P}, define the multivariable polynomial

There is a constant L0L_{0} depending on PP such that for large enough truncation L>L0L>L_{0}, for any z≠z′∈{+1,−1}P{\bm{z}}\neq{\bm{z}}^{\prime}\in\{+1,-1\}^{P}, ∂∂a(qz−qz′)\frac{\partial}{\partial a}(q_{{\bm{z}}}-q_{{\bm{z}}^{\prime}}) has a nonzero term of degree at most 2P−12^{P-1} in T1T_{1}.

Let us take a constant L0=2PL_{0}=2^{P}. Then the low-order solutions to the recursion from Claim F.24 are valid. There must be an index i∈[P]i\in[P] such that zi≠zi′z_{i}\neq z^{\prime}_{i}. Choose i∈{i′:zi′≠zi′′}i\in\{i^{\prime}:z_{i^{\prime}}\neq z^{\prime}_{i^{\prime}}\} such that oio_{i} is minimized, breaking ties in favor larger ii. Consider the terms of ∂∂a(qz−qz′)\frac{\partial}{\partial a}(q_{{\bm{z}}}-q_{{\bm{z}}^{\prime}}) which are of degree oio_{i} in T1T_{1}. The degree oio_{i} part is equal to

Notice that if zi′≠zi′′z_{i^{\prime}}\neq z^{\prime}_{i^{\prime}}, then have oi′≥oio_{i^{\prime}}\geq o_{i} by the choice of ii. And if oi′>oio_{i^{\prime}}>o_{i} then pi′oi≡0p_{i^{\prime}o_{i}}\equiv 0 by Claim F.24. So

By the recurrence relations for pi′oi′p_{i^{\prime}o_{i^{\prime}}} in Claim F.24, one can see that pioip_{io_{i}} is a monomial with degree 1 in αSi\alpha_{S_{i}}. On the other hand, for all i′<ii^{\prime}<i, the polynomial pi′oi′p_{i^{\prime}o_{i^{\prime}}} does not depend on αSi\alpha_{S_{i}}. Therefore [T1oi]∂∂a(qz−qz′)[T_{1}^{o_{i}}]\frac{\partial}{\partial a}(q_{{\bm{z}}}-q_{{\bm{z}}^{\prime}}) is a nonzero polynomial. So ∂∂a(qz−qz′)\frac{\partial}{\partial a}(q_{{\bm{z}}}-q_{{\bm{z}}^{\prime}}) has a nonzero degree oio_{i} term in T1T_{1}. One can prove using the recurrence relation of Claim F.24 inductively on ii that oi≤2i−1o_{i}\leq 2^{i-1}. ∎

We prove that det⁡(N)\det({\bm{N}}) has a low-order non-zero term in the analytic expansion of T1T_{1} at . This is an auxiliary result that will allow us to prove the corresponding result for det⁡(M^)\det(\hat{\bm{M}}).

There is a constant L0L_{0} depending on S⊆2[P]{\mathcal{S}}\subseteq 2^{[P]} such that for large enough L>L0L>L_{0}, there exists l≤23Pl\leq 2^{3P} where

equals a nonzero polynomial in ν,a,α,m\nu,a,{\bm{\alpha}},{\bm{m}}.

By the chain rule we may write Nz,j=exp⁡(νqz)Rz,j{\bm{N}}_{{\bm{z}},j}=\exp(\nu q_{{\bm{z}}})R_{{\bm{z}},j}, for a function Rz,j(a,T1,α,m)R_{{\bm{z}},j}(a,T_{1},{\bm{\alpha}},{\bm{m}}) defined inductively on jj as Rz,1(a,T1,α,m)≡1R_{{\bm{z}},1}(a,T_{1},{\bm{\alpha}},{\bm{m}})\equiv 1, and

So det⁡(N)=(∏z∈{+1,−1}Pexp⁡(νqz))det⁡(R)\det({\bm{N}})=\left(\prod_{{\bm{z}}\in\{+1,-1\}^{P}}\exp(\nu q_{{\bm{z}}})\right)\det({\bm{R}}), where R{\bm{R}} is the matrix with entries Rz,jR_{{\bm{z}},j}. Since each Rz,jR_{{\bm{z}},j} is a polynomial of degree j−1j-1 in ν\nu, det⁡(R)\det({\bm{R}}) is a polynomial of degree at most ∑j=12Pj−1=(2P−1)(2P)/2=(2P2)\sum_{j=1}^{2^{P}}j-1=(2^{P}-1)(2^{P})/2=\binom{2^{P}}{2} in ν\nu. Let us consider the part of det⁡(R)\det({\bm{R}}) that has degree (2P2)\binom{2^{P}}{2} in ν\nu. This must come from the degree j−1j-1 part of each Rz,jR_{{\bm{z}},j}, which can inductively be shown to be [νj−1]Rz,j=(∂∂aqz)j−1[\nu^{j-1}]R_{{\bm{z}},j}=(\frac{\partial}{\partial a}q_{{\bm{z}}})^{j-1}. So [ν(2P2)]det⁡(R)=det⁡(R^)[\nu^{\binom{2^{P}}{2}}]\det({\bm{R}})=\det(\hat{\bm{R}}), where R^\hat{\bm{R}} is the matrix with entries

This matrix is Vandermonde, so its determinant is (up to a factor of +1+1 or −1-1):

From Claim F.25, we know that for each distinct z,z′{\bm{z}},{\bm{z}}^{\prime}, we have that (∂∂a(qz−qz′))(\frac{\partial}{\partial a}(q_{{\bm{z}}}-q_{{\bm{z}}^{\prime}})) has a nonzero term of degree at most 2P−12^{P-1} in T1T_{1}. Therefore det⁡(R^)\det(\hat{{\bm{R}}}) has a nonzero term of degree at most (2P2)2P−1≤23P\binom{2^{P}}{2}2^{P-1}\leq 2^{3P} in T1T_{1}. In particular, we have proved that det⁡(R)\det({\bm{R}}) is a polynomial in ν,a,T1,α,m\nu,a,T_{1},{\bm{\alpha}},{\bm{m}} that has a nonzero term of degree at most 23P2^{3P} in T1T_{1}. Let 0≤l≤23P0\leq l\leq 2^{3P} be the smallest ll such that [T1l]det⁡(R)≢0[T_{1}^{l}]\det({\bm{R}})\not\equiv 0. Then we have

since qz∣T1=0≡1q_{{\bm{z}}}\mid_{T_{1}=0}\equiv 1, since T1T_{1} divides the polynomial qzq_{{\bm{z}}} by its definition.

Let us prove that det⁡(N^)\det(\hat{\bm{N}}) has a low-order nonzero term in T1T_{1} by comparing it to det⁡(N)\det({\bm{N}}).

For any S{\mathcal{S}} there is large enough truncation parameter L0L_{0}, such that for L>L0L>L_{0} there exists l≤23Pl\leq 2^{3P} with ∂l(∂T1)ldet⁡(N^)∣T1=0≢0\frac{\partial^{l}}{(\partial T_{1})^{l}}\det(\hat{{\bm{N}}})\mid_{T_{1}=0}\not\equiv 0.

Suppose that we were to make the substitution ρr=−mr+νr\rho_{r}=-m_{r}+\nu^{r} for each r∈{0,…,28P}r\in\{0,\ldots,2^{8P}\}. Then we would get N^z,j=∑r=028Pνrr!(qz(a,T1,α,m))r+∑r=28P+1Lmrr!(qz(a,T1,α,m))r\hat{N}_{{\bm{z}},j}=\sum_{r=0}^{2^{8P}}\frac{\nu^{r}}{r!}(q_{{\bm{z}}}(a,T_{1},{\bm{\alpha}},{\bm{m}}))^{r}+\sum_{r=2^{8P}+1}^{L}\frac{m_{r}}{r!}(q_{{\bm{z}}}(a,T_{1},{\bm{\alpha}},{\bm{m}}))^{r}. Then since T1T_{1} divides qzq_{{\bm{z}}} and ∑r=028Pνrr!sr\sum_{r=0}^{2^{8P}}\frac{\nu^{r}}{r!}s^{r} is the first few order expansion of exp⁡(νs)\exp(\nu s), for any l≤23Pl\leq 2^{3P}, we have

Recall that by Claim F.26, there is a l≤23Pl\leq 2^{3P} such that ∂l(∂T1)ldet⁡(N)∣T1=0\frac{\partial^{l}}{(\partial T_{1})^{l}}\det({\bm{N}})\mid_{T_{1}=0} is a nonzero polynomial. Since we have derived the above by substituting ρr=−mr+νr\rho_{r}=-m_{r}+\nu^{r}, we must have that without substituting we have ∂l(∂T1)ldet⁡(N^)∣T1=0\frac{\partial^{l}}{(\partial T_{1})^{l}}\det(\hat{{\bm{N}}})\mid_{T_{1}=0} is a nonzero polynomial in a,α,m,ρa,{\bm{\alpha}},{\bm{m}},{\bm{\rho}}. ∎

Furthermore, det⁡(N^)\det(\hat{\bm{N}}) is related to det⁡(M^)\det(\hat{\bm{M}}).

det⁡(N^)=∂∂a2∂2(∂a3)2…∂2P−1(∂a2P)2P−1det⁡(M^)∣a1=a2=…a2P=a\det(\hat{\bm{N}})=\frac{\partial}{\partial a_{2}}\frac{\partial^{2}}{(\partial a_{3})^{2}}\dots\frac{\partial^{2^{P}-1}}{(\partial a_{2^{P}})^{2^{P}-1}}\det(\hat{\bm{M}})\mid_{a_{1}=a_{2}=\dots a_{2^{P}}=a}.

Combining the above two claims allows us to conclude that there is a nonzero term in det⁡(M^)\det(\hat{\bm{M}}) that has low degree in T1T_{1}. This concludes the proof of the lemma, which implies the theorem.

By the above two claims, there is l≤23Pl\leq 2^{3P} such that

This implies that det⁡(M^)\det(\hat{\bm{M}}) has a nonzero term of degree l≤23Pl\leq 2^{3P} in T1T_{1}. ∎

Appendix G Lower bounds on learning with linear methods

Recall that we denote q=dim⁡(H)q=\dim({\mathcal{H}}).

Popular examples of linear methods include

Ridge regression corresponds to taking the functional: L\big{(}(y_{i},\hat{f}_{i})_{i\in[n]}\big{)}=\frac{1}{n}\sum_{i\in[n]}\big{(}y_{i}-\hat{f}_{i}\big{)}^{2}.

We will be interested in providing lower bounds on the number of samples necessary to learn some classes of functions for any linear methods. We first present the following general dimension-based (see discussion bellow) approximation lower bound that is a slight variation of [Hsu+21, Hsu, KMS20]; it improves on [Hsu+21, Hsu] for target functions that are not (almost) orthogonal, and it uses the operator norm of the gram matrix rather than its min-eigenvalue as in [KMS20].

Define the averageThis is a lower-bound on the worst-case approximation error considered in [KMS20]. approximation error of the target functions F{\mathcal{F}} by the subspace T{\mathcal{T}}

and G=(⟨fi,fj⟩R)ij∈[B]{\bm{G}}=(\langle f_{i},f_{j}\rangle_{\mathcal{R}})_{ij\in[B]} the Gram matrix associated to the fif_{i}’s. Then

Note that the results in [Hsu+21, Hsu] are simply obtained by using

In the proofs in [Hsu+21, Hsu], we simply replace the Boas-Bellman inequality by (for any g∈Rg\in\mathcal{R})

where we denoted b=(⟨g,f1⟩R,…,⟨g,fM⟩R){\bm{b}}=(\langle g,f_{1}\rangle_{\mathcal{R}},\ldots,\langle g,f_{M}\rangle_{\mathcal{R}}). Noticing that ∥b∥22\|{\bm{b}}\|_{2}^{2} is equal to the left-hand side of Eq. (74), we get

Let us explain how to derive lower-bounds on the performance of linear methods using Proposition G.1. Consider R=L2(X)\mathcal{R}=L^{2}({\mathcal{X}}) and T{\mathcal{T}} the space of functions f=⟨a,ψ(⋅)⟩Ff=\langle{\bm{a}},\psi(\cdot)\rangle_{{\mathcal{F}}} with a∈span{ψ(xi):i∈[n]}{\bm{a}}\in{\rm span}\{\psi({\bm{x}}_{i}):i\in[n]\}. We can consider T{\mathcal{T}} random or fixed conditional on ψ\psi (e.g., random feature map) and the xi{\bm{x}}_{i}’s. We always have r≤min⁡(p,n)r\leq\min(p,n). Consider learning a set of BB functions F={f1,…,fM}{\mathcal{F}}=\{f_{1},\ldots,f_{M}\} with the linear estimator obtained by (72). From the above discussion, we must have that the estimator f^∈T\hat{f}\in{\mathcal{T}} and the generalization error is lower bounded by the approximation error ∥fi−f^∥L22≥inf⁡g∈T∥fi−g∥L22\|f_{i}-\hat{f}\|_{L^{2}}^{2}\geq\inf_{g\in{\mathcal{T}}}\|f_{i}-g\|_{L^{2}}^{2}. Therefore ε\varepsilon lower bound the average generalization error over learning F{\mathcal{F}}. Therefore, Proposition G.1 implies the following: if the average generalization error over F{\mathcal{F}} is less than ε\varepsilon, then we must have

This bound is a dimension lower bound in the sense that it does not assume anything about the statistical model (e.g., the xi{\bm{x}}_{i} can be arbitrary and do not have to be independent), only that the estimator lies in a min⁡(n,q)\min(n,q)-dimensional subspace T{\mathcal{T}}: this subspace can be a good approximation of MM orthogonal functions only if min⁡(n,q)≥Ω(M)\min(n,q)\geq\Omega(M).

To get Proposition 5.1 in the main text, we make the following two modifications of the bound in Proposition G.1. In Eq. (75), we upper bound ∥G∥op≤∥G∥1,∞=max⁡i∈[M]∑j∈[M]∣⟨fi,fj⟩R∣\|{\bm{G}}\|_{{\rm op}}\leq\|{\bm{G}}\|_{1,\infty}=\max_{i\in[M]}\sum_{j\in[M]}|\langle f_{i},f_{j}\rangle_{\mathcal{R}}|. Second, some linear subspaces Ω⊆R\Omega\subseteq\mathcal{R} are harder to fit for linear methods (see for example [Gho+21, MMM21]). For instance, vanilla staircase functions of large degree contain monomials of large degree that have a large dimension lower-bound, but the overall staircase functions do not have a large dimension lower-bound per se. We next present a corollary that applies to any decomposition R=Ω⊕Ω⊥\mathcal{R}=\Omega\oplus\Omega^{\perp}, and distinguishes the error incurred on each of the two orthogonal subspaces. Denote PΩ{\mathsf{P}}_{\Omega} and PΩc=I−PΩ{\mathsf{P}}_{\Omega^{c}}={\mathbf{I}}-{\mathsf{P}}_{\Omega} the orthogonal projections onto Ω\Omega and Ω⊥\Omega^{\perp} respectively.

Define the average approximation error on Ω\Omega of the target functions F{\mathcal{F}} by the subspace T{\mathcal{T}}

This is a direct consequence of Proposition G.1 whith R\mathcal{R} and T{\mathcal{T}} replaced by Ω\Omega and T∩Ω{\mathcal{T}}\cap\Omega, and the target functions by F′={PΩf1,…,PΩfM}{\mathcal{F}}^{\prime}=\{{\mathsf{P}}_{\Omega}f_{1},\ldots,{\mathsf{P}}_{\Omega}f_{M}\}. Proposition 5.1 in the main text is simply Corollary G.2 rewritten in the context of linear methods.

Consider a set of target functions F{\mathcal{F}} such that ∥PΩf∥L22=1−κ\|{\mathsf{P}}_{\Omega}f\|_{L^{2}}^{2}=1-\kappa and ∥(I−PΩ)f∥L22=κ\|({\mathbf{I}}-{\mathsf{P}}_{\Omega})f\|_{L^{2}}^{2}=\kappa for any f∈Ff\in{\mathcal{F}}. If the averaged generalization error is less than 1−u1-u, we can take ε=(1−u)/(1−κ)\varepsilon=(1-u)/(1-\kappa) and get

Let us apply this bound to the examples described in the main text. We take X={+1,−1}d{\mathcal{X}}=\{+1,-1\}^{d}. First consider Ω\Omega the span of all degree kk monomials and a target function f∗f_{*} such that ∥PΩf∗∥L22=∥PΩ⊥f∗∥L22=12\|{\mathsf{P}}_{\Omega}f_{*}\|_{L^{2}}^{2}=\|{\mathsf{P}}_{\Omega^{\perp}}f_{*}\|_{L^{2}}^{2}=\frac{1}{2}, and PΩf∗{\mathsf{P}}_{\Omega}f_{*} is supported on mm monomials {S1,…,Sm}\{S_{1},\ldots,S_{m}\}, with Si⊆[d]S_{i}\subseteq[d], ∣Si∣=k|S_{i}|=k:

Applying Eq. (77), we obtain the following lower bound:

For any linear method, in order to get an average generalization error over F∗{\mathcal{F}}_{*} that is smaller than 1/2⋅(1−η)1/2\cdot(1-\eta), we must have

We can then apply Eq. (77) with u:=1/2⋅(1+η)u:=1/2\cdot(1+\eta) and κ=1/2\kappa=1/2. ∎

Proposition G.3 shows that for kk fixed, n=Ωd(dk/m)n=\Omega_{d}(d^{k}/m) samples are necessary to learn F∗{\mathcal{F}}_{*}.

As a second example, consider the vanilla staircase function of degree PP:

and the function class of all staircase function of degree PP:

Let P≤d/2P\leq d/2 and η∈(0,1)\eta\in(0,1). For any linear method, in order to get an average generalization error over FP{\mathcal{F}}_{P} that is smaller than 1−η1-\eta, we must have

In our case, we are interested in P=ωd(1)P=\omega_{d}(1). Letting η\eta decay at moderate rate, such as η=1/P\eta=1/\sqrt{P} in Proposition G.4, we get the following superpolynomial lower bound on the number of samples n≥dωd(1)n\geq d^{\omega_{d}(1)}.

Appendix H Technical results

In this appendix, we gather a few technical results needed to prove the main results in this paper.

We consider the same assumptions as [MMM19, Theorem 1], with the difference that A1{\rm A}1 is replaced by A1′:∥Λ∥op,∥Hk∥op≤K{\rm A}1^{\prime}:\|{\bm{\Lambda}}\|_{{\rm op}},\|{\bm{H}}_{k}\|_{{\rm op}}\leq K.

with probability at least 1−e−z21-e^{-z^{2}}.

with probability at least 1−e−z21-e^{-z^{2}}.

The proof of this proposition follows by adapting the proof of [MMM19, Theorem 1] to the discrete setting described above (see also Appendix B.3). In particular, part (A) (fixed second layer coefficients) follows from the Appendix B in [MMM19]: the comparison between discrete and continuous gradient is not needed anymore, and the only difference is in the first part of Proposition 16 in [MMM19], which can simply be rewritten by noting that

and the rest of the proof follows similarly.

For part (B), the main difference comes from bounding aka^{k}: we have

where we denoted ∥ak∥∞=sup⁡a∈supp(ρk)∣a∣\|a^{k}\|_{\infty}=\sup_{a\in\text{supp}(\rho_{k})}|a| and g^k(x)=f∗(x)−f^NN(z;ρk)\hat{g}_{k}({\bm{x}})=f_{*}({\bm{x}})-\hat{f}_{{\sf NN}}({\bm{z}};\rho_{k}) and used that by assumption ∥f∗∥∞,∥σ∥∞≤K\|f_{*}\|_{\infty},\|\sigma\|_{\infty}\leq K and ∥f^NN∥∞≤∫∣a∣∥σ∥∞ρk(dθ)≤K\|\hat{f}_{{\sf NN}}\|_{\infty}\leq\int|a|\|\sigma\|_{\infty}\rho_{k}({\rm d}{\bm{\theta}})\leq K. We can then use the discrete Grönwall inequality to get ∥at∥∞≤KeKk0\|a^{t}\|_{\infty}\leq Ke^{Kk_{0}}. This explains the worse dependency (double exponential) in k0k_{0} in the bound, than for continuous time, where one can use properties of continuous gradient flows to get a bound on ata^{t} linear in time. With this modification, the rest of the proof follow by adapting Appendix C in [MMM19], where we can assume that the activation function σ∗(x;θ)\sigma_{*}({\bm{x}};{\bm{\theta}}) is bounded by KeKk0Ke^{Kk_{0}}. ∎

H.2 Anti-concentration of polynomials

We prove the technical lemma that polynomials anti-concentrate when evaluated at random inputs. Concretely, we lower-bound the variance of the polynomial evaluated at a random input based on the sum of the magnitudes of its coefficients. Our bound is crude, but suffices for our purposes. We remark that anti-concentration bounds for polynomials in terms of their variance (and other moments) are a well-studied subject. For instance, the seminal paper [CW01] bounds the probability that a polynomial of random variables lies in an interval in terms of the variance (or other moments) of the polynomial. In contrast, we bound the variance based on the sum of magnitudes of the polynomial’s coefficients.

The polynomials {Pα}α∈{0,…,D}m\{P_{{\bm{\alpha}}}\}_{{\bm{\alpha}}\in\{0,\ldots,D\}^{m}} therefore form an orthonormal basis over the multivariate polynomials whose degree in each variable is bounded by DD. Writing h(z)h({\bm{z}}) in this basis, we get

for some constant 0<C<∞0<C<\infty depending on m,Dm,D.

We will also use the following corollary:

we have, writing ∥α∥1=∑i∈[m]αi\|{\bm{\alpha}}\|_{1}=\sum_{i\in[m]}\alpha_{i},

The lemma follows by noting that h(w+u)h({\bm{w}}+{\bm{u}}), where u∼Unif([−ρ,ρ]){\bm{u}}\sim{\rm Unif}([-\rho,\rho]), is equal in distribution to g(v)g({\bm{v}}), where v∼Unif(){\bm{v}}\sim{\rm Unif}(), and applying Lemma H.2. ∎