How Width and Data Shape Generalization Scaling Laws in Quadratic Neural Networks

Julius Girardin, Emanuele Troiani, Yizhou Xu, Vittorio Erba, Florent Krzakala +1 more
6/26/2026
cs.LGcond-mat.dis-nncs.AI

No confident code implementation found for this paper.

Abstract

Understanding how performance scales jointly with model size and data is a central problem in modern machine learning. Existing theoretical works on scaling laws typically describe generalization as a function of data or compute, often in fixed-feature or infinite-width regimes and for online SGD.

Show full abstract

Here, we instead study how generalization scales with the number of trainable parameters and the number of samples in a feature-learning model. We analyze $\ell_2$-regularized empirical test error minimization in a quadratic two-layer network in a finite-sample setting with structured data. This setting allows for an explicit characterization of the generalization error as a function of the number of samples, model width, and regularization. Our results reveal a phase diagram with distinct scaling regimes as the number of parameters varies. In particular, the generalization error follows data-dependent power laws controlled by the spectral structure of the target. We further characterize the transitions between regimes, including the onset of interpolation, and their impact on generalization.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{girardin2026width,
  title  = {How Width and Data Shape Generalization Scaling Laws in Quadratic Neural Networks},
  author = {Julius Girardin and Emanuele Troiani and Yizhou Xu and Vittorio Erba and Florent Krzakala and Lenka Zdeborová},
  year   = {2026},
  eprint = {2606.28242},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.28242v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.28242.svg)](https://codeofpaper.com/paper/2606.28242)

Discussion