arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.22719cs.LG
收藏

通过激活子空间瓶颈解释和操控状态空间模型

Interpreting and Steering State-Space Models via Activation Subspace Bottlenecks

Microsoft Research, Redmond(微软研究院(红mond));Independent Researcher(独立研究员)

Vamshi Sunku Mohan, Kaustubh Gupta, Aneesha Das, Chandan Singh

AI总结:

本文通过识别Mamba家族状态空间模型中的激活子空间瓶颈,提出了一种在测试时通过乘以标量来操控激活的干预方法,从而在多个模型和基准测试中提升了性能,并验证了这些瓶颈对性能的阻碍作用。

摘要:

状态空间模型(SSMs)已经 emerged 作为构建强大语言模型的有效策略,避免了transformers中计算注意力的二次复杂度。尽管有潜力,现代SSMs的可解释性和操控性仍然相对研究不足。我们通过使用机理可解释性工具,在Mamba家族的SSMs中识别出激活子空间瓶颈。然后,我们引入了一种测试时操控干预,通过将识别出的瓶颈的激活乘以一个标量。在7个SSMs和6个多样化的基准测试中,这种干预平均提升了8.27%的性能,无需任何任务特定的调优。最后,我们验证了识别出的瓶颈确实阻碍了性能,通过修改它们得到一种称为Stable-Mamba的架构,在重新训练时实现了长上下文性能的提升。

英文摘要:

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 7 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑