MambaOut: Do We Really Need Mamba for Vision?
Weihao Yu, Xinchao Wang

TL;DR
This paper investigates the effectiveness of Mamba architecture in vision tasks, concluding it is unnecessary for image classification but promising for long-sequence tasks like detection and segmentation.
Contribution
The paper introduces MambaOut, a variant of Mamba without the token mixer, and empirically evaluates its performance across vision tasks to clarify Mamba's applicability.
Findings
MambaOut outperforms Mamba models on ImageNet classification.
MambaOut is less effective for detection and segmentation compared to state-of-the-art Mamba models.
Mamba is unnecessary for image classification but potentially useful for long-sequence vision tasks.
Abstract
Mamba, an architecture with RNN-like token mixer of state space model (SSM), was recently introduced to address the quadratic complexity of the attention mechanism and subsequently applied to vision tasks. Nevertheless, the performance of Mamba for vision is often underwhelming when compared with convolutional and attention-based models. In this paper, we delve into the essence of Mamba, and conceptually conclude that Mamba is ideally suited for tasks with long-sequence and autoregressive characteristics. For vision tasks, as image classification does not align with either characteristic, we hypothesize that Mamba is not necessary for this task; Detection and segmentation tasks are also not autoregressive, yet they adhere to the long-sequence characteristic, so we believe it is still worthwhile to explore Mamba's potential for these tasks. To empirically verify our hypotheses, we…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗timm/mambaout_base.in1kmodel· 910 dl· ♡ 1910 dl♡ 1
- 🤗timm/mambaout_base_plus_rw.sw_e150_in12kmodel· 79 dl79 dl
- 🤗timm/mambaout_base_plus_rw.sw_e150_in12k_ft_in1kmodel· 521 dl521 dl
- 🤗timm/mambaout_base_short_rw.sw_e500_in1kmodel· 59 dl· ♡ 159 dl♡ 1
- 🤗timm/mambaout_base_tall_rw.sw_e500_in1kmodel· 58 dl58 dl
- 🤗timm/mambaout_base_wide_rw.sw_e500_in1kmodel· 80 dl80 dl
- 🤗timm/mambaout_femto.in1kmodel· 699 dl699 dl
- 🤗timm/mambaout_kobe.in1kmodel· 92 dl92 dl
- 🤗timm/mambaout_small.in1kmodel· 956 dl956 dl
- 🤗timm/mambaout_small_rw.sw_e450_in1kmodel· 222 dl222 dl
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAfrican history and culture studies
MethodsALIGN
