DAMamba: Vision State Space Model with Dynamic Adaptive Scan

Tanzhe Li, Caoshuo Li, Jiayi Lyu, Hongjuan Pei, Baochang Zhang +2 more
2/18/2025
cs.CV

Official code: ltzovo/DAMamba (57 stars, last commit 2025-03-17).

Abstract

State space models (SSMs) have recently garnered significant attention in computer vision. However, due to the unique characteristics of image data, adapting SSMs from natural language processing to computer vision has not outperformed the state-of-the-art convolutional neural networks (CNNs) and Vision Transformers (ViTs). Existing vision SSMs primarily leverage manually designed scans to flatten image patches into sequences locally or globally. This approach disrupts the original semantic spatial adjacency of the image and lacks flexibility, making it difficult to capture complex image structures. To address this limitation, we propose Dynamic Adaptive Scan (DAS), a data-driven method that adaptively allocates scanning orders and regions. This enables more flexible modeling capabilities while maintaining linear computational complexity and global modeling capacity. Based on DAS, we further propose the vision backbone DAMamba, which significantly outperforms current state-of-the-art vision Mamba models in vision tasks such as image classification, object detection, instance segmentation, and semantic segmentation. Notably, it surpasses some of the latest state-of-the-art CNNs and ViTs. Code will be available at https://github.com/ltzovo/DAMamba.

View on arXivView PDF

Code Implementations(1)

ltzovo/DAMambaOfficial100%
576C, C++Feb 15, 20251 years ago

Similar Papers

Cite this paper

@article{li2025damamba,
  title  = {DAMamba: Vision State Space Model with Dynamic Adaptive Scan},
  author = {Tanzhe Li and Caoshuo Li and Jiayi Lyu and Hongjuan Pei and Baochang Zhang and Taisong Jin and Rongrong Ji},
  year   = {2025},
  eprint = {2502.12627},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.12627v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.12627.svg)](https://codeofpaper.com/paper/2502.12627)

Discussion