Welcome to the course!
This is a seminar course on modern language modeling. We study language models from four perspectives: how they are trained (data, optimization, and training stability), how they generate (autoregressive vs. diffusion decoding), what they compute (mechanistic and actionable interpretability; the expressivity of Transformers vs. RNNs), and how we measure progress (the methodology---and taste---of evaluation). Meetings are a 3-hour weekly discussion seminar centered on student-led paper presentations, plus the presentation and discussions from CompLING lab members.
There is no official textbook. Readings consist of research papers, listed per week in the schedule below. Everyone is expected to familiarize themselves with the required papers before class; the optional list is mainly for presenters and for those who want to go deeper.
The seminar meets once a week for a 3-hour session: brief context setting, student-led paper presentations (each student presents twice over the term, 20-30 minutes each including Q&A), and an open discussion and synthesis block. First week of classes: September 9–11 (UW classes begin Wednesday, September 9). No meeting during Reading Week (October 10–18). Presenter sign-up opens in Week 1.
Presentation sign-up policy.
| Week | Topic and Readings | Presenter(s) |
|---|---|---|
| 1 |
Sep 11
Foundations: the Transformer and autoregressive language modeling Self introduction; course logistics. Focus: self-attention and positional structure; what next-token prediction means; anatomy of a pretraining run. Required readings:
|
Freda Shi (instructor lecture) |
| 2 |
Sep 18
Pretraining data science I: scaling laws (how much data,
and of what kind) Focus: compute-optimal allocation between parameters and tokens; what changes when data, not compute, is the bottleneck. Required readings:
|
Hrutil Patel, Krish Patel, Clément Salomon |
| 3 |
Sep 25
Pretraining data science II: curation (filtering,
deduplication, and data mixing) Focus: data quality vs. quantity; controlled data ablations as an experimental science. Required readings:
|
Idil Kara, Soheil Soltani |
| 4 |
Oct 2
Optimization I: adaptive methods and gradient instability Focus: why gradients explode, why large LMs need tame updates; clipping as a form of adaptivity. Required readings:
|
Hrutil Patel, Krish Patel, Hella Pimenova |
| 5 |
Oct 9
Optimization II: stability at LLM scale and beyond-Adam
optimizers Focus: loss spikes and stability engineering in practice; Muon and preconditioned updates as geometry-aware stabilization. Required readings:
|
Calder Johnson, Zuoqiu (Robert) Liu, Hella Pimenova |
| Reading Week (Oct 10–18): No class | ||
| 6 |
Oct 23
Diffusion language models Focus: iterative denoising vs. left-to-right decoding; discrete diffusion objectives; parallel generation and controllability. Required readings:
|
Xiaoxi Luo, Salman |
| 7 |
Oct 30
From autoregressive to diffusion: unifying views and hybrids Focus: any-order generation as a generalization of AR decoding; block-wise interpolation between AR and diffusion. Required readings:
|
Henry Guo, Salman |
| 8 |
Nov 6
Mechanistic interpretability I: circuits and superposition Focus: reverse-engineering small Transformers; induction heads; why features are hard to read and how sparse coding helps. Required readings:
|
Calder Johnson, Asim Waheed |
| 9 |
Nov 13
Interpretability II: actionable interpretability, and
vision-language models Focus: from understanding to control (feature steering, editing); what carries over to VLMs. Required readings:
|
Idil Kara, Soheil Soltani, Asim Waheed |
| 10 |
Nov 20
Expressivity: Transformers vs. RNNs, and the power of next-token
prediction Focus: log-precision attention sits in TC0; chain-of-thought changes the complexity class; what the next-token distribution can represent; do matrix-valued recurrent states escape TC0? Required readings:
|
Kath Choi, Zuoqiu (Robert) Liu, Xiaoxi Luo, Clément Salomon |
| 11 |
Nov 27
LM evaluation I: benchmarks, leaderboards, and how they
break Focus: what HELM set out to fix; saturated and contaminated benchmarks; human preference leaderboards and their failure modes. Required readings:
|
Max Homm, Bihui Jin |
| 12 |
Dec 4
LM evaluation II: frontier benchmarks and the case for
“taste” Focus: what would count as “solved”; why Humanity’s Last Exam is not the end of evaluation; why ARC(-AGI) still is not enough. Required readings:
|
Kath Choi, Henry Guo, Max Homm, Bihui Jin |
We follow the University of Waterloo Academic Integrity policy.