× L residual stream input token Embed Unembed next-token probabilities h0 hl−1 hl hL ⋮ ⋮
h′ = hl−1 + Attn(Norm(hl−1))
hl = h′ + MLP(Norm(h′))

Figure 1. The residual stream of a decoder-only transformer, shown for one token position. Each of the L layers contains attention and MLP sublayers, which read from the stream and add their updates back to it (⊕). Attention also reads from other token positions. The vectors h0, …, hL are the activations we analyse and steer. Model-specific details, including the placement of normalisation layers, are omitted.