[KongchangAI]
ConceptResidual Stream / residual stream

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

Timeline (last 90 days)

Dec 1

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.

Unverified50%
Nov 28

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.

Unverified50%
Nov 25

The verifier identifies mismatches in cross-modal evidence along the trajectory by examining the residual-stream representations of the vision-language model (VLM).

Unverified50%
Nov 17

Linear probes reading role information from the residual stream approach ceiling-level performance.

Unverified50%
Nov 17

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.

Unverified50%
Nov 17

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.

Unverified50%
Nov 12

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.

Unverified50%
Nov 4

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.

Unverified50%
Oct 22

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.

Unverified50%
Oct 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.

Verified75%

9 more timeline events

All Facts (19)

Verified

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%
Verified

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.

75%
Verified

Traditional linear probes use maximizing concept classification accuracy as the training objective, without distinguishing whether directions have causal influence.

75%
Unverified

In 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%
Unverified

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.

50%
Unverified

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.

50%
Unverified

The verifier identifies mismatches in cross-modal evidence along the trajectory by examining the residual-stream representations of the vision-language model (VLM).

50%
Unverified

Linear probes reading role information from the residual stream approach ceiling-level performance.

50%
Unverified

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.

50%
Unverified

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.

50%
Unverified

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.

50%
Unverified

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.

50%
Unverified

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.

50%
Unverified

Neel Nanda emphasizes that SAEs remain irreplaceable on the residual stream.

50%
Unverified

Within 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%
Unverified

The 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%
Unverified

Injecting 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%
Unverified

The 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%
Unverified

Arditi-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%

Source Articles