paper-with-me

홈 › Papers

V2M: Visual 2-Dimensional Mamba for Image Representation Learning

2024-10-14 · Chengkun Wang, Wenzhao Zheng, Yuanhui Huang, Jie zhou, Jiwen Lu

Mamba has garnered widespread attention due to its flexible design and efficient hardware performance to process 1D sequences based on the state space model (SSM). Recent studies have attempted to apply Mamba to the visual domain by flattening 2D images into patches and then regarding them as a 1D sequence. To compensate for the 2D structure information loss (e.g., local similarity) of the original image, most existing methods focus on designing different orders to sequentially process the tokens, which could only alleviate this issue to some extent. In this paper, we propose a Visual 2-Dimensional Mamba (V2M) model as a complete solution, which directly processes image tokens in the 2D space. We first generalize SSM to the 2-dimensional space which generates the next state considering two adjacent states on both dimensions (e.g., columns and rows). We then construct our V2M based on the 2-dimensional SSM formulation and incorporate Mamba to achieve hardware-efficient parallel processing. The proposed V2M effectively incorporates the 2D locality prior yet inherits the efficiency and input-dependent scalability of Mamba. Extensive experimental results on ImageNet classification and downstream visual tasks including object detection and instance segmentation on COCO and semantic segmentation on ADE20K demonstrate the effectiveness of our V2M compared with other visual backbones.

📄 PDF Abstract BibTeX arXiv:2410.10382

Code (1)

wangck20/v2m 공식 구현 pytorch

Tasks

Instance SegmentationMambaobject-detectionObject DetectionRepresentation LearningSemantic Segmentation

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Focus 설명 없음
Mamba Foundation models, now powering most of the exciting applications in deep learning, are almost universally based on the Transformer architecture and its core attention module.…

Similar Papers 제목 키워드 기반

Scalable Autoregressive Image Generation with Mamba

2024-08-22 · Haopeng Li, Jinyue Yang, Kexin Wang, Xuerui Qiu 외

We introduce AiM, an autoregressive (AR) image generative model based on Mamba architecture. AiM employs Mamba, a novel state-space model characterized by its exceptional performance for long-sequence modeling with linea…

Image GenerationMamba

PlainMamba: Improving Non-Hierarchical Mamba in Visual Recognition

2024-03-26 · Chenhongyi Yang, Zehui Chen, Miguel Espinosa, Linus Ericsson 외

We present PlainMamba: a simple non-hierarchical state space model (SSM) designed for general visual recognition. The recent Mamba model has shown how SSMs can be highly competitive with other architectures on sequential…

Image ClassificationInstance SegmentationMambaobject-detection+2

A2Mamba: Attention-augmented State Space Models for Visual Recognition

2025-07-22 · Meng Lou, Yunxiang Fu, Yizhou Yu arxiv

Transformers and Mamba, initially invented for natural language processing, have inspired backbone architectures for visual recognition. Recent studies integrated Local Attention Transformers with Mamba to capture both l…

Semantic SegmentationInstance SegmentationObject Detection

Mamba2D: A Natively Multi-Dimensional State-Space Model for Vision Tasks

2024-12-20 · Enis Baty, Alejandro Hernández Díaz, Chris Bridges, Rebecca Davidson 외

State-Space Models (SSMs) have recently emerged as a powerful and efficient alternative to the long-standing transformer architecture. However, existing SSM conceptualizations retain deeply rooted biases from their roots…

image-classificationImage ClassificationState Space Models

RSMamba: Remote Sensing Image Classification with State Space Model

2024-03-28 · Keyan Chen, Bowen Chen, Chenyang Liu, Wenyuan Li 외

Remote sensing image classification forms the foundation of various understanding tasks, serving a crucial function in remote sensing image interpretation. The recent advancements of Convolutional Neural Networks (CNNs) …

Classificationimage-classificationImage ClassificationMamba+2