Reproduce “Scaling Laws in Linear Regression: Compute, Parameters, and Data” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Licong Lin, Jingfeng Wu, Sham M. Kakade, Peter L. Bartlett, Jason D. Lee
The authors analyze risk scaling in sketched linear regression trained by one-pass SGD. With Gaussian covariates, an isotropic prior, and power-law covariance decay of degree a>1, reducible risk falls with model size and effective data, while variance remains subordinate. A simulation finds fitted exponents 0.54 and 0.34, near 0.5 and 0.33; this is a linear-model result, not evidence about deep networks.
Key insights
- The implicit regularization induced by one-pass SGD with geometrically decaying stepsizes is the primary mechanism that suppresses the variance error, making it a sub-dominant term in the overall population risk.
- The effective scaling behavior of the population risk is governed by the approximation error (dependent on model size M) and the bias error (dependent on effective data size N and initial stepsize γ).
- Optimal allocation of a fixed compute budget C = MN suggests prioritizing data size over model size, with `N = ˜Θ(C^(a/(a+1)))` and `M = ˜Θ(C^(1/(a+1)))` when the data covariance spectrum decays as `i^(-a)` with `a > 1`.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.