paper-with-me

Papers

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 remains more elusive. We present a unified theoretical framework connecting scaling laws to ICL emergence in transformers. Our analysis establishes that ICL performance follows power-law relationships with model depth $L$, width $d$, context length $k$, and training data $D$, with exponents determined by task structure. We show that under specific conditions, transformers implement gradient-based metalearning in their forward pass, with an effective learning rate $η_{\text{eff}} = Θ(1/\sqrt{Ld})$. We demonstrate sharp phase transitions at critical scales and derive optimal depth-width allocations favoring $L^* \propto N^{2/3}$, $d^* \propto N^{1/3}$ for the fixed parameter budget $N = Ld$. Systematic experiments on synthetic tasks validate our predictions, with measured scaling exponents closely matching theory. This work provides both necessary and sufficient conditions for the emergence of ICLs and establishes fundamental computational limits on what transformers can learn in-context.

📄 PDF Abstract BibTeX arXiv:2511.06232

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

A Unified Framework for Critical Scaling of Inverse Temperature in Self-Attention

2026-05-12 · Tomohiro Hayase, Ryo Karakida arxiv

Length-dependent logit rescaling is widely used to stabilize long-context self-attention, but existing analyses and methods suggest conflicting inverse-temperature laws for the context length $n$, ranging from $(\log n)^…

Explaining Data Mixing Scaling Laws

2026-06-06 · Rui Dai, Shuran Zheng arxiv

Recent research has established empirical scaling laws to predict model performance on multi-domain data mixtures. However, a theoretical understanding of these model loss behaviors remains absent. In this work, we propo…

Effective Frontiers: A Unification of Neural Scaling Laws

2026-02-01 · Jiaxuan Zou, Zixuan Gong, Ye Su, Huayi Tang 외 arxiv

Neural scaling laws govern the prediction power-law improvement of test loss with respect to model capacity ($N$), datasize ($D$), and compute ($C$). However, existing theoretical explanations often rely on specific arch…

A Unified Generalization Framework for Model Merging: Trade-offs, Non-Linearity, and Scaling Laws

2026-01-29 · Qinglun Li, Anke Tang, Miao Zhang, Mengzhu Wang 외 arxiv

Model merging efficiently aggregates capabilities from multiple fine-tuned models into a single one, operating purely in parameter space without original data or expensive re-computation. Despite empirical successes, a u…

Federated Learning

UniMixer: A Unified Architecture for Scaling Laws in Recommendation Systems

2026-04-01 · Mingming Ha, Guanchen Wang, Linxun Chen, Xuan Rao 외 arxiv

In recent years, the scaling laws of recommendation models have attracted increasing attention, which govern the relationship between performance and parameters/FLOPs of recommenders. Currently, there are three mainstrea…

Recommendation Systems