paper-with-me

Papers

Theory of Scaling Laws for In-Context Regression: Depth, Width, Context and Time

2025-10-01 · Blake Bordelon, Mary I. Letey, Cengiz Pehlevan arxiv

We study in-context learning (ICL) of linear regression in a deep linear self-attention model, characterizing how performance depends on various computational and statistical resources (width, depth, number of training steps, batch size and data per context). In a joint limit where data dimension, context length, and residual stream width scale proportionally, we analyze the limiting asymptotics for three ICL settings: (1) isotropic covariates and tasks (ISO), (2) fixed and structured covariance (FS), and (3) where covariances are randomly rotated and structured (RRS). For ISO and FS settings, we find that depth only aids ICL performance if context length is limited. Alternatively, in the RRS setting where covariances change across contexts, increasing the depth leads to significant improvements in ICL, even at infinite context length. This provides a new solvable toy model of neural scaling laws which depends on both width and depth of a transformer and predicts an optimal transformer shape as a function of compute. This toy model enables computation of exact asymptotics for the risk as well as derivation of powerlaws under source/capacity conditions for the ICL tasks.

📄 PDF Abstract BibTeX arXiv:2510.01098

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Neural Scaling Laws Rooted in the Data Distribution

2024-12-10 · Ari Brill

Deep neural networks exhibit empirical neural scaling laws, with error decreasing as a power law with increasing model or data size, across a wide variety of architectures, tasks, and datasets. This universality suggests…

Language ModelingLanguage Modelling

Scaling Laws and In-Context Learning: A Unified Theoretical Framework

2025-11-09 · Sushant Mehta, Ishan Gupta arxiv

In-context learning (ICL) enables large language models to adapt to new tasks from demonstrations without parameter updates. Despite extensive empirical studies, a principled understanding of ICL emergence at scale remai…

Scaling Laws in Linear Regression: Compute, Parameters, and Data

2024-06-12 · Licong Lin, Jingfeng Wu, Sham M. Kakade, Peter L. Bartlett 외

Empirically, large-scale deep learning models often satisfy a neural scaling law: the test error of the trained model improves polynomially as the model size and data size grow. However, conventional wisdom suggests the …

regression

Understanding Scaling Laws with Statistical and Approximation Theory for Transformer Neural Networks on Intrinsically Low-dimensional Data

2024-11-11 · Alex Havrilla, Wenjing Liao

When training deep neural networks, a model's generalization error is often observed to follow a power scaling law dependent both on the model size and the data size. Perhaps the best known example of such scaling laws a…

Deriving Neural Scaling Laws from the statistics of natural language

2026-02-07 · Francesco Cagnetta, Allan Raventós, Surya Ganguli, Matthieu Wyart arxiv

Despite the fact that experimental neural scaling laws have substantially guided empirical progress in large-scale machine learning, no existing theory can quantitatively predict the exponents of these important laws for…