atlas

Research map / Architectures and efficiency / Attention and transformers

MambaLRP: Explaining Selective State Space Sequence Models

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: Mamba architectures · 4 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.

Proposes MambaLRP, a Layer-wise Relevance Propagation variant for Mamba (selective SSM) models that restores relevance conservation via detach-based rules at SiLU, selective SSM, and multiplicative gate layers, yielding more faithful explanations.

Problem

Explanations for Mamba (selective state space) models are unreliable because standard LRP/gradient methods violate relevance conservation at Mamba-specific components (SiLU, selective SSM, multiplicative gating), and existing attention-based explanations are unfaithful.

Approach

Identify where conservation breaks in Mamba (SiLU activation, selective SSM, multiplicative gate) and fix each with detach-based modifications (treating parts of the expression as constant) so that Gradient x Input on the modified model yields conservative LRP relevance.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use MambaLRP instead of the strongest baseline explanation methodMamba models and Vim-S · SST-2, Med-BIOS, SNLI, Emotion, and ImageNetΔA^F: SST-2: 0.877 -> 1.978 (Mamba-130M); Med-BIOS: 3.126 -> 3.906 (Mamba-130M); SNLI: 0.673 -> 0.989 (Mamba-130M); Emotion: 3Helped
Add the proposed SSM propagation rule (ablation)MambaLRP · SST-2 and ImageNetΔA^F: 0.577 -> 1.978; 0.144 -> 4.715Helped
Add the proposed gate propagation rule (ablation)MambaLRP · SST-2 and ImageNetΔA^F: 1.721 -> 1.978; 4.022 -> 4.715Helped
Add the proposed SiLU propagation rule (ablation)MambaLRP · SST-2 and ImageNetΔA^F: 1.943 -> 1.978; 4.618 -> 4.715Helped
Use half-relevance propagation instead of detaching gate z_B (ablation)MambaLRP multiplicative gate · SST-2 and ImageNetΔA^F: 1.577 -> 1.978; 3.592 -> 4.715Helped
Apply LRP-γ only to conv1d rather than LRP-0 in all listed layers (ablation)Vim-S · ImageNetΔA^F: 4.684 -> 4.715Helped
Apply LRP-γ to language-model layersMamba language models · Language classification datasetsΔA^FNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: SST-2 Medical BIOS Emotion SNLI ImageNet HotpotQA (LongBench) No Robots needle-in-a-haystack synthetic dataset

Benchmarks: SST-2 Medical BIOS SNLI Emotion ImageNet

Metrics: Delta A^F (flipping AUC difference between LeRF and MoRF) conservation (output score vs sum of relevance) runtime explanation-based retrieval accuracy (XRA) frequency of gendered words in top-5 tokens

Baselines: Gradient x Input SmoothGrad Integrated Gradients Attention Rollout MambaAttr LRP (LN-rule)

Builds on: Layer-wise Relevance Propagation Gradient x Input LRP-gamma Vision Mamba Mamba

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