[Paper Review] Interpreting and Steering State-Space Models via Activation Subspace Bottlenecks
The paper identifies Activation Subspace Bottlenecks in Mamba state-space models, and introduces post-hoc steering and a Stable-Mamba architecture, yielding consistent performance gains across multiple SSMs and benchmarks without task-specific tuning.
State-space models (SSMs) have emerged as an efficient strategy for building powerful language models, avoiding the quadratic complexity of computing attention in transformers. Despite their promise, the interpretability and steerability of modern SSMs remain relatively underexplored. We take a major step in this direction by identifying activation subspace bottlenecks in the Mamba family of SSM models using tools from mechanistic interpretability. We then introduce a test-time steering intervention that simply multiplies the activations of the identified bottlenecks by a scalar. Across 5 SSMs and 6 diverse benchmarks, this intervention improves performance by an average of 8.27%, without requiring any task-specific tuning. Finally, we validate that the identified bottlenecks are indeed hindering performance by modifying them to yield an architecture we call Stable-Mamba, which achieves long-context performance gains when retrained from scratch.
Motivation & Objective
- Motivate interpretability and steerability of state-space models (SSMs) as an alternative to transformers.
- Identify activation subspace bottlenecks in Mamba using mechanistic interpretability tools.
- Demonstrate a post-hoc steering intervention that boosts performance without task-specific tuning.
- Propose Stable-Mamba architecture to mitigate bottlenecks and improve long-context performance.
- Validate the approach across multiple SSMs and diverse benchmarks.
Proposed method
- Construct an attention-like influence matrix from SSM hidden states to define activation subspaces.
- Use Sparse Autoencoders (SAEs) to obtain low-dimensional summaries of activations and dictionary learning to extract interpretable components.
- Apply Stochastic Parameter Decomposition (SPD) to obtain layer- and parameter-level metrics (entropy, variance, rank, etc.).
- Identify Delta-Sensitive subspaces as those with high activation variance linked to state updates.
- Perform post-hoc steering by amplifying selected delta-sensitive subspaces with a scalar factor (tested values include 2 and 5).
- Develop Stable-Mamba by architectural changes (multi-timescale dynamics, ensemble output, sparse global context, learned gating, gradient scaling, etc.) and retrain from scratch.
Experimental results
Research questions
- RQ1What are the activation subspaces that bottleneck information routing in Mamba SSMs?
- RQ2Can post-hoc steering of identified bottlenecks improve performance without task-specific tuning?
- RQ3Do architectural changes guided by interpretability (Stable-Mamba) mitigate bottlenecks and improve long-context performance across tasks?
- RQ4Are the identified bottlenecks portable across multiple SSM variants and benchmarks?
- RQ5What evidence supports the causal role of bottlenecks in limiting performance?
Key findings
- Post-hoc steering improves performance across 6 diverse benchmarks for 7 SSMs by an average of 8.27%.
- Steering targets delta-sensitive subspaces in bottleneck layers (e.g., Layer 20 in Vanilla Mamba) and uses a steering factor of 5 (and 2 for some subspaces).
- Activation Subspace Bottlenecks correlate with information compression at Layer 20 and, when mitigated, yield smoother information flow and reduced entropy.
- Stable-Mamba, retrained from scratch with architectural changes, demonstrates long-context gains and reduced information bottlenecks (e.g., lower KL divergence and higher gradient activity).
- Steered Mamba and Stable-Mamba achieve superior long-context performance on RULER, Long Range Arena, and LongBench v2 compared to baselines.
- Steering effects generalize across 7 SSMs, with notable improvements on tasks like IFEval and QA.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.