Smooth Scaling Laws Hide Stepwise Token Learning
Summary
This paper introduces a token-level framework to explain why language model loss exhibits power-law scaling laws, moving beyond aggregate loss explanations. Researchers decomposed scaling laws into localized learning events of individual contextualized tokens, fitting their loss trajectories with sigmoid functions. This revealed that token learning is concentrated in specific transitions, creating a "learning-time spectrum" that dictates the overall scaling-law shape. Across over 100 pre-training runs on diverse real-language corpora, involving models up to 6B parameters and 300B training tokens, this spectrum quantitatively reconstructed the validation loss derivative along training-step, data-scale, and model-scale axes. Furthermore, by reshaping the training distribution based on when tokens become learnable, the method achieved an 11% faster validation-loss reduction, demonstrating the signal's practical utility.
Key takeaway
For Machine Learning Engineers optimizing large language model pre-training, understanding token-level learning dynamics is crucial. Your team can utilize the "learning-time spectrum" to predict and control scaling behavior. By estimating when tokens are learned and strategically reshaping your training data distribution to prioritize specific learning intervals, you can achieve measurable improvements, such as an 11% acceleration in validation-loss reduction, leading to more efficient compute allocation and faster model development.
Key insights
Language model scaling laws are primarily governed by the distribution of token-level learning times, not individual token loss shapes.
Principles
- Token learning occurs as localized, sigmoid-like transitions.
- Learning pulse shapes are largely consistent across tokens.
- Macroscopic loss decay is a superposition of token learning events.
Method
Decompose aggregate loss derivative L'(a) into a convolution (p*g)(a), where g is the average centered learning pulse and p(τ) is the empirical learning-time spectrum derived from sigmoid fits of token loss trajectories.
In practice
- Estimate token learning times via sigmoid fitting.
- Reshape training data by upweighting samples with target learning times.
- Accelerate validation-loss reduction by optimizing data distribution.
Topics
- Language Model Scaling Laws
- Token-Level Learning Dynamics
- Learning-Time Spectrum
- Data Distribution Optimization
- LLM Pre-training
- Sigmoid Fitting
Code references
Best for: Research Scientist, AI Scientist, Machine Learning Engineer, NLP Engineer
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.