Lune

ICLR2025Top-tier venue

Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation

Itamar Zimerman, Ameen Ali, Lior Wolf

Abstract

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

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • TensorLens: End-to-End Transformer Analysis via High-Order Attention Tensors cites Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer Explainability
  • TimeViper: A Hybrid Mamba-Transformer Vision-Language Model for Efficient Long Video Understanding cites Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
  • VMamba: Visual State Space Model cites Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
  • VMamba: Visual State Space Model cites Efficiently Modeling Long Sequences with Structured State Spaces
  • VMamba: Visual State Space Model cites 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 cites Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
  • State Space Prompting via Gathering and Spreading Spatio-Temporal Information for Video Understanding cites VMamba: Visual State Space Model
  • State Space Prompting via Gathering and Spreading Spatio-Temporal Information for Video Understanding cites Efficiently Modeling Long Sequences with Structured State Spaces
  • State Space Prompting via Gathering and Spreading Spatio-Temporal Information for Video Understanding cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Efficiently Modeling Long Sequences with Structured State Spaces cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer Explainability cites 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 cites Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
  • RS-SSM: Refining Forgotten Specifics in State Space Model for Video Semantic Segmentation cites VMamba: Visual State Space Model
  • RS-SSM: Refining Forgotten Specifics in State Space Model for Video Semantic Segmentation cites 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 cites Efficiently Modeling Long Sequences with Structured State Spaces
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer ExplainabilityYarden Bakish, Itamar Zimerman, Hila Chefer, Lior WolfNeurIPS 2025 · 8 citations
  2. TimeViper: A Hybrid Mamba-Transformer Vision-Language Model for Efficient Long Video UnderstandingBoshen Xu, Zihan Xiao, Jiaze Li, Jianzhong Ju et al.CVPR 2026 · 5 citations
  3. State Space Prompting via Gathering and Spreading Spatio-Temporal Information for Video UnderstandingJiahuan Zhou, Kai Zhu, Zhenyu Cui, Zichen Liu et al.NeurIPS 2025 · 2 citations
  4. TensorLens: End-to-End Transformer Analysis via High-Order Attention TensorsIdo Andrew Atad, Itamar Zimerman, Shahar Katz, Lior WolfACL 2026 · 1 citation
  5. RS-SSM: Refining Forgotten Specifics in State Space Model for Video Semantic SegmentationKai Zhu, Zhenyu Cui, Zehua Zang, Jiahuan ZhouCVPR 2026 · 1 citation

Builds on33

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 citations
  3. VMamba: Visual State Space ModelYue Liu, Yunjie Tian, Yuzhong Zhao, Hongtian Yu et al.NeurIPS 2024 · 3,199 citations
  4. Pythia: A Suite for Analyzing Large Language Models Across Training and ScalingStella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley et al.ICML 2023 · 1,822 citations
  5. Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space ModelLianghui Zhu, Bencheng Liao, Qian Zhang, Xinlong Wang et al.ICML 2024 · 1,725 citations

Related papers

  1. Learning to (Learn at Test Time): RNNs with Expressive Hidden StatesYu Sun, Xinhao Li, Karan Dalal, Jiarui Xu et al.ICML 2025
  2. MambaLRP: Explaining Selective State Space Sequence ModelsFarnoush Rezaei Jafari, Grégoire Montavon, Klaus-Robert Müller, Oliver EberleNeurIPS 2024 · 44 citations
  3. The Hidden Attention of Mamba ModelsAmeen Ali, Itamar Zimerman, Lior WolfACL 2025
  4. Log-Linear AttentionHan Guo, Songlin Yang, Tarushii Goel, Eric P. Xing et al.ICLR 2026 · 41 citations
  5. Hydra: Bidirectional State Space Models Through Generalized Matrix MixersSukjun Hwang, Aakash Sunil Lahoti, Ratish Puduppully, Tri Dao et al.NeurIPS 2024 · 54 citations
Dusk over the sea between two cliffs drawn in fine vertical lines