
Hyperparameter Tuning, Scaling Laws & Debugging | Stanford CS312 Lecture 2 with Tatsunori Hashimoto
Keywords
Summary
148 words
Critical Evaluation
Value of the Information & Strength of the Argument
The lecture offers high practical value by directly applying to day-to-day deep learning research. The speaker uses concrete case studies, such as the differential privacy work where a hyperparameter sweep revealed a working regime that was previously missed, and the repeated data experiment showing that weight decay tuning yields qualitatively different results. These examples strengthen the argument that careful hyperparameter tuning is not mundane but can fundamentally change conclusions. The argumentation is solid, based on published papers and the speaker’s own experiments, though some claims are based on personal experience and anecdotal evidence. The lecture is convincing in its thesis that hyperparameter tuning is crucial and that many claimed improvements fail under proper baselines.
Scientific Rigor, Source Quality, Title Accuracy
The lecture is scientifically rigorous, with clear references to the Step Law paper, Kaplan et al. on scaling laws, and Summers & Dinneen on nondeterminism. The speaker presents both historical context and current findings, and acknowledges limitations, such as scaling laws breaking at the largest runs. Sources are well-chosen and directly support the content. The title accurately matches the content, covering the three stated topics in depth. The lecture is well-structured and the speaker’s expertise is evident.
206 words
Title / Content Match
The title accurately reflects the content: the lecture covers hyperparameter tuning, scaling laws, and debugging techniques as core experimental skills in deep learning.
Quality & Reliability
8/10
Lecture by a Stanford professor, references peer-reviewed papers, provides concrete examples and critical analysis. However, it is an educational presentation, not a novel study, and some claims rely on the speaker's personal experience.
Chapters
- Deep learning as an experimental science
- What is a hyperparameter?
- Untuned hyperparameters: three case studies
- Why hyperparameter search is tractable
- Step Law: learning rate and batch size
- Batching hyperparameter runs with vmap
- Scaling down: model organisms and ladders
- History of scaling laws to Kaplan and Chinchilla
- When scaling laws break: Marin and DeepSeek
- Sources of randomness in training
- Training as chaos and Edge of Stability
- Run-to-run variance and paired tests
- Debugging: loss curves and LR schedules
- Activations, gradients, QK-norm, Marin debug
Cited Sources
- Scaling Laws for Neural Language Models — Referenced in the lecture when discussing scaling laws and their history.
- Nondeterminism and Instability in Neural Network Optimization — Referenced when discussing stochasticity and randomness in training.
- Step Law: A Law of Scaling and Optimal Hyperparameters for Large Language Models — Main reference for hyperparameter sweeps and scaling laws in the lecture.
- Deep Learning Alchemy Course Website — Course website for CS312, mentioned in description.
- Stanford Online Deep Learning Courses — Link to Stanford's online deep learning courses.
Concurring Sources
- Scaling Laws for Neural Language Models — Concordant with the lecture's discussion of scaling laws as empirical regularities.
- Step Law: A Law of Scaling and Optimal Hyperparameters for Large Language Models — Concordant with the lecture's claim that hyperparameters like learning rate and batch size follow a scaling law.
Contribution & Novelties
The lecture synthesizes and clearly presents well-established knowledge in deep learning experimentation, but its original contribution lies in the explicit connection between hyperparameter tuning, scaling laws, and debugging as a unified experimental skill set. The speaker’s personal anecdotes, such as the differential privacy case, add unique insight. The lecture does not present new research but offers a pragmatic perspective that can save practitioners significant time and effort.
Pour aller plus loin :
- Hyperparameter optimization (Wikipedia) — Overview of search methods for hyperparameters.
- Neural scaling law (Wikipedia) — Discussion of how model performance scales with data and compute.
- Stochastic gradient descent (Wikipedia) — Foundation for understanding stochasticity in training.
108 words
Radar Profile
The radar profile shows very high scores across all dimensions, indicating a comprehensive and technically advanced lecture with strong evidence and clear presentation. The balance between information quantity, quality, technical level, and reliability is well maintained.