Revisiting scaling laws via the z-transform
In the last few years, we have seen a surge of empirical and theoretical works about “scaling laws”, whose goals are to characterize the performance of learning methods based on various problem parameters (e.g., number of observations and parameters, or amount of compute). From a theoretical point of view, this marks a renewed interest in asymptotic equivalents—something the machine learning community had mostly moved away from (and, let’s be honest, kind of looked down on) in favor of non-asymptotic bounds. The two types of bounds have their own pros and cons, and I value both of them, but on a personal note, after having spent close to twenty years in proving (sometimes tedious) non-asymptotic results, proving asymptotic results is particularly rewarding, especially when you experience that “aha!” moment where the empirical behavior aligns perfectly with the derived expression (see some examples below).
Scaling laws for quadratic optimization require aggregating the effects of all eigenvalues of the Hessian matrix and not considering only the worst one. This was done with Laplace’s method in an earlier post for gradient descent and partially for Nesterov acceleration. This blog post explores similar asymptotic scaling laws and will consider stochastic algorithms, but there is more to it.
I will use a classical tool from applied mathematics, electrical engineering, and computer science: the z-transform (a.k.a. generating function) of a discrete sequence. My goal in this blog post is to present the essentials of the method. For more details, see my recent preprint [1], with lots of potential follow-ups. Note that the z-transform has already been used in the context of stochastic gradient descent for stability analysis [15, 20] and for deriving convergence rates with constant momentum [22].
z-transform method and final value theorem
From Abel’s theorem to the finite value theorem. Given a sequence , its z-transform is the function defined for a complex argument , as (note the change of convention where is replaced by ). The behavior of the series defined by can be characterized by the behavior of for tending to while remaining in . This is the classical Abel’s theorem: when the series defined by is convergent, then
When applied to for , with , then we have , and where is the z-transfom of . We then obtain the final value theorem, which states
From limits to asymptotic equivalents. In order to obtain equivalents of the sequence (and not simply its limit), we can use two additional properties:
- the z-transform of is , leading to
- To treat non-integer powers, we have the following identity, valid for any real , where is the Gamma function. A classical example is , for which .
Combining the last two properties (with an extension to higher-order derivatives), when the two limits exist, we have:
Tauberian theory. In order to show that limits and asymptotic equivalents exist, several options are available. When only considering real-valued arguments for the z-transforms, various sufficient conditions have been derived from the work of Hardy and Littlewood [2] (the book from Jacob Korevaar [3] is a great source of detailed results). In a nutshell, oscillating sequences such as are the ones where the limits are not equal (or may not exist), and a classical sufficient condition is that there exists a constant such that for all , (in particular, with , being decreasing is a sufficient condition). Alternative frameworks can also be considered using complex analysis, which only depends on property of the z-transform for complex [4, 5].
Properties of the z-transform. What makes the z-transform so versatile is a suite of properties that link modifications of the sequence to its z-transform (see more details in [1, 6]). The most important ones are:
- Shift: If is the z-transform of the sequence , then is the z-transform of the sequence , that is, shifted by 1. This implies that sequences that satisfy a linear difference equation lead to rational z-transforms.
- Multiplication by a polynomial: If is the z-transform of , then is the -transform of . Thus, when we have a difference equation with rational coefficients (in ), this leads to an ordinary differential equation for the z-transform.
Classical use of the z-transform method to derive asymptotic equivalents. The z-transform method is a classical tool, with already many applications, e.g., in combinatorics, analysis of recurrence relations, queuing theory, signal processing, and control (see [6, 7]). In this blog post, I will focus on optimization of quadratic functions.
Gradient descent and spectral dimension
Like in an earlier post, we consider an idealized quadratic optimization problem in infinite dimension, which can be rewritten as the minimization of
Thus, given a spectral decomposition with eigenvalues in and eigenvectors , we get the following performance criterion
The spectral dimension defined by [8] corresponds to a measure whose behavior around zero has density , or in almost equivalent terms so that around , with a similar expansion for derivatives. This leads directly to a an explicit scaling law in which exactly recovers an earlier post (which was using Laplace method) with a different proof.
The spectral dimension depends explicitly on problem parameters:
- For least-squares regression, as described in an earlier post and in many papers, this corresponds to (“capacity” conditions) and (“source” conditions), leading to assumed to be positive, and . The equivalent is then with nice connections with non-asymptotic bounds for the same problem.
- For gossip, as shown in [8], we get that is the underlying dimension of the set on which local messages are sent.
Summary. Linear iterations lead to rational z-transforms along all eigenvectors, and then asymptotics of the Stieltjes transform (based on the spectral dimension) can be used after partial function decomposition. For gradient descent (a simple linear iteration with constant coefficients), this can be easily achieved in other ways. However, for time-dependent coefficients (Nesterov acceleration) and for stochastic iterations, it will provide a new direct way that avoids lengthy computations.
Nesterov acceleration vs. heavy-ball
A classical way to accelerate the convergence of the gradient iteration is to use an extrapolation step due to Nesterov [11]. This can be formulated with two sequences (and a first-order recursion) as:
In the original formulation with convex functions, is chosen asymptotically proportional to with . For quadratic functions, [9] argues that the choice is more natural as it leads to a simple rescaled reformulation, and [12, 13] consider a general . We now show that the z-transform allows us to analyze all integers , with a conjecture that is empirically valid for all .
With , we obtain the following recursion for quadratic functions
- for .
- for .
- for .
And amazingly, they do match in our experiments even beyond integer , as shown below.

Nesterov acceleration for and several ’s. Note the classical vanishing oscillations for small . Moreover, the best performance is achieved around .
What about heavy-ball? The heavy-ball method is very similar to Nesterov acceleration, with the following iteration

Heavy-ball method with for two values of the spectral dimension . Top: performance vs. equivalent , bottom: ratio.
What’s happening? The two do not match for large enough (right plot above). It turns out that oscillations do not vanish, and the sufficient Tauberian conditions are not satisfied. What can then be shown in terms of asymptotic equivalents remains open.
Stochastic gradient descent (a.k.a. least-mean-squares algorithm)
We now consider minimizing the expexted risk for a linear predictor with square loss:
The simplest but incomplete analysis uses that (which is the optimality condition characterizing ), to get:
Traditionally, there are two terms in the analysis: “bias” and “variance” (see a thorough discussion in [27]). For simplicity, let’s assume that is independent of , with and (not to be confused with the notation for the spectral measure defined above). We then consider the operator
We consider the operator (defined on self-adjoint operators)
A sufficient condition for convergence is that the operator (as an operator on symmetric operators) has eigenvalues in . In [17], we define and characterize the largest step-size with few assumptions. We consider instead specific models for asymptotic computations.
Simplest model. In order to obtain simpler formulas, several models have been proposed that are compatible with the Hessian operator having eigenvalues and eigenvectors . The simplest model [18] is with and random and independent, with , and . What makes this model special is that, like in the deterministic case, there are no interactions between eigensubspaces. While this includes one-hot encoded discrete data as recently used in [19], this remains limited compared to the model below (which includes Gaussian data and is often used in random matrix theory).
Simplified high-dimensional model. We consider
The Gaussian model [15] where all are Gaussians corresponds to , while the Rademacher model where are Rademacher random variables corresponds to the smallest possible value . Other models could also be considered, particularly when using kernels [25].
With this simplified model, as already shown in the 1980’s in the Gaussian context [20, 15], in the basis of eigenvectors of , the operator has a simple block-diagonal structure: the off-diagonal elements of evolve independently (and converge to zero linearly), while the diagonal elements that are needed to compute the performance measure evolve according to a linear iteration with a matrix that is the sum of a diagonal and a rank-one matrix. More precisely, assuming without loss of generality that the operator is diagonal equal to , Eq. projected on diagonal elements becomes
The performance is thus
For simplicity, we consider here only the interpolation regime where (i.e., there is no noise on top of optimal predictions, see [1] for all details). Then, the z-transform is equal to
Asymptotic equivalent. Following this post and the gradient descent analysis above, we consider and . If we assume (Rademacher case, which leads to the simplest formulas), the largest step-size is (which can be significantly smaller than 2 / \lambda_\max(H) when is close to 1), and we get the asymptotic equivalent

Comparison of asymptotic equivalent and performance of SGD in the interpolation regime for several replications for .
We recover the results from [22] with a simpler and more direct proof, thereby obtaining asymptotic results that complement the non-asymptotic results from [23]. This is also a subcase of results from [24] with a simpler proof. Various extensions are possible, e.g., using averaging of iterates, or computing estimates of the variance of the performance (and not only its expectation); see [1] for details.
Conclusion
In this blog post, I have shown how the z-transform can be used to derive asymptotic equivalents of sequences that naturally appear in the optimization of quadratic forms, with classical tools such as acceleration and stochastic approximation. In all cases, the z-transform method allows simple computations of asymptotic equivalents (e.g., scaling laws) through the expansion of rational functions.
Since quadratic functions are at the heart of optimization, many recent developments can be considered as candidates for the z-transform method, such as Richardson extrapolation, non-linear iterations for generic convex functions, time-varying coefficients beyond rational functions, mixing momentum techniques and SGD [26, 26], primal-dual algorithms, variance reduced methods, or sampling techniques. Many situations where the z-transform can prove useful!
Where does the “z” come from? For those questioning the naming of the z-transform, the wikipedia page has some interesting historical notes. The idea of using generating functions to study sequences dates back at least to De Moivre around 1730, while its first use in discrete engineering systems was done by Witold Hurewicz in 1947 using the letter “z” (to make it different from the letter “s” used for the Laplace transform (its continuous-time counterpart). The name z-transform was later coined in 1952 by John R. Ragazzini and Lofti Zadeh. As confirmed by a personal communication from Lofti Zadeh to Murat Arcak, It has nothing to do with the first letter of Loftis Zadeh’s name (“I used the letter z not because of my name but because in the mathematical literature on difference equations, z was the symbol that was used”). However, I didn’t find any formal confirmation that Zorro had nothing to do with it.
Acknowledgements. I thank Adrien Taylor, Ayoub Melliti, Nicolas Flammarion, Baptiste Goujaud, and Raphaël Berthier for insightful discussions related to this work.

References
[1] Francis Bach. On the effectiveness of the z-transform method in quadratic optimization. Technical report, arXiv:2507.03404, 2025. [2] Godfrey H. Hardy and John E. Littlewood. Abel’s theorem and its converse. Proceedings of the London Mathematical Society, 2(1):205–235, 1920. [3] Jacob Korevaar. Tauberian Theory: A Century of Developments. Springer, 2004. [4] Philippe Flajolet and Andrew Odlyzko. Singularity analysis of generating functions. SIAM Journal on Discrete Mathematics, 3(2):216–240, 1990. [5] Edward A. Bender. Asymptotic methods in enumeration. SIAM Review, 16(4):485–515, 1974. [6] Eliahu Ibrahim Jury. Theory and Application of the z-Transform Method. Robert E. Krieger Publishing Company, 1964. [7] Herbert S. Wilf. Generatingfunctionology. CRC Press, 2005. [8] Raphaël Berthier, Francis Bach, and Pierre Gaillard. Accelerated gossip in networks of given dimension using Jacobi polynomial iterations. SIAM Journal on Mathematics of Data Science, 2(1):24–47, 2020. [9] Nicolas Flammarion and Francis Bach. From averaging to acceleration, there is only a step-size. Conference on Learning Theory, 2015. [10] David Vernon Widder. Laplace Transform. Princeton University Press, 1942. [11] Yurii Nesterov. A method for solving a convex programming problem with rate of convergence . Soviet Mathematics. Doklady, 269(3):543–547, 1983. [12] Antonin Chambolle and Charles Dossal. On the convergence of the iterates of the “fast iterative shrinkage/thresholding algorithm”. Journal of Optimization theory and Applications, 166:968–982, 2015. [13] Jean-François Aujol, Charles Dossal, Hippolyte Labarrière, and Aude Rondepierre. Strong convergence of FISTA iterates under Hölderian and quadratic growth conditions. Technical Report 2407.17063, arXiv, 2024. [14] Neil Bershad. Analysis of the normalized LMS algorithm with Gaussian inputs. IEEE Transactions on Acoustics, Speech, and Signal Processing, 34(4):793–806, 1986. [15] Arie Feuer and Ehud Weinstein. Convergence analysis of LMS filters with uncorrelated Gaussian data. IEEE Transactions on Acoustics, Speech, and Signal Processing, 33(1):222–230, 2003. [16] Francis Bach and Eric Moulines. Non-strongly-convex smooth stochastic approximation with convergence rate . Advances in Neural Information Processing Systems, 2013. [17] Alexandre Défossez and Francis Bach. Averaged least-mean-squares: Bias-variance trade-offs and optimal sampling distributions. International Conference on Artificial Intelligence and Statistics, 2015 [18] Dirk T. M. Slock. On the convergence behavior of the LMS and the normalized LMS algorithms. IEEE Transactions on Signal Processing, 41(9):2811–2825, 1993. [19] Frederik Kunstner, Francis Bach. Scaling laws for gradient descent and sign descent for linear bigram models under Zipf’s law. Technical report, arXiv:2505.19227, 2025. [20] Larry L. Horowitz and Kenneth D. Senne. Performance advantage of complex LMS for controlling narrow-band adaptive arrays. IEEE Transactions on Circuits and Systems, 28(6):562–576, 1981. [21] Gene H. Golub. Some modified matrix eigenvalue problems. SIAM Review, 15(2):318–334, 1973. [22] Maksim Velikanov, Denis Kuznedelev, and Dmitry Yarotsky. A view of mini-batch SGD via generating functions: conditions of convergence, phase transitions, benefit from negative momenta. International Conference on Learning Representations, 2023. [23] Raphaël Berthier, Francis Bach, and Pierre Gaillard. Tight nonparametric convergence rates for stochastic gradient descent under the noiseless linear model. Advances in Neural Information Processing Systems, 2020b. [24] Elliot Paquette, Courtney Paquette, Lechao Xiao, and Jeffrey Pennington. 4+3 phases of compute-optimal neural scaling laws. Advances in Neural Information Processing Systems, 2024. [25] Aditya Varre and Nicolas Flammarion. Accelerated SGD for non-strongly-convex least squares. In Conference on Learning Theory, 2022. [26] Damien Ferbach, Katie Everett, Gauthier Gidel, Elliot Paquette, and Courtney Paquette. Dimension-adapted momentum outscales SGD. Technical Report 2505.16098, arXiv, 2025. [27] Aymeric Dieuleveut, Nicolas Flammarion, Francis Bach. Harder, better, faster, stronger convergence rates for least-squares regression. Journal of Machine Learning Research, 18(101):1-51, 2017.