MambaLRP:解释选择性状态空间序列模型
MambaLRP: Explaining Selective State Space Sequence Models
AI总结:
针对Mamba模型透明度不足的问题,提出基于层级相关性传播的MambaLRP解释算法,解决其组件导致的解释不可靠问题,实现最优解释性能,支持对Mamba架构的深度分析。
摘要:
近期,采用选择性状态空间序列模型(即Mamba模型)的序列建模方法引发了研究热潮。这类模型能够以线性时间高效处理长序列,正被快速应用于语言建模等广泛场景,展现出可观的性能。为推动其在真实场景中的可靠应用,提升模型透明度至关重要。我们的研究填补了这一关键空白:将可解释性方法,尤其是层级相关性传播(Layer-wise Relevance Propagation, LRP)引入Mamba架构。基于相关性守恒公理,我们识别出Mamba架构中会导致解释不可靠的特定组件。为解决该问题,我们提出MambaLRP——一种LRP框架下的新算法,可确保相关性在这些组件中更稳定、可靠地传播。我们提出的方法具备理论合理性,在多种模型和数据集上均取得了当前最优的解释性能。此外,MambaLRP支持对Mamba架构进行更深入的检视,可发现各类偏差并评估其重要性,还能对以往关于Mamba模型长程依赖能力的推测进行分析验证。
英文摘要:
Recent sequence modeling approaches using selective state space sequence models, referred to as Mamba models, have seen a surge of interest. These models allow efficient processing of long sequences in linear time and are rapidly being adopted in a wide range of applications such as language modeling, demonstrating promising performance. To foster their reliable use in real-world scenarios, it is crucial to augment their transparency. Our work bridges this critical gap by bringing explainability, particularly Layer-wise Relevance Propagation (LRP), to the Mamba architecture. Guided by the axiom of relevance conservation, we identify specific components in the Mamba architecture, which cause unfaithful explanations. To remedy this issue, we propose MambaLRP, a novel algorithm within the LRP framework, which ensures a more stable and reliable relevance propagation through these components. Our proposed method is theoretically sound and excels in achieving state-of-the-art explanation performance across a diverse range of models and datasets. Moreover, MambaLRP facilitates a deeper inspection of Mamba architectures, uncovering various biases and evaluating their significance. It also enables the analysis of previous speculations regarding the long-range capabilities of Mamba models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。