[논문 리뷰] GroupMamba: Efficient Group-Based Visual State Space Model
GroupMamba는 입력 채널을 네 그룹으로 나누고, 네 방향(위, 아래, 왼쪽, 오른쪽)으로 선택적 스캔 SSM 블록을 적용하는 모odulated Group Mamba 레이어를 도입한다. 이는 채널 간 상호작용을 위한 채널 유사도 조절(CAM) 연산자를 통해 수행된다. 이 설계는 단지 23M 파라미터로 ImageNet-1K에서 SOTA 수준의 83.3% Top-1 정확도를 달성하며, 이는 이전 SSM보다 26% 더 높은 파라미터 효율성을 확보한다. 또한 대규모 모델의 훈련을 안정화시키기 위해 distillation을 활용한다.
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.
연구 동기 및 목표
- 컴퓨 vision 분야에서 대규모 시각적 상태공간 모델(SSM)의 불안정성과 비효율성을 해결하기 위해.
- 그룹 기반 처리와 다중 방향 스캔을 활용하여 SSM 기반 시각 모델의 파라미터 및 계산 효율성을 향상시키기 위해.
- 새로운 채널 유사도 조절(CAM) 메커니즘을 통해 그룹화된 SSM 내에서의 채널 간 특징 통신을 향상시키기 위해.
- distillation 기반 목적함수를 통해 대규모 SSM 기반 시각 모델의 훈련을 안정화시켜 일관된 성능 향상을 이끌어내기 위해.
제안 방법
- 입력 채널을 네 그룹으로 나누고, 네 방향(위, 아래, 왼쪽, 오른쪽)으로 독립적으로 선택적 스캔 SSM 블록을 적용하는 모odulated Group Mamba 레이어를 제안한다.
- 입력에 따라 상태 전이가 이루어지는 SSM 기반의 시각적 단일 선택적 스캔(VSSS) 블록을 도입하며, 각 그룹당 선형 복잡도를 갖는다.
- 다양한 그룹 간 특징맵을 동적으로 조절하기 위해 채널 유사도 조절(CAM) 연산자를 도입하여, 상호 채널 통신과 특징 집합을 향상시킨다.
- 대규모 모델의 훈련을 안정화시키기 위해 distillation 기반 훈련 목적함수를 활용하여 수렴성과 성능을 향상시킨다.
- 이미지 분류 및 후속 시각 작업에 최적화된 파라미터 효율적인 모델 그룹인 GroupMamba를 설계하며, 이는 소형(23M 파라미터) 및 기본형(57M 파라미터) 버전을 포함한다.
- 표준 검출 및 세그멘테이션 프레임워크(예: Mask R-CNN, UperNet)에 GroupMamba 백본을 적용하여 다양한 작업 간 일반화 성능을 평가한다.
![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)
실험 결과
연구 질문
- RQ1다중 방향 스캔을 갖춘 그룹 기반 SSM 아키텍처가 기존 SSM과 비교해 시각 작업에서 공간 모델링 효율성과 성능을 향상시킬 수 있는가?
- RQ2채널 유사도 조절(CAM) 연산자가 그룹화된 SSM 내에서 채널 간 특징 통신을 얼마나 효과적으로 향상시키는가?
- RQ3distillation 기반 훈련 목적함수는 대규모 SSM 기반 시각 모델의 훈련을 안정화시키고 일관된 성능 향상을 이끌 수 있는가?
- RQ4파라미터 효율적인 SSM 아키텍처가 ImageNet-1K, MS-COCO, ADE20K와 같은 표준 벤치마크에서 더 큰, 더 복잡한 SSM보다 성능을 따라하거나 뛰어넘을 수 있는가?
주요 결과
- GroupMamba-T는 단지 23M 파라미터로 ImageNet-1K에서 83.3%의 Top-1 정확도를 달성하며, 동일한 모델 크기에서 이전의 모든 SSM 기반 모델을 능가한다.
- 최고의 기존 Mamba 설계인 VMamba-T보다 26% 더 높은 파라미터 효율성을 확보하면서도 더 높은 정확도를 달성한다.
- 57M 파라미터를 가진 GroupMamba-B는 ImageNet-1K에서 84.5%의 Top-1 정확도를 기록하며, 최근의 모든 SSM 방법을 뛰어넘는다.
- 제거 분석 결과, CAM 모듈은 기준 모델 대비 성능을 0.3% 향상시키며, distillation 손실은 VMamba-T와 동일한 파라미터 수에서 26% 적은 파라미터로도 0.8% 높은 정확도를 달성한다.
- MS-COCO에서 GroupMamba-T는 박스 AP 47.6%, 마스크 AP 42.9%를 기록하며, VMamba-T(47.4% 및 42.7%)를 뛰어넘고, 파라미터 수는 20% 적게 사용한다.
- ADE20K에서 GroupMamba-T는 단일 스케일 시나리오에서 48.6% mIoU, 다중 스케일 시나리오에서 49.2% mIoU를 기록하며, 더 적은 파라미터와 FLOPs로 VMamba-T(48.3% 및 48.6%)를 초월한다.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.