Introduction
Sparse Autoencoders (SAEs) have emerged as the primary tool for mechanistic interpretability, acting as a "lens" to decompose high-dimensional neural activations into human-understandable concepts. However, a significant challenge remains: in natural language, the "ground truth" features are unknown, making it difficult to distinguish between genuine insights and "hallucinated" patterns. This research investigates the robustness and causal validity of SAEs by applying them to formal languages with known structures.
The authors identify two critical gaps in current SAE methodologies:
- The Robustness Gap: SAE performance is highly sensitive to training hyperparameters, such as normalization and sparsity constraints.
- The Causality Gap: Many "interpretable" features discovered by SAEs are purely correlational—they activate in the presence of a concept (e.g., an adjective) but have no causal influence on the model's subsequent predictions.
The Synthetic Testbed
To evaluate SAEs against ground-truth features, the study utilizes three synthetic datasets generated from Probabilistic Context-Free Grammars (PCFGs):
- Dyck-2: Balanced brackets (e.g.,
([])) to test tracking of nested structures. - Expr: Prefix arithmetic expressions (e.g.,
+ 1 2) to test counter-based logic. - English PCFG: A simplified grammar restricted to Subject-Verb-Object constructions to test part-of-speech (PoS) identification.
By training small Transformers on these languages, the researchers can perform precise interventions—clamping specific SAE latents and observing the resulting changes in the model's output distribution.
Methods: Causal Regularization
A core contribution of this work is the introduction of a Causal Loss ($\mathcal{L}_{caus}$). Standard SAEs are trained primarily for reconstruction and sparsity. The proposed causal regularization encourages the SAE to prioritize features that have a linear, predictable effect on the model's output.
This loss function incentivizes the SAE to find features that the model actually "listens" to during computation, rather than just "passenger" features that happen to correlate with the input.
Key Findings
Top-$k$ vs. $L_1$ Sparsity
The researchers found that using a Top-$k$ activation function—where only the $k$ strongest neurons are allowed to fire—consistently outperformed the traditional $L_1$ penalty. Top-$k$ SAEs achieved near-perfect reconstruction (up to 99.88% on the Expr language), whereas $L_1$-regularized models often failed to converge or provided poor reconstruction in similar settings.
The Interpretability Illusion
The study highlights an "interpretability illusion" where standard SAEs find features that correlate perfectly with linguistic categories (like "adjectives") but fail to influence the model's behavior when intervened upon. By incorporating the Causal Loss, the authors successfully discovered features that, when clamped to high values, correctly shifted the model's output probabilities (e.g., increasing the likelihood of a "noun" following an "adjective").
Linearity and Attention
While the Causal Loss is effective for features processed by MLP layers (which exhibit more linear behavior), it struggles with features handled by Attention layers. Because Attention is highly non-linear, the current linear causal objective fails to capture the complex "circuits" required for languages like Dyck-2.
Conclusion and Future Work
This research demonstrates that interpretability is not a given; it must be causally verified. While SAEs are powerful, their sensitivity to inductive biases and the potential for discovering non-causal features necessitate more robust training objectives. Future work will focus on developing causal regularizations capable of handling the non-linear dynamics of attention mechanisms in larger, real-world language models.
Summary updated