[Paper Review] A Solvable Model of Neural Scaling Laws
This paper proposes a solvable statistical model combining a joint generative data model and random feature map to explain neural scaling laws in large language models. By analytically solving the model in the large-data, large-parameter limit, it identifies how power-law statistics in natural data and nonlinear feature maps give rise to test loss power laws, explains performance platetuing due to finite spectral support, and establishes the optimality of equiparameterization scaling.
Large language models with a huge number of parameters, when trained on near internet-sized number of tokens, have been empirically shown to obey neural scaling laws: specifically, their performance behaves predictably as a power law in either parameters or dataset size until bottlenecked by the other resource. To understand this better, we first identify the necessary properties allowing such scaling laws to arise and then propose a statistical model -- a joint generative data model and random feature model -- that captures this neural scaling phenomenology. By solving this model in the dual limit of large training set size and large number of parameters, we gain insight into (i) the statistical structure of datasets and tasks that lead to scaling laws, (ii) the way nonlinear feature maps, such as those provided by neural networks, enable scaling laws when trained on these datasets, (iii) the optimality of the equiparameterization scaling of training sets and parameters, and (iv) whether such scaling laws can break down and how they behave when they do. Key findings are the manner in which the power laws that occur in the statistics of natural datasets are extended by nonlinear random feature maps and then translated into power-law scalings of the test loss and how the finite extent of the data's spectral power law causes the model's performance to plateau.
Motivation & Objective
- Understand the statistical and structural conditions under which neural scaling laws emerge in large language models.
- Identify the role of nonlinear feature maps, such as those in neural networks, in enabling predictable power-law scaling of model performance.
- Investigate why equiparameterization—balancing model size and data scale—is optimal for scaling performance.
- Determine the conditions under which scaling laws break down, particularly due to finite data spectral support.
- Provide a theoretical foundation for the empirical observation that test loss follows power laws in model size and dataset size.
Proposed method
- Proposes a joint generative data model with power-law-distributed features and a random feature map model to simulate neural network training.
- Solves the model in the dual limit of large training set size (T) and large number of parameters (N), using random matrix theory techniques.
- Derives self-consistent equations for the effective noise and label terms, particularly focusing on the resolvent trace Δ, which governs generalization error.
- Analyzes the behavior of Δ in different parameter regimes (underparameterized, overparameterized, coincident), showing universality in scaling limits.
- Uses spectral truncation to model finite data support, showing how this leads to performance plateauing in scaling laws.
- Derives explicit analytical expressions for Δ₀ and Δ₋₁ under various assumptions, including truncated power-law spectra and random projections.
Experimental results
Research questions
- RQ1What statistical properties of datasets and tasks are necessary for neural scaling laws to emerge?
- RQ2How do nonlinear feature maps, such as those in neural networks, transform power-law data statistics into power-law scaling of test loss?
- RQ3Why is equiparameterization—balancing model size and data size—optimal for scaling performance?
- RQ4Under what conditions do neural scaling laws break down, and how does finite data spectral support affect this breakdown?
- RQ5Can the observed power-law scaling be derived from first principles using a solvable statistical model of data and feature maps?
Key findings
- Power-law statistics in natural datasets are extended by nonlinear random feature maps, which translate into power-law scaling of test loss.
- The finite extent of the data’s spectral power law causes the model’s performance to plateau, explaining the observed saturation in scaling laws.
- The model shows that equiparameterization—scaling model size and data size proportionally—is optimal for minimizing test loss in the scaling regime.
- In the large-N, large-T limit, the effective noise and label terms exhibit universal behavior independent of the specific spectrum, except in extreme regimes.
- The analytical solution for Δ₀(T,N) is independent of the random projection matrix u when N > M, depending only on the size N and the latent dimension M.
- Numerical validation confirms the analytical solution for Δ₀(T,N) across various regimes, with small deviations only in very small T or high-α regimes due to higher-order spectral effects.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.