Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation
Itamar Zimerman, Ameen Ali, Lior Wolf
摘要
Recent advances in efficient sequence modeling have led to attention-free layers, such as Mamba, RWKV, and various gated RNNs, all featuring sub-quadratic complexity in sequence length and excellent scaling properties, enabling the construction of a new type of foundation models. In this paper, we present a unified view of these models, formulating such layers as implicit causal self-attention layers. The formulation includes most of their sub-components and is not limited to a specific part of the architecture. The framework compares the underlying mechanisms on similar grounds for different layers and provides a direct means for applying explainability methods. Our experiments show that our attention matrices and attribution method outperform an alternative and a more limited formulation that was recently proposed for Mamba. For the other architectures for which our method is the first to provide such a view, our method is effective and competitive in the relevant metrics compared to the results obtained by state-of-the-art Transformer explainability methods. Our code is publicly available. https://github.com/Itamarzimm/UnifiedImplicitAttnRepr
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
- Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- TensorLens: End-to-End Transformer Analysis via High-Order Attention Tensors 引用了 Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer Explainability
- TimeViper: A Hybrid Mamba-Transformer Vision-Language Model for Efficient Long Video Understanding 引用了 Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
- VMamba: Visual State Space Model 引用了 Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
- VMamba: Visual State Space Model 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
- VMamba: Visual State Space Model 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- State Space Prompting via Gathering and Spreading Spatio-Temporal Information for Video Understanding 引用了 Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
- State Space Prompting via Gathering and Spreading Spatio-Temporal Information for Video Understanding 引用了 VMamba: Visual State Space Model
- State Space Prompting via Gathering and Spreading Spatio-Temporal Information for Video Understanding 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
- State Space Prompting via Gathering and Spreading Spatio-Temporal Information for Video Understanding 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Efficiently Modeling Long Sequences with Structured State Spaces 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer Explainability 引用了 Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
- RS-SSM: Refining Forgotten Specifics in State Space Model for Video Semantic Segmentation 引用了 Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
- RS-SSM: Refining Forgotten Specifics in State Space Model for Video Semantic Segmentation 引用了 VMamba: Visual State Space Model
- RS-SSM: Refining Forgotten Specifics in State Space Model for Video Semantic Segmentation 引用了 State Space Prompting via Gathering and Spreading Spatio-Temporal Information for Video Understanding
- RS-SSM: Refining Forgotten Specifics in State Space Model for Video Semantic Segmentation 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
引用它的顶会 Paper7
- Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer ExplainabilityYarden Bakish, Itamar Zimerman, Hila Chefer, Lior WolfNeurIPS 2025 · 8 次引用
- TimeViper: A Hybrid Mamba-Transformer Vision-Language Model for Efficient Long Video UnderstandingBoshen Xu, Zihan Xiao, Jiaze Li, Jianzhong Ju 等CVPR 2026 · 5 次引用
- State Space Prompting via Gathering and Spreading Spatio-Temporal Information for Video UnderstandingJiahuan Zhou, Kai Zhu, Zhenyu Cui, Zichen Liu 等NeurIPS 2025 · 2 次引用
- TensorLens: End-to-End Transformer Analysis via High-Order Attention TensorsIdo Andrew Atad, Itamar Zimerman, Shahar Katz, Lior WolfACL 2026 · 1 次引用
- RS-SSM: Refining Forgotten Specifics in State Space Model for Video Semantic SegmentationKai Zhu, Zhenyu Cui, Zehua Zang, Jiahuan ZhouCVPR 2026 · 1 次引用
它引用的 Paper33
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 次引用
- VMamba: Visual State Space ModelYue Liu, Yunjie Tian, Yuzhong Zhao, Hongtian Yu 等NeurIPS 2024 · 3,199 次引用
- Pythia: A Suite for Analyzing Large Language Models Across Training and ScalingStella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley 等ICML 2023 · 1,822 次引用
- Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space ModelLianghui Zhu, Bencheng Liao, Qian Zhang, Xinlong Wang 等ICML 2024 · 1,725 次引用
相关 Paper
- Learning to (Learn at Test Time): RNNs with Expressive Hidden StatesYu Sun, Xinhao Li, Karan Dalal, Jiarui Xu 等ICML 2025
- MambaLRP: Explaining Selective State Space Sequence ModelsFarnoush Rezaei Jafari, Grégoire Montavon, Klaus-Robert Müller, Oliver EberleNeurIPS 2024 · 44 次引用
- The Hidden Attention of Mamba ModelsAmeen Ali, Itamar Zimerman, Lior WolfACL 2025
- Log-Linear AttentionHan Guo, Songlin Yang, Tarushii Goel, Eric P. Xing 等ICLR 2026 · 41 次引用
- Hydra: Bidirectional State Space Models Through Generalized Matrix MixersSukjun Hwang, Aakash Sunil Lahoti, Ratish Puduppully, Tri Dao 等NeurIPS 2024 · 54 次引用
