Ideas

Deep Learning

Deep learning notes and projects covering neural networks, sequence models, language models, generative modeling, and interpretability.

Neural networks, mostly the language side of them. There's writing on search and semantic search, how language models work, a survey of text diffusion, and some interpretability work that looks at what a model has actually learned.

It overlaps a lot with the machine learning page. This is the part that's specifically about deep learning and language models.

Thread Retro 7 parts Updated
Abstract shapes

Transformer Circuits Thread Notes

Paper-by-paper notes on Anthropic's Transformer Circuits thread: core claims, methods in plain language, and what the evidence does and doesn't show.

Abstract shapes

Notes on A Mathematical Framework for Transformer Circuits

Notes on the 2021 paper that reframes transformers as operations on a shared residual stream: QK/OV circuits, virtual weights, and path decompositions of attention-only models.

Abstract shapes

Notes on In-Context Learning and Induction Heads

Notes on induction heads, the training phase change in which they form, and the six-part argument connecting them to in-context learning.

Abstract shapes

Notes on Toy Models of Superposition

Notes on how sparse features fit into superposition, the geometry and interference that result, and a toy-model account of memorization and double descent.

Abstract shapes

Notes on Towards Monosemanticity and Scaling Monosemanticity

Notes on decomposing MLP activations into interpretable features with sparse autoencoders, from a one-layer transformer to Claude 3 Sonnet.

Abstract stacks

Notes on Sparse Crosscoders

Notes on sparse crosscoders: one shared feature dictionary across layers or across models, and what that enables for cross-layer analysis and model diffing.

Abstract biology

Notes on Circuit Tracing and the Biology of a Large Language Model

Notes on cross-layer transcoders, local replacement models, and attribution graphs — and the case-study companion paper on Claude 3.5 Haiku.

Abstract biology

Notes on Tracing Attention Computation Through Feature Interactions

Notes on QK attributions, attention-head loadings, and what feature interactions reveal about why a transformer attends to one token rather than another.