arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.16423cs.CVcs.AI
收藏

SF-Mamba:重新思考用于视觉的State Space模型

SF-Mamba: Rethinking State Space Model for Vision

Sony Group Corporation(索尼集团)

Masakazu Yoshimura, Teruaki Hayashi, Yuki Hoshino, Wei-Yao Wang, Takeshi Ohashi

AI总结:

本文提出SF-Mamba,通过改进扫描操作和计算效率,解决Mamba在视觉任务中的局限性,实验显示其在图像分类、目标检测和分割任务中表现优异。

摘要:

近年来,视觉Mamba领域取得了进展,旨在为受二次复杂度限制的视觉Transformer(ViTs)提供替代方案。尽管Mamba的递归扫描机制具有计算效率,但其固有地限制了图像块之间的非因果交互。先前工作尝试通过多种多扫描策略解决这一限制,但这些方法因次优的扫描设计和频繁的数据重新排列而效率低下。此外,Mamba在短token长度下计算速度较慢,常用于视觉任务。为了追求真正高效的视觉编码器,我们重新思考了视觉中的扫描操作和Mamba的计算效率。为此,我们提出了SF-Mamba,一种新的视觉Mamba,包含两个关键提案:辅助块交换用于在单向扫描下编码双向信息流,以及具有周期性状态重置的批量折叠以提升GPU并行性。在图像分类、目标检测和实例和语义分割的大量实验中,一致表明我们的SF-Mamba在不同模型规模下显著优于最先进的基线,同时提高了吞吐量。我们将在发表后发布源代码。

英文摘要:

Visual Mamba models have recently emerged as alternatives to Vision Transformers (ViTs), which suffer from quadratic complexity. While the recurrent scanning mechanism of Mamba offers computational efficiency, it inherently limits non-causal interactions between image patches. Prior works have attempted to address this limitation through various multi-scan strategies; however, these approaches suffer from inefficiencies due to suboptimal scan designs and frequent data rearrangement. Moreover, Mamba exhibits relatively slow computational speed under short token lengths, commonly used in visual tasks. In pursuit of a truly efficient vision encoder, we rethink the scan operation for vision and the computational efficiency of Mamba. To this end, we propose SF-Mamba, a novel visual Mamba with two key proposals: auxiliary patch \textbf{swapping} for encoding bidirectional information flow under an unidirectional scan and batch \textbf{folding} with periodic state reset for advanced GPU parallelism. Extensive experiments on image classification, object detection, and instance and semantic segmentation consistently demonstrate that our proposed SF-Mamba significantly outperforms state-of-the-art baselines while improving throughput across different model sizes. The source code is available at: https://github.com/sony/SF-Mamba.

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

↑