Scaling Laws, Carefully | Lil'Log
Scaling laws are one of the most critical empirical findings in deep learning. The observation is simple in form: the training loss $L$ decreases predictably as we scale up model size $N$, dataset size $D$, and compute $C$, following a power-law curve, which appears as a straight line on a log-log plot. We can view scaling laws as a framework for describing the relationship between compute, loss, model size and data; at its core, it is about how to allocate precious compute optimally between $N$ and $D$.
Table of Contents Early days: ML loss predictability Scaling Laws in Data-Infinite Region Kaplan et al.'s Scaling Laws Chinchilla Scaling Laws Method 1: Fix model sizes, vary the token budget Method 2: IsoFLOP profiles Method 3: Parametric fit Reconciling Kaplan and Chinchilla Why power law? Scaling Laws in Data-Limited Region Trickiness of Fitting Scaling Laws in Reality Toy simulation Citation References Scaling laws are one of the most critical empirical findings in deep learning. The observation is simple in form: the training loss $L$ decreases predictably as we scale up model size $N$, d
saved by
- Feranno Liu
- Anosha Rahim
- Gloria Ma
- Vincent Cheng
- Kushal Thaman
- nicolas
- Sam B
- Shubham Patil
- Davis Brown
- Yilin
- Lailah Nabegu
- Christina Lee
related reading
- Scaling is subtler than it seemsberen.io
- Lil'Loglilianweng.github.io
- IsoCompute Playbook: Optimally Scaling Sampling Compute for RL Training of LLMscompute-optimal-rl-llm-scaling.github.io
- Scaling laws literature review | Epoch AIepochai.org
- RL Scaling Laws for LLMs - by Cameron R. Wolfe, Ph.D.cameronrwolfe.substack.com
- Demystify Transformers: A Guide to Scaling Laws | by Yu-Cheng Tsai | Sage Ai | Mediummedium.com
- How To Scale Your Modeljax-ml.github.io
- Scaling Laws Do Not Scalearxiv.org
- Scaling Laws That Extrapolate 300× Past the Fitopenathena.ai
- [2510.13786] The Art of Scaling Reinforcement Learning Compute for LLMsarxiv.org
- The Scaling Hypothesis · Gwern.netgwern.net
- LoRA Without Regret - Thinking Machines Labthinkingmachines.ai