
EB
Enis Baty, Alejandro Hern\'andez D\'iaz, Rebecca Davidson, Chris Bridges, Simon Hadfield
· 1 min read
ResearcharXiv cs.CV
Mamba2D: A Natively Multi-Dimensional State-Space Model for Vision Tasks
arXiv:2412.16146v5 Announce Type: replace
Abstract: State-Space Models (SSMs) have emerged as an efficient alternative to transformers, yet existing visual SSMs retain deeply ingrained biases from their origins in natural language processing. In this paper, we address these limitations by introducing M2D-SSM, a ground-up re-derivation of selective state-space techniques for multidimensional data. Unlike prior works that apply 1D SSMs directly to images through arbitrary rasterised scanning, our M2D-SSM employs a single 2D scan that factors in both spatial dimensions natively. We pair M2D-SSM blocks at high resolution with vanilla attention at low resolution in a hybrid backbone, allowing each mechanism to operate in its optimal regime without restriction. Across dense prediction tasks, where the choice of token mixer is most consequential, Mamba2D achieves 52.2 box AP on MS-COCO object detection (3$\times$ schedule) and 51.7 mIoU on ADE20K segmentation. On ImageNet-1K classification, M2D-T reaches 84.0% top-1 with only 27M parameters and M2D-S 85.3%, matching or exceeding all prior SSM-based vision models at comparable size. Code and models are available at https://github.com/cocoalex00/Mamba2D.
Original source
This story was published by arXiv cs.CV and written by Enis Baty, Alejandro Hern\'andez D\'iaz, Rebecca Davidson, Chris Bridges, Simon Hadfield. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on arxiv.org


