TL;DR
This paper proposes a method to reduce "feature interference" in language models by forcing internal representations to be almost orthogonal using regularized Sparse Autoencoders (SAEs). By aligning model internals with the Independent Causal Mechanisms principle, the authors demonstrate that we can perform precise, isolated interventions—like swapping a character's name—without degrading the model's underlying reasoning performance.
What Problem Does This Paper Address?
A cornerstone of mechanistic interpretability is the Linear Representation Hypothesis: the idea that language models (LMs) represent concepts as linear directions (features) in activation space. However, because LMs are compressed, they often represent more features than they have dimensions, a phenomenon known as superposition.
The downside of superposition is interference. When features are not orthogonal (i.e., they are "entangled"), intervening on one feature (like changing a name) can accidentally bleed into others (like changing the math logic). This makes it difficult to perform "surgical" edits to model behavior. The authors aim to bridge the gap between idealized, isolated interventions and the messy, entangled reality of current LMs.
Methods
The authors introduce a two-stage pipeline to enforce modularity:
- Orthogonality-Regularized SAEs: They train a Sparse Autoencoder (SAE) with a novel penalty term: $\lambda \|tril(D^\top D)\|_F^2$. This term explicitly pushes the decoder's feature dictionary ($D$) toward orthogonality by penalizing the dot products between different feature vectors.
- Model-in-the-Loop Fine-tuning: After freezing the "almost orthogonal" SAE decoder, they insert it into a pre-trained LM (Gemma 2 2B or Llama 3.2 1B). They then use LoRA (Low-Rank Adaptation) to fine-tune the rest of the LM around the SAE. This allows the model to adapt its internal processing to the new, more rigid geometric constraints of the SAE features.
Theoretically, they use the Independent Causal Mechanisms (ICM) principle to formalize "intervenability." They provide a mathematical upper bound showing that the discrepancy in model output after an intervention is directly controlled by the self-coherence (a measure of non-orthogonality) of the feature dictionary.
Datasets
- MetaMathQA: Used for the primary fine-tuning of the LM around the SAE to ensure the model maintains its mathematical reasoning capabilities.
- GSM8K: Used to evaluate the model's reasoning performance on grade-school math word problems.
- Intervention Datasets: The authors hand-designed a dataset of 3,960 examples to test interventions. These involved swapping 12 male first names (e.g., "Mike" to "Jason") and observing if the model could correctly adopt the new name while keeping the math answer identical. They also extended this to animal and location concepts.
Key Insights and Ideas
- Orthogonality as Modularity: Forcing features to be almost orthogonal acts as a structural bias that promotes modularity. If features don't "overlap" geometrically, intervening on one is less likely to inform or influence others.
- Performance vs. Interpretability: A common fear is that forcing orthogonality will break the model's performance. This paper shows that LMs are flexible enough to be fine-tuned around these constraints, maintaining high accuracy on complex tasks like GSM8K while gaining better intervenability.
- The "Aquaman" Effect: In a striking qualitative example, the authors swapped the feature for "Mike" with a feature related to the prefix "aqua." The model didn't just output "aqua"; it coherently adapted the context to generate "Aquaman" while still solving the math problem correctly.
Key Results
-
Successful Orthogonalization: The orthogonality penalty effectively reduced the "interference" loss by several orders of magnitude as the penalty strength ($\lambda$) increased.
Orthogonality Evaluation Loss -
Stable Reasoning: Despite the strict geometric constraints, the model's accuracy on GSM8K remained competitive with non-penalized versions, even showing slight improvements in some configurations.
Figure 3: Evaluation on GSM8K We evaluate on the GSM8K test set. Error bars represent the basic bootstrap confidence intervals (Efron, 1979) on 100 randomly drawn datasets. -
Crisper Interventions: Models with higher orthogonality penalties were significantly better at "isolated interventions." For example, at $\lambda = 10^{-4}$, the model correctly included the target name in its output 74.9% of the time, compared to only 62.2% for the standard model.
Figure 4: Intervenability We intervene on 12 features in the SAE corresponding to the concept of first names. Then, we evaluate the ability to maintain reasoning performance and the correct generation of the included first name.
Limitations and Future Work
- Layer Constraints: The study focused on SAEs inserted in the middle-to-late layers (layers 12/13). Features in these layers tend to be high-level concepts. It remains to be seen if this approach works as well for low-level features in earlier layers.
- Concept Scope: The interventions were limited to "subject-level" changes (names, animals, locations). The authors did not attempt to intervene on the "arithmetic logic" itself, which would be a much harder causal mechanism to isolate.
- Dead Features: The authors noted that higher orthogonality penalties led to a higher fraction of "dead features" (features that never activate), suggesting a trade-off between dictionary capacity and orthogonality.
- Adversarial Robustness: A promising future direction is exploring whether reducing superposition makes models less vulnerable to adversarial attacks that exploit feature interference.
Summary updated