Skip to main content
QUICK REVIEW

[论文解读] Interpreting and Steering State-Space Models via Activation Subspace Bottlenecks

Vamshi Sunku Mohan, Kaustubh Gupta|arXiv (Cornell University)|Feb 26, 2026
Machine Learning in HealthcareComputer Science被引用 0
一句话总结

该论文在 Mamba 状态空间模型中识别 Activation Subspace Bottlenecks,并引入事后引导(post-hoc steering)与 Stable-Mamba 架构,在多种 SSMs 与基准测试中取得一致的性能提升,且无需任务特异性微调。

ABSTRACT

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.

研究动机与目标

  • 让可解释性与可引导性成为状态空间模型(SSMs)的一个替代 transformers 的方向。
  • 使用机械性可解释性工具在 Mamba 中识别 Activation Subspace Bottlenecks(激活子空间瓶颈)。
  • 展示一种事后引导干预,在不进行任务特异性微调的情况下提升性能。
  • 提出 Stable-Mamba 架构以缓解瓶颈并提升长上下文表现。
  • 在多种 SSMs 与多样化基准测试上验证该方法。

提出的方法

  • 从 SSM 隐状态构建一个近似注意力的影响矩阵,以定义激活子空间。
  • 使用 Sparse Autoencoders (SAEs) 获得激活的低维摘要,并进行字典学习以提取可解释组件。
  • 应用 Stochastic Parameter Decomposition (SPD) 获取层级与参数层面的度量(熵、方差、秩等)。
  • 将 Delta-Sensitive 子空间定义为与状态更新相关的高激活方差子空间。
  • 通过放大所选的 delta-sensitive 子空间(标量因子,测试值包括 2 与 5)进行事后引导。
  • 通过架构性变更(多时间尺度动力学、集成输出、稀疏全局上下文、学习门控、梯度缩放等)开发 Stable-Mamba 并从头重新训练。

实验结果

研究问题

  • RQ1在 Mamba SSMs 中哪些激活子空间会成为信息传递的瓶颈?
  • RQ2对识别出的瓶颈进行事后引导是否能在不进行任务特异性微调的情况下提升性能?
  • RQ3由可解释性指导的架构变更(Stable-Mamba)是否能缓解瓶颈并提升跨任务的长上下文表现?
  • RQ4在多种 SSM 变体与基准测试中识别出的瓶颈是否具有可移植性?
  • RQ5有哪些证据支持瓶颈在限制性能方面的因果作用?

主要发现

  • 在 6 项多样基准测试、7 种 SSM 中,事后引导平均提升为 8.27%。
  • 引导目标为瓶颈层中的 delta-sensitive 子空间(如 Vanilla Mamba 的第 20 层),并采用 steering 因子 5(某些子空间为 2)。
  • 激活子空间瓶颈与第 20 层的信息压缩相关,缓解后信息流更为顺畅,熵下降。
  • 通过从头重新训练、并进行架构改动的 Stable-Mamba 展示了长上下文收益与信息瓶颈减小(如 KL 发散降低、梯度活动增加)。
  • 经过引导的 Mamba 和 Stable-Mamba 在 RULER、Long Range Arena、LongBench v2 等任务上相较基线具有更优的长上下文表现。
  • 引导效应在 7 种 SSM 中具有普遍性,在 IFEval 与 QA 等任务上表现显著改进。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。