CS 886: Advanced Topics in Language Modeling, Fall 2026

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.

People

  • Instructor: Freda Shi
  • Discussion forum: Piazza (questions should go through the forum first)

Time and Location

  • Weekly seminar meeting: Friday 9:00AM-11:50AM, DC 2568

Textbook

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.

Tentative Course Schedule and Related Material

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.

  • Everyone ranks the twelve weekly topics (Lectures 1-12) by preference and submits the ranking through this Google Form, due by the end of Friday, September 11.
  • Your first topic is assigned greedily in a randomized order: the class roster, sorted by (last name, first name), is randomly shuffled with seed 42 in this Python script. The second topic is assigned greedily in the reverse of that order.
  • Authors cannot sign up for a session covering their own paper.
  • Members of each weekly group coordinate among themselves on who presents which part, but every presenter must be familiar with the details of all required readings for that week.
  • During the discussion block, the instructor will randomly call on presenters to answer questions about the readings, which counts for 5 of the 20 percentage points of that presentation.
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: Optional 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: Optional 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: Optional 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: Optional 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: Optional 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: Optional 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: Optional 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: Optional 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: Optional 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: Optional 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: Optional 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: Optional readings:
Kath Choi, Henry Guo, Max Homm, Bihui Jin

Grade Breakdown

  • Paper presentations: 2 x 20%
    • 2 x 5% of the presentation grade comes from the random cold-call Q&A during discussion.
    • Signing up to present in Lecture 2 or Lecture 3 receives an overall bonus of 5% and 2.5%, respectively.
  • Class participation and discussion: 10%
    • Graded by how actively you participate in person; attending every session guarantees a baseline of 7%.
  • Paper critiques: 25% (five critiques, 5% each)
    • Pick five papers from weeks in which you are not presenting, and post one critique per paper directly on the Piazza forum (no separate submission is needed).
    • A critique counts only if it is posted by 23:59 on the day before the corresponding topic’s session.
    • Submitting earns 1%; the rest rewards constructiveness (longer is not better).
    • AI use is discouraged. A critique found to contain factual errors or meaningless questions is capped at 3% (out of the 5% for that critique).
  • Course project: 25%
    • Any research project on NLP, preferably related to the course content. If you are unsure about the topic, you are welcome to discuss it with the instructor after class.
    • Deliverables: a 4-page report in ACL format plus your project code, submitted on LEARN, due Tuesday, December 8.

Course Policies

We follow the University of Waterloo Academic Integrity policy.