Sparse Autoencoders Do Not Find Standard Analysis UnitsSparse Autoencoders Do Not Find Canonical Units of Analysis
The authors analyze model activations through SAE stitching and meta-SAE, and conclude that SAE latent units are incomplete and composable, and that no canonical units of analysis were found.
- Mechanistic interpretability attempts to decompose neural network activations into unique, complete, and atomic canonical analysis units. Sparse autoencoders (SAEs) are often thought to extract such features, but the specific impact of dictionary size on feature learning has previously lacked systematic study.
- The authors propose SAE stitching, a technique that replaces or inserts latent units between SAEs of different sizes based on decoder cosine similarity to distinguish novel features from reconstruction features; and propose meta-SAE, which trains a sparse autoencoder on the decoder directions of a large SAE to decompose composite features.
- On GPT-2 and Gemma-2, large SAEs contain new features and composite features that small SAEs lack; the meta-SAE explains 55.47% of the variance in the decoder directions of a 49152-size GPT-2 SAE, and can decompose concepts such as Einstein into subcomponents.
- The authors note that the study did not identify canonical units nor provide a method for determining task dictionary size, and only evaluated GPT-2 Small and Gemma-2 2B, without including larger SAEs; the experiments covered 8 GPT-2 SAEs and 2 Gemma Scope SAEs.
- Evaluated models
- GPT2-768GPT2-1536GPT2-3072GPT2-6144GPT2-12288GPT2-24576GPT2-49152GPT2-98304GemmaScope-16384GemmaScope-32768meta-SAE
- Benchmarks
- OpenWebTextLabHC/bias_in_bioscanrager/amazon_reviews_mcauley_1and5codeparrot/github-codefancyzhx/ag_newsHelsinki-NLP/europarl
- Metrics
- MSEL0CELR ZeroCELR MeanExplained VarianceZero-shot MCQ AccuracySTPP
The paper proposes SAE stitching and meta-SAE methods to argue that sparse autoencoders (SAEs) cannot find a standard set of analysis units. SAE stitching inserts or replaces latents between large and small SAEs based on cosine similarity of decoding directions; results show that larger SAEs contain both new latents not represented in smaller SAEs and reconstruction latents that correspond to and can be interchangeably replaced with those in smaller SAEs, with the former indicating smaller SAEs are not comprehensive. meta-SAE is trained on the decoding matrix of another SAE, decomposing latents of a large SAE into interpretable meta-latents, for example decomposing a latent representing "Einstein" into "scientist," "German," and "celebrity." The authors validate these results on GPT-2 Small layer 8 residual stream and Gemma Scope SAEs from Gemma 2 2B.
Why it was selectedThe paper uses SAE stitching and meta-SAE methods to question the assumption that SAEs discover standard analysis units, and suggests selecting dictionary width based on the task.
Related events and news
1 events · 2 news mentions
News that mentions this paper
Goodfire 报告称神经元可作可解释单元
- Goodfire Researchcites the paper's id or link神经元作为可解释的基础
Sparse Autoencoders Do Not Find Canonical Units of Analysis.
- DeepMind Safety Researchcites the paper's id or linkDeepMind 机制可解释性团队:SAE 在下游任务上不如线性探针,暂时降低 SAE 研究优先级
We think it is clear now that SAEs in their current form are far from achieving this, and it is unclear to us if such “true concepts” even exist.
Paper analysis
What problem does this paper attempt to solve?
The authors explore whether sparse autoencoders can find unique, complete, and atomic canonical units of analysis, and study the effect of dictionary size on feature learning.
The core problem the paper attempts to address is: whether sparse autoencoders (SAEs) can discover "canonical units of analysis" composed of unique, complete, and atomic features from language model activations.
- Context and importance: Mechanistic interpretability aims to reverse-engineer neural networks into human-understandable algorithms, and the key challenge is determining the correct units of analysis that can be understood individually and jointly explain network function; neuron polysemy has driven the popularity of SAEs as feature decomposition tools.
- Existing assumptions and gaps: Previous work speculated that SAEs can identify true features when dictionary size is sufficiently large, but the specific impact of dictionary size on learned features lacks systematic study, and there is no effective method for comparing latent units across SAEs of different sizes.
- Feature splitting and composition phenomena: Previously observed feature splitting has often been viewed as feature refinement, but sparsity penalties theoretically encourage models to combine independent features into composite features to pursue higher sparsity, challenging the assumption that latent units are atomic.
- Core claims and methods: The authors propose two techniques, SAE stitching and meta-SAE, to examine the completeness and atomicity of latent units across SAEs of different sizes, and to explore whether simply enlarging the SAE dictionary can converge to canonical units.
- Threat model: This paper is not an attack or defense work and does not define an adversarial attack threat model.
What related research exists?
The authors reviewed four lines of research in mechanistic interpretability: SAEs, representation structure, dictionary size tuning, and model stitching, and noted that there is currently a lack of systematic methods for comparing latent units across sizes.
- SAEs for mechanistic interpretability: Bricken et al. (2023), Cunningham et al. (2023), Gao et al. (2024), and Rajamanoharan et al. (2024a,b) recover sparse, monosemantic, and interpretable features from language model activations, and examine latent unit meanings through feature dashboards or automated interpretation methods; Marks et al. (2024), Kissane et al. (2024), Makelov et al. (2024), and Dunefsky et al. (2024) use SAEs or Transcoder for circuit analysis. The authors note these applications demonstrate the tool value of SAEs but have not clarified whether they discover canonical units of analysis.
- Representational structure: Li et al. (2022) and Gurnee & Tegmark (2023) found that models learn representational structures such as chessboard states, geography, and time; Engels et al. (2024) and Bricken et al. (2023) report that SAEs can also learn structures such as ring topology, and UMAP dimensionality reduction reveals global structure where similar-concept latent units cluster.
- Tuning dictionary size: Templeton (2024) observed that larger SAEs can learn latent units missing from smaller SAEs; Bricken et al. (2023) reported feature splitting, where small-SAE latent units split into multiple finer latent units when the dictionary is enlarged; Wattenberg & Viégas (2024) and Anders et al. (2024) predicted that sparsity penalties incentivize models to learn composite features rather than atomic features.
- Model stitching: Lenc & Vedaldi (2015) and Bansal et al. (2021) quantify the degree of representational alignment across network architectures by replacing or stitching network layers between neural networks with small performance loss.
- Baselines and comparison settings: The paper compares latent unit performance of standard SAEs (ReLU SAE, BatchTopK SAE, JumpReLU SAE) across different dictionary sizes (768 to 98304), trained on the OpenWebText corpus, and tested on downstream sparse probing and concept elimination benchmarks.
- Positioning differences: The authors note that previous research has divergent conclusions about dictionary size scaling effects and lacks systematic comparison tools; the SAE stitching proposed here exploits the privileged basis property of decoder directions, while meta-SAE directly performs a second sparse decomposition on decoder directions.
How does the paper address this problem?
The authors propose an SAE stitching algorithm based on decoder cosine similarity and a meta-SAE framework for decomposing decoder directions.
The authors propose comparing feature relationships between SAEs of different dictionary sizes via SAE Stitching, and propose meta-SAE to perform a second sparse decomposition of the decoder directions of large SAEs, to assess the completeness and atomicity of latent units.
SAE Basic Setup and Reconstruction Formalization
- Basic structure: An SAE consists of an encoder and a decoder, decomposing model activation vectors into sparse latent representations. The SAE output can be written as the sum of contributions from each latent unit plus a bias term:
x̂ := ∑i=0d Widec fi(x) + bdecwhere d is the dictionary size, Widec is the i-th decoder direction, fi(x) is the activation value of the latent unit, and bdec is the decoder bias term.
- Training objective: The loss function consists of three weighted parts: an L2 reconstruction error term, a sparsity penalty term, and an auxiliary loss term for dead neurons.
SAE Stitching Mechanism
- Stitching reconstruction formula: To combine the latent unit sets L0 and L1 of two SAEs of different sizes (denoted SAE0 and SAE1), the reconstruction is formally defined as a weighted bias plus the sum of contributions from the two latent sets:
x̂ := α b0dec + (1 − α) b1dec + ∑l0 ∈ L0 W0, l0dec f0, l0(x) + ∑l1 ∈ L1 W1, l1dec f1, l1(x)where the weight coefficient α = (|L0|)/(|L0| + |L1|); because SAE decoder directions have a privileged basis property, the stitching process requires no additional linear transformation.
- Latent unit classification criterion: The authors set a threshold theta based on the maximum cosine similarity between the large SAE decoder directions and all decoder directions of the small SAE: those with maximum cosine similarity less than theta are classified as novel latents, and those greater than or equal to theta are classified as reconstruction latents. The threshold is set to 0.7 on GPT-2 and 0.4 on Gemma-2.
- Bipartite graph group replacement: Directly inserting reconstruction latents degrades reconstruction performance due to functional overlap; the authors construct a bipartite graph, connecting large and small SAE latent units whose cosine similarity exceeds the threshold, and within each connected subgraph replace the small SAE units as a whole with the corresponding large SAE units.
meta-SAE Architecture and Training Design
- Core idea: Use the decoder direction vector matrix of a trained standard large SAE as input training data, and directly train a second-level sparse autoencoder to find sparse linear combinations of decoder directions.
- Model architecture and hyperparameters: Uses the BatchTopK architecture; for a GPT-2 SAE with 49152 latent units, a meta-SAE with dictionary size 2304 is trained, with each SAE latent unit activating 4 meta latent units on average.
- Optimization configuration: Since the training sample size is fixed at 49152, the meta-SAE is trained for 2000 epochs, using the Adam optimizer, with learning rate set to 1e-4 and batch size set to 4096.
Automated Interpretation and Validation Protocol
- Staged LLM explanation generation: First, text sequences that activate the SAE latent unit are input to GPT-4o-mini to generate an SAE feature explanation; then, all SAE latent units that activate a given meta latent unit and their high-activation samples are collected, and the model is prompted to summarize the common behavior as the meta latent unit explanation.
- Zero-shot multiple-choice judgment: Given a target latent unit and the explanations of the meta latent units it activates, GPT-4o-mini is prompted to select the most relevant item from 5 candidate explanations (1 correct SAE explanation and 4 random SAE explanations), to test the validity of the decomposition explanations.
What experiments did the paper conduct?
The authors evaluated cross-size SAE stitching, meta-SAE decomposition and reconstruction, and downstream probing tasks on GPT-2 and Gemma-2.
Experimental Setup
- Models under test: GPT-2 Small (evaluating layer 8 residual stream) and Gemma 2 2B (evaluating layer 12 residual stream).
- SAE specifications and sizes: Trained 8 SAEs with different dictionary sizes on GPT-2 Small (768, 1536, 3072, 6144, 12288, 24576, 49152, 98304); evaluated two Gemma Scope SAEs on Gemma 2 2B (dictionary sizes 16384 and 32768).
- Training data and hyperparameters: GPT-2 SAEs were trained on the OpenWebText dataset for 300 million tokens, with sequence length truncated to 128; Adam optimizer with learning rate 4e-4, batch size 4096, and sparsity penalty coefficient 8e-5.
- Evaluation metrics: Reconstruction mean squared error (MSE), average number of active latent units (L0), zero-ablation cross-entropy loss recovery (CELR Zero), mean-ablation cross-entropy loss recovery (CELR Mean), and proportion of variance explained.
- Interpretation and evaluation models: Used GPT-4o-mini for automated explanation generation and five-choice zero-shot multiple-choice evaluation on 1000 samples.
- Downstream benchmarks: Evaluated 8 sparse probing datasets from the Anonymous (2024) benchmark suite and 2 target probe perturbation (TPP) concept elimination datasets.
Main Results
Swipe horizontally to read the table
Model Dictionary Size L0 MSE CELR Zero CELR Mean gpt2-small 768 35.2 2.72 0.915 0.876 gpt2-small 1536 39.5 2.22 0.942 0.915 gpt2-small 3072 42.4 1.89 0.955 0.937 gpt2-small 6144 43.8 1.63 0.965 0.949 gpt2-small 12288 43.9 1.46 0.971 0.958 gpt2-small 98304 43.9 1.14 0.980 0.970 Gemma 2 2B 16384 43.4 1.72 0.983 0.980 Gemma 2 2B 32768 41.5 1.59 0.985 0.982 (From Table 2; the table omits the 24576 and 49152 sizes for gpt2-small due to row limits)
- Reconstruction performance vs. size: The authors report that as dictionary size increases from 768 to 98304, GPT-2 SAE MSE decreases from 2.72 to 1.14, CELR Zero improves from 0.915 to 0.980, and L0 remains between 42 and 44 once size exceeds 3072.
- Gemma 2B reconstruction performance: When Gemma Scope SAE size increases from 16384 to 32768, MSE decreases from 1.72 to 1.59, L0 decreases from 43.4 to 41.5, and CELR Zero increases from 0.983 to 0.985.
- Evidence of incompleteness: The authors argue that reconstruction error continues to decrease as dictionary size grows, reflecting that errors in smaller SAEs stem not only from coarse-grained approximation but also from completely missing some features.
SAE Stitching Experiments and New Feature Validation
- Test content: Latent units from large SAEs were added one by one to small SAEs, and reconstructed features were replaced in groups based on bipartite graph cosine similarity (GPT-2 threshold 0.7).
- Results: Introducing new features with cosine similarity less than or equal to 0.7 from GPT2-1536 into GPT2-768 improved MSE by nearly 10% (Figure 15); on input samples where new latent units activated, the small SAE's MSE worsened (MSE 3.292 when activated vs. 2.703 when not activated, page 15).
- Authors' interpretation: The authors argue this indicates larger SAEs learn new features that smaller SAEs lack (incompleteness), and also contain composite features corresponding to multiple latent units in smaller SAEs.
meta-SAE Decomposition and Concept Validation
- Test content: Trained a meta-SAE with dictionary size 2304 on the decoder directions of a GPT-2 49152-size SAE, and used GPT-4o-mini for automated interpretation and multiple-choice matching evaluation.
- Results: The meta-SAE explained 55.47% of the variance in decoder directions; on a test of 1000 randomly sampled SAE latent units, GPT-4o-mini selected the correct explanation in five-choice questions with 73% accuracy (Section 5.1).
- Authors' interpretation: The authors argue that concepts such as "Einstein" can be decomposed into interpretable meta-latent units such as "scientist," "German," and "famous person" (Figure 1, Table 1), indicating that latent units in larger SAEs are not atomic.
Downstream Sparse Probing and Concept Elimination Evaluation
- Test content: Used single-latent-unit logistic regression probes on 8 classification datasets to evaluate the existence of true features (Figure 21), and tested target probe perturbation scores STPP on 2 datasets (Figure 23).
- Results: Single-latent-unit sparse probing accuracy showed complex, dataset-dependent fluctuations with SAE dictionary size, without monotonic improvement (Figure 21); concept elimination STPP scores generally trended downward with increasing size, but were also non-monotonic (Figure 23).
- Authors' interpretation: The authors argue that finer-grained and composite concepts learned by larger SAEs do not always translate into improved downstream task performance; different tasks require latent representations at different scales.
Other Ablations and Analyses
- Reconstruction proportion for same-size SAEs: Between same-size (3072) GPT-2 SAEs with different random seeds, the proportion of reconstructed features with cosine similarity greater than 0.7 was 94% (Figure 16a).
- Bias vector interchangeability: The minimum cosine similarity between decoder bias terms of different-size SAEs was 0.9970, with magnitude differences less than 0.1%; interchanging them had minimal impact on reconstruction MSE (Figure 17).
- meta-SAE direction replacement: Replacing meta-SAE decoder directions with the most similar directions from a standard SAE of similar size and fine-tuning the encoder resulted in only a small increase in reconstruction MSE (Figure 20).
- Multi-latent-unit probing accuracy: When using the top 50 latent units for sparse probing, evaluation accuracy continued to show dataset-specific non-monotonic trends with dictionary size (Figure 22).
Negative Results and Exceptions
- Downstream tasks did not improve monotonically with size: Sparse probing and concept elimination results did not improve monotonically with SAE dictionary expansion; the authors did not infer additional causes, only reporting that results were closely tied to the dataset.
- Direct insertion of high-similarity features worsened performance: Directly inserting large-SAE latent units with cosine similarity greater than 0.7 to existing units into small SAEs increased reconstruction MSE due to functional overlap (Figure 4).
What are some points that can be further explored?
The authors point out limitations such as not identifying canonical units and not exploring very large SAEs; the experiments covered 10 SAEs on GPT-2 and Gemma-2.
Limitations and Future Directions Noted by the Authors
- No canonical analysis unit identified: In Section 6, the authors explicitly state that the proposed methods neither identify the canonical analysis unit needed for mechanistic interpretability nor determine the dictionary size to use for a given task.
- Limited model scope: In Section 6, the authors explicitly state that this study only examined two language models (GPT-2 Small and Gemma 2 2B), without including very large SAEs like those in Templeton (2024).
- Linking latent units to concepts remains open: In Section 6, the authors explicitly state that the application of SAEs in mechanistic interpretability is still in its early stages, and relating learned latent units to interpretable concepts remains an open problem.
- Need to explore alternative paths to canonical units: In Sections 1 and 6, the authors suggest that future research should explore alternative methods for identifying canonical units, or adopt a pragmatic strategy of choosing SAE size based on the downstream task.
Experimental Coverage
- Model coverage: The experiments only covered 2 autoregressive language models (GPT-2 Small and Gemma 2 2B).
- SAE instance coverage: The evaluation covered 8 SAEs trained on the residual stream of layer 8 of GPT-2 Small (dictionary sizes 768 to 98304) and 2 Gemma Scope SAEs trained on the residual stream of layer 12 of Gemma 2 2B (dictionary sizes 16384 and 32768).
- meta-SAE scope: A BatchTopK meta-SAE with dictionary size 2304 was trained only on the GPT-2 SAE with dictionary size 49152.
- Explanation evaluation scale: The automated explanation and multiple-choice matching evaluation only sampled 1000 SAE latent units, and the only reviewer model used was GPT-4o-mini.
- Probing and intervention benchmarks: Downstream evaluation only covered 8 sparse probing datasets and 2 concept erasure datasets provided by Anonymous (2024).
Summarize the main content of the paper
The authors evaluate latent unit properties via SAE stitching and meta-SAE, and argue that existing SAEs cannot provide a unique, complete canonical analysis unit.
- Research positioning and core question: The paper empirically tests the core hypothesis in mechanistic interpretability that "SAEs can discover unique, complete, and atomic canonical analysis units," examining the substantive impact of dictionary size scaling on feature learning.
- Method design: The authors propose two complementary analysis tools: SAE stitching, which tests feature completeness and distinguishes novel from reconstruction features by exchanging latent units across models; and meta-SAE, which tests feature atomicity by performing a second sparse decomposition of large SAE decoder directions.
- Feature incompleteness result: Stitching novel features from GPT2-1536 with cosine similarity less than or equal to 0.7 into GPT2-768 improved reconstruction MSE by nearly 10% (Figure 15), and the authors note that small SAEs indeed miss key features.
- Feature composability result: A meta-SAE with dictionary size 2304 explained 55.47% of the variance of the decoder directions of the 49152-size GPT-2 SAE, and GPT-4o-mini achieved 73% accuracy in five-choice explanation matching on 1000 latent units (Section 5.1), showing that composite concepts can be decomposed into more basic monosemantic components.
- Non-monotonic task performance: In single-latent-unit probing and concept erasure evaluations on 8 benchmark datasets, downstream accuracy showed non-monotonic fluctuations as the dictionary expanded (Figures 21, 23).
- Author conclusions and recommendations: The authors argue that simply increasing the SAE dictionary cannot converge to a unique canonical feature set suitable for all tasks; in practice, a pragmatic approach should be taken, selecting the SAE size appropriate for specific tasks such as probing, erasure, or manipulation, or exploring entirely new paths to canonical units.