Emergent One-Third Scaling Law as Attention Tries to Concentrate
Abstract
The neural scaling law relating longer training to better performance through a power law is central to today's large language models (LLMs), yet its origin remains debated. One recent proposal is that power laws can emerge from the strong non-linearity of a single softmax head learning peaked distributions. What happens with multiple softmax functions, as in LLMs, is unclear. Here, we show through toy models that any softmax learning peaked distributions, regardless of its position in the model, can develop logit magnitudes that grow in a power law with exponent , becoming a training bottleneck whose loss contribution decays as a power law with the same exponent . The overall loss therefore obeys scaling whenever at least one softmax learns peaked distributions. We confirm that many softmax functions in LLMs learn peaked distributions and that LLM loss scaling matches this prediction. Moreover, logit growth dynamics reveal that attention heads, rather than the language modeling head, are the bottleneck likely driving the loss scaling in LLMs. Attention trying to concentrate on specific information, which is the heart of Transformers, may therefore also be the heart of the neural scaling law of training.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, stat.ML
- Comments
- 32 pages, 16 figures
Related papers
PickPack: Scaling Context Extension To Millions Of Tokens With Sparse Attention
Shared title terminologycs.LGKumar Krishna Agrawal, Vihaan Thaker, Keshaw Ranjan et al.
Linear Attention Has Superlinear Capacity
Shared title terminologycs.LGHao Guo, Sudhaunshu Hardikar, Simon Dennis et al.
Interpretable generative graph attention for representation learning and reconstruction of multimodal neuroimaging data
Shared title terminologycs.LGMeenu Ajith, Ishaan Batta, Vince Calhoun
The Cross-Entropy Gap: Scaling Laws for Sign Descent and Gradient Descent
Shared title terminologycs.LGAdélie Benhaim, Francis Bach, Frederik Kunstner
Tabular Selective Attention
Shared title terminologycs.LGRohith Saai Pemmasani Prabakaran, Daniel De Dios Allegue, Nour Shaheen et al.
Dual-Band Attention: Efficient LLM Inference With Lightweight Block Sparsity Estimation
Shared title terminologycs.LGZheng Liu, Kaixin Huang, Jiaxi Li et al.