Lune

ICLR2025Top-tier venue

Residual Stream Analysis with Multi-Layer SAEs

Tim Lawson, Lucy Farnik, Conor J. Houghton, Laurence Aitchison

Abstract

Sparse autoencoders (SAEs) are a promising approach to interpreting the internal representations of transformer language models. However, SAEs are usually trained separately on each transformer layer, making it difficult to use them to study how information flows across layers. To solve this problem, we introduce the multi-layer SAE (MLSAE): a single SAE trained on the residual stream activation vectors from every transformer layer. Given that the residual stream is understood to preserve information across layers, we expected MLSAE latents to 'switch on' at a token position and remain active at later layers. Interestingly, we find that individual latents are often active at a single layer for a given token or prompt, but the layer at which an individual latent is active may differ for different tokens or prompts. We quantify these phenomena by defining a distribution over layers and considering its variance. We find that the variance of the distributions of latent activations over layers is about two orders of magnitude greater when aggregating over tokens compared with a single token. For larger underlying models, the degree to which latents are active at multiple layers increases, which is consistent with the fact that the residual stream activation vectors at adjacent layers become more similar. Finally, we relax the assumption that the residual stream basis is the same at every layer by applying pre-trained tuned-lens transformations, but our findings remain qualitatively similar. Our results represent a new approach to understanding how representations change as they flow through transformers. We release our code to train and analyze MLSAEs at https://github.com/tim-lawson/mlsae.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Automated Interpretability Metrics Do Not Distinguish Trained and Random Transformers cites Sparse Autoencoders Find Highly Interpretable Features in Language Models
  • Automated Interpretability Metrics Do Not Distinguish Trained and Random Transformers cites Group-SAE: Efficient Training of Sparse Autoencoders for Large Language Models via Layer Groups
  • Automated Interpretability Metrics Do Not Distinguish Trained and Random Transformers cites Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
  • Automated Interpretability Metrics Do Not Distinguish Trained and Random Transformers cites The Linear Representation Hypothesis and the Geometry of Large Language Models
  • Automated Interpretability Metrics Do Not Distinguish Trained and Random Transformers cites Jacobian Sparse Autoencoders: Sparsify Computations, Not Just Activations
  • Sparse Autoencoders Find Highly Interpretable Features in Language Models cites Towards Automated Circuit Discovery for Mechanistic Interpretability
  • Sparse Autoencoders Find Highly Interpretable Features in Language Models cites Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
  • Group-SAE: Efficient Training of Sparse Autoencoders for Large Language Models via Layer Groups cites Sparse Autoencoders Find Highly Interpretable Features in Language Models
  • Group-SAE: Efficient Training of Sparse Autoencoders for Large Language Models via Layer Groups cites The Linear Representation Hypothesis and the Geometry of Large Language Models
  • Transcoders find interpretable LLM feature circuits cites Sparse Autoencoders Find Highly Interpretable Features in Language Models
  • Transcoders find interpretable LLM feature circuits cites Towards Automated Circuit Discovery for Mechanistic Interpretability
  • Jacobian Sparse Autoencoders: Sparsify Computations, Not Just Activations cites Sparse Autoencoders Find Highly Interpretable Features in Language Models
  • Jacobian Sparse Autoencoders: Sparsify Computations, Not Just Activations cites Towards Automated Circuit Discovery for Mechanistic Interpretability
  • Jacobian Sparse Autoencoders: Sparsify Computations, Not Just Activations cites Transcoders find interpretable LLM feature circuits
  • Interpreting vision transformers via residual replacement model cites Sparse Autoencoders Find Highly Interpretable Features in Language Models
  • Interpreting vision transformers via residual replacement model cites Transcoders find interpretable LLM feature circuits
  • Interpreting vision transformers via residual replacement model cites Jacobian Sparse Autoencoders: Sparsify Computations, Not Just Activations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Automated Interpretability Metrics Do Not Distinguish Trained and Random TransformersThomas Heap, Tim Lawson, Lucy Farnik, Laurence AitchisonICLR 2026 · 32 citations
  2. Interpreting vision transformers via residual replacement modelJinyeong Kim, Junhyeok Kim, Yumin Shim, Joohyeok Kim et al.NeurIPS 2025 · 4 citations
  3. Group-SAE: Efficient Training of Sparse Autoencoders for Large Language Models via Layer GroupsDavide Ghilardi, Federico Belotti, Marco Molinari, Tao Ma et al.EMNLP 2025
  4. Jacobian Sparse Autoencoders: Sparsify Computations, Not Just ActivationsLucy Farnik, Tim Lawson, Conor J. Houghton, Laurence AitchisonICML 2025

Builds on16

  1. Pythia: A Suite for Analyzing Large Language Models Across Training and ScalingStella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley et al.ICML 2023 · 1,822 citations
  2. Sparse Autoencoders Find Highly Interpretable Features in Language ModelsRobert Huben, Hoagy Cunningham, Logan Riggs Smith, Aidan Ewart et al.ICLR 2024 · 1,072 citations
  3. Towards Automated Circuit Discovery for Mechanistic InterpretabilityArthur Conmy, Augustine N. Mavor-Parker, Aengus Lynch, Stefan Heimersheim et al.NeurIPS 2023 · 861 citations
  4. The Linear Representation Hypothesis and the Geometry of Large Language ModelsKiho Park, Yo Joong Choe, Victor VeitchICML 2024 · 461 citations
  5. Transcoders find interpretable LLM feature circuitsJacob Dunefsky, Philippe Chlenski, Neel NandaNeurIPS 2024 · 222 citations

Related papers

  1. Dense SAE Latents Are Features, Not BugsXiaoqing Sun, Alessandro Stolfo, Joshua Engels, Ben Wu et al.NeurIPS 2025 · 19 citations
  2. LLM Layers Immediately Correct Each OtherArjun Patrawala, Jiahai Feng, Erik Jones, Jacob SteinhardtNeurIPS 2025 · 5 citations
  3. Sparse Autoencoders Trained on the Same Data Learn Different FeaturesGonçalo Paulo, Nora BelroseICLR 2026 · 96 citations
  4. Sparse autoencoders reveal selective remapping of visual concepts during adaptationHyesu Lim, Jinho Choi, Jaegul Choo, Steffen SchneiderICLR 2025
  5. Transferring Linear Features Across Language Models With Model StitchingAlan Chen, Jack Merullo, Alessandro Stolfo, Ellie PavlickNeurIPS 2025 · 17 citations
Dusk over the sea between two cliffs drawn in fine vertical lines