Visual Attention Exploration in Vision-Based Mamba Models
On the map: State-space sequence models (S4, Mamba) → Vision Mamba backbones
Abstract (arXiv)
State space models (SSMs) have emerged as an efficient alternative to transformer-based models, offering linear complexity that scales better than transformers. One of the latest advances in SSMs, Mamba, introduces a selective scan mechanism that assigns trainable weights to input tokens, effectively mimicking the attention mechanism. Mamba has also been successfully extended to the vision domain by decomposing 2D images into smaller patches and arranging them as 1D sequences. However, it remains unclear how these patches interact with (or attend to) each other in relation to their original 2D spatial location. Additionally, the order used to arrange the patches into a sequence also significantly impacts their attention distribution. To better understand the attention between patches and explore the attention patterns, we introduce a visual analytics tool specifically designed for vision-based Mamba models. This tool enables a deeper understanding of how attention is distributed across patches in different Mamba blocks and how it evolves throughout a Mamba model. Using the tool, we also investigate the impact of different patch-ordering strategies on the learned attention, offering further insights into the model's behavior.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Vision Mamba backbones, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 16 of its 17 references that are in the map. First posted on arXiv 28 Feb 2025.
Builds on
16 of 17 references.
Closest ancestors · 1
Same direction, newest first
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model17 Jan
Other references · 15
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2024VMamba: Visual State Space Modelcited by 955
- 2022Simplified State Space Layers for Sequence Modelingcited by 776
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
- 2018Visual Analytics in Deep Learning: An Interrogative Survey for the Next Frontierscited by 117
- 2023AttentionViz: A Global View of Transformer Attentioncited by 50
- 2020Attention Flows: Analyzing and Comparing Attention Mechanisms in Language Modelscited by 49
- 2023How Does Attention Work in Vision Transformers? A Visual Analytics Attemptcited by 29
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024The Hidden Attention of Mamba Models
- 2024A Survey on Visual Mamba
- 2024Demystify Mamba in Vision: A Linear Attention Perspective
- 2024Spatial-Mamba: Effective Visual State Space Models via Structure-aware State Fusion
- 2024Visual Mamba: A Survey and New Outlooks
- 2024MambaOut: Do We Really Need Mamba for Vision?
- 2024LocalMamba: Visual State Space Model with Windowed Selective Scan
- 2025Fast Vision Mamba: Pooling Spatial Dimensions for Accelerated Processing