arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.14174cs.CV
收藏

多尺度 VMamba:层次中的层次视觉状态空间模型

Multi-Scale VMamba: Hierarchy in Hierarchy Visual State Space Model

City University of Hong Kong(香港城市大学);University of Sydney(悉尼大学)

Yuheng Shi, Minjing Dong, Chang Xu

AI总结:

针对视觉Transformer二次复杂度和多扫描SSM冗余问题,提出多尺度视觉Mamba(MSVMamba),采用多尺度2D扫描和ConvFFN,在有限参数下保持性能,在ImageNet、COCO和ADE20K上取得领先结果。

摘要:

尽管视觉Transformer(ViTs)在各种视觉任务中取得了显著成就,但它们受到二次复杂度的限制。最近,状态空间模型(SSMs)因其全局感受野和相对于输入长度的线性复杂度而受到广泛关注,在自然语言处理和计算机视觉等领域展现出巨大潜力。为了提高SSMs在视觉任务中的性能,多扫描策略被广泛采用,但这导致了SSMs的显著冗余。为了在效率和性能之间取得更好的平衡,我们分析了多扫描策略成功背后的潜在原因,其中长距离依赖起着重要作用。基于这一分析,我们引入了多尺度视觉Mamba(MSVMamba),以在有限参数下保持SSMs在视觉任务中的优势。它采用多尺度二维扫描技术,同时处理原始和降采样的特征图,这不仅有利于长距离依赖学习,还降低了计算成本。此外,我们集成了卷积前馈网络(ConvFFN)以解决通道混合不足的问题。我们的实验表明,MSVMamba具有很强的竞争力,其中MSVMamba-Tiny模型在ImageNet上达到82.8%的top-1准确率,在COCO上使用Mask R-CNN框架和1x训练计划达到46.9%的框mAP和42.2%的实例mAP,在ADE20K上使用单尺度测试达到47.6%的mIoU。代码可在https://github.com/YuHengsss/MSVMamba获取。

英文摘要:

Despite the significant achievements of Vision Transformers (ViTs) in various vision tasks, they are constrained by the quadratic complexity. Recently, State Space Models (SSMs) have garnered widespread attention due to their global receptive field and linear complexity with respect to the input length, demonstrating substantial potential across fields including natural language processing and computer vision. To improve the performance of SSMs in vision tasks, a multi-scan strategy is widely adopted, which leads to significant redundancy of SSMs. For a better trade-off between efficiency and performance, we analyze the underlying reasons behind the success of the multi-scan strategy, where long-range dependency plays an important role. Based on the analysis, we introduce Multi-Scale Vision Mamba (MSVMamba) to preserve the superiority of SSMs in vision tasks with limited parameters. It employs a multi-scale 2D scanning technique on both original and downsampled feature maps, which not only benefits long-range dependency learning but also reduces computational costs. Additionally, we integrate a Convolutional Feed-Forward Network (ConvFFN) to address the lack of channel mixing. Our experiments demonstrate that MSVMamba is highly competitive, with the MSVMamba-Tiny model achieving 82.8% top-1 accuracy on ImageNet, 46.9% box mAP, and 42.2% instance mAP with the Mask R-CNN framework, 1x training schedule on COCO, and 47.6% mIoU with single-scale testing on ADE20K.Code is available at \url{https://github.com/YuHengsss/MSVMamba}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑