4+3 Phases of Compute-Optimal Neural Scaling Laws

Elliot Paquette, Courtney Paquette, Lechao Xiao, Jeffrey Pennington

Introduction

The advent of large language models (LLMs) has changed our perceptions of the landscape of optimization and is resulting in the emergence of new interesting questions related to scaling. Prior to LLMs and other large models, we often viewed the large-scale optimization problems as being limited by the amount of data. In training language models, in contrast, data can be effectively infinite. Thus, compute budgets can be the limitation. This leads to the following natural question: given an architecture, given a fixed compute budget, and having unlimited data, how should one select the model size to minimize loss?

To formally address this question, let us consider the general learning problem,

the number of parameters dd is large, and the data vector xx is drawn from an unknown distribution. We solve (1) using stochastic algorithms, such as stochastic gradient descent (SGD) with batch size BB, under various parameter sizes dd, that produce a sequence of iterates {θr}\{\theta_{r}\}. A standard formula used in practice to measure compute is the "6ND" formula , that is,

Therefore, we can plot the loss curve P(θr;d)=P(r;d)=P(f/(d⋅B);d)\mathscr{P}(\theta_{r};d)=\mathscr{P}(r;d)=\mathscr{P}({\mathfrak{f}}/(d\cdot B);d) as a function of flops (see Fig. 1). The question now is: given a fixed number of flops f{\mathfrak{f}} and given batch size BB, how should we choose the parameters dd so that we get the best loss, i.e. d⋆d^{\star} solves the constrained problem

In this work, we analyze a three parameter simple model, which we call power-law random features (PLRF) . The three parameters in the PLRF are the data complexity (α\alpha), target complexity (β\beta) and model-parameter count dd. Using this model, we derive a deterministic equivalent for the expected loss, as a function of α\alpha, β\beta, and dd, that captures the training dynamics of one-pass SGD. This can be used to derive numerical predictions for the scaling laws. We also extract exact expressions for the compute-optimal scaling laws and the optimal parameter d⋆(f)∈arg mindP(fd⋅B;d)d^{\star}({\mathfrak{f}})\in\text{arg\,min}_{d}\mathscr{P}(\tfrac{{\mathfrak{f}}}{d\cdot B};d) for largeWe discuss how large is large, but the truth is somewhat complicated and also quite dependent on the desired precision. If ±0.05\pm 0.05 on the achieved scaling laws is tolerable, a flat d>1000d>1000 seems to suffice across all phases. dd, and give some estimates on the order of dd necessary for these scaling laws to take hold.

We also observe for a large portion of the (α,β)(\alpha,\beta)-phase plane, the optimal parameter is d⋆=f1/2d^{\star}={\mathfrak{f}}^{1/2}, suggesting a regime of universal scaling behavior (see Fig. 3(b) and Table LABEL:table:phases_intro).

The PLRF is not only analyzable, but also exhibits a rich behavior of compute-optimal curves/loss curves, which are qualitatively and quantitatively different depending on the strengths of the data (α)(\alpha) vs. target (β)(\beta) complexity. Particularly, we show that there are 4 distinct (+3 sub phases) compute-optimal curve/loss curve behaviors.

Model constrained compute-optimal curves. In two of the phases (Phase Ia,b,c and Phase II), it is the underlying model that dictates the curves. The algorithm has little/no impact. This appears in two forms. The first behavior are compute-optimal curves controlled by the capacity of the model (Phase Ia,b,c). Here once the algorithm reaches the limiting risk value possible (capacity), it is better to increase the model-parameter dd. Another type of loss dynamics is due to poor model feature embedding (Phase II). Here the features are embedded in a way which is difficult to train. After an initial large decrease in the loss value, this feature embedding distortion frustrates the algorithm and training slows, but it continues to solve. However, solving to capacity wastes compute, in that it is compute-favored to increase the model parameter count dd.

Algorithm constrained compute-optimal curves. For some choices of (α,β)(\alpha,\beta) (Phase III and IV), it is the noise produced by the SGD algorithm that ultimately controls the tradeoff. Here the algorithm matters. Indeed, another algorithm could change the compute-optimal curves for these phases.

The key source of inspiration for this work are , which identified compute optimality as a fundamental concept in scaling large language models and made a substantial empirical exploration of it. The problem setup was formulated by , where additionally data-limited scalings were considered, but compute optimality was not (nor indeed any algorithmic considerations); see also where gradient flow was considered in the same setting.

There is a substantial body of work considering scaling laws of losses (trained to minimum-loss) of dataset size vs parameter count, in a variety of settings (linear, random features, deep networks). See especially: , where in more complex models a “hidden-manifold” model is often adopted for the data. We note that as we consider one-pass SGD, some dataset/parameter-count scaling laws are implicit from the results here; however, the training method (one-pass SGD) is, in some regimes, suboptimal given unlimited compute.

1 Problem setup: SGD on Power-law Random Features

In this work, we analyze the three parameter power-law random features (PLRF) model, that is,

The dimensions we consider throughout are always such that v≥Cdv\geq Cd for C>1C>1. Throughout both vv and dd need to be large, but for some choices of α\alpha and β\beta, the vv will need to be comparable to dd.

We assume that v≥Cdv\geq Cd with C>1C>1 and v,d→∞v,d\to\infty. Above the high-dimensional line, which is when 2α>12\alpha>1, we suppose v/d→r∈(1,∞)∪{∞}v/d\to r\in(1,\infty)\cup\{\infty\}.In fact, we may take v=∞v=\infty for 2α>12\alpha>1. On the other hand, below the high-dimensional line (2α<1)(2\alpha<1) we limit vv to be v/d→r∈(1,∞)v/d\to r\in(1,\infty).Indeed one can, in the former case, take d≤v≤d1/(1−2α)d\leq v\leq d^{1/(1-2\alpha)}, but for simplicity of presentation we focus on the proportional regime when 2α<12\alpha<1.

One can rewrite the expression in (4) using the convenient form:

To solve the minimization problem in (5), we use one-pass SGD with mini-batches of size BB (independent of dd)One can study batch size BB growing with dd, but for 2α>12\alpha>1, BB must be indep. of dd (see Prop. 2.1). Thus we only consider BB independent of dd setting. and constant learning rate γ>0\gamma>0: letting θ0=0\theta_{0}=0, we iterate

The learning rate and batch size will need to satisfy a condition to ensure convergence (Prop. 2.1).

Under this setup, our main goal is to characterize the compute-optimal frontier. Precisely, we want to find the parameter count exponent ξ\xi and scaling law exponent η\eta, such that,

We use P(θr)=P(r)\mathscr{P}(\theta_{r})=\mathscr{P}(r) when we want to emphasize the iteration counter rr. We say A(r,v,d)∼A(r,v,d)\mathscr{A}(r,v,d)\sim\mathscr{A}(r,v,d) for functions A(r,v,d),A(r,v,d)>0\mathscr{A}(r,v,d),\mathscr{A}(r,v,d)>0 if for every ε>0\varepsilon>0 and for all admissible vv and dd, there exists an r0,d0r_{0},d_{0} such that for all d>d0d>d_{0} and r≥r0r\geq r_{0}

We write ≍\asymp if the upper and lower bounds hold with some constants c,Cc,C in place of 1∓ε1\mp\varepsilon respectively and ≲,≳\lesssim,\gtrsim if only one inequality holds.

[notespar, caption = Large dd behavior of the forcing function and kernel function. See Sec. 10 for proofs. ,label = table:forcing function, captionskip=2ex, pos =!t ]l Function ∗Γ(x){}^{*}\Gamma(x) is the Gamma function F0(r)≍d−2α+max⁡{0,1−2β}\mathscr{F}_{0}(r)\asymp d^{-2\alpha+\max\{0,1-2\beta\}} \mathscr{F}_{pp}(r)\sim(2\alpha)^{-1}\times\Gamma\big{(}\tfrac{\beta}{\alpha}-\tfrac{1}{2\alpha}+1\big{)}\times(2\gamma B\times r)^{-(1+\beta/\alpha)+1/(2\alpha)} \mathscr{F}_{ac}(r)\leq\begin{cases}C\times\mathscr{F}_{0}(r),&\text{if2\beta>1,,2\alpha<1}\\ 0,&\text{if2\beta<1}\end{cases} for C>0C>0, independent of dd If 2β>1,2α>12\beta>1,2\alpha>1, \mathscr{F}_{ac}(r)\sim\big{(}\sum_{j=1}^{V}j^{-2\beta}\big{)}(2\alpha)^{-1}\Gamma\big{(}1-\tfrac{1}{2\alpha}\big{)}\times(2\gamma B\times r)^{-1+1/(2\alpha)}\times d^{-1} \mathscr{K}_{pp}(r)\sim(2\alpha)^{-1}\times\Gamma\big{(}2-\tfrac{1}{2\alpha}\big{)}\times(2\gamma B\times r)^{-2+1/(2\alpha)}

Learning dynamics of SGD

Compute-optimal curves (3) for the random features model (4) rely on accurate predictions for the learning trajectory of SGD. Similar to the works of , we show that the expected loss under SGD satisfies a convolution-type Volterra equation (for background on Volterra equations, see Section 5.3)

Intuitively, the forcing function is gradient descent on the random features model and the kernel function is the excess risk due to 1 unit of SGD noise.

The forcing function F(r)\mathscr{F}(r) and kernel function K(r)\mathscr{K}(r) are random functions depending on the random matrix K^\hat{K}. Indeed, it is the resolvent of K^\hat{K}, (K^−z)−1(\hat{K}-z)^{-1}, which plays a significant role in F\mathscr{F} and K\mathscr{K}. We remove this randomness from the expression by using a deterministic equivalent – a technique from random matrix theory.

Formally, we define the deterministic equivalent for the resolvent of K^\hat{K}, denoted by R(z)\mathscr{R}(z), implicitly via a fixed point equation

The solution to the Volterra equation with deterministic equivalent (10) numerically exactly matches the training dynamics of SGD, see Fig. 2. A discussion of the deterministic equivalent for (K^−z)−1(\hat{K}-z)^{-1} can be found in Sec. 7. All our mathematical analysis will be for the deterministic equivalents, going forward.There is good numerical evidence that the deterministic equivalent captures all interesting features of the PLRF. There is a vast random matrix theory literature on making precise comparisons between resolvents and their deterministic equivalents. It seems a custom analysis will be needed for this problem, given the relatively high precision required, and we do not attempt to resolve this mathematically here. The derivation of the Volterra equation for the expected loss can be found in Sec. 4.

An immediate consequence of (10) is that for convolution Volterra equations bounded solutions occur if and only if the forcing function is bounded and the kernel norm ∥K∥=def∑s=0∞K(s)<1\|\mathscr{K}\|\stackrel{{\scriptstyle\text{def}}}{{=}}\sum_{s=0}^{\infty}\mathscr{K}(s)<1. This directly translates into a sufficient condition on the batch size and learning rate of SGD.

Suppose learning rate γ\gamma and batch BB satisfy ∥K∥<1 and γB<1.\|\mathscr{K}\|<1\text{ and }\gamma B<1. Then P(r)\mathscr{P}(r) is bounded.

Below the line 2α=12\alpha=1, the kernel norm diverges with vv for fixed constant γ\gamma, and so we must take γ→0\gamma\to 0 to ensure bounded solutions. Thus, provided γ∼v2α−1\gamma\sim v^{2\alpha-1}, then

Thus, the kernel norm, ∥K∥\|\mathscr{K}\|, is always constant order for all α\alpha.

For 2α>12\alpha>1, the restriction on ∥K∥\|\mathscr{K}\| and γB\gamma B imply that γ\gamma and BB must be independent of dd. For 2α<12\alpha<1, BB can grow with dd. We only consider BB order 1 in this work. For a proof and necessary and sufficient conditions on γ\gamma and BB, see Prop. 5.2, and see Cor. 9.1 for the asymptotic on ∥K∥\|\mathscr{K}\|.

The Volterra equation in (10), while useful as it removes the randomness, is not sufficient to derive the compute-optimal curves (3). We need a more explicit formula for P\mathscr{P} (see Section 5.3.2 for proof).

Suppose γ\gamma and BB are at most half the convergence threshold and 2α+2β>12\alpha+2\beta>1, α>14\alpha>\tfrac{1}{4}.In spite of Theorem 2.1 holding only for α>14\alpha>\tfrac{1}{4}, we expect this to hold for all 2α+2β>12\alpha+2\beta>1 as supported numerically. When α<14\alpha<\tfrac{1}{4}, the kernel function stops being power law and, as a result, requires a different set of tools to prove the result. There exists an M>0M>0 large and a constant C=C(α,β,M)C=C(\alpha,\beta,M), independent of dd, so that for all admissible vv and dd, for all γBr>M\gamma Br>M,

The convolution K∗F\mathscr{K}*\mathscr{F} further simplifies

If we were to run gradient descent instead of SGD (i.e., γ\gamma small), then we would only have the forcing term, that is, P(r)=F(r).\mathscr{P}(r)=\mathscr{F}(r). The measurable effect of SGD comes from the second term that contains the kernel function. For this reason, we refer to SGD noise as 1γB⋅K(r).\frac{1}{\gamma B}\cdot\mathscr{K}(r).

In light of (13) and (14), we have trapped the training loss between the sum of F\mathscr{F} and K\mathscr{K}, so it suffices now to understand the forcing and kernel functions.

1 Forcing function and kernel function

We decompose the forcing function (11), F\mathscr{F}, and the kernel function, (12), K\mathscr{K}, into

Each term is explicit and has an asymptotic equivalence (when 1≲γBr≲d2α1\lesssim\gamma Br\lesssim d^{2\alpha}) given by

The two error terms are such that for large dd with 1≲γBr≲d2α1\lesssim\gamma Br\lesssim d^{2\alpha},

for some constant C>0C>0. For γBr≳d2α\gamma Br\gtrsim d^{2\alpha}, the forcing function F(r)≍F0(r)\mathscr{F}(r)\asymp\mathscr{F}_{0}(r), the limiting risk value. The terms arise from different parts of the spectrum of the deterministic equivalent for K^\hat{K} (see Fig. 6).

Point mass at : F0(0)=F0(r)\mathscr{F}_{0}(0)=\mathscr{F}_{0}(r) is the limiting value of P(r)≍d−2α+max⁡{0,1−2β}\mathscr{P}(r)\asymp d^{-2\alpha+\max\{0,1-2\beta\}} as r→∞r\to\infty. It occurs because the loss is irreducible (d<v)(d<v), that is a component of the target is not in the image of the RF model (or equivalently that K^\hat{K} has a kernel).

Aligned features: The function Fpp(r)\mathscr{F}_{pp}(r) represents gradient descent on the components of features which are aligned to the underlying population features. Indeed, if we ran gradient descent on the population loss without a random features map (or a diagonal WW), this would be the loss curve.

Distorted features: The function Fac(r)\mathscr{F}_{ac}(r) is the result of feature distortion, where the matrix WW leads to an embedding where a small component of the leading features is distributed across many different eigenmodes. These are still solvable, and given enough compute these will eventually be used, but they are much slower to solve.

Aligned kernel: Kpp(r)\mathscr{K}_{pp}(r) is the excess risk due to 11 unit of SGD noise, which is then solved according to population gradient descent.

Out of brevity, we relegate the exact definitions of F0\mathscr{F}_{0}, Fpp\mathscr{F}_{pp}, Fac\mathscr{F}_{ac}, and Kpp\mathscr{K}_{pp} and all proofs of the asymptotics in Table LABEL:table:forcing_function and analyses of the functions to Section 8, 9, and 10.

The 4 Phases

We now put together a coherent picture of the effect of different choices of α\alpha (data complexity) and β\beta (target complexity) and their impact on the compute-optimal frontier. By Theorem 2.1, we estimate

Fig. 4a. shows empirically that this equivalence of P(r)\mathscr{P}(r) is quite good.

The 4 distinct phases (see Fig. 3(a)) decompose the (α,β)(\alpha,\beta)-plane based on the shape of the loss curve P(r)\mathscr{P}(r), that is, which of the distinct components of the forcing function (i.e., F0,Fpp,Fac,\mathscr{F}_{0},\mathscr{F}_{pp},\mathscr{F}_{ac},) and/or kernel function (i.e., Kpp\mathscr{K}_{pp}) dominate the loss curve at a given iteration rr. See Table LABEL:table:phases_intro for loss description in each phase. Cartoon pictures of the different features of the loss curves are shown in Fig. 5. For each phase, we derive a compute-optimal curve in Section 3.1.

The high-dimensional line, which occurs where 2α=12\alpha=1, distinguishes the phases where the vv-dimension can be big and independent of dd (Phase Ia, II, III, 2α>12\alpha>1) and the phases where dd and vv must be related to each other (Phase Ib, Ic, IVa, IVb, 2α<12\alpha<1). When 2α+2β<12\alpha+2\beta<1, the loss does not exhibit any power-law decay as the limit level stops going to as d→∞d\to\infty (purely as a consequence of having selected the regime v>dv>d). Moreover, there exists an interesting critical point α=β=12\alpha=\beta=\tfrac{1}{2} where all the parts of the forcing function and kernel mix and interact with each other. The behavior of the loss at the pentuple point (see Fig 3(a)) we leave for future research. Across each of the phase boundaries the compute-optimal curves are continuous, but not necessarily differentiable; in contrast, d⋆d^{\star} is discontinuous across some phase boundaries.

To simplify the computations for compute-optimal curves, we introduce the following curve

We describe the qualitative and quantitative properties of compute-optimal curves for each phase. These are broken down into model constrained (Phase I, II) vs. algorithm constrained (Phase III, IV), i.e., whether the PLRF model or SGD is the constraining feature.

Phase Ia (2α>1,2β<1)2\alpha>1,2\beta<1), Ib (2α<1,2β<1,2(α+β)>12\alpha<1,2\beta<1,2(\alpha+\beta)>1), Ic are characterized by having the simplest loss description, P(r)≍Fpp(r)+F0(r)\mathscr{P}(r)\asymp\mathscr{F}_{pp}(r)+\mathscr{F}_{0}(r). Here the SGD noise is irrelevant and one would have the same loss (and thus compute-optimal curve) as gradient descent on the population loss. Compute optimality is characterized by training the model completely (to its limit loss) and choosing the model parameter count large enough so that at the end of training, the smallest loss is attained. The main distinctions between Phase Ia, Ib, Ic are the model capacities (i.e., F0(r,d)=d−2α+1−2β\mathscr{F}_{0}(r,d)=d^{-2\alpha+1-2\beta} in Ia, Ib, and F0(r,d)=d−2α\mathscr{F}_{0}(r,d)=d^{-2\alpha} in Ic) and the dependence of dimension in the learning rate due to Ib,Ic being below the high-dimensional line. Consequently, while the qualitative features of the loss curve are the same for Ia, Ib, and Ic, the actual values of the compute-optimal curve vary across the different regions. Notably, in Phase Ib, the compute-optimal parameter is d⋆=f1/2d^{\star}={\mathfrak{f}}^{1/2} and it is independent of α\alpha and β\beta.

Phase II (2α>12\alpha>1, 2β>12\beta>1, β<α\beta<\alpha) has a loss curve where the Fac\mathscr{F}_{ac} is important, that is, P(r)≍Fpp(r)+Fac(r)+F0(r)\mathscr{P}(r)\asymp\mathscr{F}_{pp}(r)+\mathscr{F}_{ac}(r)+\mathscr{F}_{0}(r). The Fac\mathscr{F}_{ac} term becomes the dominant term after running for some intermediate amount of time dcd^{c}; in fact it is compute-optimal to stop at this point, and then select the number of model parameters so to minimize the loss with this early stopping criterion. It transpires that across all phases, it never pays to solve through the Fac\mathscr{F}_{ac} part of the loss curve – it is always better to just increase the number of model parameters.

In this phase (2α>1,2β>1,β>α)(2\alpha>1,2\beta>1,\beta>\alpha), SGD noise is important. The loss curve is P(r)≍Fac(r)+F0(r)+1γBKpp(r)\mathscr{P}(r)\asymp\mathscr{F}_{ac}(r)+\mathscr{F}_{0}(r)+\frac{1}{\gamma B}\mathscr{K}_{pp}(r). Notably, in this phase, the compute-optimal parameter is d⋆(f)=f1/2d^{\star}({\mathfrak{f}})={\mathfrak{f}}^{1/2}, which is independent of α\alpha and β\beta. PLRF that fall within this phase have the same scaling law regardless of data complexity and target complexity. Moreover, the tradeoff occurs, like in Phase II, once the optimizer reaches the Fac\mathscr{F}_{ac}-dominated part of the loss curve. Unlike in Phase II, the optimization is slowed by SGD noise (Kpp\mathscr{K}_{pp}) leading up to that point. We note that there is a dimension-independent burn-in period required for SGD noise to dominate, and for small numerical simulations, one may actually observe an (Fpp,Fac)(\mathscr{F}_{pp},\mathscr{F}_{ac}) tradeoff.

Like Phase III, SGD noise is important. The SGD algorithm in Phase IV will be distinguished from gradient descent. As one approaches the high-dimensional line (2α=12\alpha=1) in Phase III, the Fac(r)\mathscr{F}_{ac}(r) disappears. It becomes too small relative to Fpp\mathscr{F}_{pp} and Kpp\mathscr{K}_{pp}. Moreover at the high-dimensional line, Fpp\mathscr{F}_{pp} becomes important again. Thus, the loss curve in Phase IV (a and b) look like \mathscr{P}\big{(}r,d\big{)}\asymp\mathscr{F}_{pp}(r,d)+\mathscr{F}_{0}(r,d)+\tfrac{1}{\gamma B}\mathscr{K}_{pp}(r,d). The distinction between Phase IVa (1−12<α<0.5,2β>11-\tfrac{1}{\sqrt{2}}<\alpha<0.5,2\beta>1) and Phase IVb (14<α<1−12,2β>1\tfrac{1}{4}<\alpha<1-\tfrac{1}{\sqrt{2}},2\beta>1) is where the compute-optimal tradeoff occurs. It changes from Kpp=F0\mathscr{K}_{pp}=\mathscr{F}_{0} (Phase IVa) to Fpp=Kpp\mathscr{F}_{pp}=\mathscr{K}_{pp} (Phase IVb). In particular it can be (Phase IVb) the SGD noise is so large that increasing the model parameter count is compute-optimal. We note that in this phase dd must be taken very large (in particular larger than we could numerically attain) to get quantitative agreement between the exponents and theory.

In Phase III, Ib, and IVa, the optimal parameter d⋆=f1/2d^{\star}={\mathfrak{f}}^{1/2} (see dashed lines in Fig. 3(b)). These phases, taken together, encompass a large section of the (α,β)(\alpha,\beta)-phase plane. This suggests that there is a potential universal scaling law. Moreover using 1 GPU-day of compute, one reaches scales of dd where the observed exponents in the scaling laws – SGD, the theoretically-derived Volterra equation eq. (10), and the equivalence of P(r)\mathscr{P}(r) eq. (17) – are still changing (see Fig. 4b and c). This serves as a potential warning for empirically derived scaling laws. Additionally, although we have identified the lower-left of the phase diagram (α+β<1/2\alpha+\beta<1/2) as "no power-law", this designation relies on the assumption v>dv>d, which could be relaxed to interesting effect in more realistic (e.g. non-linear) models.

In summary, we analyze a simple three parameter model, PLRF, and derive deterministic expressions for the training dynamics (see Volterra equation (10)). We then extract compute-optimal scaling laws for large dd. We identify 4 phases (+3 subphases) in the (α,β)(\alpha,\beta)-phase plane, corresponding to different compute-optimal curve/loss behaviors. These phase boundaries are determined by the relative importance of model capacity (Phase I, IV), poor embedding of the features (Phase II, III), and the noise produced by the SGD algorithm (Phase III, IV). The latter suggesting that another stochastic algorithm might change the compute-optimal curve; we leave this interesting direction to future research. We also show evidence of a universal scaling law which we also leave for future research to explore. Lastly, we did not fully explore the effects of batch and learning rate on the compute-optimal curves; but we note that only in Phase IV is there a potential gain to be had from increasing the batch. This is again an interesting direction to pursue.

The remainder of the article is structured as follows: in Section 4, we derive the convolution-type Volterra equation for the expected risk under SGD, (7). In Section 5, we analyze the Volterra equation under the deterministic equivalent. A discussion on the convergence threshold for P(r)\mathscr{P}(r) including a necessary and sufficient condition for bounded solutions of (10) (Proposition 5.2) and a proof of Proposition 2.1 are provided in Section 5.2. Some background on Volterra equations and their solutions are provided in Section 5.3.1 followed by the proof of Theorem 2.1 in Section 5.3.2. We finish this section with a detailed description and proofs for the risk curves in all phases, Section 5.4. Section 6 is devoted to deriving and proving the compute-optimal curves in Table LABEL:table:phases_intro. We follow this by Section 7 which analyzes the deterministic equivalent for the resolvent of K^\hat{K}. Here we examine the spectrum of K^\hat{K} from a random matrix point of view. In particular, in this section, we prove estimates on the fixed point equation, mm, see eq. (9). We then give explicit descriptions of the components of the forcing function, F0,Fpp,Fac\mathscr{F}_{0},\mathscr{F}_{pp},\mathscr{F}_{ac}, as contour integrals and show that the error terms errorF\text{error}_{\mathscr{F}} are small, see Section 8. We do the same with the kernel function K\mathscr{K} and kernel norm in Section 9. In Section 10, we derive the asymptotic formulas for the components of the forcing and kernel functions (see Table LABEL:table:forcing_function) used in the compute-optimal curve derivations. Finally, we end with some additional numerical experiments (and their experimental setups) as well as detailed descriptions of the different approaches to estimating the exponents in the scaling law and optimal model-parameter, Section 11.

Derivation of Volterra equation for expected risk under SGD

Here we recall that the (v×v)(v\times v)-matrix D=defDiag(j−2α : 1≤j≤v)D\stackrel{{\scriptstyle\text{def}}}{{=}}\text{Diag}(j^{-2\alpha}\,:\,1\leq j\leq v). Using these moment calculations, we can compute explicitly each of the terms in (20).

First, we consider the gradient term in (20). A simple computation yields

We now turn to the quadratic term in (20). For this, we have the following

This, after taking expectations, is in the form for us to apply the moment computations in (21). Using these moments, we get the following expression:

Now we simplify the 2nd term in the summand

As a result, we deduce by combining (24), (25), and (26) with (23) gives the following representation for the expected quadratic term

We will write our Volterra equation in terms of ρj\rho_{j}’s. Note we can express the loss P(θr)=∥D1/2(Wθr−b)∥2\mathscr{P}(\theta_{r})=\|D^{1/2}(W\theta_{r}-b)\|^{2} by

We can now plug ρj2\rho_{j}^{2} into (30). For this, we need to compute ∇ρj2\nabla\rho_{j}^{2} and ∇2ρj2\nabla^{2}\rho_{j}^{2}:

Using an integrating factor, we can implicitly solve this expression

and thus, we have a discrete Volterra equation

Let us define Kˇ=defWTDW\check{K}\stackrel{{\scriptstyle\text{def}}}{{=}}W^{T}DW. Using the expression in (32),

Analysis of Volterra equation under the deterministic equivalent

From now on, we consider the setting where the initialization of SGD is θ0=0\theta_{0}=0. Let us introduce the forcing function:

and recall the kernel function K(s)\mathscr{K}(s):

While these representations are easy to see from the derivation of the Volterra equation, a more useful representation of the forcing function and the kernel function is through contour integrals over the spectrum of K^\hat{K}. With this in mind, let Γ\Gamma be a contour containing $.Notethatbytheassumptionson. Note that by the assumptions on\hat{K},thelargesteigenvalueisnormalizedtobe, the largest eigenvalue is normalized to be1;hence; hence\Gammacontainsthespectrumofcontains the spectrum of\hat{K}$. Then the forcing function takes the form

Then one can write the Volterra equation (37) as the forcing function plus a convolution with the kernel and the expected loss, i.e.,

The forcing functions F(r)\mathscr{F}(r) and kernel function K(r)\mathscr{K}(r) are random functions as they depend on the random matrix WW. Moreover the expressions via contour integration show that both of these functions can be described in terms of the random matrix K^=D1/2WWTD1/2\hat{K}=D^{1/2}WW^{T}D^{1/2}. Indeed it is the resolvent of K^\hat{K},

Formally, we define the deterministic equivalent for the resolvent R(K^,z)\mathscr{R}(\hat{K},z), denoted by R(z)\mathscr{R}(z) implicitly via a fixed point equation

As mentioned early, this deterministic equivalent, R(z)\mathscr{R}(z) can be viewed, roughly as,

though it is not formally the expectation over WW.

Using this deterministic expression for the resolvent of K^\hat{K}, we defined deterministic expressions for the forcing function via the contour representation of F(r)\mathscr{F}(r) in (39)

We note the similarity with the Volterra equation for SGD. We conjecture that the two processes are close: for {θr}\{\theta_{r}\} the sequence of iterates generated by SGD with θ0=0\theta_{0}=0 and any ε>0\varepsilon>0,

for all admissible VV, dd with probability going to 1 as d→∞d\to\infty.

We leave this for future research and suspect it is true because of deterministic equivalence for random matrices and our numerical simulations.

2 Convergence threshold.

A natural question is: for what choices of batch BB and learning rate γ\gamma does P\mathscr{P} converge? To answer this, we introduce an additional quantity, the kernel norm defined as

If 2α>12\alpha>1, then vv be taken to equal ∞\infty, that is,

In all cases, we choose γ\gamma so that the kernel norm is asymptotic to a strictly positive constant.

A well-known result about convolution-type Volterra such as (45) is that the solution of convolution-type Volterra equation is bounded if and only the forcing function F(r)\mathscr{F}(r) is bounded and the kernel norm ∥K∥<1\|\mathscr{K}\|<1. This naturally leads to conditions for our specific forcing function and kernel function.

The forcing function F\mathscr{F} is bounded and the kernel norm ∥K∥<1\|\mathscr{K}\|<1 for (43) and (44), respectively, if and only if

The first term ensures that the forcing function of the Volterra equation in (45) goes to (i.e., bounded) and the second condition is the same kernel norm bound. Moreover, we can think of condition (i). as the same condition needed for gradient descent to converge while the kernel norm is the effect of noise from SGD.

We also note that in light of Proposition 5.1 the kernel norm does not involve the batch size BB. Therefore the condition ∥K∥<1\|\mathscr{K}\|<1 only places a condition on the learning rate (see below).

We now state necessary/sufficient conditions on the batch size and learning rate (47).

The learning rate, γ>0\gamma>0 and batch size, B>0B>0, satisfy

if and only if the solution P(r)\mathscr{P}(r) to the convolution-type Volterra equation (10) is bounded.

From (47), we need that |1-2\gamma B\lambda_{j}+2\gamma^{2}B\lambda_{j}|<1,\,\,\text{for all\lambda_{j}\in}. For this, we consider two cases.

First, suppose that 1−2γBx+2γ2Bx2<11-2\gamma Bx+2\gamma^{2}Bx^{2}<1 for all x∈x\in. We have that

The roots are precisely x=0x=0 and x=1γx=\frac{1}{\gamma}. If 1/γ>11/\gamma>1, then the inequality in (49) always holds. Therefore, we need that γ<1\gamma<1.

Now suppose −1+2γBx−2γ2Bx2<1-1+2\gamma Bx-2\gamma^{2}Bx^{2}<1. Then we have

The roots of the left-hand side are precisely

For B=1,2,3B=1,2,3, we have complex roots and so (50) automatically holds.

Below the high-dimensional line, 2α<12\alpha<1, the kernel norm diverges with vv for fixed constant γ\gamma, and so we must take γ→0\gamma\to 0 to ensure bounded solutions. Furthermore, with γ→0\gamma\to 0 (at any rate depending on VV) we have the asymptotic equivalence

For a proof of the asymptotic for ∥K∥\|\mathscr{K}\|, see Corollary 9.1.

Following the proof of Prop. 5.2 , we need \frac{1}{2\gamma}\big{(}1\pm\sqrt{1-\tfrac{4}{B}}\big{)}>1 and γ<1\gamma<1. For B=1,2,3B=1,2,3, we have complex roots and so (50) automatically holds. For B≥4B\geq 4, we need that

and this will imply (50). Suppose B=4B=4, then we get that 12>γ\frac{1}{2}>\gamma. For B>4B>4, Taylor expanding (51) at x=∞x=\infty

Hence in this case, we need γB<1\gamma B<1. ∎

Similar results as for Prop. 2.1 and 5.2 hold for the expected SGD loss (via the Volterra equation (41)) by replacing ∥K∥\|\mathscr{K}\| with ∥K∥\|\mathscr{K}\|.

3 Simplification of the Volterra Equation

While convolution-type Volterra equation such as (45) are quite nice and well studied in the literature (e.g., ), we need an approximation of the solution to it to have better understanding of compute-optimal curves. In this section, we show that we can bound (above and below) P(r)\mathscr{P}(r) by a constant multiple of the forcing function F\mathscr{F} and kernel function K\mathscr{K}.

To do this, we need some background on general convolution-type Volterra equations of the form:

where f(t)f(t) is a non-negative forcing function and K(t)K(t) is a monotonically decreasing non-negative kernel function.

Let us define K^{*n}\stackrel{{\scriptstyle\text{def}}}{{=}}(\underbrace{K*K*\ldots*K*K}_{\text{ntimes}})(t), the nn-fold convolution of KK where K∗1=K(t)K^{*1}=K(t).

Under mild assumptions such as ∥K∥=∑t=0∞K(t)<1\|K\|=\sum_{t=0}^{\infty}K(t)<1 and the forcing function ff is bounded, then there exists a unique (bounded) solution P(t)P(t) to (52) and the solution is given by repeatedly convolving the forcing function with KK (see, e.g., [6, Theorem 3.5]),

This representation of the solution to (52) enables us to get good bounds on P(t)P(t). First, we state and prove a lemma attributed to Kesten’s Lemma [1, Lemma IV.4.7].

Suppose the kernel function KK is positive and monotonically decreasing and ∥K∥<∞\|K\|<\infty. Moreover suppose for some ε>0\varepsilon>0, there exists a T(ε)>0T(\varepsilon)>0 such that

Then a1=1a_{1}=1, and we are trying to prove

By definition of the convolution, we have that

where the last equality follows by the equality ∥K∗n∥=∥K∥n\|K^{*n}\|=\|K\|^{n}, [6, Theorem 2.2(i)].

In conclusion, by monotonicity, we have that

If the assumption (53) holds only for T^>t>T\hat{T}>t>T, then the statement of Lemma 5.1 still holds with

We now give a non-asymptotic bound for the general convolution-type Volterra equation.

Let KK and ff be non-negative functions. Suppose KK is monotonically decreasing and for some ε>0\varepsilon>0, there exists a T(ε)>0T(\varepsilon)>0 such that

Moreover, suppose the convergence threshold condition 2(1+ε)∥K∥<12(1+\varepsilon)\|K\|<1 holds. Then

where C=(K(0)K(T)+1)(11−2∥K∥(1+ε))C=\left(\frac{K(0)}{K(T)}+1\right)\left(\frac{1}{1-2\|K\|(1+\varepsilon)}\right).

We consider the upper and lower bound separately.

Lower bound: Since KK and ff is are non-negative, then ∑j=1∞(K∗j∗f)(t)≥(K∗1∗f)(t)≥(K∗f)(t)\sum_{j=1}^{\infty}(K^{*j}*f)(t)\geq(K^{*1}*f)(t)\geq(K*f)(t). Recall the solution to the convolution-type Volterra equation takes the form,

It immediately follows from ∑j=1∞(K∗j∗f)(t)≥(K∗f)(t)\sum_{j=1}^{\infty}(K^{*j}*f)(t)\geq(K*f)(t) the lower bound.

Upper bound: The solution to a Volterra equation (in L1L^{1}) is

By Lemma 5.1 and the hypothesis, there exists a T>0T>0 and ε>0\varepsilon>0 such that

and (2∥K∥(1+ε))j−1<1(2\|K\|(1+\varepsilon))^{j-1}<1. Hence, we have that

3.2 Proof of Theorem 2.1.

We are now ready to show one of the main tools used to analyze the loss function, Theorem 2.1. The result relies on approximations for the kernel and forcing functions found in Section 8 and Section 9. We restate the theorem statement to remind the reader of the result.

Suppose γ\gamma and BB is at most half the convergence threshold and α>14\alpha>\tfrac{1}{4}. There exists an M>0M>0 large and a constant C=C(α,β,M)C=C(\alpha,\beta,M), independent of dd, so that for all admissible vv and dd, for all M<γBrM<\gamma Br,

The convolution further simplifies. For any ϵ>0\epsilon>0, there exists an M>0M>0 and a constant C=C(α,β,M)C=C(\alpha,\beta,M) independent of dd so that for all M<γBrM<\gamma Br,

Note for all γBr>1/Md2α\gamma Br>1/Md^{2\alpha}, we have that cF0≤F(r),K(r)≤CF0(r)c\mathscr{F}_{0}\leq\mathscr{F}(r),\mathscr{K}(r)\leq C\mathscr{F}_{0}(r) for some C,c>0C,c>0. This is where the limiting level starts to dominate. We begin by showing (55). Fix ε>0\varepsilon>0. From Proposition 9.2, we have that there exists an M>0M>0 sufficiently large so that the hypothesis for Kesten’s Lemma, i.e.,

where we used monotonicity of F\mathscr{F} and K\mathscr{K}.

Using Proposition 10.2 and Proposition 10.4, for large d2α/M≥γBr≥Md^{2\alpha}/M\geq\gamma Br\geq M, we have that F(r2)≍F(r)\mathscr{F}(\tfrac{r}{2})\asymp\mathscr{F}(r) since F\mathscr{F} is power law for large rr (see also Corollary 8.1). The same holds for K\mathscr{K}, using Proposition 10.5 and Proposition 9.2, K(r2)≍K(r)\mathscr{K}(\tfrac{r}{2})\asymp\mathscr{K}(r) for d2α/M≥γBr≥Md^{2\alpha}/M\geq\gamma Br\geq M for some M>0M>0.

For small γBr≤M\gamma Br\leq M, we have that F(r/2)≤C\mathscr{F}(r/2)\leq C and K(r/2)≤C\mathscr{K}(r/2)\leq C for some C>0C>0. Since F\mathscr{F} and K\mathscr{K} are monotonic, we can choose a constant so that F(r/2)≲F(r)\mathscr{F}(r/2)\lesssim\mathscr{F}(r) and K(r/2)≲K(r)\mathscr{K}(r/2)\lesssim\mathscr{K}(r) for γBr≤M\gamma Br\leq M.

Now using Proposition 5.1 and Proposition 10.6, we have that

where we used monotonicity of K\mathscr{K} and F\mathscr{F}.

We note that F(s)≍C\mathscr{F}(s)\asymp C for γBs≤M\gamma Bs\leq M for all M>0M>0. Therefore,

On the other hand, by Proposition 5.1, for any ϵ>0\epsilon>0, there is an MM so that for any γBr≥M\gamma Br\geq M,

4 Details of risk curves for the phases

We can now put together a coherent picture of the effect of different choices of α\alpha and β\beta and their impact on the Pareto frontier. We will have 4 distinct phases where the expected loss will exhibit a power law decay and 1 region (α+β≤0.5)(\alpha+\beta\leq 0.5) for which the expected loss has no power law decay (see Figure 3(a)). We will describe each of the 4 power law phases below marked by their boundaries.

First, we recall the forcing function F\mathscr{F} and kernel function K\mathscr{K} introduced in Section 2.1.

The function F0(r)\mathscr{F}_{0}(r) is the component of the forcing function corresponding to the point mass at , Fpp(r)\mathscr{F}_{pp}(r) is the component of the forcing function corresponding to the pure point part of the spectrum, and lastly, the most complicated part of the spectrum, the forcing function corresponding to the distorted features. In particular, we will show in Section 8 the exact definitions of F0,Fpp,Fac\mathscr{F}_{0},\mathscr{F}_{pp},\mathscr{F}_{ac} and ∣errorF∣|\text{error}_{\mathscr{F}}| are small, and, in Section 10, we derive asymptotic-like behaviors for these functions. See Table LABEL:table:forcing_function_appendix for definitions and asymptotics.

Similarly, the kernel function K\mathscr{K} is

Note here that the kernel function has a multiplication by the eigenvalue of K^\hat{K} and so the point mass at will not contribute. In Section 9, we will give an explicit definition of Kpp\mathscr{K}_{pp} and show error terms are small and, in Proposition 10.5, we give the asymptotic-like behavior of Kpp\mathscr{K}_{pp}.

Now we describe in detail the different risk curves that arise for the different phases.

4.1 Above the high-dimensional line (Phases Ia, II, III).

This setting is commonly known as the trace class. It is characterized by four components:

learning rate γ\gamma can be picked independent of dimension;

loss curve does not self average, that is, the loss curve does not concentrate around a deterministic function;

v≥dv\geq d, but vv has no upper bound and so we can take v→∞v\to\infty;

batch, BB, is constrained to be small (see Proposition 5.2).

When 2α>12\alpha>1, or the trace class phase, the loss will exhibit 3 different phases. We described these phases in detail below.

In this phase, it notable for three characteristics:

absolutely continuous part of the forcing function does not participate;

level at which SGD saturates is affected by β\beta;

In this case, the loss curve is just a constant multiple of gradient flow. Hence, we have that

Suppose 2β<12\beta<1 and 2α>12\alpha>1. Suppose the learning rate γ\gamma and batch B>0B>0 satisfy at most half the convergence threshold in Proposition 5.2. Then there exists an M>0M>0 large and constants C=C(α,β,M)C=C(\alpha,\beta,M) and c=c(α,β,M)c=c(\alpha,\beta,M), independent of dd, so that for all admissible vv and dd, for all γBr>M\gamma Br>M

By Theorem 5.1, we know that it suffices to look at the forcing function F\mathscr{F} and kernel function K\mathscr{K}. Moreover, in this regime, we have that γ\gamma and BB are constant (see Proposition 5.2).

The rest of the argument relies on the bounds found in Proposition 10.2, (Fpp)\mathscr{F}_{pp}), Proposition 10.4 (Fac\mathscr{F}_{ac}), Proposition 10.3, (F0)\mathscr{F}_{0}), and Proposition 10.5 (Kpp\mathscr{K}_{pp}).

For the forcing function, Fac(r)=0\mathscr{F}_{ac}(r)=0 as 2β<12\beta<1 (Proposition 10.4). Therefore the forcing function is composed of Fpp(r)\mathscr{F}_{pp}(r) and F0(r)\mathscr{F}_{0}(r).

First, we have that (γBr)−2+1/(2α)<(γBr)−(1+β/α)+1/(2α)(\gamma Br)^{-2+1/(2\alpha)}<(\gamma Br)^{-(1+\beta/\alpha)+1/(2\alpha)} as β<α\beta<\alpha in this phase. Thus, using Proposition 10.2 and Proposition 10.5, for γBr>M\gamma Br>M, where MM is some constant, we have that 1γBKpp(r)≤C×Fpp(r)\frac{1}{\gamma B}\mathscr{K}_{pp}(r)\leq C\times\mathscr{F}_{pp}(r) for some C>0C>0. Hence the result is shown. ∎

As a consequence of the argument above, we know that

absolutely continuous spectrum takes over for r∈(M,d2α/M)r\in(M,d^{2\alpha}/M) for some MM;

Suppose 2β>12\beta>1, 2α>12\alpha>1, and β<α\beta<\alpha. Suppose the learning rate γ\gamma and batch B>0B>0 satisfy at most half the convergence threshold in Proposition 5.2. Then there exists an M>0M>0 large and constants C=C(α,β,M)C=C(\alpha,\beta,M) and c=c(α,β,M)c=c(\alpha,\beta,M), independent of dd, so that for all admissible vv and dd, for all γBr>M\gamma Br>M

By Theorem 5.1, we know that it suffices to look at the forcing function F\mathscr{F} and kernel function K\mathscr{K}. Moreover, in this regime, we have that γ\gamma and BB are constant (see Proposition 5.2).

The rest of the argument relies on the bounds found in Proposition 10.2, (Fpp)\mathscr{F}_{pp}), Proposition 10.4 (Fac\mathscr{F}_{ac}), Proposition 10.3, (F0)\mathscr{F}_{0}), and Proposition 10.5 (Kpp\mathscr{K}_{pp}).

γBr≤M0\gamma Br\leq M_{0}, for some M0M_{0}: First, we have that 1γBKpp(r)≤C0×Fpp(r)\tfrac{1}{\gamma B}\mathscr{K}_{pp}(r)\leq C_{0}\times\mathscr{F}_{pp}(r) (Proposition 10.5) and Fac(r)≤C0×Fpp(r)\mathscr{F}_{ac}(r)\leq C_{0}\times\mathscr{F}_{pp}(r) (Proposition 10.4) for some constant C0>0C_{0}>0. The constant M0M_{0} is where the asymptotic of Fpp\mathscr{F}_{pp} starts to apply.

M0≤γBr≤M1M_{0}\leq\gamma Br\leq M_{1}, for some M0M_{0} and for all M1>M0M_{1}>M_{0}: We see that (γBr)−2+1/(2α)<(γBr)−(1+β/α)+1/(2α)(\gamma Br)^{-2+1/(2\alpha)}<(\gamma Br)^{-(1+\beta/\alpha)+1/(2\alpha)} as β<α\beta<\alpha in this phase. Thus, using Proposition 10.2 and Proposition 10.5, we have that 1γBKpp(r)≤C1×Fpp(r)\frac{1}{\gamma B}\mathscr{K}_{pp}(r)\leq C_{1}\times\mathscr{F}_{pp}(r) for some C1>0C_{1}>0. A quick computation shows that Fac(r)≤Fpp(r)\mathscr{F}_{ac}(r)\leq\mathscr{F}_{pp}(r).

M1≤γBr≤M2d2αM_{1}\leq\gamma Br\leq M_{2}d^{2\alpha}, for any M1M_{1} and some M2M_{2}: The M2M_{2} is the smallest of the two endpoints for the asymptotics of Fpp\mathscr{F}_{pp} and Fac\mathscr{F}_{ac}. As in the previous regime, we have that 1γBKpp(r)≲Fpp(r)\tfrac{1}{\gamma B}\mathscr{K}_{pp}(r)\lesssim\mathscr{F}_{pp}(r). In this region, Fac(r)≍d−1(γBr)−1+1/(2α)\mathscr{F}_{ac}(r)\asymp d^{-1}(\gamma Br)^{-1+1/(2\alpha)} and Fpp(r)≍(γBr)−(1+β/α)+1/(2α)\mathscr{F}_{pp}(r)\asymp(\gamma Br)^{-(1+\beta/\alpha)+1/(2\alpha)}. We see at (γBr)=d2α(\gamma Br)=d^{2\alpha} that (γBr)−β/α≤(d2α)−β/α=d−2β≤d−1(\gamma Br)^{-\beta/\alpha}\leq(d^{2\alpha})^{-\beta/\alpha}=d^{-2\beta}\leq d^{-1} as 2β>12\beta>1. Therefore, at γBr=d2α\gamma Br=d^{2\alpha}, Fpp(r)≲Fac(r)\mathscr{F}_{pp}(r)\lesssim\mathscr{F}_{ac}(r) and we started, i.e., when r=M1r=M_{1} with Fac(r)≲Fpp(r)\mathscr{F}_{ac}(r)\lesssim\mathscr{F}_{pp}(r). Therefore, we must change in this regime to being Fac\mathscr{F}_{ac} dominate.

M2d2α≤γBrM_{2}d^{2\alpha}\leq\gamma Br for all M2M_{2}: In this case, all terms are bounded above by F0(r)\mathscr{F}_{0}(r). ∎

As a consequence of the argument above, we know that

In this case, we see that SGD changes the dynamics over gradient flow. In particular,

absolutely continuous forcing function takes over for iterations r∈(M,d2α/M)r\in(M,d^{2\alpha}/M) for some MM;

Suppose 2β>12\beta>1, 2α>12\alpha>1, and β>α\beta>\alpha. Suppose the learning rate γ\gamma and batch B>0B>0 satisfy at most half the convergence threshold in Proposition 5.2. Then there exists an M>0M>0 large and constants C=C(α,β,M)C=C(\alpha,\beta,M) and c=c(α,β,M)c=c(\alpha,\beta,M), independent of dd, so that for all admissible vv and dd, for all γBr>M\gamma Br>M

By Theorem 5.1, we know that it suffices to look at the forcing function F\mathscr{F} and kernel function K\mathscr{K}. Moreover, in this regime, we have that γ\gamma and BB are constant (see Proposition 5.2). The rest of the argument relies on the bounds found in Proposition 10.2, (Fpp)\mathscr{F}_{pp}), Proposition 10.4 (Fac\mathscr{F}_{ac}), Proposition 10.3, (F0)\mathscr{F}_{0}), and Proposition 10.5 (Kpp\mathscr{K}_{pp}).

γBr≤M0\gamma Br\leq M_{0}, for some M0M_{0}: First, we have that Fpp(r)≤C0×1γBKpp(r)\mathscr{F}_{pp}(r)\leq C_{0}\times\tfrac{1}{\gamma B}\mathscr{K}_{pp}(r) (Proposition 10.5) and Fac(r)≤C0×1γBKpp(r)\mathscr{F}_{ac}(r)\leq C_{0}\times\tfrac{1}{\gamma B}\mathscr{K}_{pp}(r) (Proposition 10.4) for some constant C0>0C_{0}>0. The constant M0M_{0} is where the asymptotic of Kpp\mathscr{K}_{pp} starts to apply.

M0≤γBr≤M1M_{0}\leq\gamma Br\leq M_{1}, for some M0M_{0} and for all M1>M0M_{1}>M_{0}: We see that (γBr)−2+1/(2α)>(γBr)−(1+β/α)+1/(2α)(\gamma Br)^{-2+1/(2\alpha)}>(\gamma Br)^{-(1+\beta/\alpha)+1/(2\alpha)} as β>α\beta>\alpha in this phase. Thus, using Proposition 10.2 and Proposition 10.5, we have that Fpp≤C1×1γBKpp(r)\mathscr{F}_{pp}\leq C_{1}\times\frac{1}{\gamma B}\mathscr{K}_{pp}(r) for some C1>0C_{1}>0. A quick computation shows that Fac(r)≤Kpp(r)\mathscr{F}_{ac}(r)\leq\mathscr{K}_{pp}(r).

M1≤γBr≤M2d2αM_{1}\leq\gamma Br\leq M_{2}d^{2\alpha}, for any M1M_{1} and some M2M_{2}: The M2M_{2} is the smallest of the two endpoints for the asymptotics of Kpp\mathscr{K}_{pp} and Fac\mathscr{F}_{ac}. As in the previous regime, we have that 1γBKpp(r)≲Fpp(r)\tfrac{1}{\gamma B}\mathscr{K}_{pp}(r)\lesssim\mathscr{F}_{pp}(r). In this region, Fac(r)≍d−1r−1+1/(2α)\mathscr{F}_{ac}(r)\asymp d^{-1}r^{-1+1/(2\alpha)} and Kpp(r)≍r−2+1/(2α)\mathscr{K}_{pp}(r)\asymp r^{-2+1/(2\alpha)}. We see at γBr=d2α\gamma Br=d^{2\alpha} that (γBr)−1≤(d2α)−1=d−2α≤d−1(\gamma Br)^{-1}\leq(d^{2\alpha})^{-1}=d^{-2\alpha}\leq d^{-1} as 2α>12\alpha>1. Therefore, at (γBr)≍d2α(\gamma Br)\asymp d^{2\alpha}, Kpp(r)≲Fac(r)\mathscr{K}_{pp}(r)\lesssim\mathscr{F}_{ac}(r) and we started, i.e., when r=M1r=M_{1} with Fac(r)≲Kpp(r)\mathscr{F}_{ac}(r)\lesssim\mathscr{K}_{pp}(r). Therefore, we must change in this regime to being Fac\mathscr{F}_{ac} dominate.

M2d2α≤rγBM_{2}d^{2\alpha}\leq r\gamma B for all M2M_{2}: In this case, all terms are bounded above by F0(r)\mathscr{F}_{0}(r). ∎

As a consequence of the argument above, we know that

4.2 Below the high-dimensional line (Phases IVa, IVb, Ib, Ic).

One of the main differences between the previous regime and this regime is that VV can not be taken to ∞\infty independent of dd. As a result, we call this below the high-dimensional line and it is precisely bounded by whether 2α2\alpha is summable or not.

The four main characteristics of this regime are:

learning rate γ\gamma scales like v−1+2αv^{-1+2\alpha};

vv can not be too large, i.e., dd and vv are proportional;

batch can be large (i.e., γB≤1)\gamma B\leq 1) since the learning rate is small (γ∼v−1+2α\gamma\sim v^{-1+2\alpha}).

In Phases IV, Ib, and Ic, because j−2αj^{-2\alpha} is not summable, the summation of the jj depends on the dimension vv. Thus, the kernel norm is

limiting value of the loss that SGD converges to is unaffected by β\beta;

pure point forcing function plays a role;

absolutely continuous part of the spectrum does not contribute to the forcing function;

The following gives the precise statement.

Suppose 2β>12\beta>1 and 14<α<12\tfrac{1}{4}<\alpha<\tfrac{1}{2}. Suppose the learning rate γ\gamma and batch B>0B>0 satisfy at most half the convergence threshold in Proposition 5.2. Then there exists an M>0M>0 large and constants C=C(α,β,M)C=C(\alpha,\beta,M) and c=c(α,β,M)c=c(\alpha,\beta,M), independent of dd, so that for all admissible vv and dd, for all γBr>M\gamma Br>M

By Theorem 5.1, we know that it suffices to look at the forcing function F\mathscr{F} and kernel function K\mathscr{K}. Moreover, in this regime, we have that γ\gamma decreases like d2α−1d^{2\alpha-1} (see Proposition 5.2). The rest of the argument relies on the bounds found in Proposition 10.2, (Fpp)\mathscr{F}_{pp}), Proposition 10.4 (Fac\mathscr{F}_{ac}), Proposition 10.3, (F0)\mathscr{F}_{0}), and Proposition 10.5 (Kpp\mathscr{K}_{pp}). We first note there is no Fac(r)≲F0\mathscr{F}_{ac}(r)\lesssim\mathscr{F}_{0} and therefore it is too small to contribute.

γBr≤M0\gamma Br\leq M_{0}, for some M0M_{0}: First, we have that 1γBKpp(r)≤C0×Fpp(r)\tfrac{1}{\gamma B}\mathscr{K}_{pp}(r)\leq C_{0}\times\mathscr{F}_{pp}(r) for some constant C0>0C_{0}>0. The constant M0M_{0} is where the asymptotic of Fpp\mathscr{F}_{pp} starts to apply.

M0≤γBr≤M1M_{0}\leq\gamma Br\leq M_{1}, for some M0M_{0} and for all M1>M0M_{1}>M_{0}: We see that γ(γBr)−2+1/(2α)<(γBr)−(1+β/α)+1/(2α)\gamma(\gamma Br)^{-2+1/(2\alpha)}<(\gamma Br)^{-(1+\beta/\alpha)+1/(2\alpha)} since γ≍d2α−1\gamma\asymp d^{2\alpha-1} and 2α<12\alpha<1 in this phase. Thus, using Proposition 10.2 and Proposition 10.5, we have that 1γBKpp(r)≤C1×Fpp\frac{1}{\gamma B}\mathscr{K}_{pp}(r)\leq C_{1}\times\mathscr{F}_{pp} for some C1>0C_{1}>0.

M1≤γBr≤M2d2αM_{1}\leq\gamma Br\leq M_{2}d^{2\alpha}, for any M1M_{1} and some M2M_{2}: The M2M_{2} is the smallest of the two endpoints for the asymptotics of Kpp\mathscr{K}_{pp} and Fpp\mathscr{F}_{pp}. In this region, Fpp(r)≍(γBr)−(1+β/α)+1/(2α)\mathscr{F}_{pp}(r)\asymp(\gamma Br)^{-(1+\beta/\alpha)+1/(2\alpha)} and γ×1γBKpp(r)≍γ×(γBr)−2+1/(2α)≍d2α−1×(γBr)−2+1/(2α)\gamma\times\frac{1}{\gamma B}\mathscr{K}_{pp}(r)\asymp\gamma\times(\gamma Br)^{-2+1/(2\alpha)}\asymp d^{2\alpha-1}\times(\gamma Br)^{-2+1/(2\alpha)}. We see at r=d2αr=d^{2\alpha} that d2α−1(γBr)−1=d−1≥d−2β=(d2α)−β/αd^{2\alpha-1}(\gamma Br)^{-1}=d^{-1}\geq d^{-2\beta}=(d^{2\alpha})^{-\beta/\alpha}. Thus Fpp(r)≲1γBKpp(r)\mathscr{F}_{pp}(r)\lesssim\tfrac{1}{\gamma B}\mathscr{K}_{pp}(r) and we started, i.e., when r=M1r=M_{1} with Kpp(r)≲Fpp(r)\mathscr{K}_{pp}(r)\lesssim\mathscr{F}_{pp}(r). Therefore, we must change in this regime to being Kpp\mathscr{K}_{pp} dominate.

M2d2α≤γBrM_{2}d^{2\alpha}\leq\gamma Br for all M2M_{2}: In this case, all terms are bounded above by F0(r)\mathscr{F}_{0}(r). ∎

As a consequence of the argument above, we know that

𝛼𝛽1(2\beta<1,0.25<\alpha<0.5,2(\alpha+\beta)>1). Phase Ia, Ib, and Ic are quite similar as the dynamics of SGD only depend on the forcing function pure point and limiting value. In this phase, the learning rate γ\gamma is dimension dependent, unlike Phase Ia, and the following hold

limiting value of the loss that SGD converges to is d−2α+1−2βd^{-2\alpha+1-2\beta};

absolutely continuous part of the spectrum does not contribute to the forcing function;

SGD noise not does affect the loss curves.

Although we did not prove the statement for α<14\alpha<\tfrac{1}{4} as we do not have estimates for the kernel function, we believe that statement still holds. We believe that the kernel function stops becoming power law when α<14\alpha<\tfrac{1}{4}, but the forcing function is still power law. The following gives the precise statement.

𝛼𝛽12(\alpha+\beta)>1). Suppose 2β<12\beta<1, 2(α+β)>12(\alpha+\beta)>1, and 14<α<12\tfrac{1}{4}<\alpha<\tfrac{1}{2}. Suppose the learning rate γ\gamma and batch B>0B>0 satisfy at most half the convergence threshold in Proposition 5.2. Then there exists an M>0M>0 large and constants C=C(α,β,M)C=C(\alpha,\beta,M) and c=c(α,β,M)c=c(\alpha,\beta,M), independent of dd, so that for all admissible vv and dd, for all γBr>M\gamma Br>M

By Theorem 5.1, we know that it suffices to look at the forcing function F\mathscr{F} and kernel function K\mathscr{K}. Moreover, in this regime, we have that γ\gamma decreases like d2α−1d^{2\alpha-1} (see Proposition 5.2). The rest of the argument relies on the bounds found in Proposition 10.2, (Fpp)\mathscr{F}_{pp}), Proposition 10.4 (Fac\mathscr{F}_{ac}), Proposition 10.3, (F0)\mathscr{F}_{0}), and Proposition 10.5 (Kpp\mathscr{K}_{pp}). We first note there is no Fac(r)\mathscr{F}_{ac}(r).

γBr≤M0\gamma Br\leq M_{0}, for some M0M_{0}: First, we have that 1γBKpp(r)≤C0×Fpp(r)\tfrac{1}{\gamma B}\mathscr{K}_{pp}(r)\leq C_{0}\times\mathscr{F}_{pp}(r) for some constant C0>0C_{0}>0. The constant M0M_{0} is where the asymptotic of Fpp\mathscr{F}_{pp} starts to apply.

M0≤γBr≤M1d2αM_{0}\leq\gamma Br\leq M_{1}d^{2\alpha}, for any M0M_{0} and some M1M_{1}: The M1M_{1} is the smallest of the two endpoints for the asymptotics of Kpp\mathscr{K}_{pp} and Fpp\mathscr{F}_{pp}. In this region, Fpp(r)≍(γBr)−(1+β/α)+1/(2α)\mathscr{F}_{pp}(r)\asymp(\gamma Br)^{-(1+\beta/\alpha)+1/(2\alpha)} and γ×1γBKpp(r)≍γ×(γBr)−2+1/(2α)≍d2α−1×(γBr)−2+1/(2α)\gamma\times\frac{1}{\gamma B}\mathscr{K}_{pp}(r)\asymp\gamma\times(\gamma Br)^{-2+1/(2\alpha)}\asymp d^{2\alpha-1}\times(\gamma Br)^{-2+1/(2\alpha)}. We see at r=d2αr=d^{2\alpha} that d2α−1(γBr)−1=d−1≤d−2β=(d2α)−β/αd^{2\alpha-1}(\gamma Br)^{-1}=d^{-1}\leq d^{-2\beta}=(d^{2\alpha})^{-\beta/\alpha}. Thus 1γBKpp(r)≲Fpp(r)\tfrac{1}{\gamma B}\mathscr{K}_{pp}(r)\lesssim\mathscr{F}_{pp}(r) and we started, i.e., when r=M1r=M_{1} with Kpp(r)≲Fpp(r)\mathscr{K}_{pp}(r)\lesssim\mathscr{F}_{pp}(r). Therefore, Fpp\mathscr{F}_{pp} must dominate.

M1d2α≤γBrM_{1}d^{2\alpha}\leq\gamma Br for all M1M_{1}: In this case, all terms are bounded above by F0(r)\mathscr{F}_{0}(r). ∎

We expect Prop. 5.7 to hold with the same conclusions for 2β<12\beta<1, 2α<12\alpha<1, and 2(α+β)>12(\alpha+\beta)>1.

As a consequence of the argument above, we know that

Lastly, we consider Phase Ic, which is similar to Phases Ia and Ib. The following holds in this phase.

limiting value of the loss that SGD converges to is d−2α+1−2βd^{-2\alpha+1-2\beta};

absolutely continuous part of the spectrum does not contribute to the forcing function;

SGD noise not does affect the loss curves.

Under the assumption that Theorem 5.1 holds for α<1/4\alpha<1/4, we get the following.

Suppose 2β>12\beta>1 and 0<α<140<\alpha<\tfrac{1}{4} and Theorem 5.1 holds. Suppose the learning rate γ\gamma and batch B>0B>0 satisfy at most half the convergence threshold in Proposition 5.2. Then there exists an M>0M>0 large and constants C=C(α,β,M)C=C(\alpha,\beta,M) and c=c(α,β,M)c=c(\alpha,\beta,M), independent of dd, so that for all admissible vv and dd, for all γBr>M\gamma Br>M

Provided that Theorem 5.1 holds for α<14\alpha<\tfrac{1}{4}, then the proof is identical to Proposition 5.7. ∎

We can not prove this statement as we do not have sharp bounds on the kernel function in this region. We believe that the kernel function stops becoming power law, but the forcing function is still power law. Thus, it should become even more forcing function dominate.

We believe the loss curve follows similar behavior to Phase Ia and Phase Ib, that is,

Compute-optimal curves

In this section, we derive the compute-optimal curves for each of the phases.

Throughout this section, consider the deterministic equivalent loss function P(r)=P(r,d)\mathscr{P}(r)=\mathscr{P}(r,d). Moreover as batch size BB is order 1, it only effects the compute-optimal curves by a constant. Therefore, we can set B=1B=1. For each iteration rr, the SGD costs dd flops, or equivalently r/d=r/d= flops, f{\mathfrak{f}}. The goal is to find the optimal compute line as a function of the number of flops f{\mathfrak{f}}:

If d⋆(f)=defarg mind P(fd,d)d^{\star}({\mathfrak{f}})\stackrel{{\scriptstyle\text{def}}}{{=}}\text{arg\,min}_{d}~{}\mathscr{P}(\tfrac{{\mathfrak{f}}}{d},d), the optimal compute line is precisely \mathscr{P}\big{(}\tfrac{{\mathfrak{f}}}{d^{\star}({\mathfrak{f}})},d^{\star}({\mathfrak{f}})\big{)}.

To do this, we simplify the loss curve P(fd,d)\mathscr{P}(\tfrac{{\mathfrak{f}}}{d},d). While it is possible to minimize this as a function of dd, an alternative function considered is the following

which achieves the right power law behavior as the true compute-optimal curve and deviates from this true curve by an absolutely constant (independent of d,fd,{\mathfrak{f}}) (see Theorem 5.1). Note here some of the terms should be taken as when not defined for the different phases.

Suppose C0,C1>0\mathscr{C}_{0},\mathscr{C}_{1}>0 are constants and γ0,γ1,p0,p1>0\gamma_{0},\gamma_{1},p_{0},p_{1}>0 exponents such that a function P^(r,d)\hat{\mathscr{P}}(r,d) equals

Then replacing r↦fdr\mapsto\tfrac{{\mathfrak{f}}}{d} the minimizer in dd satisfies

The proof is a straightforward computation. The minimizer of P^(f,d)\hat{\mathscr{P}}({\mathfrak{f}},d) in dd must occur where the two terms in the maximum are equal, i.e.,

Solving for this dd gives d⋆d^{\star}. Plugging in the value of d⋆d^{\star} into P^(f,d)\hat{\mathscr{P}}({\mathfrak{f}},d) gives the optimal value. ∎

The possible minimal values of (70), i.e., where pairs of functions in the max are equal, can be reduced further. For instance, if Fac(r,d)\mathscr{F}_{ac}(r,d) exist for the phase, then for some 0<r0<r1<r20<r_{0}<r_{1}<r_{2}

Thus, there are only a maximum of three points to check in order to find the optimal compute curve.

In view of Lemma 6.1, to find the optimal compute curves, we first find the potential curves (i.e., all the possible combinations of two functions in the loss curve are equal while still lying on the loss curve). Then the curve which has the smallest exponent on the flops, f{\mathfrak{f}}, is the optimal compute curve.

To ease notation, we introduce several constants that will be used only in this Section 6.1:

where the asymptotics only hold in specific regions of the space of γBr\gamma Br. For additional details on the derivation of these asymptotics and the constraints on γBr\gamma Br where asymptotics hold, see Section 10.

The constants in the asymptotics are dimension independent and only depend on α,β\alpha,\beta.

The compute-optimal curves are summarized in Table LABEL:table:High_dim_optimal_compute.

In this case, the approximate loss curve is given by

With this, we give a description of the optimal compute curve.

1.2 Phase II.

In this case, the approximate loss curve has three terms (Proposition 5.4 with (60))

Using the Remark 6.2 after Lemma 6.1 and Proposition 5.4 with (60), we only need to check two intersections: Fpp=Fac\mathscr{F}_{pp}=\mathscr{F}_{ac} and Fac=F0\mathscr{F}_{ac}=\mathscr{F}_{0}. The curve which has the smallest (i.e., largest negative) exponent (i.e, steepest curve on a log-log plot) is the compute-optimal curve.

Case 1: Consider Fpp(fd,d)=Fac(fd,d)\mathscr{F}_{pp}(\tfrac{{\mathfrak{f}}}{d},d)=\mathscr{F}_{ac}(\tfrac{{\mathfrak{f}}}{d},d). We apply Lemma 6.1 with

Case 2: Consider Fac(fd,d)=F0(fd,d)\mathscr{F}_{ac}(\tfrac{{\mathfrak{f}}}{d},d)=\mathscr{F}_{0}(\tfrac{{\mathfrak{f}}}{d},d). As before, we apply Lemma 6.1 with

Therefore, Case 1 is the optimal overall. ∎

1.3 Phase III.

In this case, the approximate loss curve has three terms (Proposition 5.5 with (63))

Using the Remark 6.2 after Lemma 6.1 and Proposition 5.5 with (63), we only need to check two curves: 1γBKpp=Fac\tfrac{1}{\gamma B}\mathscr{K}_{pp}=\mathscr{F}_{ac} and Fac=F0\mathscr{F}_{ac}=\mathscr{F}_{0}. The curve which has the smallest (i.e., largest negative) exponent (i.e, steepest curve on a log-log plot) is the compute-optimal curve.

Case 1: Consider Fac(fd,d)=F0(fd,d)\mathscr{F}_{ac}(\tfrac{{\mathfrak{f}}}{d},d)=\mathscr{F}_{0}(\tfrac{{\mathfrak{f}}}{d},d). We did this for Phase II in the proof of Proposition 6.2. Thus, we have

Case 2: Consider 1γBKpp(fd,d)=Fac(fd,d)\tfrac{1}{\gamma B}\mathscr{K}_{pp}(\tfrac{{\mathfrak{f}}}{d},d)=\mathscr{F}_{ac}(\tfrac{{\mathfrak{f}}}{d},d). We apply Lemma 6.1 with

Therefore, Case 2 is the optimal overall. ∎

2 Compute-optimal curves: Below the high-dimensional line (Phase IV, Ib, Ic).

In this section, the main distinction with above the high-dimensional line section is the dependency of the learning rate on vv. In deed, we have that v/d→r∈(0,∞)v/d\to r\in(0,\infty) and the learning rate is chosen so that the kernel norm is constant, i.e.,

We state for completeness the dd and rr dependency on the forcing and kernel function, including the learning rate γ\gamma. We note that these asymptotics only hold for a set of γBr\gamma Br values which depend on the spectral properties of KK (see the propositions listed next to the terms for details).

In these cases, the approximation loss curve is given by (Proposition 5.6 with (65))

As one crosses the 2α=12\alpha=1, line the Fac\mathscr{F}_{ac} disappears and Fpp\mathscr{F}_{pp} emerges. Consequently, there leaves two possible corners where the compute-optimal value could occur at. When α\alpha goes below α=1/4\alpha=1/4, the Kpp\mathscr{K}_{pp} decreases. The difference between IVa and IVb is simply where the compute-optimal occurs. In IVa, the tradeoff occurs between Kpp\mathscr{K}_{pp} and F0\mathscr{F}_{0}, whereas in IVb, the tradeoff occurs at Fpp\mathscr{F}_{pp} and Kpp\mathscr{K}_{pp}.

We give the compute-optimal curve for Phase IVa.

Using the Remark 6.2 after Lemma 6.1 and Proposition 5.6 with (65), we only need to check two curves: Fpp=d1−2α×Kpp\mathscr{F}_{pp}=d^{1-2\alpha}\times\mathscr{K}_{pp} and ×d1−2α×Kpp=F0\times d^{1-2\alpha}\times\mathscr{K}_{pp}=\mathscr{F}_{0}. The curve which has the smallest (i.e., largest negative) exponent (i.e, steepest curve on a log-log plot) is the compute-optimal curve.

Case 1: Consider Fpp(fd,d)=d1−2αKpp(fd,d)\mathscr{F}_{pp}(\tfrac{{\mathfrak{f}}}{d},d)=d^{1-2\alpha}\mathscr{K}_{pp}(\tfrac{{\mathfrak{f}}}{d},d). We apply Lemma 6.1 with

Case 2: Consider d1−2αKpp(fd,d)=F0(fd,d)d^{1-2\alpha}\mathscr{K}_{pp}(\tfrac{{\mathfrak{f}}}{d},d)=\mathscr{F}_{0}(\tfrac{{\mathfrak{f}}}{d},d). We apply Lemma 6.1 with

In this region of α\alpha’s and β\beta’s, Case 2 has a smaller exponent on f{\mathfrak{f}} than in Case 1. ∎

The computations are exactly the same as in Proposition 6.4. For the α\alpha’s and β\beta’s in this region, we see that Case 1 has the smaller exponent on f{\mathfrak{f}} than Case 2. ∎

2.2 Phase Ib.

In this case, the approximate loss curve is given by (Proposition 5.7 with (67))

Note this is true for α>1/4\alpha>1/4, but we expect this to hold without this extra assumption.

With this, we give a description of the optimal compute curve.

We expect the conclusions of Prop. 6.6 to hold for the (α,β)(\alpha,\beta) pairs where 2β<12\beta<1, 2α<12\alpha<1, and 2(α+β)>12(\alpha+\beta)>1.

2.3 Phase Ic.

In this case, the approximate loss curve is given by (Proposition 5.8 with (69))

Note again that this is speculative as we do not have the bounds for the kernel. However we do believe that this is correct. With this, we give a description of the compute-optimal curve.

Spectrum of K^^𝐾\hat{K}: random matrix theory

In this section, we explore the spectra of K^=D1/2WWTD1/2\hat{K}=D^{1/2}WW^{T}D^{1/2}. For this, we use standard tools from random matrix theory to derive a fixed point equation for the Stieljes transform of K^\hat{K}. Indeed, by knowing the Stieljes transform of K^\hat{K}, one can recover the spectral properties.

In particular, we will need the spectra of K^\hat{K} decomposes into 3 parts:

Point mass at z=0z=0: There will be a point mass at z=0z=0 of mass v−dv-d for trivial reasons since v≫dv\gg d.

Pure point outliers: There will be a set of outliers, the pure point spectra, which are at constant order and nearly equal to j−2αj^{-2\alpha} for j=1,2,…,j=1,2,\ldots,

Absolutely continuous part: The spectral bulk, the absolutely continuous part, which form a density on a shrinking window.

In fact, we will not need to give prove a complete picture about the spectra.

In this section, we state the deterministic equivalent for the random matrix (K^−z)−1(\hat{K}-z)^{-1} and give some properties of its “self-consistent spectra.” The starting point for this is the self-consistent equation

The identification ⟷\longleftrightarrow can be made rigorous by showing that

for deterministic sequences of test matices {A}\{A\} with bounded nuclear norm and generally with very high probability in dd. We note that we would need a more precise quantification of errors to be useful for establishing the scaling law for the actual random matrices. In Figure 6, we solve the theoretical spectrum by solving the fixed point equation for m(z)m(z) using a Newton method on a grid of complex zz.

The function mm can also be related to the trace of (K^−z)−1(\widehat{K}-z)^{-1}. From the definition of mm, we can derive the explicit representation theorem.

Multiplying through by zz we should evaluate

Adding and subtracting j−2αm(z)j^{-2\alpha}m(z)

Substituting this in completes the proof. ∎

While an explicit solution of mm is unavailable, we can derive many properties of mm, starting with:

then this is solved uniquely by m(z)m(z) and moreover it is stable in that ∂mF≠0\partial_{m}F\neq 0 in a neighborhood of the solution.

We now introduce FF according to the formula

so that F(m;z)=m/G(m;z).F(m;z)=m/G(m;z). Introduce the stability operator

By the Schwarz-Pick lemma (in the half-plane version), we have

and hence in some sufficiently small neighborhood of G(m(z))=m(z)G(m(z))=m(z), we therefore have

Hence also, in a sufficiently small neighborhood of m(z)m(z)

From Proposition 7.1, we can derive some explicit estimates on mm, which will be sufficient for deriving the estimates on the forcing and kernel functions. We summarize these properties in the following:

Let XX be any random variable with support in (0,1](0,1]. Then the following hold:

Near 0: Suppose that a<0a<0 is a real-valued solution of

Then mm is analytic in a neighborhood of z=0z=0 and m(z)=az+O(z2).m(z)=az+O(z^{2}). If furthermore if for some interval [0,z0][0,z_{0}] the equation

is solvable for a<0a<0, then mm is analytic in a complex neighborhood of the whole interval [0,z0].[0,z_{0}].

We need a lemma on stability of solutions.

If m0m_{0} is an approximate solution of F(m)=1F(m)=1 in that it satisfies

We introduce an ODE (which is the continuous limit of the damped Newton’s method)

Hence we have (1−F(mt))=(1−F(m0))e−t(1-F(m_{t}))=(1-F(m_{0}))e^{-t} for however long the ODE exists. In particular, if we have that on some open set UU of admissible mm containing m0m_{0} that

Hence as there is a neighborhood of m0m_{0} of size δ\delta on which ∂mF(m)∣≥c\partial_{m}F(m)|\geq c then as ∣(1−F(m0,z))∣<cδ|(1-F(m_{0},z))|<c\delta we have

Part 1, Near 0: For the component near , we consider a change of variables and look at q(z)=m(z)/zq(z)=m(z)/z which is therefore the unique solution of the fixed point equation:

Then by hypothesis, we have a solution at z=0z=0 given by F(a,0)=1F(a,0)=1. We wish to continue this solution to a neighborhood of (a,0)(a,0), and so it would suffice to know that the differential equation

has a solution in a neighborhood of the point. Solving for the derivative of qq,

We note that if we solve the equation along the real line, then qq stays real–valued. Furthermore, for all qq with q<0q<0 we have

By analyticity, we can extend this solution into a neighborhood in the upper half plane and on an interval of the real line where this solvable. Hence mm is analytic in this neighborhood and has boundary values given by m(z)/z→am(z)/z\to a.

Part 2, Far away: For the other parts, we use that mm is the solution of

Hence along the geodesic, and provided that ∣m−1∣≤δ|m-1|\leq\delta, we conclude

Integrating along this line segment from infinity, we conclude that provided the right hand side is less than δ\delta,

satisfies ∣∂mF∣≥34|\partial_{m}F|\geq\frac{3}{4}. We also have that

The conclusion now follows from Lemma 7.2. ∎

2 The region near 00 and the spectral bulk

We now bound the contribution of the region near 0.0.

The function m(z)m(z) is analytic in a neighborhood of z=0z=0 of radius c(α)d−2αc(\alpha)d^{-2\alpha} for some c(α)>0c(\alpha)>0. Furthermore, mm is negative on (0,cd−2α)(0,cd^{-2\alpha}), vanishes at , and has ∣m′(0)+κ(v/d)d2α∣≤Cd2α−1|m^{\prime}(0)+\kappa(v/d)d^{2\alpha}|\leq Cd^{2\alpha-1} for all dd sufficiently large where

We furthermore have that in the case 2β<12\beta<1

For the first part, we look to apply Proposition 7.2 part 1. The equation we need to solve is

for a<0.a<0. We change variables by setting a=−d2αϰa=-d^{2\alpha}\varkappa and z=d−2αzz=d^{-2\alpha}\mathfrak{z}, in terms of which

By monotonicity, for ϰ\varkappa positive,

and moreover the lower bound is only less than the upper bound by at most 1d\frac{1}{d} uniformly in ϰ>0.\varkappa>0. In the case that 2α<12\alpha<1, we can bound for ϰ∈\varkappa\in

and hence once more there is an interval [0,c0][0,c_{0}] independent of v/dv/d on which this is solvable and moreover the conclusions now follow in the same way as in the case that 2α<1.2\alpha<1.

The existence and uniqueness of ff follows from Proposition 7.1, where we define

(making appropriate choices of v/dv/d and XX).

is nonvanishing on KK in a neighborhood of ff. Off of the real line, this follows from Proposition 7.1. On the real line, it follows from monotonicity of F\mathcal{F} for f<0f<0.

Hence it follows that on KK, there is a constant C(K)C(K) and a δ0>0\delta_{0}>0 so that if z∈Kz\in K and mm satisfies

We will define a=v/da=v/d, and we will define Δ\Delta as the separation

Then by bounding the errors in a trapezoid rule approximation

where we have used a bound on the xx derivative of the integrand

(which relies on zz being bounded away from and on zz being bounded in modulus). Hence if m(zd−2α)m(zd^{-2\alpha}) is the solution of

To see that mm remains bounded, we let ∂mF\partial_{m}F be the stability operator of the equation

Approximating the sum for ∂mS\partial_{m}S

Differentiating the fixed point equation, we have the differential equation for mm

As the same equation holds for ff and is non-degenerate in a neighborhood of ff (as the stability operator does not vanish in a neighborhood of the solution), we conclude that

uniformly on compact sets for all dd sufficiently large

Hence having approximated ff, we can turn to estimating S(m;z,β)S(m;z,\beta). When 2β<12\beta<1, we may repeat the Riemann sum approximation argument. Specifically, we have

where to bound the errors, we now must estimate

We may subsequently replace in this expression mm by ff.

In the case that 2β>12\beta>1, we subtract from SS the divergence cβ/mc_{\beta}/m and then express

There is an exactly solvable case where even more can be said. Note that when 2α>12\alpha>1 and v/d=∞v/d=\infty, the equation for ff becomes

Changing variables (which requires a contour deformation which restricts the branches considered) by letting x2αz=−fy2αx^{2\alpha}z=-fy^{2\alpha}, so that x=(−f/z)1/(2α)yx=(-f/z)^{1/(2\alpha)}y. Then

If for example α=1\alpha=1, then with g=(−f)1/2g=(-f)^{1/2} we have gg satisfies the quadratic equation

with ±\pm chosen so that Im⁡g≥0\operatorname{Im}g\geq 0 and Re⁡g>0\operatorname{Re}g>0. We note that c1=π2c_{1}=\frac{\pi}{2} and conclude that

with the branch chosen to ensure Im⁡f<0\operatorname{Im}f<0 when Im⁡z>0\operatorname{Im}z>0.

3 The mesoscopic region

We will need the following technical estimate on sums over lattice points.

Note that we may remove a factor 1w\frac{1}{w} from all statements and instead look at the case (with y=−z/wy=-z/w)

Then by a residue computation (applied to the function πcot⁡(πz)1z−y\pi\cot(\pi z)\frac{1}{z-y})

Now Re⁡(z/w)2<0\operatorname{Re}(z/w)^{2}<0, and hence the claim follows. ∎

Let α,β≥0\alpha,\beta\geq 0 with neither equal to 12.\tfrac{1}{2}. We further assume 2α+β≠122\alpha+\beta\neq\tfrac{1}{2}. For u,η,a,b≥0u,\eta,a,b\geq 0 consider with m=a−ibm=a-ib

for real A,BA,B. We suppose that the a,b,u,ηa,b,u,\eta and ϵ\epsilon satisfy

log⁡(1/ϵ)u1+1/(2α)≤cη,\log(1/\epsilon)u^{1+1/(2\alpha)}\leq c\eta,

There is an ϵ0>0\epsilon_{0}>0, a c>0c>0 and a C>0C>0 so that if ϵ∈(0,ϵ0)\epsilon\in(0,\epsilon_{0}) such that

where cβ=∑j=1∞j−2βc_{\beta}=\sum_{j=1}^{\infty}j^{-2\beta} (if β>12\beta>\tfrac{1}{2}) or cβ=0c_{\beta}=0 otherwise and where oα+βo_{\alpha+\beta} is the indicator function of α+β<12\alpha+\beta<\tfrac{1}{2}. Furthermore, let A=A(u+iη)\mathscr{A}=\mathscr{A}(u+i\eta) be the same sum with m→1m\to 1. Then

on the regime considered, where m=a−ibm=a-ib. The dominant contribution of the sum will either come from j−2αa≈uj^{-2\alpha}a\approx u or possibly, when 2β>12\beta>1, from small jj. So the analysis will be done by separately considering windows around the transition window j−2αa≈uj^{-2\alpha}a\approx u, and another analysis for large/small jj. We use the notation for I⊂{1,2,…,v}I\subset\{1,2,\ldots,v\} that AIA_{I} and BIB_{I} are the restrictions of this sum to the range of j∈I.j\in I.

We begin by setting j0j_{0} to be the integer which minimizes ∣j0−2αa−u∣|j_{0}^{-2\alpha}a-u|. We can estimate this difference, noting that

We can estimate j−2αj^{-2\alpha} by Taylor approximation, giving

or if not, for a large M=M(ϵ)≍1/ϵ2M=M(\epsilon)\asymp 1/\epsilon^{2}. Let II the largest possible symmetric interval of jj around j0j_{0} that satisfies the above display.

On this interval, we would like to justify that the Taylor approximation holds. For this, we shall require that M(η+j0−2αb)j02α≤ϵ\sqrt{M}(\eta+j_{0}^{-2\alpha}b)j_{0}^{2\alpha}\leq\epsilon. Note under this condition

Thus the largest difference of ∣j−j0∣|j-j_{0}| on II is bounded above, up to constants, by M(η+ub)u−1−1/(2α)\sqrt{M}(\eta+ub)u^{-1-1/(2\alpha)}. Hence the Taylor approximation is justified in that on II

with the implied constants bounded in terms of ∣1−a∣|1-a| and cc. It follows that for terms outside of II, we have (j0−2αa−j−2αa)2>c′M(η+j0−2αb)2(j_{0}^{-2\alpha}a-j^{-2\alpha}a)^{2}>c^{\prime}M(\eta+j_{0}^{-2\alpha}b)^{2} for some absolute c′c^{\prime} (provided c(α)c(\alpha) was picked sufficiently small).

The contribution of II terms now follows the same path as was done in the first case:

We then do a second replacement, freezing the j−2βj^{-2\beta} in the numerator, and so we need to estimate

Thus with M≍1/ϵ2M\asymp 1/\epsilon^{2} and using the second assumption of the lemma, we get

The sum we can now evaluate using Lemma 7.3. Note this makes zz nearly −i(b+η/u)-i(b+\eta/u) and ww nearly −u1/(2α)(2α)-u^{1/(2\alpha)}(2\alpha), and hence z/wz/w is almost purely imaginary. Thus the error estimate in the Lemma applies and we have (using ∣(η+bu)u−1−1/(2α)∣≳log⁡(1/ϵ)|(\eta+bu)u^{-1-1/(2\alpha)}|\gtrsim\log(1/\epsilon) and η<ϵu\eta<\epsilon u)

Recall the terms of small jj, which is to say those with jj less than those in II, are denoted S.S. For these terms, we have j−2αa−u≥cM(η+ub)j^{-2\alpha}a-u\geq c\sqrt{M}(\eta+ub). For the real and imaginary parts of the sum we have

We shall focus on the imaginary part first. We introduce an approximation for this sum, coming from approximating the denominator by j−4αa2j^{-4\alpha}a^{2}. Thus we introduce

Let cβc_{\beta} be as in the statement of the Proposition. Then

We turn to estimating the difference of BS−iBS′B_{S}-iB_{S}^{\prime}. Using that (j−2αa)2−(−u+j−2αa)2≤2u(j−2αa)(j^{-2\alpha}a)^{2}-(-u+j^{-2\alpha}a)^{2}\leq 2u(j^{-2\alpha}a), we can estimate

To estimate these differences, we break these sums into scales. We let SkS_{k} to be those jj for which

Then we can estimate the number of terms in each of these kk by

For small kk, i.e. those for which (η+ub)2k≤u(\eta+ub)2^{k}\leq u, we can estimate ∣Sk∣≤C(α)(η+ub)2ku−1−1/(2α)|S_{k}|\leq C(\alpha)(\eta+ub)2^{k}u^{-1-1/(2\alpha)}. Call the small kk terms S′S^{\prime} and the remainder S′′S^{\prime\prime}. Then for larger S′′S^{\prime\prime} terms,

For the difference of the imaginary parts on small kk, we may bound j−2βj^{-2\beta} as a multiple of j0−2βj_{0}^{-2\beta} and so we arrive at

Then for the difference of the imaginary parts on large kk

In the event that the exponents are non-negative, which can only occur when 2β>12\beta>1, we may lose a factor which is boundable by the largest kk term (which is constant order) or by a logarithm in the case the exponent is . If either exponent is negative, the expression is dominated by its smallest kk term, for which (η+ub)2k≍u(\eta+ub)2^{k}\asymp u. In all we have

We break the sum into two parts L′L^{\prime} and L′′L^{\prime\prime}, those with j<1.1j0j<1.1j_{0} and those with j≥1.1j0.j\geq 1.1j_{0}. For the terms in L′L^{\prime} we again break into scales, much like in the small jj regime. We let LkL_{k} to be those jj for which

Then we can estimate the number of terms in each of these kk by

This sum is always dominated by the smallest kk, and so we have

As for larger jj, we first remove a potentially divergent term, and so define

In the case that α+β<1/2\alpha+\beta<1/2, we have that (comparing to an integral and using monotonicity)

As for comparing the this divergence with the sum, we have

For the real part, we shall prove a comparison with

which we note is a special case of AA with a−ib=1.a-ib=1. The arguments are now very similar in all regimes to the imaginary parts, and so we just give a summary of the arguments.

The main difference is for j≈j0j\approx j_{0}. Note that using the previous bounds on the transition window, we may discard an interval of ∣j−j0∣≤Mηj01+2α|j-j_{0}|\leq\sqrt{M}\eta j_{0}^{1+2\alpha} from A\mathscr{A} and incur an error of only ϵuβ/α−1/(2α)\epsilon u^{\beta/\alpha-1/(2\alpha)}. On a larger interval, JJ, given by those jj with

by pairing j0+rj_{0}+r with j0−rj_{0}-r, we can bound

For small jj, where we redefine SS as those jj smaller than those in JJ, we further divide to hose jj with ∣j−j0∣≤j0/2|j-j_{0}|\leq j_{0}/2 and those S′S^{\prime} which are further from j0j_{0}.

For the large jj terms, we redefine LL as those jj larger than those in JJ. Again dividing to those with ∣j−j0∣≤j0/2|j-j_{0}|\leq j_{0}/2 and otherwise, we arrive at

This, as in the large terms for the imaginary part, leads to

Finally, we observe that A\mathscr{A} satisfies an estimate of the form

which arise from the transitionary region, the small jj region and the large jj region. ∎

Assume α≠14\alpha\neq\frac{1}{4} and α≠12.\alpha\neq\frac{1}{2}. With z=u+iη(u)z=u+i\eta(u), with

there is a c>0c>0 and an ϵ0\epsilon_{0} so that for all ϵ∈(0,ϵ0)\epsilon\in(0,\epsilon_{0}) there is a cϵ>0c_{\epsilon}>0 so for all u∈[d−2α/cϵ,cϵ]u\in[d^{-2\alpha}/c_{\epsilon},c_{\epsilon}] (with A\mathcal{A} as in Proposition 7.4)

We claim that mm is approximately equal to

with Im⁡m<0\operatorname{Im}m<0. Hence the result boils down to checking:

in a neighborhood of m0m_{0}, using Lemma 7.2.

For showing that ∣F(m0,z)−1∣|F(m_{0},z)-1| we first observe that on the contour selected, if α<12\alpha<\tfrac{1}{2} and ϵ0,cϵ\epsilon_{0},c_{\epsilon} is chosen sufficiently small

Moreover the claimed estimates on 1−F1-F now follow directly from Proposition 7.4.

Now we break the estimation of the sum into regions of jj, as in the proof of Proposition 7.4. We let j0j_{0} be the integer which minimizes (j0−2αa−u)2(j_{0}^{-2\alpha}a-u)^{2}. We define S,L,I,JS,L,I,J to be the sets where

and the rest in JJ, we let XAX_{A} be the restriction of the sum XX to the set of indices AA. For the terms in SS,

with the final sum holding for all δ>0\delta>0 sufficiently small. For the terms in LL,

where oαo_{\alpha} is the indicator of 2α<12\alpha<1. For the terms in II we have

where we have used that the number of terms in this regions is on order of j02α+1(ub+η)j_{0}^{2\alpha+1}(ub+\eta). Now taking η\eta a sufficiently large multiple of uβu\beta, we conclude that the terms in XI≤18.X_{I}\leq\tfrac{1}{8}. For the terms in JJ

here the range of rr is such that at its smallest value j0−2α−1(r)≍(ub+η)j_{0}^{-2\alpha-1}(r)\asymp(ub+\eta), and so we arrive at

Hence picking δ\delta sufficiently small that XS,XLX_{S},X_{L} are both less than 18\tfrac{1}{8}, and subsequently increasing the lower bound on η/(ub)\eta/(ub) sufficiently far, we conclude that all four components can be made less than 18\tfrac{1}{8} and hence that

4 The large z𝑧z region

and the result follows directly from Proposition 7.2.

Then taking the partial derivative in mm,

which is uniformly bounded on UU and on the set mm so ∣m−1∣<δ/2|m-1|<\delta/2. It follows that on UU

For the second part, we start by observing that we can estimate

Hence, combining all these errors we conclude the claim. ∎

Approximation of the forcing function

We now apply the technical estimate to find good approximations for the function F\mathscr{F}. Recall

We decompose the forcing function into a sum of three functions

which will be introduced in the course of the approximation.

The contour we select will come in three parts. The contour Γ0\Gamma_{0} is an arbitrarily small contour enclosing . The contour Γ\Gamma will be in three parts which is symmetric under the reflection z↦−zz\mapsto-z. The main part will be ΓC\Gamma_{C} parameterized by z=u+iη(u)z=u+i\eta(u) with η(u)\eta(u) as in Proposition 7.5 for u∈[u0,u1]u\in[u_{0},u_{1}] where u0=u0(d)=Cd−2αu_{0}=u_{0}(d)=Cd^{-2\alpha} for some large C>0C>0 and u1u_{1} is a small positive constant. This is connected by two curves, one which is a smooth curve ΓL\Gamma_{L} which is on scale d−2αd^{-2\alpha} and which is reflection symmetric, connects u0+iη(u0)u_{0}+i\eta(u_{0}) to its conjugates and crosses the imaginary axis on [0,cd−2α][0,cd^{-2\alpha}] (with cc as in Proposition 7.3). The other ΓR\Gamma_{R} connects u1+iη(u1)u_{1}+i\eta(u_{1}) to its conjugate by a smooth curve which avoids an ϵ\epsilon neighborhood of $$.

For Γ0\Gamma_{0}, using Proposition 7.3, we have

This can be evaluated explicitly in terms of a residue at .

The function F0(r)\mathscr{F}_{0}(r) is constant and

From Proposition 7.3, we can apply the residue formula. Evaluating the residue and bounding the sum produces the statement. ∎

The contours ΓR\Gamma_{R} and ΓL\Gamma_{L} both contribute error terms. Define the sum of the two as

There are positive functions f(r)f(r) and g(r)g(r) satisfying f(r)≤Cexp⁡(−cγBrd−2α)f(r)\leq C\exp(-c\gamma Brd^{-2\alpha}) and g(r)≤Cexp⁡(−cγBr)g(r)\leq C\exp(-c\gamma Br) so that

Furthermore, for any M>1M>1 we can choose u0=Td−2αu_{0}=Td^{-2\alpha} and u1=1/Tu_{1}=1/T with TT sufficiently large that Fcaps(r)\mathscr{F}_{caps}(r) satisfies for γBr≤M\gamma Br\leq M and γBr≥Md2α\gamma Br\geq Md^{2\alpha} and some other C>0C>0

Hence this will appear as essentially constant on the loss curves. When combined with F0\mathscr{F}_{0} we have that F0(r)+Fcaps(r)\mathscr{F}_{0}(r)+\mathscr{F}_{caps}(r) is bounded above and below by constants times d−2α+(2β−1)+−1d^{-2\alpha+(2\beta-1)_{+}-1}.

Both the contributions from ΓL\Gamma_{L} and ΓR\Gamma_{R} give exponentially decaying errors, albeit at much different scales and lead to the ff and gg terms respectively. For the ΓR\Gamma_{R} terms, we simply bound, using Proposition 7.6,

On the ΓR\Gamma_{R} contour, having picked the contour sufficiently close to $(independentof(independent ofv,d),wehaveforsome), we have for some\delta>0$

By construction of the ΓR\Gamma_{R} contour, we can close the contour with an additional (nearly vertical) segment ΓV\Gamma_{V} with real part uu and height ϵu\epsilon u. Moreover this can be chosen to evenly divide two poles {j−2α}\{j^{-2\alpha}\}, by adding small horizontal segments. Then we can estimate on ΓV\Gamma_{V} (essentially by Proposition 7.4, with an extension for very small imaginary part when we split two poles)

Then integrating over ΓV\Gamma_{V}, we get

Having enclosed the poles, we can apply the residue formula, and we have

for some j0j_{0} with j0≍u1−1/(2α)j_{0}\asymp u_{1}^{-1/(2\alpha)}. Hence both contributions of ΓV\Gamma_{V} and ΓR\Gamma_{R} decay like g(r)g(r) for an appropriate choice of δ,C\delta,C.

For ΓL\Gamma_{L}, we use similar arguments. We use Proposition 7.3 to replace the summation by a dd-independent quantity, which also requires rescaling the contour by d−2αd^{-2\alpha}. Then we have

Hence we are left with a dominant contribution of

In the case that 2β>12\beta>1 we instead are left with

As the spectral support of ff has a left edge, these decay exponentially. In either case, we can then deform the contour to run twice along the real axis and then vertically to the ends of the ΓL\Gamma_{L} contour. The component along the vertical portion can be estimated by

(and using the boundedness of f,1/ff,1/f). This can be made to decay faster than the contribution from ff.

Finally, the dominant contributions arise from the contour ΓC\Gamma_{C}. We define:

where cβc_{\beta} is as in Proposition 7.5. Then this gives us the principal contribution to the limit:

Then FC(r)\mathscr{F}_{C}(r) is real-valued and satisfies for some constant CC independent of u1,u0,α,βu_{1},u_{0},\alpha,\beta

Moreover, there is an M=M(u0,u1)>0M=M(u_{0},u_{1})>0 and a positive bounded function C(r)C(r) so that if γBr∈[M,d2α/M]\gamma Br\in[M,d^{2\alpha}/M] then

Furthermore, for any ϵ>0\epsilon>0 there is a M(ϵ,u0,u1)M(\epsilon,u_{0},u_{1}) large enough that C(r)≤1+ϵC(r)\leq 1+\epsilon for γBr∈[M,d2α/M]\gamma Br\in[M,d^{2\alpha}/M].

These follow in a similar way to the earlier Propositions, and so we do not enter the details. Instead, we give a brief overview, using the estimates given in Proposition 7.5 and Proposition 7.4.

Along FC\mathscr{F}_{C}, we can approximate mm uniformly by

where cc is real-valued and bounded and M=M(ϵ).M=M(\epsilon). Hence using Proposition 7.4,

for real valued A\mathcal{A}. Integrating each of these imaginary terms over ΓC\Gamma_{C} produces Fpp\mathscr{F}_{pp} and Fac\mathscr{F}_{ac} respectively. The real part is negligible, as the contour is close to the real axis (in particular the imaginary part of the contour is smaller than the real part by a factor of ϵ\epsilon). ∎

Combining all of these propositions, we have the following conclusion

For any α,β\alpha,\beta with α,β≠1/2\alpha,\beta\neq 1/2 and α+β>12\alpha+\beta>\tfrac{1}{2} there is a function C(r)C(r) bounded above for all rr so that

Moreover, for any ϵ>0\epsilon>0 there is a M(ϵ)M(\epsilon) large enough that C(r)≤1+ϵC(r)\leq 1+\epsilon for γBr∈[M,d2α/M]\gamma Br\in[M,d^{2\alpha}/M] and for γBr>Md2α\gamma Br>Md^{2\alpha}.

This follows directly from Proposition 8.3, 8.2 and 8.1, and needs that the F\mathscr{F} curve is monotone to fill the gaps on which the approximations are made. ( There are potentially two windows on which the various approximations do not overlap: when γBr\gamma Br is a large constant and when it is on order d2αd^{2\alpha}) ∎

Estimation of kernel function

We can now give the approximation of the kernel function, which is represented by

with the same contours that were used for the forcing function.

Using Lemma 7.1, we therefore can represent the kernel function as

By the residue theorem, the contribution from Γ0\Gamma_{0} disappears, as does the vzvz term. Hence we are left with the representations

When α>14\alpha>\tfrac{1}{4}, the dominant contribution comes once more from the contour ΓC\Gamma_{C} for which we get

It now follows swiftly from the estimates on mm:

Suppose α>14\alpha>\tfrac{1}{4}. There is a positive function C(r)C(r) so that

and C(r)C(r) is bounded independent of dd by a function of MM for all rγB<d2αMr\gamma B<d^{2\alpha}M. Moreover for any ϵ>0\epsilon>0 there is an MM sufficiently large so that for rγB∈[M,d2α/M]r\gamma B\in[M,d^{2\alpha}/M], C(r)<1+ϵC(r)<1+\epsilon.

By reflection symmetry, the real part of contour integral for K(r)\mathscr{K}(r) vanishes. Also, for a given contour ΓA\Gamma_{A}, we will define

and we will estimate each piece of Γ=ΓR+ΓC+ΓL\Gamma=\Gamma_{R}+\Gamma_{C}+\Gamma_{L} separately.

We begin with the contributions from ΓR\Gamma_{R}. Using Proposition 7.6, we have that on ΓR\Gamma_{R}

Following the same steps as in the proof of Proposition 8.2, we can extend the ΓR\Gamma_{R} contour by a straight line ΓV\Gamma_{V} to enclose some residues, which leads to

with j0≍u1−1/(2α).j_{0}\asymp u_{1}^{-1/(2\alpha)}. Moreover, the contribution of the ΓV\Gamma_{V} contour can be estimated (for some δ>0\delta>0 which can be made small by increasing u1u_{1}) by

Meanwhile making a Riemann sum approximation (and changing variables by j−2α=uj^{-2\alpha}=u)

for 2γBr<1u1.2\gamma Br<\frac{1}{u_{1}}. Hence by taking u1u_{1} sufficiently small, we conclude that for 2γBr<1u1,2\gamma Br<\frac{1}{u_{1}},

and also that ∣KR(r)∣≲e−2γBru1(1−δ)|\mathscr{K}_{R}(r)|\lesssim e^{-2\gamma Bru_{1}(1-\delta)} for larger (2γBr)(2\gamma Br).

The contributions from ΓC\Gamma_{C} give, in a similar way for 2γBr>1u12\gamma Br>\frac{1}{u_{1}} and 2γBr<1u12\gamma Br<\frac{1}{u_{1}}

Moreover for any ϵ>0\epsilon>0 there is an M>0M>0 sufficiently large that when (2γBr)(2\gamma Br) is in [M,d2α/M][M,d^{2\alpha}/M],

by first choosing ϵ>0\epsilon>0, then choosing the contour as in Proposition 7.5 sufficiently far, and then possibly shrinking [u0,u1][u_{0},u_{1}]. For larger rr, it further satisfies an estimate that for some δ>0\delta>0, which can be made smaller by increasing u0u_{0}, KL(r)≲e−2γBru0(1−δ)\mathscr{K}_{L}(r)\lesssim e^{-2\gamma Bru_{0}(1-\delta)}.

Finally, the contributions from ΓL\Gamma_{L}, we have after changing variables

This can be compared to the same expression with m(zd2α)→f(z)m(zd^{2\alpha})\to f(z) and replacing (1−2γBzd−2α+2γ2Bz2d−4α)r→exp⁡(−2γBr(Re⁡z)d−2α)(1-2\gamma Bzd^{-2\alpha}+2\gamma^{2}Bz^{2}d^{-4\alpha})^{r}\to\exp(-2\gamma Br(\operatorname{Re}z)d^{-2\alpha}). This gives for 2γBr≲d2α2\gamma Br\lesssim d^{2\alpha}

where f(u)=−1πlim⁡ϵ→0f(u+iϵ)\mathfrak{f}(u)=\frac{-1}{\pi}\lim_{\epsilon\to 0}f(u+i\epsilon) is the spectral density corresponding to ff. Hence it follows that for 2γBr≲d2α2\gamma Br\lesssim d^{2\alpha},

In contrast, when α<14\alpha<\tfrac{1}{4}, the dominant contribution to K\mathscr{K} is from KL\mathscr{K}_{L}, so that

and moreover the density f(u)≲u−1/(2α)\mathfrak{f}(u)\lesssim u^{-1/(2\alpha)} so that the integral is convergent (which is implicit in Proposition 7.5)

We conclude with noting that for ther norm of K\mathscr{K} we can directly evaluate it using a contour integral. Summing the contour integral expression

We additionally can more generally evaluate a partial norm

Combining this with Proposition 7.6, this leads directly to tight estimates for the kernel norm.

When 2α<12\alpha<1 (and recalling that we take γ\gamma on the order d2α−1d^{2\alpha-1} in this case),

Furthermore, for any ϵ>0\epsilon>0 there is an M>0M>0 so that if γBr>M\gamma Br>M then

For the first case with 2α>12\alpha>1, Proposition 7.6 gives on ΓR\Gamma_{R}

Using this, and completing the ΓR\Gamma_{R} contour via a vertical line, we get a residue contribution which matches the claim, up to some number of terms j0j_{0} (which can be made as large as desired). Proposition 7.5 and 7.3 can be used to control the parts of the contour near and in the middle.

For the second case 2α<12\alpha<1, since γ\gamma is small, we may deform the contour to be at a fixed distance from $,andthenoncemorewecanuseProposition7.6whichgivesin, and then once more we can use Proposition 7.6 which gives in1$ step that

For the final statement, under the conditions given on rr

uniformly over the contours, and the estimate follows directly. ∎

From here, we can derive the “sub-exponential” property of K\mathscr{K}.

Suppose α>14\alpha>\tfrac{1}{4}. For any ϵ>0\epsilon>0, there is an MM sufficiently large so that for γBr∈[M,d2α/M]\gamma Br\in[M,d^{2\alpha}/M]

We note that in the range of rr given, we can conclude that for any δ,ϵ>0\delta,\epsilon>0, by increasing MM

where the final estimate follows by estimating

once γBr>M\gamma Br>M, and moreover their ratio tends to 11 as M→∞M\to\infty.

With these estimates in place, we can break the estimate up as

where we have used that Kpp(r(1−δ))≤1+ϵ1−ϵ(1+O(δ))Kpp(r)\mathscr{K}_{pp}(r(1-\delta))\leq\frac{1+\epsilon}{1-\epsilon}(1+O(\delta))\mathscr{K}_{pp}(r). ∎

Asymptotics of forcing function and kernel function

With this, we now analyze the asymptotics of each of these terms individually. These asymptotics often rely on a result about how close a Riemann sum is to its integral. We state below the main result of this nature that we used:

If ff is continuous, then for each integer n>0n>0, the integral of ff on [a,b][a,b] is approximated by

where xi=a+i(b−a)/nx_{i}=a+i(b-a)/n, 0≤i≤n0\leq i\leq n. Define the error in the trapezoid rule

If ff has an integrable first derivative as an improper integral, thens

In this section, we prove an asymptotic for the pure point forcing term, see (82),

Suppose 2α+2β>12\alpha+2\beta>1. For any ϵ>0\epsilon>0, there is an M>0M>0 so that for γBr≥M\gamma Br\geq M,

Let ρ=−(1+β/α)+1/(2α)\rho=-(1+\beta/\alpha)+1/(2\alpha). A simple computation, using the change of variables w=2γBruw=2\gamma Bru, yields

Recall, from Proposition 8.1, the forcing function point mass at , satisfies

In this section, we provide an asymptotic for F0(r)\mathscr{F}_{0}(r) (see Proposition 10.3) which represents the limiting value the loss obtains as r→∞r\to\infty. Unlike the pure point process above, this asymptotic depends on whether 2β>12\beta>1.

We begin by showing that the κ\kappa defined implicitly in (84) is uniquely determined and dimensionless.

Suppose vv and dd are admissible such that the ratio vd>1\tfrac{v}{d}>1. Then the equation

has a unique solution κ\kappa such that 0<κ<∞0<\kappa<\infty.

To show that κ\kappa is unique, amounts to showing that G(w)G(w) is strictly increasing for w≥0w\geq 0. First, we see that

We note that w↦u2αw+u2αw\mapsto\frac{u^{2\alpha}}{w+u^{2\alpha}} is strictly decreasing in ww. So w↦1−u2αw+u2αw\mapsto 1-\frac{u^{2\alpha}}{w+u^{2\alpha}} is strictly increasing in ww. Hence G(v)G(v) is strictly increasing and there is a unique solution to G(κ)=1G(\kappa)=1. ∎

Now we give an asymptotic for F0\mathscr{F}_{0}.

Suppose vv and dd are admissible such that the ratio v/d>1v/d>1 and suppose 2α+2β>12\alpha+2\beta>1. Let 0<κ(v/d)<∞0<\kappa(v/d)<\infty be the unique solution to

We consider 2 cases. Let κ=κ(v/d)\kappa=\kappa(v/d).

To handle the large jj values, we see that there exists a j0j_{0} large so that

where we used that j−2ακd2α+1>1j^{-2\alpha}\kappa d^{2\alpha}+1>1. For the small jj, we use that dd can be large. Hence,

For sufficiently large dd, we can make the right-hand-side small. Therefore, E1(r)\mathscr{E}_{1}(r) is small for sufficiently large dd and hence, the result holds.

Case 2: Suppose 2β<12\beta<1: To show this case, we define the following errors

It is clear, for sufficiently large dd, E22(r)\mathscr{E}_{22}(r) is small.

For the first error term, we use a Riemann sum approximation, that is,

Letting a=1/da=1/d, b=v/db=v/d, n=v−1n=v-1, xj=1/d+j/dx_{j}=1/d+j/d, and f(x)=x−2(α+β)x−2ακ+1f(x)=\frac{x^{-2(\alpha+\beta)}}{x^{-2\alpha}\kappa+1}, we can approximate the summation with an integral. Using Prop. 10.1,

We now turn to the part of the forcing function attributed to the distorted features, defined as

where cβ=∑j=1vj−2βc_{\beta}=\sum_{j=1}^{v}j^{-2\beta} if 2β>12\beta>1 and otherwise. From this, we derive a simple asymptotic formula.

There exists a constant C(α,β)>0C(\alpha,\beta)>0 such that

Suppose now 2α>12\alpha>1 and 2β>12\beta>1. For any ϵ>0\epsilon>0, there is an M>0M>0 so that for γBr∈[M,d2α/M],\gamma Br\in[M,d^{2\alpha}/M],

We proceed by cases. The case 2β<12\beta<1 is immediate as cβc_{\beta} is only non-zero for 2β>12\beta>1.

Case: 2β>12\beta>1 and 2α<12\alpha<1. In this case, we just bound directly bound Fac(r)\mathscr{F}_{ac}(r). Dropping the exponential, we get

We know that F0(r)≍d−2α+max⁡{0,1−2β}\mathscr{F}_{0}(r)\asymp d^{-2\alpha+\max\{0,1-2\beta\}} and thus the result is shown.

Case: 2β>12\beta>1 and 2α>12\alpha>1. First, we make the following observation. The integral is

Define C=cβ2αC=\frac{c_{\beta}}{2\alpha}. Let us consider the following

Case: E1\mathcal{E}_{1}. Suppose γBr≤1/Md2α\gamma Br\leq 1/Md^{2\alpha}. Here we can just use directly the uu and disregard the exponential:

By choosing MM large, this can be made small.

Case: E2\mathcal{E}_{2}. Suppose γBr≥M\gamma Br\geq M. Let us consider

Therefore, by choosing MM large, we have that this can be small. This proves (86).

4 Kernel function asymptotic.

We recall the term Kpp\mathscr{K}_{pp} defined as

We now give an asymptotic for such a function.

Suppose α>1/4\alpha>1/4. For any ϵ>0\epsilon>0, there is an M>0M>0 so that for γBr≥M\gamma Br\geq M,

The first part of the argument, (87), follows immediately from the proof of Fpp\mathscr{F}_{pp}, Prop. 10.2.

The later inequality follows using the same bounding argument as Fpp(r)\mathscr{F}_{pp}(r).

We now turn to the last quantity that appears in the Volterra equation.

and it follows for all γBr≤Md2α\gamma Br\leq Md^{2\alpha},

Suppose 2β>12\beta>1. First note that in this region ∑s=0Md2α/(γB)F0(r)≲1γB\sum_{s=0}^{Md^{2\alpha}/(\gamma B)}\mathscr{F}_{0}(r)\lesssim\frac{1}{\gamma B} for any fixed M>0M>0, Proposition 10.3.

To handle the rest of the sum, we see that

Using a similar argument for Fac(r)\mathscr{F}_{ac}(r) (Proposition 10.4)when 2α>12\alpha>1 (otherwise we do not need to worry about Fac\mathscr{F}_{ac}), we have that

The first result, (88), then follows from Corollary 8.1.

Using the asymptotic for Kpp\mathscr{K}_{pp} (Proposition 10.5),

We will show that this is less than Fpp(r)\mathscr{F}_{pp}(r). Using the asymptotic for Fpp(r)\mathscr{F}_{pp}(r) (Proposition 10.2), let us suppose

In this region, the learning rate is γ≍d2α−1\gamma\asymp d^{2\alpha-1}. Thus, we see that

We will show that this is less than Fpp\mathscr{F}_{pp}. For this, we see

Since there is no Fac\mathscr{F}_{ac} in this region, we immediately get from Corollary 8.1

for all rr. This proves the result for 2β<12\beta<1 and 2α<12\alpha<1.

Note here that γ\gamma is constant. We will show that this is less than Fpp(r)\mathscr{F}_{pp}(r). Using the asymptotic for Fpp(r)\mathscr{F}_{pp}(r) (Proposition 10.2), let us suppose

We will show that this is less than Fpp\mathscr{F}_{pp}. For this, we see

Now we see that (γBr)β/α≲d2β≲d2β+2α−1(\gamma Br)^{\beta/\alpha}\lesssim d^{2\beta}\lesssim d^{2\beta+2\alpha-1}. Hence, we have that

Experimental results

To measure the exponents of the scaling law and parameter count, we follow approachWe did not use approach 3 in , which is more subtle than the other two; see . 1 and 2 from . We explain the method below using (α,β)=(0.5,0.7)(\alpha,\beta)=(0.5,0.7) as an example. The theoretical prediction of the scaling law and parameter count exponents for this example are η=0.5\eta=0.5 and ξ=0.5\xi=0.5, resp. (see Table LABEL:table:phases_intro). We then repeat this procedure for total of 32 pairs of (α,β)(\alpha,\beta) in the phase diagram; see Fig. 14 and Fig. 15. The theoretical predictions of these two exponents are shown in the heatmaps Fig. 8.

The SGD learning curves for (α,β)=(0.5,0.7)(\alpha,\beta)=(0.5,0.7) with parameters d∈d\in are shown in Fig. 9(a).

We follow Sec 3.1 in . First, we choose an IsoFLOP window [fmin,fmax][{\mathfrak{f}}_{\text{min}},{\mathfrak{f}}_{\text{max}}] and construct fj{\mathfrak{f}}_{j}’s using a geometric spacing between f1=fmin{\mathfrak{f}}_{1}={\mathfrak{f}}_{\text{min}} and fn=fmax{\mathfrak{f}}_{n}={\mathfrak{f}}_{\text{max}}. For each IsoFLOP slice, fj{\mathfrak{f}}_{j}, (e.g., fj=2e7{\mathfrak{f}}_{j}=2e7 is the vertical line in Fig. 9(a)), we find the minimum loss across all dd. We denote this minimum value by P⋆(fj)\mathscr{P}^{\star}({\mathfrak{f}}_{j}) and the associated optimal parameter by d⋆(fj)d^{\star}({\mathfrak{f}}_{j}). As an example, in Fig. 9(a), P⋆(fj)=1.6e−3\mathscr{P}^{\star}({\mathfrak{f}}_{j})=1.6e-3 and the associated optimal parameter d⋆(fj)=6400d^{\star}({\mathfrak{f}}_{j})=6400.

We obtain the compute-optional frontier (highlighted in red in Fig. 9(b)) by plotting

We then fit a power-law curve P⋆(f)=a×f−η^\mathscr{P}^{\star}({\mathfrak{f}})=a\times{\mathfrak{f}}^{-\hat{\eta}} to predict the relationship between the compute f{\mathfrak{f}} and optimal loss P⋆\mathscr{P}^{\star}. This is shown as the dashed line in Fig. 9(b). For (α,β)=(0.5,0.7)(\alpha,\beta)=(0.5,0.7), this gives

2 Measuring parameter count exponent: Approach 0

One benefit of our theoretical framework is that the solution of the Volterra equation (eq. 10) is deterministic. As such, precise numerical evaluation can determine the instantaneous slope of the compute-optimal curves using a new approach that is not necessarily feasible when dealing with noisy SGD curves. Specifically, we search for the unique tangent line that intersects the loss-versus-flops curves for two adjacent values of dd, i.e. we numerically solve the following system for f1f_{1} and f2f_{2}:

where P1P_{1} is the loss curve for d=d1d=d_{1} and P2P_{2} is the loss curve for d=d2d=d_{2}. When d1d_{1} and d2d_{2} are close, we obtain an accurate estimate of the parameter count exponent by measuring the discrete logarithmic derivative, (log⁡(d2)−log⁡(d1))/(log⁡(f2∗)−log⁡(f1∗))(\log(d_{2})-\log(d_{1}))/(\log(f_{2}^{*})-\log(f_{1}^{*})).

3 Measuring parameter count exponent: Approach 1

To predict the optimal parameter count exponent, we fit the function d⋆=a×fbd^{\star}=a\times{\mathfrak{f}}^{b}, a,ba,b constants, to the measurements in (92) (see e.g., Fig. 10(a)). For the example (α,β)=(0.5,0.7)(\alpha,\beta)=(0.5,0.7) (Fig. 10(a)), this approach gives

Note that the fit of the exponent is very sensitive to the choice of IsoFLOP window. When we change the window from [1e6,1e8][1e6,1e8] to [2e6,0.5e8][2e6,0.5e8], the parameter count exponent changes from 0.510.51 to 0.580.58, as shown in Fig.10(b). The theoretical prediction of this exponent is 0.50.5.

4 Measuring parameter count exponent: Approach 2

For each IsoFLOP slice, fj{\mathfrak{f}}_{j}, we obtain a set of training loss values depending on dd, {P(fj,di)}1≤i≤m\{\mathscr{P}({\mathfrak{f}}_{j},d_{i})\}_{1\leq i\leq m}. In our running example, d1=200d_{1}=200 and dm=12800d_{m}=12800 (see Fig. 9(a)). We then fit a parabola (quadratic function) to {(log⁡P(fj,di),log⁡di)}1≤i≤m\{(\log\mathscr{P}({\mathfrak{f}}_{j},d_{i}),\log d_{i})\}_{1\leq i\leq m}, i.e., we find (a,b,c)(a,b,c) such that

This is shown in Fig. 11(a). After solving for (a,b,c)(a,b,c), we find the d⋆(fj)d^{\star}(f_{j}) that minimizes a2log⁡2d+blog⁡d+ca^{2}\log^{2}d+b\log d+c. Repeating this procedure for all fj{\mathfrak{f}}_{j}’s gives a set of pairs {(fj,dj⋆)}1≤j≤n\{({\mathfrak{f}}_{j},d^{\star}_{j})\}_{1\leq j\leq n}. In the final step, we power-law fit this set. For the example (α,β)=(0.5,0.7)(\alpha,\beta)=(0.5,0.7) (see Fig. 11(b)), this gives

5 Exponents comparison: Theory vs measurements

We compare the empirical measurements of the exponents against their theoretical predictions in Fig. 12. We chose three slices across the phase diagram

α=0.7\alpha=0.7 Slice (Fig. 12(a)), in which (α,β)(\alpha,\beta) goes from Phase Ia, II and III.

α=0.27\alpha=0.27 Slice (Fig. 12(b)), in which (α,β)(\alpha,\beta) goes from Phase Ib to Phase IVb.

β=0.7\beta=0.7 Slice (Fig. 12(c)),, in which (α,β)(\alpha,\beta) goes from Phase Ic, IVb, IVa, III and to II.

For the scaling law exponents, the empirical measurement agrees with the theoretical prediction quite well. For the parameter count, the agreement is good but not as good as that of the scaling law exponents. Noticeably, there is disagreement between Approach 1 and Approach 2. Such disagreement is not surprising, as empirical measurements are sensitive to the choice of the IsoFLOP windows and we use the same IsoFLOP window [1e6,5e8][1e6,5e8] for all (α,β)(\alpha,\beta). This is clearly suboptimal. We briefly discuss this in the next subsection.

6 Instantaneous slope

In this section, we demonstrate that there can be strong finite-size dd effects in the measurements of the scaling law and parameter count exponents. We measure the instantaneous slope as a function of parameter count dd for the Volterra equation (10). See Fig. 13. To do so, we generate the Volterra solutions for a geometrically spaced sequence of dd’s with ratio 1.051.05. We then apply Approach 1 with a very dense IsoFLOP window (100 IsoFLOP Slices between [2e4,2e7][2e4,2e7]). We then slide a smaller IsoFLOP window (20 IsoFLOP slices) from left to right to generate a sequence of scaling law (parameter count) exponent, as shown in the middle (right) plot in Fig. 13. These exponents varying slowly when the window slides from a small flops regime to a large flops regime. For example, the scaling law exponent η\eta changes from η=0.440\eta=0.440 to η=0.413\eta=0.413 from left to right, while the parameter count exponent changes from ξ=0.450→0.575\xi=0.450\to 0.575. Using the global window (100 IsoFLOP) to measure these exponents, we have η=0.42\eta=0.42 and ξ=0.52\xi=0.52 which are very close to their average over all small windows: η=0.418\eta=0.418 and ξ=0.526\xi=0.526.

7 Additional plots for different phases

We summarize the measurement of the scaling law exponents and optimal parameter count exponents in Fig. 14 and Fig. 15, resp.

Acknowledgements

C. Paquette is a Canadian Institute for Advanced Research (CIFAR) AI chair, Quebec AI Institute (MILA) and C. Paquette was supported by a Sloan Fellowship, Google Grant (MILA), Discovery Grant from the Natural Science and Engineering Research Council (NSERC) of Canada, NSERC CREATE grant Interdisciplinary Math and Artificial Intelligence Program (INTER-MATH-AI)", and FRQNT New University Researcher’s Start-Up Program; Research by E. Paquette was supported by a Google Grant (MILA) and Discovery Grant from the Natural Science and Engineering Research Council (NSERC) of Canada.

References