Self-study companion · follows Stanford CS 312 (Fall 2026) as it is released

Deep Learning Alchemy

8 units planned · 3 readypredict, then checkoptional runs on your own Modal account

What this is

Training a language model involves dozens of choices nobody can derive from first principles: the learning rate, the batch size, how long to warm up, how much weight decay, which optimizer, how to scale any of it to a bigger model. Practitioners mostly know these things the way an alchemist knew a recipe. Stanford’s CS 312, Deep Learning Alchemy (Tatsunori Hashimoto and Suhas Kotha) takes a stricter line: you understand a training phenomenon when you can predict the outcome of an experiment before running it. Its grade is 85% prediction quizzes about one small reference model. This companion follows that course unit by unit, in its own words, with interactive figures, sealed predictions you lock before reading the answer, and a ledger that measures how well calibrated you are.

It has one extra purpose the original does not. If you direct an agent (a person or an LLM) that runs training experiments for you, the hard part is not running them; it is knowing which conclusions to trust. Every unit ends with audit drills: short, fictional research logs with a conclusion in them, and the question “what would you challenge before accepting this?”

How to use it. Read Unit 0 once. Then, for each unit: lock every prediction before you scroll past it, do the drills, and check your ledger at the end. The ledger lives in your browser only; export it if you switch devices.

0

The method

read first

Prediction as understanding, the reference model everything is measured on, and a protocol for directing experiments you did not run yourself.

  1. 0The method, the reference model, and the director’s protocol~35 min · ready
I

Basics and optimization

CS 312 lectures 2–4 · quizzes 1–2

How hyperparameters behave, how much a single run can tell you, and why optimizers, batch sizes and model sizes each move the best learning rate.

  1. 1Basics: hyperparameters, noise and debugging~60 min · 3 widgets · ready
  2. 2aOptimizers: noise, curvature and norms~55 min · 2 widgets · ready
  3. 2bParametrization: µP and Muon~55 min · 2 widgets · ready
II

Landscapes, architecture, generalization

written after each CS 312 quiz

Each unit is written once its lectures and quiz are out, so the debrief can use the course’s measured answers.

  1. 3Loss landscapes, sharpness and the edge of stabilityafter 20 Oct
  2. 4Architecture Iafter 29 Oct
  3. 5Architecture IIafter 10 Nov
  4. 6Generalization (the course switches to a DNA model)after 19 Nov
  5. 7Exotic topicsafter 3 Dec

Your ledger: every prediction you locked, your hit rate, and your calibration at 50%, 70% and 90% confidence.

Release schedule

CS 312 releases slides and a prediction quiz roughly every two weeks. This companion follows one step behind, so the quiz debriefs can rely on the course’s own measured answers rather than on guesses.

Date (2026)CS 312Here
22–24 SepIntroduction, LLMs 101, lecture 2: basicsUnits 0 and 1
29 SepQuiz 1: basicsUnit 1 debrief
1 & 6 OctLectures 3–4: optimization IUnits 2a, 2b
8 OctQuiz 2: hyperparameter scalingUnit 2 debriefs
13 & 15 OctLectures 5–6: loss landscapes, sharpness, edge of stabilityUnit 3 in preparation
20 OctQuiz 3Unit 3
22 & 27 Oct · 29 OctArchitecture I · quizUnit 4
5 Nov · 10 NovArchitecture II · quizUnit 5
12 & 17 Nov · 19 NovGeneralization · quizUnit 6
1 Dec · 3 DecExotic topics · quizUnit 7