EfficientVMamba: Atrous Selective Scan for Light Weight Visual Mamba

Xiaohuan Pei,Tao Huang,Chang Xu
2024-03-15
Abstract:Prior efforts in light-weight model development mainly centered on CNN and Transformer-based designs yet faced persistent challenges. CNNs adept at local feature extraction compromise resolution while Transformers offer global reach but escalate computational demands $\mathcal{O}(N^2)$. This ongoing trade-off between accuracy and efficiency remains a significant hurdle. Recently, state space models (SSMs), such as Mamba, have shown outstanding performance and competitiveness in various tasks such as language modeling and computer vision, while reducing the time complexity of global information extraction to $\mathcal{O}(N)$. Inspired by this, this work proposes to explore the potential of visual state space models in light-weight model design and introduce a novel efficient model variant dubbed EfficientVMamba. Concretely, our EfficientVMamba integrates a atrous-based selective scan approach by efficient skip sampling, constituting building blocks designed to harness both global and local representational features. Additionally, we investigate the integration between SSM blocks and convolutions, and introduce an efficient visual state space block combined with an additional convolution branch, which further elevate the model performance. Experimental results show that, EfficientVMamba scales down the computational complexity while yields competitive results across a variety of vision tasks. For example, our EfficientVMamba-S with $1.3$G FLOPs improves Vim-Ti with $1.5$G FLOPs by a large margin of $5.6\%$ accuracy on ImageNet. Code is available at: \url{
Computer Vision and Pattern Recognition,Artificial Intelligence
What problem does this paper attempt to address?
The paper proposes a solution to the trade-off between accuracy and efficiency in lightweight visual model design. The research is inspired by the State Space Models (SSMs), particularly the Mamba network, which performs well in sequence modeling tasks. A new efficient model variant called EfficientVMamba is proposed, which combines the selective dilated scanning strategy to reduce computational requirements through efficient skip sampling while maintaining global and local feature representations. Additionally, the paper explores the fusion of SSM blocks with convolution and proposes an efficient visual state space block that incorporates an additional convolution branch to improve model performance. Experimental results demonstrate that EfficientVMamba achieves competitive results compared to existing lightweight models while reducing computational complexity.