Summary
Researchers from Apollo Research have introduced Attribution-based Parameter Decomposition (APD), a method that identifies neural network "mechanisms" by decomposing weights directly. By finding simple, faithful components in parameter space, APD untangles features even in superposition, offering a "parameters-first" alternative to traditional activation-based interpretability.
Introduction
Most current mechanistic interpretability research follows an "activations-first" paradigm, using techniques like Sparse Autoencoders (SAEs) to find features in internal firings. However, this approach faces significant hurdles: feature splitting, complex circuit mapping, and the difficulty of explaining how weights manage compressed computation (superposition).
To address these, APD shifts the focus to "parameters-first." By decomposing weight matrices into a sum of simpler mechanistic components, researchers can more directly understand the model's internal algorithms. This approach treats the network's parameters as a vector in a high-dimensional space that can be "carved at its joints" into constituent mechanisms.
Methodology: Attribution-based Parameter Decomposition
APD decomposes a target network's parameter vector ($\theta^*$) into $C$ components ($P_c$). The method optimizes for three properties derived from the Minimum Description Length (MDL) principle:
- Faithfulness: The components must sum to the original parameters ($\sum P_c = \theta^*$).
- Minimality: Only a few components (top-$k$) should be needed for any specific input to replicate the model's output.
- Simplicity: Each component should be as simple as possible, enforced by penalizing the rank of the component matrices to keep them "atomic."
The APD Training Loop
The decomposition is achieved through an iterative loop consisting of two primary steps:
- Attribution Step: Gradient-based attribution identifies which parameter components are most responsible for a given output for a specific input $x$.
- Minimality Training: The top-$k$ most attributed components are selected to form a new parameter vector $\kappa(x)$, which is then trained to replicate the target model's behavior on that input.
- Simplicity Training: Simultaneously, complexity penalties keep the active components low-rank and localized.
Experimental Results
The authors validated APD using toy models where ground-truth mechanisms are known, providing a proof of concept for the "parameters-first" approach:
- Toy Model of Superposition (TMS): APD recovered original feature directions with near-perfect accuracy (Mean Max Cosine Similarity $\approx$ 1.0).
- Compressed Computation: In a 1-layer residual MLP, APD identified components specializing in single features, even when those features shared physical neurons in the original model.
- Cross-Layer Mechanisms: APD successfully identified mechanisms spanning multiple layers, demonstrating its ability to see through traditional architectural boundaries that often frustrate activation-based analysis.
- Causal Scrubbing: Experiments confirmed that the identified components were causally responsible for specific model behaviors; ablating all but the identified component for a feature allowed the model to still function correctly for that feature.
Discussion and Limitations
While promising, APD currently faces computational challenges. Storing multiple parameter components requires a memory footprint similar to the target network for each component, which is difficult to scale to large language models. Additionally, the method is sensitive to hyperparameter tuning and relies on first-order gradients for attribution, which can be misleading in models with flat loss regions. Future work will explore enforcing low-rank constraints from the start and using more robust attribution methods like Integrated Gradients.
Summary updated