atlas

Research map / Architectures and efficiency / Attention and transformers

Residual Stream Analysis with Multi-Layer SAEs

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Efficient language transformers · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Trains a single k-sparse autoencoder on residual-stream activations from all layers of Pythia (and other) transformers to study how latents are distributed across layers, quantifying multi-layer activity via variance of the layer index.

Problem

Standard sparse autoencoders are trained separately per layer, making it hard to study how information flows across residual-stream layers and to match features across layers.

Approach

Train one SAE (single hidden layer, TopK+ReLU, tied parameters) on residual stream activation vectors from every layer, treating each layer's activation as a separate training example; quantify how latents spread across layers using the variance of a layer-index distribution, with and without tuned-lens transformations.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train one SAE on activations from every layer rather than separate single-layer SAEsPythia-70m, Pythia-160m, and Pythia-410m · test activations across layersFVU and delta cross-entropy lossNo clear effect
Increase model sizePythia MLSAEs with fixed hyperparameters · 10 million test tokenslatent layer-variance ratio: between 54 and 88%Helped
Increase model sizePythia MLSAEs · 10 million test tokensnormalized mean entropy of latent activations over layersHelped
Apply pre-trained tuned-lens transformations to activations (ablation)Pythia-70m MLSAE · test setFVUHelped
Apply pre-trained tuned-lens transformations to activations (ablation)Pythia-70m MLSAE · test setdelta cross-entropy lossHelped
Apply pre-trained tuned-lens transformations to activations (ablation)Pythia-70m MLSAE · test setKL divergenceNo clear effect
Apply pre-trained tuned-lens transformations to activations (ablation)MLSAE · 10 million test tokenslatent layer-variance ratio: between 37% and 41%Hurt
Increase expansion factor R (ablation)Pythia MLSAE with fixed sparsity k=32 · test activationsFVU and MSEHelped
Increase expansion factor R (ablation)Pythia MLSAE with fixed sparsity k=32 · last-layer activationsFVU and MSEHurt
Increase expansion factor R (ablation)Pythia MLSAE with fixed sparsity k=32 · test activationsdelta CE loss and KL divergenceHelped
Increase sparsity k (ablation)Pythia MLSAE with fixed expansion factor R=64 · test activationsFVU and MSEHelped
Increase sparsity k (ablation)Pythia MLSAE with fixed expansion factor R=64 · test activationsdelta CE loss and KL divergenceHelped

Surprising findings

Limitations

Experimental setup

Datasets: The Pile (uncopyrighted subset)

Benchmarks: The Pile test set (1M tokens for FVU/CE, 10M tokens for layer distributions)

Metrics: FVU MSE L1 norm delta cross-entropy loss KL divergence variance of layer index ratio mean max cosine similarity entropy over layers

Baselines: single-layer SAEs

Builds on: k-sparse autoencoder tuned lens AuxK auxiliary loss Pythia

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy