DefMamba: Deformable Visual State Space Model

Leiye Liu, Miao Zhang, Jihao Yin, Tingwei Liu, Wei Ji +2 more
2/10/2026

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Recently, state space models (SSM), particularly Mamba, have attracted significant attention from scholars due to their ability to effectively balance computational efficiency and performance. However, most existing visual Mamba methods flatten images into 1D sequences using predefined scan orders, which results the model being less capable of utilizing the spatial structural information of the image during the feature extraction process. To address this issue, we proposed a novel visual foundation model called Def-Mamba. This model includes a multi-scale backbone structure and deformable mamba (DM) blocks, which dynamically adjust the scanning path to prioritize important information, thus enhancing the capture and processing of relevant input features. By combining a deformable scanning (DS) strategy, this model significantly improves its ability to learn image structures and detects changes in object details. Numerous experiments have shown that Def-Mamba achieves state-of-the-art performance in various visual tasks, including image classification, object detection, instance segmentation, and semantic segmentation. The code is open source on DefMamba .

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2026defmamba,
  title  = {DefMamba: Deformable Visual State Space Model},
  author = {Leiye Liu and Miao Zhang and Jihao Yin and Tingwei Liu and Wei Ji and Yongri Piao and Huchuan Lu},
  year   = {2026},
  eprint = {2504.05794},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2504.05794},
  journal = {CVPR 2025 2025}
}

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/2504.05794.svg)](https://codeofpaper.com/paper/2504.05794)

Discussion