[论文解读] MambaVision: A Hybrid Mamba-Transformer Vision Backbone
MambaVision 将重新设计的 Mamba 块与 Transformer 风格的注意力结合,创建一个分层视觉主干,在 ImageNet-1K 上实现精度与图像吞吐量之间的最优权衡,并在下游任务上取得强劲结果。
We propose a novel hybrid Mamba-Transformer backbone, MambaVision, specifically tailored for vision applications. Our core contribution includes redesigning the Mamba formulation to enhance its capability for efficient modeling of visual features. Through a comprehensive ablation study, we demonstrate the feasibility of integrating Vision Transformers (ViT) with Mamba. Our results show that equipping the Mamba architecture with self-attention blocks in the final layers greatly improves its capacity to capture long-range spatial dependencies. Based on these findings, we introduce a family of MambaVision models with a hierarchical architecture to meet various design criteria. For classification on the ImageNet-1K dataset, MambaVision variants achieve state-of-the-art (SOTA) performance in terms of both Top-1 accuracy and throughput. In downstream tasks such as object detection, instance segmentation, and semantic segmentation on MS COCO and ADE20K datasets, MambaVision outperforms comparably sized backbones while demonstrating favorable performance. Code: https://github.com/NVlabs/MambaVision
研究动机与目标
- Redesign the Mamba block to be more suited for vision tasks and improve accuracy and throughput.
- Systematically study integration patterns of Mamba and Transformer blocks for vision.
- Propose a hierarchical MambaVision backbone combining CNN-based stages with Mamba and Transformer blocks.
- Demonstrate state-of-the-art Pareto efficiency on ImageNet-1K and competitive downstream task performance.
提出的方法
- 引入一个分层的四阶段主干,前期阶段采用基于 CNN 的高分辨率特征提取,最终阶段将 MambaVision 混合器/MLP 块与 Transformer 块混合在一起。
- 将 SSM 分支中的因果卷积替换为常规卷积,并添加对称的非 SSM 分支,然后拼接并投影输出。
- 使用双分支的 MambaVision 混合器,将一维卷积路径(基于 SSM)与对称的 CNN 路径结合,两者在拼接前投影到嵌入维度的一半。
- 采用混合模式研究来评估在各阶段插入自注意力块的不同方式,最终阶段的注意力被发现最有效。
- 应用标准视觉训练配方和下游任务流程,评估 ImageNet-1K 的分类以及 MS COCO/ADE20K 的检测/分割。

实验结果
研究问题
- RQ1将 Vision Transformers 与 Mamba 整合在视觉主干中如何影响性能与效率?
- RQ2哪种整合模式(哪些层/阶段)在混合 Mamba-Transformer 主干中可实现最佳的精度-吞吐量权衡?
- RQ3分层的 MambaVision 主干能否在 ImageNet-1K 及下游视觉任务中超越现有的 Mamba 和 ViT 主干?
主要发现
- MambaVision 变体在 ImageNet-1K 上达到最高 85.3% 的 Top-1 准确率,同时具备高吞吐量。
- MambaVision-T 实现 82.3% 的 Top-1,吞吐量 6298 Img/s,参数量 31.8M。
- MambaVision-S 实现 83.3% 的 Top-1,吞吐量 4700 Img/s,参数量 50.1M。
- MambaVision-B 实现 84.2% 的 Top-1,吞吐量 3670 Img/s,参数量 97.7M。
- MambaVision-L 实现 85.0% 的 Top-1,吞吐量 2190 Img/s,参数量 227.9M。
- MambaVision-L2 实现 85.3% 的 Top-1,吞吐量 1021 Img/s,参数量 241.5M。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。