From Kaplan to Chinchilla, DeepSeek and StepLaw: a full Scaling Laws walkthrough
青稞AI · wechat · 2026-12-04
A systematic tutorial tracing the full evolution of LLM Scaling Laws, from first principles to recent research.
Key points:
- Foundations: power-law loss decay with scale; derivation of C≈6ND (2 FLOPs/param forward, 4 backward per token), with attention terms becoming non-negligible at long context
- Kaplan 2020: joint L(N,D), Critical Batch Size (optimal batch grows as loss falls); conclusion was to spend compute on model size
- Chinchilla 2022: fixed Kaplan's LR-schedule and small-model extrapolation issues; three methods (training-curve envelope, IsoFLOP, parametric loss fit) yielding 20 tokens/param; later replication found rounding-precision bugs and corrected exponents
- DeepSeek LLM: non-embedding FLOPs/token metric, hyperparameter scaling, and the finding that higher data quality shifts optimal scaling toward larger models
- Microsoft 2024: optimal LR falls as a power law with token horizon (48% per 10x tokens), transferable across scales
- StepLaw: predicting optimal LR and batch size directly from N and D
Useful for anyone deciding pretraining compute allocation or hyperparameters.
More from Research
- Caltech team's NeurIPS workshop paper: consistency learning jumps chaotic systems in one NFE — AnimaAnandkumar · 2026-12-06
- DireSMC paper generates one-in-a-million rare events without millions of samples — canaesseth · 2026-12-06
- NVIDIA Cosmos Lab details turning diffusion world models into interactive simulators — liu_mingyu · 2026-12-06
- Agents generate provably equivalent optimized machine code, 1.33× average speedup on unzip, ICU, libsignal — soumitrashukla9 · 2026-12-06
- Medical AI lab Sophont brings 4 papers to NeurIPS and hosts medicine social in Sydney — iScienceLuvr · 2026-12-06
- NeurIPS EconML workshop asks why small open models train on far more tokens per parameter — sanmikoyejo · 2026-12-06