atlas

Research map / Architectures and efficiency / Attention and transformers

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

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Linear attention approximations · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Formulates Mamba, Mamba-2, Griffin/Hawk, RWKV (and RetNet, HGRN in appendix) as single data-controlled implicit causal attention matrices, and uses them for attribution-based explainability and weakly supervised segmentation.

Problem

Attention-free gated linear RNNs (Mamba, RWKV, Griffin, etc.) lack a unified attention view, and the prior implicit-attention formulation for Mamba ignored gating, Conv1D and other sub-layers, limiting their use for explainability.

Approach

Write each gated-linear RNN layer as y = H x with a data-dependent matrix H that folds in the S6/RG-LRU/WKV core, short convolutions, gate branches, activations and normalization as diagonal and convolution matrices, then apply off-the-shelf Transformer explainability methods to H.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the proposed implicit-attention attribution instead of the previous Mamba attention formulationMamba attribution · ImageNet validation, positive perturbationAUC: 16.619 -> 11.350Helped
Use the proposed implicit-attention attribution instead of the previous Mamba attention formulationMamba attribution · ImageNet validation, negative perturbationAUC: 39.632 -> 51.310Helped
Use the proposed Mamba attribution method instead of the previous Mamba attributionViM-S segmentation explanations · ImageNet-SegmentationmIoU: 54.24 -> 62.51Helped
Use the proposed attribution method with AMPLIFY instead of the previous attribution methodMamba 1.3B · Snarksaccuracy: 53.11 -> 56.15Helped
Use the proposed attribution method with AMPLIFY instead of the previous attribution methodMamba 1.3B · CommonsenseQAaccuracy: 53.55 -> 54.72Helped
Use the proposed attribution method with AMPLIFY instead of the previous attribution methodMamba 1.3B · Formal Fallaciesaccuracy: 44.28 -> 45.22Helped
Use the proposed attribution method with AMPLIFY instead of the previous attribution methodMamba 2.8B · Snarksaccuracy: 58.10 -> 60.02Helped
Use the proposed attribution method with AMPLIFY instead of the previous attribution methodMamba 2.8B · CommonsenseQAaccuracy: 56.10 -> 56.08Hurt
Use the proposed attribution method with AMPLIFY instead of the previous attribution methodMamba 2.8B · Formal Fallaciesaccuracy: 47.80 -> 47.86Helped
Use Mamba-Attr instead of DeiT-S CAMs to generate pseudo-labelsWeakly supervised semantic segmentation · Pascal-VOC 2012mIoU: 35.99 -> 52.11Helped
Include Conv1D in the implicit-attention representation (ablation)Mamba attribution · Attribution perturbation testsperformanceHelped
Include the gate branch in the implicit-attention representation (ablation)Mamba attribution · Attribution perturbation testsperformanceHelped

Limitations

Experimental setup

Datasets: ImageNet ImageNet-Segmentation ARC-E IMDB Pascal VOC 2012 Snarks CommonsenseQA Formal Fallacies

Benchmarks: ImageNet ImageNet-Segmentation ARC-E IMDB Pascal VOC 2012 Snarks CommonsenseQA Formal Fallacies

Metrics: AUC (positive/negative perturbation) AUAC AU-MSE pixel accuracy mAP mIoU accuracy

Baselines: Mamba implicit attention (Ali et al.) ViT / DeiT explainability (attention rollout, Transformer-Attribution) CAM Toco BERT explainability AMPLIFY

Builds on: Ali et al. implicit attention for Mamba (S6) Transformer explainability (attention rollout, attribution) Hyena AMPLIFY

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy