Predicting Seed Variance, Warmup & LR Decay | Stanford CS312 Quiz Review with Suhas Kotha

Predicting Seed Variance, Warmup & LR Decay | Stanford CS312 Quiz Review with Suhas Kotha

🎙 Suhas Kotha (Stanford Online) 👥 1.4M 📅 November 25, 2026 ⏱ 30 min 👁 104 📄 science communication 🧭 2026-11-25
Available in: English (current) Français

Keywords

run-to-run variancebatch-size scalingWSD schedulewarmupparameter norm

Summary

This Stanford CS312 quiz-review lecture by Suhas Kotha walks through empirical answers to questions about LLM pretraining dynamics on the d8 model. It reports a run-to-run validation-loss standard deviation of about 0.003 when both initialization and data seeds vary, and notes that varying only one seed captures nearly all of that variance. Training-loss jitter is much larger than validation-loss jitter and scales roughly as 1/sqrt(batch size), while learning rate has little effect on jitter. The WSD cooldown needed to get within 0.02 loss of the best schedule was about 20% of training in this setting, though the speaker stresses that this is not a universal constant. Warmup substantially raises the optimal learning rate and high-LR tolerance: near-zero warmup favored roughly 1e-3 to 2e-3, whereas 30% warmup pushed the optimum toward roughly 5e-3; the best warmup was 20-30%. Parameter norm tends to grow because layer norm makes the loss insensitive to weight scale, and only weight decay combined with a linear decay schedule made it decrease in these runs. Gradient norms did not double over training, contrary to some large-scale reports. Scaling-law fits from D4 through D9 preserved method rankings and predicted a dropout reversal at larger scale, but Kotha warns that a good fit on observed points does not guarantee reliable extrapolation. The lecture also previews QK norm, one-token perturbations, NQM, and µP. Overall, it is a dense, caveated empirical tour of practical LLM training heuristics.

236 words

Critical Evaluation

Value of the Information & Strength of the Argument

The value lies in converting abstract training questions into concrete, reusable magnitudes: 0.003 validation-loss noise, 0.02 as a plausibly real gain, 1/sqrt(batch) jitter, roughly 20% cooldown, 20-30% warmup, and distinct parameter and gradient norm trajectories. These numbers are presented as setting-specific but operationally useful for judging whether an apparent improvement is noise and for designing ablations. The argumentation is empirical and unusually transparent: each answer is tied to sweeps or plots, the speaker distinguishes papers from experiments, flags instructor opinions as mental-model updates rather than facts, and repeatedly notes confounders such as learning-rate tuning across schedules. It also acknowledges unresolved mechanisms, for example why activation norms spike without warmup or why norm growth reverses only with combined weight decay and linear decay. The main weakness is that the reasoning is often heuristic and compressed; several claims rest on a single model family or course setup, and the lecture does not provide full experimental protocols in the transcript. Still, the argument is internally coherent and appropriately hedged, making it more valuable as a guide to empirical practice than as a definitive theoretical account.

Scientific Rigor, Source Quality, Title Accuracy

Scientific rigor is high for a course review: the claims come from controlled sweeps, held-out quiz answers, and repeated-seed measurements, and the speaker explicitly separates experimental results from opinionated takeaways. The presentation is careful about scope, saying that numbers depend on data, model size, and token horizon, and it notes where a paper’s qualitative shape matched while its magnitudes did not. Source quality is mixed but generally credible: the description links the official CS312 course site, the Stanford Online deep-learning catalog, and the full lecture playlist, while the talk names papers, including seed-variance work attributed to Summers, Dean and Jordan and the AdamC paper, without giving full bibliographic details in the transcript. The video therefore functions as a guided pointer to literature rather than a self-contained citation trail, and viewers would need the course materials to recover exact references. Title/content fit is strong: the title promises seed variance, warmup, and LR decay in a Stanford CS312 quiz review, and the lecture delivers those topics plus batch-size jitter, norm trajectories, and scaling-law extrapolation.

369 words

Title / Content Match

The title accurately signals a CS312 quiz review focused on seed variance, warmup, and learning-rate decay. The content delivers those topics with experimental plots and caveats.

Quality & Reliability

8/10

Stanford course lecture based on held-out experiments, repeated-seed measurements, and explicit caveats about setting dependence; reliability is limited by compressed methodological detail and references that are named but not fully cited in the transcript.

Chapters

Cited Sources

Concurring Sources

  • Decoupled Weight Decay Regularization — Supports the general role of weight decay as a separate regularizer that can affect parameter norms; it does not duplicate the lecture's specific d8 results.
  • Neural scaling law — General background consistent with the lecture's discussion of fitting small-scale scaling laws and extrapolating rankings to larger models.

Contribution & Novelties

Its main contribution is pedagogical and empirical synthesis rather than a new research result: it turns a set of quiz questions into a compact map of practical LLM pretraining heuristics, with concrete magnitudes and caveats about when those magnitudes should not be generalized. It is especially useful for distinguishing noise from real gains, for understanding why validation loss is cleaner than training loss, and for seeing how warmup, WSD cooldown, weight decay, and parameter-norm behavior interact in a specific experimental setting.

Further reading:

141 words

Radar Profile

The profile is high on technical depth and information quantity, with solid but not perfect reliability because the lecture is empirically grounded yet setting-specific and does not expose full protocols. Information quality is strong for a course review, while overall reliability is tempered by reliance on a single model family and unstated experimental details.

Reliability 8/10