TL;DR
This paper argues that feature consistency should be a top priority in mechanistic interpretability (MI) research using Sparse Autoencoders (SAEs). The authors propose a new metric, PW-MCC, to measure this consistency and show that achieving high levels is possible with the right SAE architectures, leading to more reliable and efficient MI.
What Problem Does This Paper Address?
Mechanistic Interpretability (MI) aims to understand how neural networks work by breaking down their internal computations into human-understandable "features." Sparse Autoencoders (SAEs) are a popular tool for this, but a major challenge is that when you train an SAE multiple times on the same data, you often get different sets of features each time. This inconsistency makes it hard to trust the interpretations derived from SAEs, slows down research, and makes it difficult to build upon previous findings. The paper addresses this problem by advocating for and demonstrating how to achieve consistent feature learning in SAEs.
Methods
The core contribution is the proposal and validation of the Pairwise Dictionary Mean Correlation Coefficient (PW-MCC) as a metric for measuring feature consistency. PW-MCC quantifies how similar two SAE dictionaries are after accounting for permutations and scaling. The authors also:
- Theoretically ground their approach by connecting SAEs to dictionary learning identifiability results, particularly the "spark condition."
- Develop a synthetic "model organism" to rigorously test their ideas and validate PW-MCC as a proxy for ground-truth feature recovery.
- Empirically evaluate various SAE architectures (e.g., Standard SAE, TopK SAE, Gated SAE) on both synthetic data and real-world LLM activations to demonstrate the attainability and benefits of high feature consistency.
- Investigate the impact of distributional properties (like Zipfian distributions) and dictionary size on feature consistency.
Datasets
The paper uses the following datasets:
- Synthetic datasets: Generated to control for specific properties like sparsity and distribution.
- Real-world LLM activations:
- Activations from the EleutherAI/pythia-160m-deduped model (specifically layer 8).
- Activations from the google/gemma-2-2b model (specifically layer 12).
- The monology/pile-uncopyrighted dataset was used as the source for LLM text data.
No new benchmarks were introduced, but the paper focuses on evaluating existing SAE architectures on these datasets with a new consistency metric.
Key Insights and Ideas
- Feature consistency is not a luxury, but a necessity: The paper strongly argues that consistent features are crucial for reliable and cumulative progress in MI. Without it, interpretations are fragile and research is inefficient.
- PW-MCC is a practical and reliable metric: The proposed PW-MCC metric effectively captures feature consistency, even in unsupervised settings where ground truth is unavailable, and correlates well with ground-truth recovery.
- TopK SAEs excel at consistency: Architectures like TopK SAEs, which enforce sparsity structurally, are shown to achieve significantly higher feature consistency than L1-based methods, especially on LLM activations. This is because they directly optimize for the mathematical conditions required for identifiability.
- Frequency matters: More frequent features tend to be learned more stably and consistently across different training runs. This is a crucial insight for understanding how SAEs learn from real-world data.
- Capacity and distribution shape consistency: The relationship between the SAE's dictionary size and the complexity/skewness of the data distribution significantly impacts feature consistency. Over-capacity can lead to selection ambiguity, while under-capacity leads to incomplete recovery.
Key Results
- High consistency is achievable: TopK SAEs achieved a PW-MCC of ~0.80 on LLM activations, demonstrating that high feature consistency is attainable.
- PW-MCC correlates with semantic similarity: In real-world LLM experiments, high PW-MCC scores strongly correlated with the semantic similarity of automatically generated feature explanations, validating PW-MCC as a proxy for meaningful feature learning.
- Architectural differences are significant: TopK and Gated SAEs consistently outperformed Standard and JumpReLU SAEs in terms of PW-MCC, indicating better feature consistency.
- Synthetic validation: The model organism experiments showed that PW-MCC reliably tracked ground-truth feature recovery, and TopK SAEs achieved high consistency (~0.97) under idealized conditions.
- Frequency-dependent consistency: Features with higher activation frequencies consistently showed higher similarity across independent runs.
Limitations and Future Work
- Defining "canonical" features: While consistency is addressed, the paper acknowledges that defining truly "canonical" (unique, atomic, complete) features remains an open challenge.
- Broader notions of consistency: The paper focuses on "Strong Feature Consistency" (permutation and scaling equivalence). Future work could explore functional or subspace alignment.
- Theoretical guarantees for complex distributions: Extending theoretical guarantees for consistency to more complex, real-world data distributions is an area for future research.
- Adaptive sparsity: Developing SAEs that can adapt their sparsity to local data properties and different frequency bands is suggested.
- Understanding the amortization gap: Further research is needed to understand how the SAE encoder's amortization gap influences dictionary stability and how to improve it.
- Practical implications of sparsity misspecification: The paper highlights that practitioners often don't know the true sparsity of data. Future work could explore how to best choose sparsity parameters (k) and characterize the trade-offs.
Summary updated