The Model Shape Behind Scaling Laws: A Gradient Superposition Perspective

Wenjie Sun, Jinning Yang, Shuai Zhang, Mengnan Du
5/27/2026
cs.LG

Official code: wenjie1835/Shape_Scaling (0 stars, Python, last commit 2026-09-23).

Abstract

Neural scaling laws guide resource allocation, but how should a fixed parameter budget be divided between depth and width? Motivated by inverse-width representation-error scaling under strong superposition, we study this allocation through the network's end-to-end response.

Show full abstract

The Neural Feature Ansatz links weight and gradient geometry, motivating the Frobenius norm $F$ of the input average gradient outer product (AGOP) as an observable of response strength and overlap. By reproducing Anthropic's toy-model double-descent experiment, we find that $F$ and test reconstruction loss follow an approximately affine relationship across the full sample-size sweep and share an interpolation peak. Through Gaussian minimum-norm regression experiments, we further show that this correlation arises from a fitted-noise amplification term shared by prediction error and $F$. By pretraining language models spanning different shapes and parameter budgets, we find a strong positive correlation between loss and $F$ among the best shapes selected by validation loss. This supports interpreting effective parameter allocation as preserving task-relevant computation while reducing the amplification of error responses. Our results identify error-response amplification as a mechanism linking gradient superposition to generalization, providing a functional account of depth-width allocation and efficient parameter utilization. The code is availale at: $\hyperlink{https://github.com/wenjie1835/Shape_Scaling}{https://github.com/wenjie1835/Shape_Scaling}$.

View on arXivView PDF

Code Implementations(1)

00PythonSep 23, 20262 months ago

Similar Papers

Cite this paper

@article{sun2026model,
  title  = {The Model Shape Behind Scaling Laws: A Gradient Superposition Perspective},
  author = {Wenjie Sun and Jinning Yang and Shuai Zhang and Mengnan Du},
  year   = {2026},
  eprint = {2605.27989},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.27989v2}
}

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/2605.27989.svg)](https://codeofpaper.com/paper/2605.27989)

Discussion