Overview
Sparse Autoencoders (SAEs) have become the go-to tool for extracting understandable features from the opaque representations of neural networks. However, this paper proves that the standard, simple encoders used in SAEs are mathematically incapable of perfect feature recovery. By testing more expressive encoders like Multi-Layer Perceptrons (MLPs) and iterative sparse coding, the authors demonstrate that spending a bit more compute yields significantly more accurate and human-interpretable features in large language models (LLMs).
The Amortisation Gap in Sparse Autoencoders
Modern LLMs operate as black boxes. To understand their inner workings, researchers rely on the "superposition hypothesis," which suggests neural networks pack many interpretable concepts (features) into a smaller number of dimensions.
Currently, the most popular method to unpack these features is using SAEs. Standard SAEs employ a very simple "linear-nonlinear" encoder—essentially one matrix multiplication followed by a ReLU activation—to quickly guess the sparse features. But does this fast, "amortised" approach sacrifice accuracy?
This paper investigates the amortisation gap: the difference in quality between the fast guess made by a standard SAE and the true, optimal sparse code. The authors ask a fundamental question: is the standard SAE architecture actually powerful enough to decode the complex representations inside an LLM, or do we need more sophisticated methods?
Methodology
The authors tackle this problem through a combination of mathematical theory and empirical experiments:
- Theoretical Proof: Using compressed sensing theory, they mathematically analyze whether a standard single-layer SAE encoder can perfectly recover high-dimensional sparse signals from lower-dimensional projections.
- Empirical Comparison: They decouple the dictionary learning (finding the features) from sparse inference (calculating feature activations) and compare four encoding schemes:
- Standard SAE: The baseline linear-nonlinear encoder.
- Multilayer Perceptron (MLP): A deeper, more complex neural network encoder.
- Sparse Coding (SC): An iterative optimization algorithm that solves for the best sparse code on the fly (no learned encoder).
- SAE+ITO: Using a standard SAE but adding Inference-Time Optimization to refine the codes.
- Automated Interpretability: To test if better math translates to better human understanding, they trained these models on real LLM activations (from GPT-2 Small, using OpenWebText) and used GPT-4o to automatically score how interpretable the resulting features were.
Key Insights and Results
The Math Forbids Perfect SAEs
The authors mathematically prove that a single-layer linear-nonlinear encoder simply lacks the computational complexity to perfectly invert a lower-dimensional dense vector back to its high-dimensional sparse origins. A non-zero amortisation gap is guaranteed, meaning standard SAEs will always fall short of perfect recovery.
Busting the "Simple is Better" Myth
In the mechanistic interpretability community, there is a prevailing fear that if an encoder is too complex (like an MLP), it might "cheat" and learn alien, uninterpretable features not actually used by the LLM. This paper proves the opposite: matching the computational complexity of the LLM's own representations actually extracts more interpretable features.
A Consistent Compute Threshold
Across synthetic tests, MLPs consistently surpassed standard SAE performance at a specific computational threshold. This suggests the limitation of SAEs is architectural, not just a matter of training time.
- Synthetic Recovery: MLPs consistently beat standard SAEs in recovering known latent features, achieving a Mean Correlation Coefficient (MCC) roughly 0.1 higher. In fully unsupervised setups, iterative Sparse Coding outperformed SAEs by over 10% in MCC.
- Real-World Interpretability: When evaluated by GPT-4o on GPT-2 activations, the features extracted by the MLP encoder achieved a median F1 interpretability score of 0.83. Standard SAEs and iterative sparse coding lagged significantly behind, with median scores around 0.60.
- Sparsity vs. Performance: Iterative sparse coding showed a strict Pareto improvement over SAEs on synthetic data, achieving lower reconstruction error for the exact same level of sparsity.
Limitations and Future Work
While MLPs showed strong interpretability, the authors note their implementation of iterative sparse coding (LCA) for the GPT-2 experiment was not fully optimized for scale. This likely explains why it scored lower on interpretability than the MLP despite strong synthetic performance. Furthermore, the synthetic data generation assumed constant sparsity and uncorrelated features, which doesn't perfectly capture the messy reality of LLM representations.
Future work will involve benchmarking these complex encoders against newer, state-of-the-art SAE variants (like Top-$k$, Gated, or JumpReLU SAEs). The authors also recommend improving automated interpretability pipelines to sample a wider spectrum of feature activations, rather than just looking at the top-activating tokens.
Summary updated