Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model

By Lianghui Zhu, Bencheng Liao, Qian Zhang, Xinlong Wang, Wenyu Liu, Xinggang Wang. International Conference on Machine Learning, 2024

1,963 citations recorded by the source corpus.

Recently the state space models (SSMs) with efficient hardware-aware designs, i.e., the Mamba deep learning model, have shown great potential for long sequence modeling. Meanwhile building efficient and generic vision backbones purely upon SSMs is an appealing direction. However, representing visual data is challenging for SSMs due to the position-sensitivity of visual data and the requirement of global context for visual understanding. In this paper, we show that the reliance on self-attention for visual representation learning is not necessary and propose a new generic vision backbone with bidirectional Mamba blocks (Vim), which marks the image sequences with position embeddings and compresses the visual representation with bidirectional state space models. On ImageNet classification, COCO object detection, and ADE20k semantic segmentation tasks, Vim achieves higher performance compared to well-established vision transformers like DeiT, while also demonstrating significantly improved computation&memory efficiency. For example, Vim is 2.8$\times$ faster than DeiT and saves 86.8% GPU memory when performing batch inference to extract features on images with a resolution of 1248$\times$1248. The results demonstrate that Vim is capable of overcoming the computation&memory constraints on performing Transformer-style understanding for high-resolution images and it has great potential to be the next-generation backbone for vision foundation models. Code is available at https://github.com/hustvl/Vim.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Electrical and Electronic Engineering

View Paper: https://www.semanticscholar.org/paper/38c48a1cd296d16dc9c56717495d6e44cc354444

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Limin Wang
  2. Yu Qiao
  3. Hongpeng Liao
  4. Chien-Yao Wang
  5. I-Hau Yeh
  6. Yali Wang
  7. Kunchang Li
  8. Yi Wang

In Computer Vision and Pattern Recognition

  1. Yu Qiao
  2. Dacheng Tao
  3. Hongpeng Liao
  4. Chien-Yao Wang
  5. Xinchao Wang
  6. Yali Wang
  7. Luc Van Gool
  8. Limin Wang

In Electrical and Electronic Engineering

  1. Hongpeng Liao
  2. Chien-Yao Wang
  3. I-Hau Yeh
  4. Yu Qiao
  5. Qixiang Ye
  6. Lefei Zhang
  7. Lingxi Xie
  8. Yali Wang

Citations in the corpus