Residual Stream
The primary information pathway running throughout a Transformer architecture, onto which the outputs of attention heads and feed-forward networks at each layer are additively superimposed. It serves as the main object of manipulation in interpretability methods such as activation patching.
Core Facts
The residual stream is a fixed-dimensional vector stream that runs through all layers in a Transformer, in which the model's intermediate computation states accumulate and which can serve as an entry point for reading internal states.
The basic operation of activation steering is to find an activation direction vector representing a certain concept and add it to intermediate-layer activations during inference, thereby intervening in the output without changing the weights.
Traditional linear probes use maximizing concept classification accuracy as the training objective, without distinguishing whether directions have causal influence.
Timeline (last 90 days)
In Transformer-based open-weight models, the output of each layer is added to its input, forming a residual stream that runs through all layers.
GLM-5.4 uses gated progressive write-back computed independently per token; after training the gates spontaneously form a division of labor where the first round is conservative and the second aggressive, and hard-problem tokens write more actively in the first round.
The verifier identifies mismatches in cross-modal evidence along the trajectory by examining the residual-stream representations of the vision-language model (VLM).
Linear probes reading role information from the residual stream approach ceiling-level performance.
In the Transformer architecture, the residual stream refers to the hidden state vector formed by accumulating each layer's output through skip connections; the final-layer residual stream state is directly projected into vocabulary space after final normalization to produce logits.
On the final-layer residual stream, directional ablation is equivalent to a logit bias: a fixed vocabulary footprint multiplied by a gate value that is the cosine similarity between the hidden state and the direction.
Projecting the same direction out of the residual stream causes loss to rise by 0.32, whereas directly editing the feedforward layer's write weights brings only a +0.001 loss.
In the gated key-value memory circuit, the residual stream encoding of each label token encodes the label identity, and mid-layer attention heads write the category of the previous demonstration as a key.
Refusal behavior is largely mediated by a single direction in the residual stream, typically computed as the mean difference vector between harmful and harmless prompts.
The residual stream is a fixed-dimensional vector stream that runs through all layers in a Transformer, in which the model's intermediate computation states accumulate and which can serve as an entry point for reading internal states.
9 more timeline events
All Facts (19)
The residual stream is a fixed-dimensional vector stream that runs through all layers in a Transformer, in which the model's intermediate computation states accumulate and which can serve as an entry point for reading internal states.
75%VerifiedThe basic operation of activation steering is to find an activation direction vector representing a certain concept and add it to intermediate-layer activations during inference, thereby intervening in the output without changing the weights.
75%VerifiedTraditional linear probes use maximizing concept classification accuracy as the training objective, without distinguishing whether directions have causal influence.
75%UnverifiedIn language model-driven war games, the model's language output simultaneously determines what an agent attempts to do and what becomes the simulated reality.
70%UnverifiedIn Transformer-based open-weight models, the output of each layer is added to its input, forming a residual stream that runs through all layers.
50%UnverifiedGLM-5.4 uses gated progressive write-back computed independently per token; after training the gates spontaneously form a division of labor where the first round is conservative and the second aggressive, and hard-problem tokens write more actively in the first round.
50%UnverifiedThe verifier identifies mismatches in cross-modal evidence along the trajectory by examining the residual-stream representations of the vision-language model (VLM).
50%UnverifiedLinear probes reading role information from the residual stream approach ceiling-level performance.
50%UnverifiedOn the final-layer residual stream, directional ablation is equivalent to a logit bias: a fixed vocabulary footprint multiplied by a gate value that is the cosine similarity between the hidden state and the direction.
50%UnverifiedIn the Transformer architecture, the residual stream refers to the hidden state vector formed by accumulating each layer's output through skip connections; the final-layer residual stream state is directly projected into vocabulary space after final normalization to produce logits.
50%UnverifiedProjecting the same direction out of the residual stream causes loss to rise by 0.32, whereas directly editing the feedforward layer's write weights brings only a +0.001 loss.
50%UnverifiedIn the gated key-value memory circuit, the residual stream encoding of each label token encodes the label identity, and mid-layer attention heads write the category of the previous demonstration as a key.
50%UnverifiedRefusal behavior is largely mediated by a single direction in the residual stream, typically computed as the mean difference vector between harmful and harmless prompts.
50%UnverifiedNeel Nanda emphasizes that SAEs remain irreplaceable on the residual stream.
50%UnverifiedWithin effective component mechanisms, the steering effect is further concentrated in approximately 50% of the residual stream's dimensions, which retain 85%–98% of the component-mechanism baseline effect.
50%UnverifiedThe residual stream is the core information channel of the Transformer architecture, where attention heads and MLP modules at each layer interact with the residual stream in a read-process-write-back manner.
50%UnverifiedInjecting vectors into the residual stream is a commonly used causal intervention technique in mechanistic interpretability, acting directly on the model's intermediate representations rather than at the vocabulary level.
50%UnverifiedThe framework treats the residual stream as a communication bus between the model's layers, from which attention heads and MLPs read information and write back.
50%UnverifiedArditi-style editing originates from research by Andy Arditi et al. in 2024, whose core finding is that the refusal behavior of large language models can be localized to a single directional vector in the residual stream.
50%