[Paper Review] GroupMamba: Efficient Group-Based Visual State Space Model
GroupMamba introduces a Modulated Group Mamba layer that divides input channels into four groups, applying a selective-scan SSM block in four spatial directions with a Channel Affinity Modulation (CAM) operator for cross-channel communication. This design achieves state-of-the-art 83.3% top-1 accuracy on ImageNet-1K with only 23M parameters—26% more parameter-efficient than prior SSMs—while using distillation to stabilize training of large models.
State-space models (SSMs) have recently shown promise in capturing long-range dependencies with subquadratic computational complexity, making them attractive for various applications. However, purely SSM-based models face critical challenges related to stability and achieving state-of-the-art performance in computer vision tasks. Our paper addresses the challenges of scaling SSM-based models for computer vision, particularly the instability and inefficiency of large model sizes. We introduce a parameter-efficient modulated group mamba layer that divides the input channels into four groups and applies our proposed SSM-based efficient Visual Single Selective Scanning (VSSS) block independently to each group, with each VSSS block scanning in one of the four spatial directions. The Modulated Group Mamba layer also wraps the four VSSS blocks into a channel modulation operator to improve cross-channel communication. Furthermore, we introduce a distillation-based training objective to stabilize the training of large models, leading to consistent performance gains. Our comprehensive experiments demonstrate the merits of the proposed contributions, leading to superior performance over existing methods for image classification on ImageNet-1K, object detection, instance segmentation on MS-COCO, and semantic segmentation on ADE20K. Our tiny variant with 23M parameters achieves state-of-the-art performance with a classification top-1 accuracy of 83.3% on ImageNet-1K, while being 26% efficient in terms of parameters, compared to the best existing Mamba design of same model size. Code and models are available at: https://github.com/Amshaker/GroupMamba.
Motivation & Objective
- To address instability and inefficiency in large-scale visual state space models (SSMs) for computer vision.
- To improve parameter and computational efficiency in SSM-based vision models by leveraging group-wise processing and multi-directional scanning.
- To enhance cross-channel feature communication in grouped SSMs through a novel Channel Affinity Modulation (CAM) mechanism.
- To stabilize training of large SSM models using a distillation-based objective, enabling consistent performance gains.
Proposed method
- Proposes a Modulated Group Mamba layer that splits input channels into four groups and applies a selective-scan SSM block independently in four spatial directions (up, down, left, right).
- Introduces the SSM-based Visual Single Selective Scanning (VSSS) block, which performs input-dependent state transitions with linear complexity per group.
- Employs a Channel Affinity Modulation (CAM) operator to dynamically modulate feature maps across groups, enhancing inter-channel communication and feature aggregation.
- Uses a distillation-based training objective to stabilize training of large models, improving convergence and performance.
- Designs a series of parameter-efficient models named GroupMamba, including tiny (23M params) and base (57M params) variants, optimized for image classification and downstream vision tasks.
- Applies the GroupMamba backbone in standard detection and segmentation frameworks (e.g., Mask R-CNN, UperNet) to evaluate generalization across tasks.
![Figure 1: Left: Comparison in terms of Parameters vs. Top-1 Accuracy on ImageNet-1k [ 9 ] . Our GroupMamba-B achieves superior top-1 classification accuracy while reducing parameters by 36% compared to VMamba [ 34 ] . Right: Qualitative results of GroupMamba-T on semantic segmentation (top right), a](https://ar5iv.labs.arxiv.org/html/2407.13772/assets/x1.png)
Experimental results
Research questions
- RQ1Can a group-based SSM architecture with multi-directional scanning improve spatial modeling efficiency and performance in vision tasks compared to standard SSMs?
- RQ2How effective is the Channel Affinity Modulation (CAM) operator in enhancing cross-channel feature communication within grouped SSMs?
- RQ3Can a distillation-based training objective stabilize the training of large SSM-based vision models and lead to consistent performance gains?
- RQ4To what extent can a parameter-efficient SSM architecture match or exceed the accuracy of larger, more complex SSMs on standard benchmarks like ImageNet-1K, MS-COCO, and ADE20K?
Key findings
- GroupMamba-T achieves 83.3% top-1 accuracy on ImageNet-1K with only 23M parameters, outperforming all prior SSM-based models at the same model size.
- The model is 26% more parameter-efficient than the best existing Mamba design (VMamba-T) while achieving higher accuracy.
- With 57M parameters, GroupMamba-B achieves 84.5% top-1 accuracy on ImageNet-1K, surpassing all recent SSM methods.
- The ablation study confirms that the CAM module improves performance by 0.3% over the baseline, and the distillation loss boosts accuracy by 0.8% compared to VMamba-T with 26% fewer parameters.
- On MS-COCO, GroupMamba-T achieves 47.6% box AP and 42.9% mask AP, outperforming VMamba-T (47.4% and 42.7%) with 20% fewer parameters.
- On ADE20K, GroupMamba-T achieves 48.6% mIoU (single-scale) and 49.2% mIoU (multi-scale), exceeding VMamba-T (48.3% and 48.6%) with fewer parameters and FLOPs.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.