Lesson 8.11advanced3 h

Interpretability: what is happening inside

Circuits, features, superposition and sparse autoencoders

Everything so far treats the model as a function we train and measure from the outside. Mechanistic interpretability tries to open it: which attention heads implement in-context learning, how facts are stored in MLPs, why neurons mean several things at once, and whether we can read a model's plan before it acts. It is the research frontier that most directly addresses the trust problems of 8.12 Safety, risks and responsible AI, it explains behaviors you met in 8.4 Prompting as programming and 8.6 Reasoning models and test-time compute, and its central tool — sparse dictionary learning — is linear algebra from 1.1 Vectors, dot products and norms and 1.3 Eigen-things, SVD and low rank.

You'll be able to

  • Describe the residual stream view and use the logit lens to read intermediate predictions
  • Explain QK and OV circuits and how induction heads implement in-context copying
  • Define polysemanticity and superposition and explain why sparse autoencoders can recover features
  • Describe probing, activation steering and attribution graphs and what each can and cannot show
  • Summarize what interpretability has established and where it remains open

Key ideas

  1. Mechanistic interpretability asks what algorithm the weights implement; the residual stream is the shared workspace that every layer reads and writes.
  2. The logit lens unembeds intermediate residual states to watch predictions form layer by layer.
  3. Heads factor into a QK circuit (where to attend) and an OV circuit (what to move); induction heads implement [A][B]…[A] → [B] and drive in-context learning.
Show 4 more key ideas
  1. Neurons are polysemantic because of superposition: sparse features are stored as nearly orthogonal directions, more features than dimensions.
  2. Sparse autoencoders (wide, ℓ1/top-k) recover monosemantic features; clamping a feature steers behavior, but reconstruction and feature splitting limit the method.
  3. Probes show information is present; steering shows it is causal; attribution graphs trace how outputs were produced and have exposed unfaithful chains of thought.
  4. No frontier model is understood end to end; interpretability as a safety audit is promising but early.

Suggested path through this lesson