arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.15941cs.CV
收藏

MobileMamba:轻量级多感受野视觉 Mamba 网络

MobileMamba: Lightweight Multi-Receptive Visual Mamba Network

Zhejiang University(浙江大学);Youtu Lab, Tencent(腾讯优图实验室);Huazhong University of Science and Technology(华中科技大学)

Haoyang He, Jiangning Zhang, Yuxuan Cai, Hongxu Chen, Xiaobin Hu, Zhenye Gan, Yabiao Wang, Chengjie Wang, Yunsheng Wu, Lei Xie

AI总结:

本文提出 MobileMamba 轻量级视觉网络,通过三阶段结构、多感受野特征交互模块及训练测试策略,在保持高精度同时显著提升推理速度,实现速度与精度的最优平衡。

摘要:

以往关于轻量级模型的研究主要集中在 CNN 和基于 Transformer 的设计上。CNN 由于局部感受野的限制,难以捕获长距离依赖关系;而 Transformer 尽管具备全局建模能力,但在高分辨率场景下受到二次计算复杂度的制约。近年来,状态空间模型因其线性计算复杂度而在视觉领域受到广泛关注。尽管当前基于 Mamba 的轻量级模型 FLOPs 较低,但其实际吞吐量表现欠佳。本文提出 MobileMamba 框架,以兼顾效率与性能。我们设计了一个三阶段网络,以显著提升推理速度。在细粒度层面,我们引入了多感受野特征交互(Multi-Receptive Field Feature Interaction,MRFFI)模块,该模块由长程小波变换增强 Mamba(Long-Range Wavelet Transform-Enhanced Mamba,WTE-Mamba)、高效多核深度卷积(Efficient Multi-Kernel Depthwise Convolution,MK-DeConv)和消除冗余恒等映射(Eliminate Redundant Identity)组件构成。该模块融合了多感受野信息,并增强了高频细节提取能力。此外,我们还采用了训练和测试策略以进一步提升性能和效率。MobileMamba 在 Top-1 上最高达到 83.6%,超越了现有最优方法,在 GPU 上比 LocalVim 最快可快 21 倍。在高分辨率下游任务上的大量实验表明,MobileMamba 超越了当前的高效模型,在速度与精度之间实现了最优平衡。

英文摘要:

Previous research on lightweight models has primarily focused on CNNs and Transformer-based designs. CNNs, with their local receptive fields, struggle to capture long-range dependencies, while Transformers, despite their global modeling capabilities, are limited by quadratic computational complexity in high-resolution scenarios. Recently, state-space models have gained popularity in the visual domain due to their linear computational complexity. Despite their low FLOPs, current lightweight Mamba-based models exhibit suboptimal throughput. In this work, we propose the MobileMamba framework, which balances efficiency and performance. We design a three-stage network to enhance inference speed significantly. At a fine-grained level, we introduce the Multi-Receptive Field Feature Interaction(MRFFI) module, comprising the Long-Range Wavelet Transform-Enhanced Mamba(WTE-Mamba), Efficient Multi-Kernel Depthwise Convolution(MK-DeConv), and Eliminate Redundant Identity components. This module integrates multi-receptive field information and enhances high-frequency detail extraction. Additionally, we employ training and testing strategies to further improve performance and efficiency. MobileMamba achieves up to 83.6% on Top-1, surpassing existing state-of-the-art methods which is maximum x21 faster than LocalVim on GPU. Extensive experiments on high-resolution downstream tasks demonstrate that MobileMamba surpasses current efficient models, achieving an optimal balance between speed and accuracy.

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

↑