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

计算机科学 人工智能 推论 计算 变压器 代表(政治) 编码(集合论) 深度学习 特征学习 计算机视觉 模式识别(心理学) 程序设计语言 算法 物理 法学 集合(抽象数据类型) 电压 政治 量子力学 政治学
作者
Lianghui Zhu,Bencheng Liao,Qian Zhang,Xinlong Wang,Wenyu Liu,Xinggang Wang
出处
期刊:Cornell University - arXiv [Cornell University]
被引量:383
标识
DOI:10.48550/arxiv.2401.09417
摘要

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.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
李彤阳完成签到,获得积分10
1秒前
1秒前
lee应助cw采纳,获得10
1秒前
利利给利利的求助进行了留言
1秒前
丁丁当当应助ggfygggg采纳,获得30
2秒前
2秒前
orixero应助Ali采纳,获得20
3秒前
摆烂的鲲完成签到,获得积分10
3秒前
3秒前
Lighters完成签到 ,获得积分10
3秒前
3秒前
jacob发布了新的文献求助10
4秒前
4秒前
田様应助光亮熠彤采纳,获得10
4秒前
愉快的真发布了新的文献求助10
4秒前
kkb完成签到,获得积分10
5秒前
5秒前
稻草完成签到,获得积分10
5秒前
田様应助杜昊阳采纳,获得10
5秒前
6秒前
6秒前
Samming发布了新的文献求助10
7秒前
qianqian发布了新的文献求助10
7秒前
yu完成签到 ,获得积分10
7秒前
无情的玉米完成签到,获得积分10
8秒前
周小鱼发布了新的文献求助10
8秒前
9秒前
coconut_yx完成签到 ,获得积分20
10秒前
10秒前
ASD发布了新的文献求助10
10秒前
阿鹿发布了新的文献求助10
10秒前
11秒前
王hu完成签到,获得积分10
12秒前
molihuakai应助AMT采纳,获得10
12秒前
张欢馨应助想人陪的皮带采纳,获得10
13秒前
小凯发布了新的文献求助10
13秒前
14秒前
烟花应助幸福雪糕采纳,获得10
14秒前
14秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
化工安全与环保 1000
Autoparametric Resonance in Mechanical Systems 1000
基于锂离子电池正极材料回收的绿色溶剂开发及工程化应用研究 800
Cosmos as Art Object: Studies in Plato's Timaeus and Other Dialogues 600
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7652627
求助须知:如何正确求助?哪些是违规求助? 9223972
关于积分的说明 19811220
捐赠科研通 7218585
什么是DOI,文献DOI怎么找? 3278985
关于科研通互助平台的介绍 2439714
邀请新用户注册赠送积分活动 2278186