SGD learning on neural networks: leap complexity and saddle-to-saddle dynamics

Emmanuel Abbe, Enric Boix-Adsera, Theodor Misiakiewicz

Introduction

Deep learning has emerged as the standard approach to exploiting massive high-dimensional datasets. At the core of its success lies its capability to learn effective features with fairly blackbox architectures without suffering from the curse of dimensionality. To explain this success, two structural properties of data are commonly conjectured: (i) a low-dimensional structure that SGD-trained neural networks are able to adapt to; (ii) a hierarchical structure that neural networks can leverage with SGD training. In particular,

A line of work has investigated the sample complexity of learning with deep neural networks, decoupled from computational considerations. By directly considering global solutions of empirical risk minimization (ERM) problems over arbitrarily large neural networks and sparsity inducing norms, they showed that deep neural networks can overcome the curse of dimensionality on classes of functions with low-dimensional and hierarchical structures. However, this approach does not provide efficient algorithms: instead, a number of works have shown computational hardness of ERM problems and it is unclear how much this line of work can inform practical neural networks, which are trained using SGD and variants.

A line of work in computational learning theory has provided time- and sample-efficient algorithms for learning Boolean functions with low-dimensional structure, based on their sparse Fourier spectrum . However, these algorithms are a priori quite different from SGD-trained neural networks. While unconstrained architectures can emulate any efficient learning algorithms , it is unclear whether more ‘standard’ neural networks can succeed on these same classes of functions or whether they require additional structure that pertains to hierarchical properties.

Thus, an outstanding question emerges from the current state of affairs:

For neural networks satisfying “regularity assumptions” (e.g., fully-connected, isotropically initialized layers), are there structural properties of the data that govern the time complexity of SGD learning? How does SGD exploit these properties in its training dynamics?

Here the key points are: (i) the “regularity” assumption, which prohibits the use of unorthodox neural networks that can emulate generic PAC/SQ learning algorithms as in ; (ii) the requirement on the time complexity, which prohibits direct applications of infinite width, continuous time or infinite time analyses as in . We discuss in Section 1.3 the various works that made progress towards the above, in particular regarding single- and multi-index models. We now specify the setting of this paper.

We focus on the following class of data distributions. First of all, we consider IID inputs, i.e.,

and we focus on the case where μ\mu is either N(0,1)\mathcal{N}(0,1) or Unif({+1,−1}){\rm Unif}(\{+1,-1\}), although we expect that other distributions would admit a similar treatment. Incidentally, the latter distribution is of interest in reasoning tasks related to Boolean arithmetic or logic . We now make a key assumption on the target function, that of having a low latent dimension, i.e., f∗(x)=h∗(z)f_{*}({\bm{x}})=h_{*}({\bm{z}}) where z=Mx{\bm{z}}={\bm{M}}{\bm{x}} and

with the assumption that P=Od(1)P=O_{d}(1). In other words, the target function has a large ambient dimension but depends only on a finite number of latent coordinates. In the Gaussian case the coordinates are not known because of a possible rotation of the input, and in the Boolean case the coordinates are not known because of a possible permutation of the input.

Data with large ambient dimension but low latent dimension have long been a center of focus in machine learning and data science. It is known that kernel methods cannot exploit low latent dimension, i.e., it was proved in that any kernel method needs a number of features pp or samples nn satisfying

in order to learn a Boolean function as above with degree D=Od(1)D=O_{d}(1). In other words, for kernel methods DD controls the sample complexity irrespective of any potential additional structural properties of f∗f_{*} (e.g., hierarchical properties). On the other hand, it is known that this is not the limit for deep learning, which can break the dDd^{D} curse, as discussed next.

Consider the following example: x∼Unif({+1,−1}d){\bm{x}}\sim{\rm Unif}(\{+1,-1\}^{d}) is drawn from the hypercube and the target function is 44-sparse, either

The first function is called a vanilla staircase of degree 4 . The second is a monomial of degree 4. Each of these functions induces a function class under the permutation of the variables (i.e., one can consider the class of all monomials on any 4 of the dd input variables, and similarly for staircases). One can verify that these function classes have similar approximation and statistical complexity because of the low-dimensional structure, but have different computational complexity because of the hierarchical structure. For example, under the Correlational Statistical Query (CSQ) model of computation , the first class has CSQ dimension Θ(d)\Theta(d) versus Θ(d4)\Theta(d^{4}) for the second classSee Section 2 for more details on CSQ..

1 The leap complexity

We now define the leap complexity. Any function in L2(μ⊗P)L^{2}(\mu^{\otimes P}) can be expressed in the orthogonal basis of L2(μ⊗P)L^{2}(\mu^{\otimes P}), i.e., the Hermite or Fourier-Walsh basis for μ∼N(0,1)\mu\sim{\sf N}(0,1) and μ∼Unif({+1,−1})\mu\sim{\rm Unif}(\{+1,-1\}) respectively,

In words, a function h∗h_{*} is leap-kk if its non-zero monomials can be ordered in a sequence such that each time a monomial is added, the support of h∗h_{*} grows by at most kk new coordinates, where each new coordinate is counted with multiplicity in the Gaussian case (and the 1-norm collapses to the cardinality of the difference set in the Boolean case). Note that the definition of leap-kk functions on the hypercube generalizes the definition of functions with the merged-staircase property (leap-1 functions) from .

2 Summary of our contributions

This paper puts forward a general conjecture characterizing the time complexity of SGD-learning on regular neural networks with isotropic data of low latent dimension. The key quantity that emerges to govern the complexity is the leap (Definition 1). This gives a formal measure of “hierarchy” in target functions, going beyond spectrum sparsity and emerging from the study of SGD-trained regular networks. The paper then proves a specialization of the conjecture to a representative class of functions on Gaussian inputs, but for 2-layer neural networks and with certain technical assumptions on how SGD is run. The two main innovations of the proof are (i) a full control of the time complexity of SGD learning on a fully-connected network (without infinite width or continuous time approximations); (ii) going beyond one-step gradient analyses and showing that the leap controls the entire learning trajectory due to a sequential learning mechanism (saddle-to-saddle). We also provide experimental evidence towards the more general conjecture with vanilla SGD and derive CSQ lower-bounds for noisy GD that match our achievability bounds.

We believe that the conjecture (in particular the time complexity scaling) holds for more general architectures than those with isotropically-initialized layers, as long as enough ‘regularity’ assumptions are present at initialization (prohibiting the type of ‘emulation networks’ used in ). Note that it is not enough to ask for only the first layer to be initialized with a rotationally-invariant distribution, as this may be handled by using emulation networks on the subsequent layers, but weaker invariances of subsequent layers (e.g., permutation subgroups) may suffice.

The characterization obtained in this paper implies a relatively simple picture for learning low-dimensional functions with SGD on neural networks:

SGD on regular neural networks implicitly implements a form of ‘adaptive curriculum’ learning. SGD first picks up low-level features that are computationally and statistically easier to learn, and by picking up these low level features, it makes the learning of higher-level features in turn easier. As mentioned in the examples of Table 1: learning z1⋯z2kz_{1}\cdots z_{2k} takes Θ~(d2k−1)\widetilde{\Theta}(d^{2k-1}) sample complexity (leap-2k2k function). But if we add an intermediary monomial to our target to create z1⋯zk+z1⋯z2kz_{1}\cdots z_{k}+z_{1}\cdots z_{2k}, then it takes Θ~(dk−1)\widetilde{\Theta}(d^{k-1}) steps to learn (leap-kk function). If we have a full staircase, it only requires Θ(d)\Theta(d) (leap-11 function). This thus gives an adaptive learning process that follows a curriculum learning procedure where features of increasing complexity guide the learning.

3 Related works

In parallel, several works have studied the dynamics of SGD in simpler non-convex models in high dimensions . Our analysis relies on a similar drift plus martingale decomposition of online-SGD as in . In particular, the leap complexity is related to the information-exponent introduced in . The latter considers a single-index model trained with online-SGD on a non-convex loss and the information exponent captures the scaling of the correlation between the model at a typical initialization and the global solution. showed that, with information exponent kk, online-SGD requires Θ~(dk−1∨1)\widetilde{\Theta}(d^{k-1\vee 1}) steps to converge, similarly to the scaling presented in this paper. However our analysis and the definition of the leap complexity differ from in two major ways. First, our model is not a single parameter model, so a much more involved analysis is required for the dynamics. Second, the information exponent is a coefficient that only applies at initialization, while the leap-complexity is a measure of targets that controls the entire learning trajectory (our neural networks visit several saddles during training).

Lower bounds on learning leap functions

Linear methods such as kernel methods suffer exponentially in the degree of the target function, and cannot use the “hierarchical” structure to learn faster. This was proved in for the Boolean case, and this work extends the result to the Gaussian case:

Let h∗h_{*} be a degree-DD polynomial over the Boolean hypercube (resp., Gaussian measure). Then there are ch∗,εh∗>0c_{h_{*}},\varepsilon_{h_{*}}>0, such that any linear method needs ch∗dDc_{h_{*}}d^{D} samples to learn f∗(x)=h∗(Mx)f_{*}({\bm{x}})=h_{*}({\bm{M}}{\bm{x}}) to less than εh∗>0\varepsilon_{h_{*}}>0 error, where M{\bm{M}} is an unknown permutation (resp., rotation) as in (2).

Consider now the Correlational Statistical Query (CSQ) model of computation . A CSQ algorithm accesses the data via expectation queries, plus additive noise. We show that for CSQ methods the query complexity scales exponentially in the leap of the target function, which can be much less than the degree.

We note that the above lower-bounds are for CSQ models or noisy population-GD models, and not for online-SGD since the latter takes a single sample per time step. Our proof does show a correspondence between online-SGD and population-GD, but without the additional noise. It is however intriguing that the regularity in the network model for online-SGD appears to act comparatively in terms of constraints to a noisy population-GD model (on possibly non-regular architectures), and we leave potential investigations of such correspondences to future work (see also discussion in Appendix B.5). Further, we note that the correspondence to CSQ may not hold beyond the finite PP regime. First there is the ‘extremal case’ of learning the full parity function, which is efficiently learnable in CSQ (with 0 queries) but not necessarily with online-SGD on regular networks: shows it is efficiently learnable by a i.i.d. Rademacher(1/2)(1/2) initialization, but not necessarily by a Gaussian isotropic initialization. Further, the positive result of the Rademacher initialization may disappear under proper hyperparameter ‘stability’ assumptions. Beyond this extremal case, a more important nuance arises for large PP: the fitting of the function on the support may become costly for regular neural networks in certain cases. For example, let g:[P]→{0,1}g:[P]\to\{0,1\} be a known function and consider learning f∗(x)f_{*}({\bm{x}}) which depends on PP unknown coordinates as h∗(z)=∑i=1Pizi+∏i=1Pzig(i)h_{*}({\bm{z}})=\sum_{i=1}^{P}iz_{i}+\prod_{i=1}^{P}z_{i}^{g(i)}. This is a leap-1 function where the linear part reveals the support and the permutation, and with a parity term on the indices such that g(i)=1g(i)=1. In this case, SGD on a regular network would first pick up the support, and then have to express a potentially large degree monomial on that support, which may be hard if PP is large (i.e., P≫1P\gg 1). The latter part may be non trivial for SGD on a regular network, while, since gg is known, it would require 0 queries for a CSQ algorithm once the permutation was determined from learning the linear coefficients.

Learning leap functions with SGD on neural networks

We consider the following assumption on the activation function:This is satisfied, for example, by the shifted sigmoid σ(z)=1/(1+e−z+c)\sigma(z)=1/(1+e^{-z+c}) for almost all shifts cc.

For the purposes of the analysis, we make two modifications to SGD training. First, we train layerwise: training {wj}j∈[M]\{{\bm{w}}_{j}\}_{j\in[M]} and then {aj}j∈[M]\{a_{j}\}_{j\in[M]}, while keeping the biases {bj}j∈[M]\{b_{j}\}_{j\in[M]} frozen during the whole training. Second, during the training of the first layer weights {wj}j∈[M]\{{\bm{w}}_{j}\}_{j\in[M]}, we project the weights in order to ensure that they remain bounded in magnitude. See Algorithm 1 for pseudocode, and see below for a detailed explanation. These modifications are not needed in practice for SGD to learn, as we demonstrate in our experiments in Figure 1 and Appendix A.

Analyzing layerwise training is a fairly standard tool in the theoretical literature to obtain rigorous analyses; it is used in a number of works, including . In our setting, layerwise training allows us to analyze the complicated dynamics of neural network training, but it also leads to a major issue. During the training of the first layer, the target function f∗f_{*} is not fully fitted because we do not train the second layer concurrently. Therefore the first-layer weights continue to evolve even after they pick up the support of f∗f_{*}. This is a challenge since we must train the first-layer weights for a large number of steps, and so they can potentially grow to a very large magnitude, leading to instability.We emphasize that this problem is due to layerwise training, since in practice if we train both layers at the same time the residual quickly goes to zero after the support is picked up, and so the first-layer weights stop evolving and remain bounded in magnitude (see Appendix A).

We correct the issue by projecting each neuron’s first-layer weights wj{\bm{w}}_{j} to ensure that the coordinates do not blow up. First, we keep the “small” coordinates of wj{\bm{w}}_{j} on the unit sphere, i.e., for some parameter r>0r>0, we define the “small” coordinates for neuron jj at time tt by Sj,0=[d]S_{j,0}=[d] and

We project these coordinates on the unit sphere using the operator Pjt{\mathsf{P}}^{t}_{j} defined by

and use the spherical gradient with respect to the sphere ∥St(wjt)∥2=1\|{\mathcal{S}}_{t}({\bm{w}}_{j}^{t})\|_{2}=1, i.e., for any function ff,

In the second phase, the training of the second layer weights a{\bm{a}} is by standard SGD (without projection) with added ridge-regularization term λa2∥a∥2\frac{\lambda_{a}}{2}\|{\bm{a}}\|^{2} to encourage low-norm solutions.

2 Learning a single monomial

We first consider the case of learning a single monomial with Hermite exponents k1,…,kP≥1k_{1},\ldots,k_{P}\geq 1:

We assume D=k1+…+kP≥2D=k_{1}+\ldots+k_{P}\geq 2 (the case D=1D=1 is straightforward). h∗h_{*} is a leap-DD function. We start by proving that, during the first phase, the first layer weights grow in the directions of z1,…,zPz_{1},\ldots,z_{P} which are the variables in the support of the target function.

Assume σ\sigma satisfy Assumption 1. Then for 0<r<Δ0<r<\Delta sufficiently small (depending on D,KD,K) and ρ≤Δ\rho\leq\Delta the following holds. For any constant C∗>0C_{*}>0, there exist CiC_{i} for i=0,…,6i=0,\ldots,6, that only depend on D,KD,K and C∗C_{*} such that

and for dd large enough that r≥C0log⁡(d)C0/dr\geq C_{0}\log(d)^{C_{0}}/\sqrt{d}, the following event holds with probability at least 1−Md−C∗1-Md^{-C_{*}}. For any neuron j∈[M]j\in[M],

Early stopping: ∣wj,it−wj,i0∣≤C3/dlog⁡(d)|w_{j,i}^{t}-w_{j,i}^{0}|\leq C_{3}/\sqrt{d\log(d)} for all i∈[d]i\in[d] and t≤T‾1/(C4log⁡(d)C4)t\leq\overline{T}_{1}/(C_{4}\log(d)^{C_{4}}).

And for any neuron j∈[M]j\in[M] such that aj0μD(σ)(wj,10)k1⋯(wj,P0)kP>0a_{j}^{0}\mu_{D}(\sigma)(w_{j,1}^{0})^{k_{1}}\cdots(w_{j,P}^{0})^{k_{P}}>0,

On the support: \big{|}w_{j,i}^{\overline{T}_{1}}-\text{sign}(w_{j,i}^{0})\cdot\Delta\big{|}\leq C_{5}/\sqrt{d\log(d)} for i=1,…,Pi=1,\ldots,P.

Outside the support: ∣wj,iT‾1−wj,i0∣≤C6r2/d|w_{j,i}^{\overline{T}_{1}}-w_{j,i}^{0}|\leq C_{6}r^{2}/\sqrt{d} for i=P+1,…,di=P+1,\ldots,d, and ∑i>P(wj,iT‾1)2=1\sum_{i>P}(w_{j,i}^{\overline{T}_{1}})^{2}=1.

Theorem 1 shows that after the end of the first phase, the coordinates wjT‾1{\bm{w}}_{j}^{\overline{T}_{1}} aligned with the support z{\bm{z}} are all close to ±Δ\pm\Delta with the same signs as wj,10,…,wj,P0w_{j,1}^{0},\ldots,w_{j,P}^{0} as long as (wj,10)k1⋯(wj,P0)kP>0(w_{j,1}^{0})^{k_{1}}\cdots(w_{j,P}^{0})^{k_{P}}>0 has the same sign as aj0μD(σ)a_{j}^{0}\mu_{D}(\sigma) at initialization. Furthermore, the correlation with the support only appears at the end of the dynamics, and does not appear if we stop early.

The proof of Theorem 1 follows a similar proof strategy as , namely a decomposition of the dynamics into a drift and martingale terms with information exponent DD. However, our problem is multi-index, and the analysis will require a tighter control of the different contributions to the dynamics as the dynamics move from saddle to saddle. An heuristic explanation for this result can be found in Appendix B.3. The complete proof of Theorem 1 is deferred to Appendix C.

Let h∗(z)=z1⋯zDh_{*}({\bm{z}})=z_{1}\cdots z_{D} or h∗(z)=HeD(z1)h_{*}({\bm{z}})={\rm He}_{D}(z_{1}) and assume σ\sigma satisfies Assumption 1. For any constants C∗>0C_{*}>0 and ε>0\varepsilon>0, there exist CiC_{i} for i=0,…,11i=0,\ldots,11, that only depend on D,KD,K and C∗C_{*} such that taking width M=C0ε−C0M=C_{0}\varepsilon^{-C_{0}}, bias initialization scale ρ=εC1/C1\rho=\varepsilon^{C_{1}}/C_{1}, and Δ=εC1/C1\Delta=\varepsilon^{C_{1}}/C_{1} and second-layer initialization scale κ=1C2MdC2\kappa=\frac{1}{C_{2}Md^{C_{2}}}, and second-layer regularization λa=Mε/C3\lambda_{a}=M\varepsilon/C_{3}, and , and r=εC4/C4r=\varepsilon^{C_{4}}/C_{4}, and

for d≥C9ε−C9d\geq C_{9}\varepsilon^{-C_{9}} we have with probability at least 1−d−C∗−ε1-d^{-C_{*}}-\varepsilon:

If we train the first layer weights for T‾1′≤T‾1/(C10log⁡(d)C10)\overline{T}_{1}^{\prime}\leq\overline{T}_{1}/(C_{10}\log(d)^{C_{10}}) steps and for M≤C10log⁡(d)M\leq C_{10}\log(d), then we cannot fit f∗f_{*} using the second-layer weights, i.e.,

This result suggests that the dynamics of SGD with one monomial can be decomposed into a ‘search phase’ (plateau in the learning curve) and a ‘fitting phase’ (rapid decrease of the loss) similarly to . SGD progressively aligns the first layer weights with the support, with little progress, and as soon as SGD picks up the support, the second layer weights can drive the risk quickly to . Because of the layer-wise training, we only show in Corollary 1.(b) that with early stopping on the training of the first layer weights, we cannot approximate the function f∗f_{*} at all using the second layer weights (hence, we cannot learn it even with infinite number of samples). The proof of Corollary 1 is in Appendix E.1.

3 Learning multiple monomials

We now consider h∗h_{*} with several monomials in its decomposition. In order to simplify the statement and the proofs, we will specifically consider the case of nested monomials

where 0=:P0<P1<P2<…<PL=:P0=:P_{0}<P_{1}<P_{2}<\ldots<P_{L}=:P and k1,…,kPk_{1},\ldots,k_{P} are positive integers. For l∈[L]l\in[L], we denote Dl=kPl−1+1+…+kPlD_{l}=k_{P_{l-1}+1}+\ldots+k_{P_{l}}, and D=max⁡l∈[L]DlD=\max_{l\in[L]}D_{l} the size of the biggest leap (such that h∗h_{*} is a leap-DD function), D‾l=D1+…+DL\overline{D}_{l}=D_{1}+\ldots+D_{L} and D‾:=DL\overline{D}:=D_{L} the total degree of the polynomial h∗h_{*}. We will assume that min⁡l∈[L]Dl≥2\min_{l\in[L]}D_{l}\geq 2 (i.e., leap of size at least 22 between monomials). This specific choice for h∗h_{*} allows for a more compact proof, similar to Theorem 1. However, the compositionality of h∗h_{*} is not a required structure for the sequential alignment to hold and we describe in Appendix D.2 how to modify the analysis for more generalHowever, our current proof techniques do not allow for fully general leap functions: e.g., h∗(z)=He2(z1)He3(z2)−He3(z1)He2(z2)h_{*}({\bm{z}})={\rm He}_{2}(z_{1}){\rm He}_{3}(z_{2})-{\rm He}_{3}(z_{1}){\rm He}_{2}(z_{2}) has its two monomials pushing the wj{\bm{w}}_{j}’s in two opposite directions. h∗h_{*}.

We first prove that the first-layer weights grow in the relevant directions during training.

On the support: \big{|}w_{j,i}^{\overline{T}_{1}}-\text{sign}(w_{j,i}^{0})\cdot\Delta\big{|}\leq C_{5}/\sqrt{d\log(d)} for i=1,…,Pi=1,\ldots,P.

Outside the support: ∣wj,iT‾1−wj,i0∣≤C6r2/d|w_{j,i}^{\overline{T}_{1}}-w_{j,i}^{0}|\leq C_{6}r^{2}/\sqrt{d} for i=P+1,…,di=P+1,\ldots,d and ∑i>P(wj,iT‾1)2=1\sum_{i>P}(w_{j,i}^{\overline{T}_{1}})^{2}=1.

The proof follows by showing the sequential alignment of the weights to the support: with high probability and for each neurons satisfying the sign condition at initialization, it takes between dDl+D2−1/(Clog⁡(d)C)d^{\frac{D_{l}+D}{2}-1}/(C\log(d)^{C}) and dDl+D2−1Clog⁡(d)Cd^{\frac{D_{l}+D}{2}-1}C\log(d)^{C} steps to align with coordinates [Pl][P_{l}], after having picked up coordinates [Pl−1][P_{l-1}]. The proof can be found in Appendix D.

While Theorem 2 captures the tight scaling in overall number of steps, it does not capture the number of steps for smaller leaps Dl<DD_{l}<D shown in Figure 1 in the case of increasing leaps. In Appendix D.2.1, we show that the scaling of dDl−1d^{D_{l}-1} steps to align to the next monomial can be obtained by varying the step size, in the case of increasing leaps. Note that in practice, neural networks with constant step size seem to achieve this optimal scaling for escaping each saddle (such as in Figure 1). Hence, there might be a mechanism in the SGD training that can implicitly control the martingale part of the dynamics, without rescaling the step sizes. However, understanding such a mechanism would require to study the joint training of both layers, which is currently out of reach of our proof techniques.

As in the single monomial case, we consider fitting the second layer weights only for a specific class of functions (where all monomials are multilinear):

We require extra assumptions on the activation function to prove that the fitting is possible. The following is an informal statement, and we leave the formal statement and proof to Appendix E.2.

Discussion

One direction for future work is to remove the modifications to vanilla SGD used in the analysis (layerwise training and the projection step). Another direction is to prove the conjecture by extending our analysis of the training dynamics to general functions, beyond those of the form (11). Another direction is to study extensions of the leap complexity measure beyond isotropic input distributions.

Acknowledgement

Part of this work was supported by the NSF-Simons Research Collaborations on the Mathematical and Scientific Foundations of Deep Learning (MoDL) Award and the EPFL PhD Exchange Fellowship. EB was also generously supported by Apple with an AI/ML fellowship. TM also acknowledges the NSF grant CCF-2006489 and the ONR grant N00014-18-1-2729.

References

Appendix A Additional numerical simulations

In Figures 2, 3, 4 and 5 we plot the risk versus number of samples for SGD training of 5-layer ResNets with fully-connected layers for various different target functions and for Boolean and Gaussian data. In these plots, the saddle-to-saddle dynamics are visible, which are caused by the neural network sequentially picking up the support using the hierarchical structure of the monomials in the function. In Figures 6 and 7, we study learning a leap-1 function (merged-staircase function), and we experiment with the effect of adding depth to see its effect on fitting. There is also an interesting edge-of-stability behavior during the “second-layer fitting” part, where the loss does not decrease monotonically . We leave understanding this to future work.

Appendix B Additional discussion from the main text

In addition to the references listed in the main text, we further review other relevant papers.

A line of work in computational learning theory studied the complexity of learning Boolean functions under the uniform input distribution. It was realized that functions with concentrated Fourier spectrum can be learned efficiently, both in sample and time complexity using the sparse Fourier algorithm . Namely, under knowledge of a set of basis elements S\mathcal{S} such that ∑S∈Sf2(S)≥1−ϵ/2\sum_{S\in\mathcal{S}}f^{2}(S)\geq 1-\epsilon/2 for all f∈Ff\in\mathcal{F}, one can learn F\mathcal{F} with error ϵ\epsilon, sample complexity O((1/ϵ)∣S∣log⁡(∣S∣/δ))O((1/\epsilon)|\mathcal{S}|\log(|\mathcal{S}|/\delta)) and polynomial time complexity if ∣S∣|\mathcal{S}| is polynomial using the sparse Fourier algorithm that estimates the coefficients in S\mathcal{S}. Many interesting classes of functions fall under this setting, such as juntas, low degree functions, bounded-size or -depth decision trees . While S\mathcal{S} has to be knownThe set knowledge can be relaxed under the query access model using the Kushilevitz-Mansour algorithm (based on the Goldreich-Levin algorithm) that uses a divide-and-conquer procedure to identify the coefficients to be estimated . under the random sample model, no degree constraints are imposed. In particular, the low-degree assumption (degree at most kk) is just a special case that provides this knowledge (with order dkd^{k} time complexity), monomials of degree kk or d−kd-k are equivalent in the eye of the sparse Fourier algorithm. This is not necessarily the case for SGD-trained neural networks.

A line of work has considered SGD learning on ‘unconstrained’ neural networks (besides polynomial size) and shows that we can emulate any efficient PAC or SQ algorithm . Such networks are far from the practical neural networks used in applications. Against this state of affairs, several works have attempted to derive computational lower bounds on learning with regular neural networks. For example, shows that for fully connected 2-layer networks, if the initial alignment (INAL) of a network with a Boolean target function (measured by the maximal expected correlation between target and neurons) is not significant, then noisy-GD cannot amplify the correlation to any significant level. This is achieved by showing that a low INAL implies a large minimal degree in the target function (thus a large leap) under some additional conditions. Another work uses the permutation, sign-flip, or rotational equivariance of noisy-GD training of fully-connected neural networks to show a lower bound on the number of gradient descent steps required for global convergence, when we have access to population gradients with an additive Gaussian noise. In particular, for leap-LL functions on the hypercube and the hypercube, Ω(dLτ2)\Omega(d^{L}\tau^{2}) steps are to shown to be required, where τ2\tau^{2} is the Gaussian noise variance. This roughly matches the conjecture in this paper in its exponential dependence on the leap – however, the computational model is different (noisy-GD versus online-SGD).

Finally let’s remark that a large body of work in the statistics and machine learning literature has studied the problem of learning multi-index models. These include for example phase retrieval , intersection of halfspaces and subspace juntas . We refer to and references therein for an overview of this line of work. In particular, it is well understood that in order to break the “curse of dimensionality”, the algorithm needs to estimate the low-dimensional support. In contrast with this line of work, we consider learning these multi-index functions with generic SGD on regular neural networks, with no a priori information on the target function. Surprisingly, we show that this generic algorithm can nearly match the computational complexity of the best CSQ algorithm. Note that specialized algorithms can achieve better sample and computational complexity: for example, showed an algorithm that can learn low-rank Gaussian polynomials in O~d(d)\widetilde{O}_{d}(d) samples and O~d(d3)\widetilde{O}_{d}(d^{3}) runtime, regardless of the leap-complexity, by going beyond CSQ algorithms.

B.2 Discussion on the definition of the leap complexity

It was noted in that some “degenerate” leap-1 functions on the hypercube are not learned in Θ(d)\Theta(d) SGD-steps. Take for example h∗(z)=z1+z2+z3+z1z2z3h_{*}({\bm{z}})=z_{1}+z_{2}+z_{3}+z_{1}z_{2}z_{3}: by permutation symmetry on the support of h∗h_{*}, O(d)O(d) steps of SGD will learn first layer weights wj{\bm{w}}_{j} aligned with (1,1,1)(1,1,1) on the support (z1,z2,z3)(z_{1},z_{2},z_{3}). SGD will require many more steps to break this symmetryWe conjecture Θ(dlog⁡(d)C)\Theta(d\log(d)^{C}) steps are required, see following discussion in the Gaussian case. and fit h∗h_{*}. circumvents this difficulty under a smoothed complexity analysis, and shows that the set of degenerate leap-11 functions has {h^∗(S)}S∈S\{\hat{h}_{*}(S)\}_{S\in{\mathcal{S}}} of Lebesgue-measure . Alternatively, a possible approach to learn these degenerate cases (for “axis-aligned” sparse functions) is to use different random learning rates for each coordinates and break the symmetry in learning.

B.3 Intuition for the proof of Theorem 1

In this section, we give some intuition behind the proof of Theorem 1. The complete proof can be found in Appendix C.

We first consider a simple SGD dynamics, with no projection step, and neglect the biases. We later discuss our choice of algorithm and how the analysis needs to be modified to control the projection step. The dynamics on the first layer weights is now simply given by

Recall that we initialize the second layer weights ∣aj0∣=κ|a_{j}^{0}|=\kappa. By Assumption 1, we have

With high probability over a polynomial number of steps, ∥xt∥∞≤Clog⁡(d)\|{\bm{x}}^{t}\|_{\infty}\leq C\log(d) with CC constant chosen sufficiently large. Hence,

and we can chose κ,η1\kappa,\eta_{1} with η1κ2\eta_{1}\kappa^{2} sufficiently small, while keeping η1κ\eta_{1}\kappa constant, so that we can neglect the interaction term between the different neurons and get:

Let us directly consider the correlation loss and track the dynamics of a unique neuron (a,w)(a,{\bm{w}}). We assume that w10=…=wd0=1/dw^{0}_{1}=\ldots=w^{0}_{d}=1/\sqrt{d}, a0=κa^{0}=\kappa and μD(σ)>0\mu_{D}(\sigma)>0. We further make the following heuristic simplification: we assume the dynamics is described by only two parameters

with SGD updates g1t=ytσ′(⟨wt,xt⟩)x1tg_{1}^{t}=y^{t}\sigma^{\prime}(\langle{\bm{w}}^{t},{\bm{x}}^{t}\rangle)x_{1}^{t} and g2t=ytσ′(⟨wt,xt⟩)xP+1tg_{2}^{t}=y^{t}\sigma^{\prime}(\langle{\bm{w}}^{t},{\bm{x}}^{t}\rangle)x_{P+1}^{t}, i.e.,

where u=(u1,u2){\bm{u}}=(u_{1},u_{2}) and g=(g1,g2)∼N(0,I2){\bm{g}}=(g_{1},g_{2})\sim{\sf N}(0,{\mathbf{I}}_{2}). We deduce that to leading term (assuming ∥wt∥2≈1\|{\bm{w}}^{t}\|_{2}\approx 1)

Let us now control the different contributions to the dynamics:

Martingale part: By Doob’s maximal inequality for martingales, we have with high probability

We choose η1κ\eta_{1}\kappa so that we can neglect the martingale contribution during the entire dynamics by taking η1κT‾1≲αi0=d−1/2\eta_{1}\kappa\sqrt{\overline{T}_{1}}\lesssim\alpha_{i}^{0}=d^{-1/2}.

Drift part for α1\alpha_{1}: We now neglect the martingale term and write for all 0≤t≤T‾1−10\leq t\leq\overline{T}_{1}-1

We can study this sequence (see ) and show that

In order for α1T‾1≈1\alpha^{\overline{T}_{1}}_{1}\approx 1, we need to take η1κμD(σ)T‾1≳(α10)−(D−2)=dD/2−1\eta_{1}\kappa\mu_{D}(\sigma)\overline{T}_{1}\gtrsim(\alpha_{1}^{0})^{-(D-2)}=d^{D/2-1}.

Drift part for α2\alpha_{2}: Again, by neglecting the martingale contribution and for 0≤t≤T‾1−10\leq t\leq\overline{T}_{1}-1,

We can show that this sequence is bounded by

where we used Eq. (14) in the last inequality.

We deduce from Eq. (15) that for T‾1\overline{T}_{1} chosen such that α1T‾1≈1\alpha^{\overline{T}_{1}}_{1}\approx 1, then ln⁡(α2t+1/α20)≲1\ln(\alpha_{2}^{t+1}/\alpha_{2}^{0})\lesssim 1. Hence, during the dynamics, the weights α2t\alpha_{2}^{t} not aligned with the support of h∗h_{*} remain small, of order 1/d1/\sqrt{d}, while the weights α1t\alpha_{1}^{t} aligned with the support of h∗h_{*} become of order 11. From the bounds in (i) and (ii), we need to choose η1\eta_{1} and T‾1\overline{T}_{1} such that η1κT‾1≲d−1/2\eta_{1}\kappa\sqrt{\overline{T}_{1}}\lesssim d^{-1/2} (martingale part) and η1κT‾1≳dD/2−1\eta_{1}\kappa\overline{T}_{1}\gtrsim d^{D/2-1} (drift part), i.e., we can take

While the above heuristic derivation was useful to get intuitions, the assumption that the weights remain equal (or approximately equal) on and outside the support is not valid. Because of the statistical fluctuations over Θ~(dD−1)\widetilde{\Theta}(d^{D-1}) steps, different coordinates over different neurons will grow to be order 1 on the support at a stochastic time (with high probability between dD−1/(Clog⁡(d)C)d^{D-1}/(C\log(d)^{C}) and dD−1Clog⁡(d)Cd^{D-1}C\log(d)^{C} for some large enough constant CC). To prevent these coordinates to continue growing (because we neglected the interaction term in the dynamics, which could otherwise prevent this growth), we introduce the projection step

where Pt+1P∞{\mathsf{P}}^{t+1}{\mathsf{P}}_{\infty} is the projection step defined in Eq. (10), and we use the spherical gradient defined in Eq. (9). Note that because of the choice Δ>r\Delta>r and the definition of the set Sj,tS_{j,t} on which we do the projection on the sphere, Pt+1{\mathsf{P}}^{t+1} and P∞{\mathsf{P}}_{\infty} commute.

Thanks to the spherical gradient, we can show that the projection steps only have a negligible impact on the dynamics (similarly to the analysis in ). By carefully arranging these additional terms, we can essentially recover the drift plus martingale analysis presented heuristically above.

B.4 Going beyond sparsity

In the P=Od(1)P=O_{d}(1) regime the complexity scaling in dd is dominated by the ‘hard’ part of learning the low-dimensional latent space on which the function depends, and the complexity of fitting the function on the support is secondary and only results in constants. This also makes the conjecture fairly general in terms of architecture choices as long as there is enough expressivity to fit the function on the support. One could also consider functions that depend on a finite number of basis elements, without necessarily involving a finite number of coordinates. For instance the full parity ∏i∈[d]xi\prod_{i\in[d]}x_{i} function is such an example. For SQ algorithms, the class of monomials of degree 0 (more generally kk) has equivalent complexity to the class of monomials of degree dd (more generally degree d−kd-k), and the SQ-dimension is symmetrical for these dual cases. However for SGD learning on regular nets, this is not exactly the case. It is true that the full parity can be learned by regular nets under a specific setting; provides a regular 2-layer neural net that can learn the full parity if the weight measure of the first layer at initialization is i.i.d. Rademacher(1/2) and the activation is a ReLU. A constant number of step can also be sufficient in such cases, as for the 0-degree monomial. It is however conjectured that this is not achievable with a polynomial number of steps for weights that have a Gaussian initialization. Thus, for isotropic layers, it is possible that the full parity is not polytime learnable. This means that the generalized notion of leap to non-coordinate sparse may depend on more specific choices of the parameters. Further, in the non-isotropic case where the full parity is efficiently learnable, one may define the leap with basis sets that can either grow from the 0-monomial or descend from the full-monomial, with the mirror symmetry as for SQ algorithms.

Another notion to factor in when considering non-coordinate sparse function is the fitting of the function once the support is learned. First of all, there may be a non-polynomial number of coefficients to handle, although one can probably cover enough interesting cases with functions that are well-approximated by polynomially many coefficients . Further, there is the fitting of the function by the neural net that may now turn non-trivial. Consider even a function with few basis elements, h∗(z)=∑i=1Pixi+∏i=1Pxig(i)h_{*}({\bm{z}})=\sum_{i=1}^{P}ix_{i}+\prod_{i=1}^{P}x_{i}^{g(i)}, where g:[P]→{0,1}g:[P]\to\{0,1\} is an arbitrary, but known function, and P≫1P\gg 1 is large. SGD on a regular neural network would first pick up the PP coordinates in the support and then learn the monomial ∏i=1Pzig(i)\prod_{i=1}^{P}z_{i}^{g(i)} based on that support. The latter part may not be trivial for SGD on a regular net, while it would require 0 queries for an SQ algorithm (once the linear part is learned, the permutation is identified and the coefficients in front of each variable would allow us to calculate g(i)g(i)). Thus the complexity of learning the second monomial on the detected support set is likely to factor in for such cases, and this is likely going to depend more on the model hyperparameters and architecture choice. In less contrived cases, the naive generalization of the leap applied verbatim to non-constant PP remains likely relevant.

B.5 Lower-bounds: beyond noisy GD

Note that the CSQ and noisy-GD models do not exactly match the SGD learning model; we do prove in this paper that the drift of the population gradient dominates the dynamic on the considered horizon, but the CSQ model also has noise added to the query outputs. It is nonetheless interesting that the regularity of the network model drives us to an achievability result that matches that of CSQ lower-bounds. Since it is known how to go beyond the CSQ/SQ lower-bounds with non-regular networks , e.g., learning dense parities by emulating matrix inversions with irregular networks, our results raise an intriguing question: may the model “regularity” act comparably to a CSQ constraint? We leave this to future work.

Appendix C Proof of Theorem 1: alignment with a single monomial

In this appendix, we prove the alignment of the first layer’s weights with the support of one monomial. The proof will follow from a similar proof strategy as in , namely decomposing the dynamics into drift and martingale terms. However, it will differ in a key aspect: while considers a single-index model, we will need to track for each neuron PP parameters (the first PP coordinates of wj{\bm{w}}_{j}) and show that the d−Pd-P other parameters remain well behaved along their whole trajectories, which requires a tighter control of the different contributions to the dynamics.

Recall that we denote by KK a constant that only depends on σ\sigma (Assumption 1) and the sub-Gaussianity of the label noise ε\varepsilon. Throughout the proofs, we will write C,c>0C,c>0 for generic constants that only depend on DD and KK. The values of these constants are allowed to change from line to line or within the same line.

In the proof, we will consider 0<r≤Δ≤10<r\leq\Delta\leq 1 to be small enough constants that can depend on DD and KK, but are independent of dd. We will track the dependency in r,Δr,\Delta when necessary, and otherwise use that they are bounded by 11 (in particular, the constants c,Cc,C in the proof will be independent of r,Δr,\Delta). These constants r,Δr,\Delta will be fixed in Theorem 1.

We will show that we can take initialization scale κ\kappa of second layer weights a0a^{0} and step size η\eta such that the dynamics of the first layer training can be approximated by a correlation dynamics, with no interactions between the neurons, so that we can analyze each neuron independently. We consider below an arbitrary neuron (aj,bj,wj)(a_{j},b_{j},{\bm{w}}_{j}) for j∈[M]j\in[M]. In the case that aj0μD(σ(⋅+bj))(wj,1)k1⋯(wj,P0)kP>0a_{j}^{0}\mu_{D}(\sigma(\cdot+b_{j}))(w_{j,1})^{k_{1}}\cdots(w_{j,P}^{0})^{k_{P}}>0 we prove that the event claimed in Theorem 1.(b) and (c) holds with probability at least 1−d−C∗1-d^{-C_{*}} for neuron jj. Theorem 1.(a) will follow from a similar analysis. The result for all neurons follows by a union bound.

We further consider ∣bj0∣≤ρ≤Δ|b_{j}^{0}|\leq\rho\leq\Delta small enough such that 1/2≤∣μk(σ(⋅+bj))∣/∣μk(σ)∣≤3/21/2\leq|\mu_{k}(\sigma(\cdot+b_{j}))|/|\mu_{k}(\sigma)|\leq 3/2 for k=0,…,D+2k=0,\ldots,D+2 (see comments below Lemma 2). Hence, the biases will not impact the training of the first layer weights and for the simplicity, we will fix bj=0b_{j}=0 in the proof.

Without loss of generality, we assume that all of the first-layer coordinates of neuron jj have positive sign at initialization wj,10=…=wj,d0=1/dw_{j,1}^{0}=\ldots=w_{j,d}^{0}=1/\sqrt{d} (and therefore a0μD(σ)>0a^{0}\mu_{D}(\sigma)>0 by our choice of (aj0,wj0)(a_{j}^{0},{\bm{w}}_{j}^{0})). To see why, define s0=∏i∈[P]sign(wj,i0)kis_{0}=\prod_{i\in[P]}\text{sign}(w_{j,i}^{0})^{k_{i}} and consider instead initializing the network at Θ˘0=(a˘0,W˘0)\breve{{\bm{\Theta}}}^{0}=(\breve{{\bm{a}}}^{0},\breve{{\bm{W}}}^{0}) where a˘0=s0a0\breve{{\bm{a}}}^{0}=s_{0}{\bm{a}}^{0} and w˘j′0=wj′⊙sign(wj0)\breve{{\bm{w}}}_{j^{\prime}}^{0}={\bm{w}}_{j^{\prime}}\odot\text{sign}({\bm{w}}_{j}^{0}) for all j′j^{\prime}. Then consider training the network with samples (y˘t,x˘t)(\breve{y}^{t},\breve{{\bm{x}}}^{t}) where x˘t=xt⊙sign(wj0)\breve{{\bm{x}}}^{t}={\bm{x}}^{t}\odot\text{sign}({\bm{w}}_{j}^{0}) and y˘t=f∗(x˘t)+εt\breve{y}^{t}=f_{*}(\breve{{\bm{x}}}^{t})+\varepsilon_{t}. The distribution of data (y˘t,x˘t)(\breve{y}^{t},\breve{x}^{t}) is the same as that of (yt,xt)(y^{t},{\bm{x}}^{t}), and the the training dynamics Θ˘\breve{{\bm{\Theta}}} match those of Θ{\bm{\Theta}} up to sign flips, and w˘j0=[1/d,…,1/d]\breve{{\bm{w}}}_{j}^{0}=[1/\sqrt{d},\ldots,1/\sqrt{d}].

with St+1=St∖{i∈[d]:∣w~it+1∣≥r}S_{t+1}=S_{t}\setminus\{i\in[d]:|\widetilde{w}_{i}^{t+1}|\geq r\}.

Let us introduce the following stopping times on the dynamics:

Note that \{\tau=t\}\in{\mathcal{F}}_{t}:=\sigma\big{(}{\bm{\Theta}}^{0},\{{\bm{x}}^{s},y^{s}\}_{s\leq t}\big{)} for τ∈{τ+,τ−,τ0}\tau\in\{\tau^{+},\tau^{-},\tau^{0}\} and σ(wt+1),σ(St+1)⊆Ft\sigma({\bm{w}}^{t+1}),\sigma(S_{t+1})\subseteq{\mathcal{F}}_{t}. For t≤τ+t\leq\tau^{+} and r≥3/(2d)r\geq 3/(2\sqrt{d}), we have {P+1,…,d}⊆St\{P+1,\ldots,d\}\subseteq S_{t}, and ∥wt∥2≤∥w1:Pt∥2+∥St(wt)∥2≤PΔ+1\|{\bm{w}}^{t}\|_{2}\leq\|{\bm{w}}_{1:P}^{t}\|_{2}+\|{\mathcal{S}}_{t}({\bm{w}}^{t})\|_{2}\leq\sqrt{P}\Delta+1. We further define for all i∈[d]i\in[d],

where C0C_{0} is a constant that will be chosen large enough. In particular, at time τir+1\tau_{i}^{r}+1, the ii-th coordinate is removed from the set on which we do the projection, i.e., {i}⊆Sτir∖Sτir+1\{i\}\subseteq S_{\tau_{i}^{r}}\setminus S_{\tau_{i}^{r}+1}. We will show in the proof that τ+∧τ−∧τ0>T‾1\tau^{+}\wedge\tau^{-}\wedge\tau^{0}>\overline{T}_{1} with high probability.

By concentration of polynomials of Gaussian variables, we have:

Assume that Δ≤1\Delta\leq 1. Then for any C∗>0C_{*}>0, there exists C0C_{0} large enough that only depends on C∗,DC_{*},D and KK, such that for d≥2d\geq 2,

For t≤τ+t\leq\tau^{+}, we must have ∥wt∥2≤P+1\|{\bm{w}}^{t}\|_{2}\leq\sqrt{P}+1. Using the bounds (53) in Lemma 5 and a union bound, there exists a constant C0C_{0} such that

Note that for t<τiΔ∧τ0t<\tau_{i}^{\Delta}\wedge\tau_{0}, we have ∣w~it+1∣=∣wit+η1v~it∣≤Δ|\widetilde{w}_{i}^{t+1}|=|w_{i}^{t}+\eta_{1}\widetilde{v}_{i}^{t}|\leq\Delta, and therefore w‾it+1=w~it+1\overline{w}_{i}^{t+1}=\widetilde{w}_{i}^{t+1}. Let us introduce the truncated spherical gradient gt{\bm{g}}^{t} defined by

where γit∈\gamma_{i}^{t}\in is a multiplicative factor that models the projection step w‾t+1=P∞w~t+1\overline{{\bm{w}}}^{t+1}={\mathsf{P}}_{\infty}\widetilde{{\bm{w}}}^{t+1},

It is easy to check that σ(gt)⊆Ft\sigma({\bm{g}}^{t})\subseteq{\mathcal{F}}_{t} and w‾t+1=P∞(wt+η1v~t)=wt+η1gt\overline{{\bm{w}}}^{t+1}={\mathsf{P}}_{\infty}({\bm{w}}^{t}+\eta_{1}\widetilde{{\bm{v}}}^{t})={\bm{w}}^{t}+\eta_{1}{\bm{g}}^{t} for all t≥0t\geq 0. With these notations, our dynamics are now simply given by

For i>Pi>P and t<τ+∧τ0t<\tau^{+}\wedge\tau_{0},

We recall the following useful identities (where G∼N(0,1)G\sim{\sf N}(0,1))

In particular, by integration by parts, we have

which gives Eq. (19) by using ∥St(wt)∥22=1\|{\mathcal{S}}_{t}({\bm{w}}^{t})\|_{2}^{2}=1. Eqs. (20) and (21) are obtained similarly. ∎

From Assumption 1, we can choose Δ\Delta small enough and depending only on KK and DD such that that for all u,v∈[−PΔ,PΔ]u,v\in[-P\Delta,P\Delta] and 0≤k≤D0\leq k\leq D

We further assume that Δ\Delta is chosen small enough such that Δ2≤1/(2D)\Delta^{2}\leq 1/(2D) and Δ2≤1/(4K2)\Delta^{2}\leq 1/(4K^{2}). With this choice of Δ\Delta, there exist constants C,c>0C,c>0 that only depend on D,KD,K such that for all t<τiΔ∧τ+∧τ−t<\tau_{i}^{\Delta}\wedge\tau^{+}\wedge\tau^{-}, if i∈[P]i\in[P],

C.2 Bounding the different contributions to the dynamics

The following lemma tracks the contribution of the projection on the sphere wt+1=Pt+1w‾t+1{\bm{w}}^{t+1}={\mathsf{P}}^{t+1}\overline{{\bm{w}}}^{t+1}:

Assume that C0log⁡(d)C0/d≤r≤Δ/2≤1/(8P)C_{0}\log(d)^{C_{0}}/\sqrt{d}\leq r\leq\Delta/2\leq 1/(\sqrt{8P}), ∣a0∣≤1|a^{0}|\leq 1 and η1≤1/d\eta_{1}\leq 1/d. Then there exist constants C,C′>0C,C^{\prime}>0 (that only depend on D,KD,K and C0C_{0}) such that for d≥C′d\geq C^{\prime} and all t<τ0∧τ+t<\tau^{0}\wedge\tau^{+}, if St+1=StS_{t+1}=S_{t},

First consider the case St+1=StS_{t+1}=S_{t}. We have St+1(w‾t+1)=St(wt)+η1St(gt){\mathcal{S}}_{t+1}(\overline{{\bm{w}}}^{t+1})={\mathcal{S}}_{t}({\bm{w}}^{t})+\eta_{1}{\mathcal{S}}_{t}({\bm{g}}^{t}). Note that on i∈Sti\in S_{t}, we have t<τiΔt<\tau_{i}^{\Delta} and therefore γit(wt)=1\gamma_{i}^{t}({\bm{w}}^{t})=1 and St(gt)=St(v~t){\mathcal{S}}_{t}({\bm{g}}^{t})={\mathcal{S}}_{t}(\widetilde{{\bm{v}}}^{t}). We therefore have

where we used that ∥St(wt)∥22=1\|{\mathcal{S}}_{t}({\bm{w}}^{t})\|_{2}^{2}=1 and ⟨St(wt),St(v~t)⟩=0\langle{\mathcal{S}}_{t}({\bm{w}}^{t}),{\mathcal{S}}_{t}(\widetilde{{\bm{v}}}^{t})\rangle=0 by definition of the spherical gradient. Furthermore, η12∥St(v~t)∥22≤η12∥gt∥22≤d−2∥gt∥22≤d−1∥gt∥∞2≤Cd−1log⁡(d)C≤1/4\eta_{1}^{2}\|{\mathcal{S}}_{t}(\widetilde{{\bm{v}}}^{t})\|_{2}^{2}\leq\eta_{1}^{2}\|{\bm{g}}^{t}\|_{2}^{2}\leq d^{-2}\|{\bm{g}}^{t}\|_{2}^{2}\leq d^{-1}\|{\bm{g}}^{t}\|_{\infty}^{2}\leq Cd^{-1}\log(d)^{C}\leq 1/4 for t<τ0t<\tau_{0}. Therefore, there exists a constant C>0C>0 such that bound (25) holds.

In the case St+1≠StS_{t+1}\neq S_{t}, we have ∣St∖St+1∣≤P|S_{t}\setminus S_{t+1}|\leq P for t<τ+t<\tau^{+} and the coordinates that are removed at time t+1t+1 satisfy wit+η1git≤r+C0d−1/2log⁡(d)C0≤2rw_{i}^{t}+\eta_{1}g_{i}^{t}\leq r+C_{0}d^{-1/2}\log(d)^{C_{0}}\leq 2r. Hence

We can then use Eq. (27) and that η12∥St(v~t)∥22≤Pr2\eta_{1}^{2}\|{\mathcal{S}}_{t}(\widetilde{{\bm{v}}}^{t})\|_{2}^{2}\leq Pr^{2} to derive Eq. (26). ∎

Let us decompose the different contributions to the dynamics. We define mt=gt−g‾t\bm{m}^{t}={\bm{g}}^{t}-\overline{{\bm{g}}}^{t} the martingale updates. Let us bound the change of a coordinate after one update. For t<τ0∧τ+∧τ−t<\tau^{0}\wedge\tau^{+}\wedge\tau^{-}, if St+1=StS_{t+1}=S_{t}, then by Eq. (25), we have for i∈St+1i\in S_{t+1}

(Note that for t<τ−t<\tau^{-}, we have sign(wit+1)=sign(wit)=1\text{sign}(w_{i}^{t+1})=\text{sign}(w_{i}^{t})=1.) For t<τ0t<\tau^{0}, we have ∥gt∥∞≤C∣a0∣log⁡(d)\|{\bm{g}}^{t}\|_{\infty}\leq C|a^{0}|\log(d) and ∣wit∣/∣wit+1∣≤C|w_{i}^{t}|/|w_{i}^{t+1}|\leq C because η1≤1/d\eta_{1}\leq 1/d. Hence, we can rearrange Eqs. (28) and obtain

On the other hand, if St+1≠StS_{t+1}\neq S_{t}, by Eq. (26), we have for i∈St+1i\in S_{t+1},

Rearranging these equations, we obtain for t<τ0∧τ−t<\tau^{0}\wedge\tau^{-} and St+1≠StS_{t+1}\neq S_{t} (using ∣Cr2∣≤1/2|Cr^{2}|\leq 1/2),

On the other hand, if i∉St+1i\not\in S_{t+1}, then

Define Xt=#{i∈[P]:τir<t}X_{t}=\#\{i\in[P]:\tau_{i}^{r}<t\}, and

Note σ(p‾t),σ(p‾t)∈Ft−1\sigma(\underline{p}^{t}),\sigma(\overline{p}^{t})\in{\mathcal{F}}_{t-1}, so that p‾tmt\underline{p}^{t}\bm{m}^{t} and p‾twt\overline{p}^{t}{\bm{w}}^{t} are still martingale updates. By induction on Eqs (29) and (30), we deduce that for t<τ0∧τ+∧τ−t<\tau^{0}\wedge\tau^{+}\wedge\tau^{-},

Let us introduce the following quantities:

The term Dt,t′D^{t,t^{\prime}}, which is the sum of population gradients, plays the role of a drift term, while the term Mt,t′M^{t,t^{\prime}} is a martingale and corresponds to the comparison between the stochastic and the population gradients.

We can choose C′C^{\prime} a constant large enough, depending only on K,DK,D, such that for

In particular, this implies that for any t<T∧τ+∧τ−t<T\wedge\tau^{+}\wedge\tau^{-} and rr constant sufficiently small,

Similarly, we can choose C′C^{\prime} a constant large enough, depending only on K,DK,D, such that for

Hence for η1\eta_{1} and TT satisfying Eqs (32) and (34), we get the following bounds on the trajectory for t<T∧τ+∧τ−∧τ0t<T\wedge\tau^{+}\wedge\tau^{-}\wedge\tau^{0}: for i≥P+1i\geq P+1 or i∈[P]i\in[P], t≤τirt\leq\tau_{i}^{r},

while for i∈[P]i\in[P] and t>τirt>\tau_{i}^{r},

We prove the following bounds on the martingale part:

Assume Δ≤1\Delta\leq 1 and rr are chosen as in Lemma 3. Fix T≤dDT\leq d^{D} and C∗>0C_{*}>0. There exists a constant CC that only depends on DD, KK, and C∗C_{*}, such that if we choose

then with probability at least 1−d−C∗1-d^{-C_{*}}, we have

We will show the theorem for max⁡0<t≤T∧τ+M‾i0,t\max_{0<t\leq T\wedge\tau^{+}}\underline{M}_{i}^{0,t}. The result for max⁡t<t′≤T∧τ+M‾it,t′\max_{t<t^{\prime}\leq T\wedge\tau^{+}}\underline{M}_{i}^{t,t^{\prime}} will follow from an union bound on all t≤Tt\leq T, which are also martingales (the proofs for M‾it,t′\overline{M}_{i}^{t,t^{\prime}} and Mit,t′M_{i}^{t,t^{\prime}} will follow by the same argument).

Denote M‾it:=M‾i0,t\underline{M}^{t}_{i}:=\underline{M}^{0,t}_{i}. We will use a truncation argument. For some C~\widetilde{C}, define for all t≥1t\geq 1 and i∈[d]i\in[d],

For t≤τ+t\leq\tau^{+}, we have ∥w∥2≤PΔ+1\|{\bm{w}}\|_{2}\leq\sqrt{P}\Delta+1 and we can use Lemma 5 to choose C~\widetilde{C} that only depends on D,K,C∗D,K,C_{*} such that

and for all t≤T∧τ+t\leq T\wedge\tau^{+} and i∈[d]i\in[d]

Hence with probability at least 1−d−C∗/21-d^{-C_{*}}/2,

Let us now apply Doob’s maximal inequality on UitU_{i}^{t}: the increments are bounded by 2∣a0∣C~log⁡(d)C~2|a^{0}|\widetilde{C}\log(d)^{\widetilde{C}}, hence we have

Choosing ε=1/(2dlog⁡(d))\varepsilon=1/(2\sqrt{d}\log(d)) and η1\eta_{1} as in Eq. (37), as well as a union bound, yields the result. ∎

C.3 Proof of Theorem 1

We consider the dynamics (18) up to time T∧τ‾T\wedge\overline{\tau} where τ‾:=τ0∧τ+∧τ−\overline{\tau}:=\tau^{0}\wedge\tau^{+}\wedge\tau^{-}. We assume TT and η1\eta_{1} satisfy conditions (32), (34) and (37). In particular, with probability at least 1−d−C∗1-d^{-C_{*}}, the dynamics of witw_{i}^{t} satisfies the bounds in Eqs (35) and (36), with Mit,t′,M‾it,t′,M‾it,t′M_{i}^{t,t^{\prime}},\overline{M}_{i}^{t,t^{\prime}},\underline{M}_{i}^{t,t^{\prime}} satisfying the bounds (38). In the rest of the proof, we show that on this high probability event, we can choose η1\eta_{1} and TT such that T<τ‾T<\overline{\tau} and Theorem 1.(a), (b) and (c) are satisfied.

Step 1: Controlling the coordinates i∈[P]i\in[P] at the end of the dynamics.

Let us first show that as soon as t>τiΔt>\tau^{\Delta}_{i}, then witw_{i}^{t} stays close to Δ\Delta. Note that we can choose C>0C>0 constant large enough independent of dd, such that if wit≤Δ−∣a0∣Cη1log⁡(d)Cw_{i}^{t}\leq\Delta-|a^{0}|C\eta_{1}\log(d)^{C}, then by (24)

Hence, for any τ‾>t>τiΔ\overline{\tau}>t>\tau_{i}^{\Delta}, consider t′=sup⁡{t′≤t:wit′≥Δ−∣a0∣Cη1log⁡(d)C}t^{\prime}=\sup\{t^{\prime}\leq t:w_{i}^{t^{\prime}}\geq\Delta-|a^{0}|C\eta_{1}\log(d)^{C}\} (in particular, t′≥τiΔ+1t^{\prime}\geq\tau^{\Delta}_{i}+1). From Eq. (36) and by Lemma 4, we have

where we used that wis<Δ−∣a0∣Cη1log⁡(d)Cw_{i}^{s}<\Delta-|a^{0}|C\eta_{1}\log(d)^{C} for t′+1≤s<tt^{\prime}+1\leq s<t and therefore by Eq. (39), we have Dit′+1,t≥0D_{i}^{t^{\prime}+1,t}\geq 0. We deduce that

Similarly, we show that for any t≥τir+1t\geq\tau^{r}_{i}+1, we have wit≥r/2w_{i}^{t}\geq r/2. Indeed, for any τir+1≤t≤τiΔ∧τ‾∧T\tau^{r}_{i}+1\leq t\leq\tau_{i}^{\Delta}\wedge\overline{\tau}\wedge T, we have

where we used that wiτir+1≥rw_{i}^{\tau_{i}^{r}+1}\geq r by definition of τir\tau_{i}^{r}, and g‾it≥0\overline{g}_{i}^{t}\geq 0 for all s≤τiΔ∧τ‾∧Ts\leq\tau_{i}^{\Delta}\wedge\overline{\tau}\wedge T. We deduce that

Step 2: Bounding the growth of witw_{i}^{t} for i∈[P]i\in[P].

Define αt=min⁡{wit:i∈St∩[P]}\alpha_{t}=\min\{w_{i}^{t}:i\in S_{t}\cap[P]\} (i.e., the minimum of witw_{i}^{t} that have τir≥t\tau_{i}^{r}\geq t). Note that wit≥r/2w_{i}^{t}\geq r/2 for i∉Sti\not\in S_{t} by Eq. (41) and therefore wit≥αt/2w_{i}^{t}\geq\alpha_{t}/2. By Eq. (33) and Lemma 2, we have for s≤τir∧τ‾∧Ts\leq\tau_{i}^{r}\wedge\overline{\tau}\wedge T,

Combining this lower bound with Eq. (35) and the bound on the martingale in Lemma 4, we get that for all t≤τir∧τ‾∧Tt\leq\tau_{i}^{r}\wedge\overline{\tau}\wedge T

Similarly, consider αt=min⁡{wit:i∈[P],τiΔ≥t}\alpha_{t}=\min\{w_{i}^{t}:i\in[P],\tau^{\Delta}_{i}\geq t\} for all τr+1≤t≤τΔ∧τ‾\tau^{r}+1\leq t\leq\tau^{\Delta}\wedge\overline{\tau}. By Eq. (40), we have wit≥Δ/2w_{i}^{t}\geq\Delta/2 for t>τiΔt>\tau_{i}^{\Delta}. Hence by Eq. (36), we get

and we deduce that if τΔ<τ‾\tau^{\Delta}<\overline{\tau} then

Combining the above bounds, we deduce that

On the other hand, consider βt=max⁡{wit:i∈[P]}\beta_{t}=\max\{w_{i}^{t}:i\in[P]\} and let us lower bound the time t‾=inf⁡{t:βt≥2/d}\overline{t}=\inf\{t:\beta_{t}\geq 2/\sqrt{d}\}. For t≤τ‾∧t‾t\leq\overline{\tau}\wedge\overline{t}, we have St=[d]S_{t}=[d] and 1p‾t≤1+Clog⁡(d)\frac{1}{\underline{p}^{t}}\leq 1+\frac{C}{\log(d)}. Hence by Eq. (35),

and therefore by Lemma 6, we get for D>2D>2,

Step 3: Bounding the coordinates P+1≤i≤dP+1\leq i\leq d.

From Eq. (35) and Lemma 2, we have for all i≥P+1i\geq P+1 and t<τ‾∧Tt<\overline{\tau}\wedge T,

Consider j∈[P]j\in[P] such that τjr=τr\tau^{r}_{j}=\tau^{r}. Then by Eq. (35), we have, for any t<(τr+1)∧τ‾∧Tt<(\tau^{r}+1)\wedge\overline{\tau}\wedge T, that

Using that wjt≤Crw_{j}^{t}\leq Cr for t≤τjrt\leq\tau_{j}^{r} and wis≤3/(2d)w_{i}^{s}\leq 3/(2\sqrt{d}) for s<τ‾s<\overline{\tau} in Eq. (48), we get that, for any t<τ‾∧Tt<\overline{\tau}\wedge T,

We deduce that for all P+1≤i≤dP+1\leq i\leq d and t<τ‾t<\overline{\tau} and t+1<τ0t+1<\tau^{0}

and therefore taking rr sufficiently small, τ+∧τ−≥τ0\tau^{+}\wedge\tau^{-}\geq\tau^{0}.

Choose T‾1:=T\overline{T}_{1}:=T and η1\eta_{1} that satisfy Eqs. (32), (34), (37) and (43). We have with probability at least 1−Cd−C∗1-Cd^{-C_{*}} by Lemma 1 and Lemma 4 that τ0>τ+∧τ−∧T\tau^{0}>\tau^{+}\wedge\tau^{-}\wedge T. And Eqs. (50) and (42) imply that τ+∧τ−∧τ0>T‾1\tau^{+}\wedge\tau^{-}\wedge\tau^{0}>\overline{T}_{1}. Furthermore, by Eq. (43), we have τΔ<T‾1\tau^{\Delta}<\overline{T}_{1} which implies Theorem 1.(b) by Eq. (40). Theorem 1.(c) follows from Eq. (50).

Step 5: Upper bound for all neurons with early stopping.

Theorem 1.(a) follows from Eqs. (45) and (47) for neurons with initialization satisfying

For neurons that do not satisfy this condition, the analysis in Section C.2 still holds and we get bounds on the dynamics similar to the ones in Eq. (35), with the difference that a0μD(σ)<0a^{0}\mu_{D}(\sigma)<0, and therefore the drift has a negative contribution to the dynamics, and τ+,τ−\tau^{+},\tau^{-} are now defined on all coordinates instead of only i=P+1,…,di=P+1,\ldots,d.

We can upper bound the drift contribution using that βt=max⁡i∈[P]wit\beta_{t}=\max_{i\in[P]}w_{i}^{t} satisfy for t<τ‾t<\overline{\tau}

and therefore, taking the same bounds (44) and (46), we get for t≤τ‾∧T‾1/(Clog⁡(d)C)t\leq\overline{\tau}\wedge\overline{T}_{1}/(C\log(d)^{C}) for CC a constant sufficiently large that

Furthermore, denoting αt=min⁡i∈[P]wit\alpha_{t}=\min_{i\in[P]}w_{i}^{t}, we have

Using the analysis of Lemma 6, we get that the drift has the same upper bound as βt\beta_{t} in Eq. (52),

for t≤τ‾∧T‾1/(Clog⁡(d)C)t\leq\overline{\tau}\wedge\overline{T}_{1}/(C\log(d)^{C}) and therefore

The bound on coordinates i>Pi>P follows similarly to step 3. In particular, we deduce that for t<τ‾∧T‾1/(Clog⁡(d)C)t<\overline{\tau}\wedge\overline{T}_{1}/(C\log(d)^{C}) and t+1<τ0t+1<\tau^{0}, we have for all i∈[d]i\in[d]

and therefore τ+∧τ−>τ0∧T‾1/(Clog⁡(d)C)\tau^{+}\wedge\tau^{-}>\tau^{0}\wedge\overline{T}_{1}/(C\log(d)^{C}), which concludes the proof of Theorem 1.(a).

C.4 Technical lemmas

Assume that ∥wt∥2≤1+D\|{\bm{w}}^{t}\|_{2}\leq 1+\sqrt{D}. Then there exist constants c,Cc,C that only depend on DD and KK such that

Recall that |g_{i}^{t}/a^{0}|\leq|\gamma_{i}^{t}|\big{(}|yx_{i}\sigma^{\prime}(\langle{\bm{w}},{\bm{x}}\rangle)|+|yw_{i}\langle{\bm{w}},{\bm{x}}\rangle\sigma^{\prime}(\langle{\bm{w}},{\bm{x}}\rangle)|\big{)}. Conditioning on wt{\bm{w}}^{t} and assuming that ∥wt∥2≤1+D\|{\bm{w}}^{t}\|_{2}\leq 1+\sqrt{D}, we obtain

Furthermore, again assuming that ∥wt∥2≤1+D\|{\bm{w}}^{t}\|_{2}\leq 1+\sqrt{D}, we have for any q≥2q\geq 2,

The following lemma provides simple upper and lower bounds on sequences satisfying some geometric bound on their evolution. The upper bound can be seen as a discrete version of Bihari–LaSalle inequality. This upper bound was proven in [6, Appendix C], and we modify their proof to obtain a lower bound.

Note that by induction, we have wt≤ut≤vtw_{t}\leq u_{t}\leq v_{t} for any t≥0t\geq 0 where

For k=2k=2, it is straightforward to get vt=vt−1(1+b1)=b0(1+b1)tv_{t}=v_{t-1}(1+b_{1})=b_{0}(1+b_{1})^{t} and wt=a0(1+a1)tw_{t}=a_{0}(1+a_{1})^{t}.

For k>2k>2, we consider the upper bound on vtv_{t}. First, notice that

Hence, rearranging the terms, we get for any tt,

Hence, as long as wt≤Δw_{t}\leq\Delta, we get

Appendix D Proof of Theorem 2: sequential alignment to the support

In this appendix, we consider the sequential alignment to the support in Section 3.3. The proofs will follow from a similar argument as in the single monomial case. However, the dynamics will be now split in LL phases corresponding to the alignment to each of the LL monomials.

Recall that throughout the proofs, we will denote for simplicity C,c>0C,c>0 generic constants that only depend on DD and KK (note that all the other constants Pl,Dj,D‾l≤DP_{l},D_{j},\overline{D}_{l}\leq D). The values of these constants are allowed to change from line to line or within the same line.

We will use notations and results from Appendix C and outline the main difference with the proof of Theorem 1. We can again reduce the problem to tracking one neuron, and we assume without loss of generality that w10=…=wd0=1/dw_{1}^{0}=\ldots=w_{d}^{0}=1/\sqrt{d} and a0μD‾l(σ)>0a^{0}\mu_{\overline{D}_{l}}(\sigma)>0 for all l∈[L]l\in[L].

Let us introduce the following new stopping times on the dynamics: for l∈[L]l\in[L],

The population gradients for t≤τiΔ∧τ0t\leq\tau_{i}^{\Delta}\wedge\tau_{0} are now given by:

Denote χ∗,l(wt)=∏j∈[Pl](wjt)kj\chi_{*,l}({\bm{w}}^{t})=\prod_{j\in[P_{l}]}(w_{j}^{t})^{k_{j}} for j∈[L]j\in[L]. For i∈[Pl]∖[Pl−1]i\in[P_{l}]\setminus[P_{l-1}] and t<τiΔt<\tau_{i}^{\Delta}, the population gradient is given by: if t≤τirt\leq\tau_{i}^{r} (i.e., i∈Sti\in S_{t}),

while if t>τirt>\tau_{i}^{r} (i.e., i∉Sti\not\in S_{t})

For i>Pi>P and t<τ+∧τ0t<\tau^{+}\wedge\tau_{0},

The proof follows from Lemma 2 applied to a sum of monomials. ∎

Again, by Assumption 1, we can choose Δ\Delta small enough and depending only on KK and D‾\overline{D} such that Eqs (22) and (23) are satisfied (with DD replaced by D‾\overline{D}). We can further chose Δ\Delta small enough (only depending on KK and D‾\overline{D} such that there exists constants C,cC,c such that for all t<τiΔ∧τ+∧τ−t<\tau_{i}^{\Delta}\wedge\tau^{+}\wedge\tau^{-}, if i∈[Pl]∖[Pl−1]i\in[P_{l}]\setminus[P_{l-1}], then if t>τr,l−1t>\tau^{r,l-1},

and if τr,l′−1<t≤τr,l′\tau^{r,l^{\prime}-1}<t\leq\tau^{r,l^{\prime}} for l′≤l−1l^{\prime}\leq l-1,

while for i≥P+1i\geq P+1 and τr,l−1<t≤τr,l\tau^{r,l-1}<t\leq\tau^{r,l},

and g‾it=0\overline{g}_{i}^{t}=0 for t>τr,Lt>\tau^{r,L}.

We consider the dynamics up to time T∧τ‾T\wedge\overline{\tau} where τ‾:=τ0∧τ+∧τ−\overline{\tau}:=\tau^{0}\wedge\tau^{+}\wedge\tau^{-}. We again assume that TT and η1\eta_{1} satisfy conditions (32), (34) and (37), so that the dynamics of witw_{i}^{t} satisfies the bounds in Eqs (35) and (36), with Mit,t′,M‾it,t′,M‾it,t′M_{i}^{t,t^{\prime}},\overline{M}_{i}^{t,t^{\prime}},\underline{M}_{i}^{t,t^{\prime}} satisfying the bounds (38), with probability at least 1−d−C∗1-d^{-C_{*}}. The following steps will follow closely the proof of Theorem 1.

Step 1: Controlling the coordinates i∈[Pl]∖[Pl−1]i\in[P_{l}]\setminus[P_{l-1}] during the first l−1l-1 phases.

Note that for i∈[Pl]∖[Pl−1]i\in[P_{l}]\setminus[P_{l-1}], during the l′≤l−1l^{\prime}\leq l-1 phase, we have for τr,l′−1+1<t≤(τr,l′+1)∧τiΔ\tau^{r,l^{\prime}-1}+1<t\leq(\tau^{r,l^{\prime}}+1)\wedge\tau^{\Delta}_{i},

Assume that min⁡i∈[Pl]∖[Pl−1]τiΔ>τr,l′−1+1\min_{i\in[P_{l}]\setminus[P_{l-1}]}\tau_{i}^{\Delta}>\tau^{r,l^{\prime}-1}+1 and

where we used the assumption that Dl′≥2D_{l^{\prime}}\geq 2. Using the same argument as in Step 3 of Section C.3, we deduce that as long as t≤(τr,l′+1)∧τ+,lt\leq(\tau^{r,l^{\prime}}+1)\wedge\tau^{+,l}, then

In particular, we deduce that we must have τ+,l>τr,l′+1\tau^{+,l}>\tau^{r,l^{\prime}}+1 and therefore τiΔ>τr,l′+1\tau^{\Delta}_{i}>\tau^{r,l^{\prime}}+1 for all i∈[Pl]∖[Pl−1]i\in[P_{l}]\setminus[P_{l-1}].

By induction, we deduce that for all i∈[Pl]∖[Pl−1]i\in[P_{l}]\setminus[P_{l-1}], τiΔ>τr,l−1+1\tau^{\Delta}_{i}>\tau^{r,l-1}+1 and

Step 2: Bounding the growth of witw_{i}^{t} for i∈[Pl]∖[Pl−1]i\in[P_{l}]\setminus[P_{l-1}].

The same argument as in Step 1 of Section C.3 (recalling that by the previous argument, τir∧τiΔ>τr,l−1+1\tau^{r}_{i}\wedge\tau^{\Delta}_{i}>\tau^{r,l-1}+1 for all i∈[Pl]∖[Pl−1]i\in[P_{l}]\setminus[P_{l-1}]) yields

Denote αt=min⁡{wit:i∈St∩[Pl]∖[Pl−1]}\alpha_{t}=\min\{w_{i}^{t}:i\in S_{t}\cap[P_{l}]\setminus[P_{l-1}]\} (noting that wit≥r/2w_{i}^{t}\geq r/2 for i∈[Pl]∖[Pl−1]i\in[P_{l}]\setminus[P_{l-1}] but i∉Sti\not\in S_{t}). Furthermore, for i∈[Pl−1]i\in[P_{l-1}] and t>τr,l−1t>\tau^{r,l-1}, we have wit≥r/2w_{i}^{t}\geq r/2. Hence, for t≤τr,j+1t\leq\tau^{r,j}+1,

Furthermore, ατr,l−1+1≥(1−Cr2)/d\alpha^{\tau^{r,l-1}+1}\geq(1-Cr^{2})/\sqrt{d} by the previous step. We deduce by Lemma 6: for Dl>2D_{l}>2,

Similarly, we obtain similar bounds on τΔ,l\tau^{\Delta,l} (see Step 2 of Section C.3).

Theorem 2.(a) follows by Step 2 and taking η1\eta_{1} and T‾1:=T\overline{T}_{1}:=T that satisfy (32), (34) and (37), and the growth conditions in Step 2. Theorem 2.(b) follows by the same argument as in Step 3 of Section C.3. ∎

D.2 Extending the analysis: adaptive step size and non-nested monomials

with increasingThe case D1=1D_{1}=1 in the first phase of the dynamics can be studied easily by modifying the proof of Theorem 2 and noting that the drift is now just a sum of constant terms. leaps 1≤D1<D2<…<DL=:D1\leq D_{1}<D_{2}<\ldots<D_{L}=:D, so that neurons align with the support sequentially at increasing time scales. As mentioned below Theorem 2, the time complexity to escape each of these leaps is only tight for the biggest leap if we take a constant step size η∝d−D/2\eta\propto d^{-D/2}. Indeed, for the first phases of the dynamics, SGD requires a number of steps d(Dl+D)/2−1d^{(D_{l}+D)/2-1} much smaller than dD−1d^{D-1} to align to the ll-th monomial. In that case, we can take bigger step sizes and still have negligible contribution from the martingale part of the dynamics. In practice, such as in Figure 1, we can see a saddle-to-saddle dynamicsAgain, we expect this saddle-to-saddle dynamic to occur in the case of increasing leaps, otherwise we might have mixing of the different phases for different neurons and no plateaus, except at the biggest leap. to occur, with a number O(dDl−1)O(d^{D_{l}-1}) of steps to escape each saddle even for constant step size.

To prove these tight scalings for each plateau with constant step size, we would need to study the joint training of the two layers, which is currently out of reach of our proof techniques. Instead, we show in the next theorem that we can use a learning rate schedule ηt\eta^{t}, i.e.,

to get a scaling Θ~(dDl−1)\widetilde{\Theta}(d^{D_{l}-1}) to align to each new monomial.

the following events hold with probability at least 1−MC3d−C∗/r1-MC_{3}d^{-C_{*}}/r. For any neuron j∈[M]j\in[M],

Early stopping for l∈[L]l\in[L]: ∣wj,it−wj,i0∣≤C4/dlog⁡(d)|w_{j,i}^{t}-w_{j,i}^{0}|\leq C_{4}/\sqrt{d\log(d)} for all i=Pl−1+1,…,di=P_{l-1}+1,\ldots,d and t≤T‾l/(C5log⁡(d)C5)t\leq\overline{T}_{l}/(C_{5}\log(d)^{C_{5}}).

For any neuron j∈[M]j\in[M] such that a0μD‾l(σ)(wj,10)k1⋯(wj,Pl0)kPl>0a^{0}\mu_{\overline{D}_{l}}(\sigma)(w_{j,1}^{0})^{k_{1}}\cdots(w_{j,P_{l}}^{0})^{k_{P_{l}}}>0 for all l∈[L]l\in[L],

On the support: \big{|}w_{j,i}^{T_{l}}-\text{sign}(w_{j,i}^{0})\cdot\Delta\big{|}\leq C_{4}/\sqrt{d\log(d)} for i=1,…,Pli=1,\ldots,P_{l} and l∈[L]l\in[L].

Outside the support: ∣wj,iTl−wj,i0∣≤C5r2/d|w_{j,i}^{T_{l}}-w_{j,i}^{0}|\leq C_{5}r^{2}/\sqrt{d} for i=Pl+1,…,di=P_{l}+1,\ldots,d and l∈[L]l\in[L]. Furthermore, ∑i>Pl(wj,iT‾l)2=1\sum_{i>P_{l}}(w_{j,i}^{\overline{T}_{l}})^{2}=1.

There are two key differences between Theorem 3 and Theorem 2. First we prove a tighter scaling Θ~(dDl−1)\widetilde{\Theta}(d^{D_{l}-1}) of number of steps for the first phases of the training. Second we show that the alignment is sequential for all the neurons at the same time: at the end T‾l\overline{T}_{l} of each phase, we exactly picked up the support [Pl][P_{l}] and nothing else. In particular, using a similar proof as in Corollary 1.(b), we can show that the neural network at time T‾l\overline{T}_{l} cannot fit the remaining L−lL-l monomials at all using the second layer weights. This agrees with the picture obtained in the numerical simulation in Figure 1.

The T‾l\overline{T}_{l} and ηl\eta_{l} are chosen such that the martingale term remain negligible during the whole dynamics. Furthermore, because of the separation of time scales between the different phases of the dynamics, we can show that for t≤T‾lt\leq\overline{T}_{l} and step size ηl\eta_{l}, the contribution of the drift terms coming from the next monomials remains small. The proof follows almost identically to the proofs of Theorems 1 and 2.

D.2.2 Non-nested monomials

Below we describe how we can modify the proof of Theorem 2 for non-compositional h∗h_{*} and leave the task of proving Conjecture 1 for general leap functions to future works.

and ks(l)>0k^{(l)}_{s}>0 for s∈[Pl]∖[Pl−1]s\in[P_{l}]\setminus[P_{l-1}] (each new coordinates appear in the next monomial) and D‾l=∥kl∥1\overline{D}_{l}=\|{\bm{k}}_{l}\|_{1} with D‾1<D‾2<…<D‾L\overline{D}_{1}<\overline{D}_{2}<\ldots<\overline{D}_{L}, and denote Dl=D‾l−D‾l−1D_{l}=\overline{D}_{l}-\overline{D}_{l-1} (with D‾0=0\overline{D}_{0}=0). Denote D=max⁡l∈[L]DlD=\max_{l\in[L]}D_{l} which corresponds to the leap complexity of h∗h_{*}.

First note that the same formulas as in Lemma 7 hold with

however, we cannot simplify the gradient to be of order χ∗,l(wt)/wit\chi_{*,l}({\bm{w}}^{t})/w_{i}^{t} during the ll-th phase. Below, we outline how to modify the proof of Theorem 1 in Section D.1 to the case (61). The bounds on the martingale terms and on the dynamics from Section C.2 still hold in that case, with the difference being in the formulas of the population gradients.

By taking Δ\Delta small enough, there exists constants C,cC,c such that we can upper and lower bound g‾it\overline{g}_{i}^{t} as follows. For i∈[Pl]∖[Pl−1]i\in[P_{l}]\setminus[P_{l-1}], during the l′≤l−1l^{\prime}\leq l-1 phase, we have for τr,l′−1+1<t≤(τr,l′+1)∧τiΔ\tau^{r,l^{\prime}-1}+1<t\leq(\tau^{r,l^{\prime}}+1)\wedge\tau_{i}^{\Delta},

We can plug these population gradients in steps 1 and 2 in Theorem 2, and control the contribution of each of these terms using αl,t=min⁡{wit:i∈St∩[Pl]∖[Pl−1]}\alpha_{l,t}=\min\{w_{i}^{t}:i\in S_{t}\cap[P_{l}]\setminus[P_{l-1}]\} and βl,t=max⁡{wit:i∈St∩[Pl]∖[Pl−1]}\beta_{l,t}=\max\{w_{i}^{t}:i\in S_{t}\cap[P_{l}]\setminus[P_{l-1}]\}, with similar arguments as in step 2 of Section C.3.

Appendix E Fitting the second layer weights: proof of Corollaries 1 and 2

We first focus on the case h∗(z)=z1⋯zPh_{*}({\bm{z}})=z_{1}\cdots z_{P} and prove parts (a) and (b) separately in Sections E.1.1 and E.1.2. The case of h∗(z)=HeD(z1)h_{*}({\bm{z}})={\rm He}_{D}(z_{1}) follows from a similar argument and we outline the differences in Section E.1.3.

Recall that in this case P=DP=D and we can use both interchangeably. We consider the case of no biases in this part, i.e., fixing bj=0,j∈[M]b_{j}=0,j\in[M].

By Theorem 1, with probability at least 1−Md−C∗1-Md^{-C_{*}}, for each neuron (a,w)(a,{\bm{w}}) satisfying a0μP(σ)w10⋯wP0>0a^{0}\mu_{P}(\sigma)w_{1}^{0}\cdots w_{P}^{0}>0 at initialization, we get at the end of the dynamics:

For the remainder of the proof, assume the above event is true.

There exists a constant CC that depends only on D,KD,K such that the following is true. For any RR weights {wj10,…,wjR0}\{{\bm{w}}_{j_{1}}^{0},\ldots,{\bm{w}}_{j_{R}}^{0}\} which coincide on the first PP coordinates wjs,1:P0=δ/d{\bm{w}}_{j_{s},1:P}^{0}={\bm{\delta}}/\sqrt{d} where δ∈{±1}P{\bm{\delta}}\in\{\pm 1\}^{P}, and with biases bjsb_{j_{s}} such that ∣bjs−b∣≤1/R|b_{j_{s}}-b|\leq 1/R, and with sign(ajs0)=sign(μP(0)wjs,10…wjs,P0)\text{sign}(a^{0}_{j_{s}})=\text{sign}(\mu_{P}(0)w_{j_{s},1}^{0}\dots w_{j_{s},P}^{0}), there exists a constant CC that only depends on P,KP,K such that

First if we replace wjsT‾1{\bm{w}}_{j_{s}}^{\overline{T}_{1}} by Δδ\Delta{\bm{\delta}} and bjsb_{j_{s}} by bb, the error is bounded by

which is accounted for by the first two terms since we can take CC large enough depending on P,KP,K. For the last two error terms,

If u{\bm{u}} satisfies ∥u∥=1\|{\bm{u}}\|=1, then ⟨u,xP+1:d⟩\langle{\bm{u}},{\bm{x}}_{P+1:d}\rangle is distributed as N(0,1){\sf N}(0,1). So for all z{\bm{z}},

which concludes the proof of the lemma. ∎

with a constant in the O(⋅)O(\cdot) that depends only on P,KP,K. So if we define the coefficient

then we can approximate h∗(z)=∏i=1Pzih_{*}({\bm{z}})=\prod_{i=1}^{P}z_{i} as follows for any z{\bm{z}} such that Δ∣⟨δ,z⟩∣<1\Delta|\langle{\bm{\delta}},{\bm{z}}\rangle|<1,

where we use that for any S⊆[P]S\subseteq[P], we have 12P∑δ(∏i=1Pδi)(∏i∈Sδi)={0,S≠[P]1,S=[P]\frac{1}{2^{P}}\sum_{{\bm{\delta}}}(\prod_{i=1}^{P}\delta_{i})(\prod_{i\in S}\delta_{i})=\begin{cases}0,&S\neq[P]\\ 1,&S=[P]\end{cases}.

Putting this together with Lemma 8 and the guarantees on the first layer weights after training (62) and (63), we obtain the following lemma.

There exists a constant C>0C>0 depending only on P,KP,K such that with probability at least 1−d−C∗−Cε1-d^{-C_{*}}-C\varepsilon there exists a set of weights Θcert=(Wcert,acert){\bm{\Theta}}^{cert}=({\bm{W}}^{cert},{\bm{a}}^{cert}) satisfying

(First layer weights are the trained weights) For all j∈[M]j\in[M], we have wjT‾1=wjcert{\bm{w}}_{j}^{\overline{T}_{1}}={\bm{w}}^{cert}_{j}.

(Second-layer weights are small) We have ∥acert∥≤C/(ΔPM)\|{\bm{a}}^{cert}\|\leq C/(\Delta^{P}\sqrt{M}).

(Squared error is small) We have Rsq(Θcert)≤ε/4R^{sq}({\bm{\Theta}}^{cert})\leq\varepsilon/4.

Consider the event that for each δ∈{±1}P{\bm{\delta}}\in\{\pm 1\}^{P} the set Sδ={j:aj0μD(σ)wj,10⋯wj,P0>0}S_{{\bm{\delta}}}=\{j:a_{j}^{0}\mu_{D}(\sigma)w_{j,1}^{0}\cdots w_{j,P}^{0}>0\} is of size ∣Sδ∣≥R:=M/2P+2|S_{{\bm{\delta}}}|\geq R:=M/2^{P+2}. This holds with probability at least 1−O(ε)1-O(\varepsilon) by a union bound and a Hoeffding bound, so we condition on it from now on. Consider the event that for all δ{\bm{\delta}} we have

and note that this holds with probability at least 1−d−C∗1-d^{-C^{*}} by a Hoeffding bound for a constant C11C_{11} depending on P,K,C∗P,K,C_{*}, so we also condition on it.

Let acert{\bm{a}}^{cert} be given by ajcert=cδ/∣Sδ∣a^{cert}_{j}=c_{{\bm{\delta}}}/|S_{{\bm{\delta}}}| if j∈Sδj\in S_{{\bm{\delta}}}, and 0 otherwise. From this it follows that

for a constant CC depending only on P,KP,K. By Lemma 8,

by taking a small enough choice of parameters Δ,r\Delta,r and large enough d,Md,M. ∎

Now that we have constructed the certificate Θcert{\bm{\Theta}}^{cert}, we show that SGD on the second layer converges quickly to a solution with low population loss by a bias-variance analysis of SGD for ridge-regularized least-squares linear regression in Lemma 12. We train the second-layer while keeping the weights of the first layer fixed, which corresponds to linear regression with input embedding

So, plugging in Lemma 9 and taking λa=εΔ2PM/(4C)\lambda_{a}=\varepsilon\Delta^{2P}M/(4C), δ=ε\delta=\varepsilon

By taking η=ε4Δ4P16MC2\eta=\frac{\varepsilon^{4}\Delta^{4P}}{16MC^{2}} and T‾2=64C3ε6Δ6P\overline{T}^{2}=\frac{64C^{3}}{\varepsilon^{6}\Delta^{6P}}, for small enough ε\varepsilon,

E.1.2 Converse if early stopping

We now prove the converse. The proof will follow very similarly to the proof of [34, Theorem 1]. By Theorem 1, if we train the first layer for time T‾1′≤T‾1/(C8log⁡(d)C8)\overline{T}_{1}^{\prime}\leq\overline{T}_{1}/(C_{8}\log(d)^{C_{8}}) steps for a large enough C8>0C_{8}>0, then with probability at least 1−Md−C∗1-Md^{-C_{*}} for each neuron j∈[M]j\in[M],

and some constant C4C_{4}. In particular, this implies that for large enough dd,

For ease of notations, denote wj:=wjT‾1′{\bm{w}}_{j}:={\bm{w}}_{j}^{\overline{T}_{1}^{\prime}}. Let us introduce ϕ(x)=[σ(⟨w1,x⟩),…,σ(⟨wM,x⟩)]\phi({\bm{x}})=[\sigma(\langle{\bm{w}}_{1},{\bm{x}}\rangle),\ldots,\sigma(\langle{\bm{w}}_{M},{\bm{x}}\rangle)] and ϕ0(x)=[σ(⟨w10,x⟩),…,σ(⟨wM0,x⟩)]\phi_{0}({\bm{x}})=[\sigma(\langle{\bm{w}}_{1}^{0},{\bm{x}}\rangle),\ldots,\sigma(\langle{\bm{w}}_{M}^{0},{\bm{x}}\rangle)].

Corollary 1 will follow by showing that there exist constants c,Cc,C that only depend on K,PK,P such that with high probability, we have

These are proved in the following two lemmas.

Under the same setting as in Corollary 1, there exist constants c,C>0c,C>0 such that with probability at least 1−CMd−C∗1-CMd^{-C_{*}},

Consider the event described in Eq. (64). By rotational invariance of the distribution of x{\bm{x}}, the entries U=(Uij)i,j∈[n]{\bm{U}}=(U_{ij})_{i,j\in[n]} are given by

where (G1,G2)∼N(0,I2)(G_{1},G_{2})\sim{\sf N}(0,{\mathbf{I}}_{2}), αi=∥wi∥2\alpha_{i}=\|{\bm{w}}_{i}\|_{2} and βij=⟨wi,wj⟩/(αiαj)\beta_{ij}=\langle{\bm{w}}_{i},{\bm{w}}_{j}\rangle/(\alpha_{i}\alpha_{j}).

We can do a Taylor expansion and bound the second term

where we used that ∣∥wi∥2−1∣≤C/log⁡(d)|\|{\bm{w}}_{i}\|_{2}-1|\leq C/\sqrt{\log(d)} by Eq. (64).

Hence, for ∣t∣≤1/2|t|\leq 1/2, we have ∣h′(t)∣≤C∣t∣|h^{\prime}(t)|\leq C|t|. Note that ∣βij−⟨wi0,wj0⟩∣≤C/log⁡(d)|\beta_{ij}-\langle{\bm{w}}_{i}^{0},{\bm{w}}_{j}^{0}\rangle|\leq C/\sqrt{\log(d)}. By standard concentration, using that wi0∼Unif({±1/d}d){\bm{w}}_{i}^{0}\sim{\rm Unif}(\{\pm 1/\sqrt{d}\}^{d}), there exists constants c,Cc,C such that with probability at least 1−e−cd1-e^{-cd}, we have

Using the same computation as above, we can replace αi\alpha_{i} and αj\alpha_{j} by 11 while only incurring an error C/log⁡(d)C/\sqrt{\log(d)}, and show that

From the above bounds, we deduce (using ∥M∥op≤∥M∥F\|{\bm{M}}\|_{\text{op}}\leq\|{\bm{M}}\|_{F}) that with high probability

For σ\sigma not constant, h(1)>h(0)h(1)>h(0) and using that M=Od(1)M=O_{d}(1), we deduce that

Under the same setting as in Corollary 1, there exists constants C>0C>0 such that with probability at least 1−CMd−C∗1-CMd^{-C_{*}},

First note that for any w{\bm{w}}, the correlation of σ(⟨w,x⟩)\sigma(\langle{\bm{w}},{\bm{x}}\rangle) with f∗(x)=∏i=1Pxif_{*}({\bm{x}})=\prod_{i=1}^{P}x_{i} is bounded by

Indeed, as in the proof of Lemma 2, we use the formula from integration by parts:

We conclude by noting that on the high probability event (64), we have ∣wj,i∣≤2/d|w_{j,i}|\leq 2/\sqrt{d}. ∎

E.1.3 Proof for a single-index Hermite monomial

Let’s now consider h∗(z)=HeD(z1)h_{*}({\bm{z}})={\rm He}_{D}(z_{1}). In this case, we consider the biases bj∼Unif([−Δ,Δ])b_{j}\sim{\rm Unif}([-\Delta,\Delta]), where Δ\Delta is chosen sufficiently small as discussed in Theorem 1. We can use the same proof strategy as in Section E.1.1 and construct good features

for any b∈[−Δ,Δ]b\in[-\Delta,\Delta], by considering neurons with initializations {(wj10,bj10),…,(wjR0,bR0)}\{({\bm{w}}_{j_{1}}^{0},b_{j_{1}}^{0}),\ldots,({\bm{w}}_{j_{R}}^{0},b_{R}^{0})\} with wjs1=1/dw_{j_{s}}^{1}=1/\sqrt{d} and sign(ajs0)=sign(μD(0)wjs,1D)\text{sign}(a_{j_{s}}^{0})=\text{sign}(\mu_{D}(0)w_{j_{s},1}^{D}), and ∣bjs0−b∣≤r|b_{j_{s}}^{0}-b|\leq r (by an easy modification of Lemma 8). We will take sufficiently many neurons (but still independent of dd) so that we have a sufficiently large RR for any intervals of size rr for b∈[−Δ,Δ]b\in[-\Delta,\Delta] with high probability.

Let us now construct a certificate for HeD(z1){\rm He}_{D}(z_{1}) based on these good features. By a Taylor approximation, for any 0<s<10<s<1 and x∈[−s,+s]x\in[-s,+s],

In particular, we can rescale and sum these coefficients such that for some ν∗(b)\nu_{*}(b) that has second moment bounded by 1/ΔCD1/\Delta^{CD},

We can now construct a certificate by sampling bsb_{s} from the signed measure ν∗(b)\nu_{*}(b), and for each bsb_{s} constructing an approximate good feature, as described in Lemma 8. The proof for the low test error then follows from applying the bound on the least squares linear regression of Lemma 12.

For the lower bound with early stopping, we use that

and we can conclude using the same argument as in Section E.1.2.

E.2 Proof of Corollary 2: sequential learning of monomials

Let us formally state Corollary 2 and prove it.

we have for large enough d≥C10ε−C10d\geq C_{10}\varepsilon^{-C_{10}}, that with probability at least 1−d−C∗−ε1-d^{-C_{*}}-\varepsilon at the end of the dynamics,

In contrast to the proof of Corollary 1, we only prove this result for “diverse” enough activation functions. For the proof, we will construct a specific activation function that have this “diversity” property. This activation depends on PP (or upper bound on PP), but otherwise is independent of h∗h_{*}. The idea is that we will use biases of different magnitudes, which will change the signs of the Hermite coefficients of the activation, in order to ensure enough neurodiversity to learn the sum of increasing monomials. This is required due to the specific choice of training of the first layer weights considered in this paper. However, we show in simulations that standard ReLus activations are enough to learn these functions.

for all i∈[P]i\in[P]. This can be achieved as follows. Let τ>0\tau>0 be a constant that we will take large enough. Then for any kk, define the “truncated Hermite function”

And we show that A(s′,k′),(s,k)A_{({\bm{s}}^{\prime},k^{\prime}),({\bm{s}},k)} is invertible when viewed as a P2P×P2PP2^{P}\times P2^{P} matrix. For large enough τ\tau depending on kk, the diagonal elements are lower-bounded by a constant:

And the off-diagonal elements are small. When s≠s′{\bm{s}}\neq{\bm{s}}^{\prime}, for large enough τ\tau we have

And similarly when s=s′{\bm{s}}={\bm{s}}^{\prime} but k≠k′k\neq k^{\prime}, for large enough τ\tau we have

So if we take large enough τ\tau the system of equations defined by A(s′,k′),(s,k)A_{({\bm{s}}^{\prime},k^{\prime}),({\bm{s}},k)} is invertible, so coefficients γs,k\gamma_{{\bm{s}},k} exist such that σ\sigma satisfies (65).

and where νk(ζ)\nu_{k}(\zeta) has second moment bounded by 1/ΔCk1/\Delta^{Ck}. Since we can estimate ⟨δ,z⟩k\langle{\bm{\delta}},{\bm{z}}\rangle^{k} to O(Δ)O(\Delta) error for each δ∈{+1,−1}P{\bm{\delta}}\in\{+1,-1\}^{P}, we can approximate h∗h_{*} via a linear combination

We conclude analogously to the proof of Corollary 1, using the bounded-norm certificate to obtain a generalization guarantee.

E.3 Technical result: last iterate convergence of SGD on linear models

We analyze of the last iterate for online-SGD on a linear model with ridge-regularized least-squares loss by using the well-known bias-variance decomposition . A very similar analysis also appears in the appendix of ; the key difference is that we analyze online gradient descent with one sample per iteration (as opposed to online minibatch gradient descent) with a small learning rate in order to match the setting of the theorem. Compare also to which gives final-iterate bounds for the final risk, but these hold in expectation instead of with exponentially high probability.

For a parameter λa>0\lambda_{a}>0, the ridge-regularized square loss is

Each iteration of the dynamics of online-SGD on the ridge-regulariezd square loss is is given by

Let a∗{\bm{a}}^{*} be the minimizer of Lλa{\mathcal{L}}_{\lambda_{a}}, which is unique by strict convexity when λa>0\lambda_{a}>0. We prove the following convergence to the optimum. For any iteration tt, define the gap to optimality

by the first-order optimality condition Ha∗=v{\bm{H}}{\bm{a}}^{*}={\bm{v}}. So

It remains to bound ∥αt∥\|{\bm{\alpha}}^{t}\|. We write the evolution of αt{\bm{\alpha}}^{t} as:

Inductively, one obtains the well-known “bias-variance” decomposition

To bound the variance term, define the norm squared of the variance term:

The lemma follows by plugging in the expression for Lλa(acert){\mathcal{L}}_{\lambda_{a}}({\bm{a}}^{cert}) and using that a∗{\bm{a}}^{*} is optimal, so Lλa(a∗)≤Lλa(a){\mathcal{L}}_{\lambda_{a}}({\bm{a}}^{*})\leq{\mathcal{L}}_{\lambda_{a}}({\bm{a}}). ∎

Construct Zt=c−t(Xt−a1−c)Z_{t}=c^{-t}(X_{t}-\frac{a}{1-c}). Then ZtZ_{t} is a super-martingale:

So by the Azuma-Hoeffding inequality, since Z0≤0Z_{0}\leq 0,

Appendix F Lower bounds for linear methods and CSQ methods

and estimates the target function using the linear prediction model

The takeaway of this section is that to learn any degree-DD functions with small support on isotropic data, linear methods must pay at least Ω(dD)\Omega(d^{D}) samples (and “width” dim⁡(H)≥dD\dim(\mathcal{H})\geq d^{D}) when the support is not known. This is proved by in the case of the binary hypercube:

Let D=max⁡{∣S∣:h^∗(S)≠0}D=\max\{|S|:\hat{h}_{*}(S)\neq 0\} be the degree of h∗h_{*}. Consider the class of functions which depend as h∗h_{*} on some subset of coordinates

For any linear method, let f^σ\hat{f}_{\sigma} be the function estimated by the linear method on (possibly noisy) samples (xi,f∗,σ(xi)+ϵi)i∈[n]({\bm{x}}_{i},f_{*,\sigma}({\bm{x}}_{i})+\epsilon_{i})_{i\in[n]}. Then there are constants Ch∗,ch∗>0C_{h_{*}},c_{h_{*}}>0 such that

We now give an analogous result for the Gaussian data distribution, where the degree also drives the complexity for linear methods. This bound is new and was not derived in .

Let D=max⁡{∑iki:h^∗(S)≠0}D=\max\{\sum_{i}k_{i}:\hat{h}_{*}(S)\neq 0\} be the degree of h∗h_{*}. Consider the class of functions which depend as h∗h_{*} on some subspace of coordinates

First, we we can write a degree-DD monomial as a linear combination of functions in F{\mathcal{F}}.

There are semiorthogonal matrices M1,…,M2D{\bm{M}}^{1},\ldots,{\bm{M}}^{2^{D}} and coefficients b1,…,b2Db_{1},\ldots,b_{2^{D}} such that

Furthermore, for all jj we have ∣aj∣≤Ch∗|a_{j}|\leq C_{h_{*}}, which is a constant depending only on h∗h_{*}.

Notice that Rδ(Rδ)⊤=I{\bm{R}}^{{\bm{\delta}}}({\bm{R}}^{{\bm{\delta}}})^{\top}={\bm{I}}, so this is a valid semi-orthogonal matrix, and so h∗(Rδx)∈Fh_{*}({\bm{R}}^{{\bm{\delta}}}{\bm{x}})\in{\mathcal{F}}. Now let us show that we can write the monomial as a linear combination of functions of the form h∗(Rδx)h_{*}({\bm{R}}^{{\bm{\delta}}}{\bm{x}}). Specifically, for any S′=(k1′,…,kP′)S^{\prime}=(k_{1}^{\prime},\ldots,k_{P}^{\prime}) with ∑iki′≤D\sum_{i}k_{i}^{\prime}\leq D we have

with a nonzero proportionality constant that only depends on SS. Therefore,

with a nonzero proportionality constant that only depends on h∗h_{*}. This proves the claim. ∎

We will use this claim to lower-bound the error of the linear method on F{\mathcal{F}}. Notice that the linear method must predict ⟨a^,ψ(x)⟩\langle\hat{{\bm{a}}},\psi({\bm{x}})\rangle, where a^∈span{ψ(xi)}i∈[n]\hat{{\bm{a}}}\in\mathsf{span}\{\psi({\bm{x}}_{i})\}_{i\in[n]}. So the error is lower-bounded by the norm of the orthogonal projection to this subspace. For x∼N(0,Id){\bm{x}}\sim{\sf N}(0,I_{d}) throughout,

Putting together the equations proves the lemma.

F.2 Correlational Statistical Query (CSQ) methods

First, we give a lower bound on the CSQ complexity of learning a function with leaps when x{\bm{x}} is drawn uniformly from the hypercube. The below lower bound is qualitatively similar to the argument in based on the “alignment” quantity. The bounds of have tighter constants in the exponents of the bound, but they have the disadvantage that they apply only to noisy population gradient descent instead of to general CSQ algorithms.

Suppose that the CSQ algorithm knows σ(1),…,σ(k)\sigma(1),\ldots,\sigma(k), which can only help it. Then the problem of learning f∗,σf_{*,\sigma} from CSQ queries is equivalent to the problem of learning f⊈T,σ(x)=h⊈T(xσ(1),…,xσ(P))f_{\not\subseteq T,\sigma}({\bm{x}})=h_{\not\subseteq T}(x_{\sigma(1)},\ldots,x_{\sigma(P)}) from CSQ queries. However, for random permutations σ′\sigma^{\prime} conditioned on σ′(1)=σ(1),…,σ′(k)=σ(k)\sigma^{\prime}(1)=\sigma(1),\ldots,\sigma^{\prime}(k)=\sigma(k) we have

So by a union bound, with probability ≥1−Cn/τ2\geq 1-\mathcal{C}n/\tau^{2} all nn first CSQ queries can return 0. The final output f^\hat{f} of the algorithm can also be viewed as a statistical query. So with probability at least 1−nC/τ2−C/ε21-n\mathcal{C}/\tau^{2}-\mathcal{C}/\varepsilon^{2},

The proposition follows by letting ε\varepsilon be a small enough positive constant depending on h∗h_{*}. ∎

be its isotropic leap (as defined in Appendix B.2). Consider the class of functions which given by applying h∗h_{*} on some subspace of coordinates