Summary

The first of two scaling-law lectures, taught by Tatsunori Hashimoto, covering the basics before a later advanced session on muP and optimizers. The framing problem is practical: given one very expensive training run, how do you make architecture, data, batch size, and learning rate decisions from small-scale experiments instead of guessing or copying? It connects scaling laws to classical statistical rates, works through data scaling, then scaling as a tool for engineering decisions, and closes with a detailed post-mortem of the Kaplan/Chinchilla disagreement as a lesson in how fragile these fits are.

Key Takeaways

  • Scaling laws long predate modern LLMs: Cortes and Vapnik at Bell Labs fitted error-decay curves in 1993, Banko and Brill and Kolachina et al. found power laws for data in NLP, and Hestness et al. in 2017 established polynomial trends across speech, translation, and language modeling, including emergence and the compute-scaling implication.
  • A straight line on a log-log plot means polynomial decay and, usually, that you are far from the asymptote. Mean estimation gives error sigma squared over n and hence slope -1; fitted neural exponents are around -0.1 to -0.3, far slower, consistent with a nonparametric rate of roughly n to the -1/d, i.e. models behaving like nonparametric smoothers in about 10 dimensions (an argument pushed further by Bahri et al., with caveats about intrinsic-dimension estimators).
  • Across many interventions the slope stays put and only the intercept moves — true for SGD versus Adam, for regularization and ensembling, and for data mixtures. The practical consequence is that the best data mix at small scale stays best at large scale, so people often skip the scaling law and just pick the winner from small runs.
  • Repeating data costs nothing up to roughly four epochs under standard recipes; past that the realized curve falls away from what fresh data would have given. Data filtering is scale-dependent in the same spirit: more compute means looser filters, since you would rather add mediocre data than repeat good data.
  • Architecture and optimizer choices can be settled by comparing curves rather than by training giant models. Tay et al.’s T5-scale study anticipated what frontier models actually adopted — gated linear units and switch-style sparsity scale well, efficient-attention variants like Performer do not.
  • Not all parameters count equally. Kaplan et al. excluded embedding parameters to get clean curves and also excluded the final softmax layer, a decision that materially changed the resulting law. Predictable scaling is engineered, not automatic: it depends on choosing the right x-axis and tuning hyperparameters properly.
  • The critical batch size marks the crossover from a variance-limited regime, where each extra example reduces gradient noise with near-perfect returns, to a bias-limited one. It is estimated by fitting the tradeoff between steps and examples to a target loss, giving B_crit as minimum examples over minimum steps, and it grows predictably as the target loss falls (McCandlish et al.).
  • Learning rate has two competing schools: predict how the optimum shifts (roughly 1/width) and extrapolate it, or reparameterize with muP so the optimum stays fixed across scales. Both have been used successfully at frontier scale.
  • Upstream perplexity and downstream benchmarks can diverge badly — in one architecture comparison the best-perplexity model was not the best downstream model. Fit scaling laws on perplexity because it is clean and low-variance, but treat transfer as a separate, less certain claim.
  • Chinchilla offered three fitting methods (lower envelope, IsoFLOP, and parametric surface fitting) that agreed on roughly equal exponents and 20 tokens per parameter, against Kaplan’s 0.73/0.27 split that drove the era of giant under-trained models. The “Resolving Discrepancies in Compute-Optimal Scaling” paper showed the gap comes from a chain of small choices — parameter counting, learning-rate warmup, and a fixed suboptimal batch size — and Epoch AI’s refit showed Chinchilla’s own method 3 only disagreed because of underfitting.
  • The 20:1 ratio is not the target for production models: most compute goes to R&D and serving, so deliberately overtraining smaller models is the right tradeoff. IsoFLOP sweeps remain the durable default tool for any such decision.

Extracted Notes

  • None yet.

Parent Source