Explore the research collection
1 entry · Follow this search
- Thread
Stop thinking about a transformer as a pipeline: the residual-stream view — X thread
AVB (Neural Breakdown, @neural_avb) gives a compact explainer of the residual-stream view of transformers: because every block outputs x' = f(x) + x, each attention/MLP sub-block does not transform its input but computes what must be added to a shared, accumulating representation. Framed as a 'shared whiteboard': blocks read what they need and write additive updates, so layers can communicate at a distance — e.g. layer 1 writes information that layer 5 reads, with no direct wire between them. The ideas are credited to Anthropic's 2021 'A Mathematical Framework for Transformer Circuits' (https://transformer-circuits.pub/2021/framework/index.html), which is not separately cataloged; this row catalogs the explainer thread.