[논문 리뷰] EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Duality
EfficientViM은 Vision Mamba 백본 내에 Hidden State Mixer–based SSD(HSM-SSD)를 도입하여 글로벌 컨텍스트를 더 낮은 계산 비용으로 포착하고, ImageNet-1k에서 최첨단 속도-정확도 트레이드오프를 달성합니다.
For the deployment of neural networks in resource-constrained environments, prior works have built lightweight architectures with convolution and attention for capturing local and global dependencies, respectively. Recently, the state space model (SSM) has emerged as an effective operation for global interaction with its favorable linear computational cost in the number of tokens. To harness the efficacy of SSM, we introduce Efficient Vision Mamba (EfficientViM), a novel architecture built on hidden state mixer-based state space duality (HSM-SSD) that efficiently captures global dependencies with further reduced computational cost. With the observation that the runtime of the SSD layer is driven by the linear projections on the input sequences, we redesign the original SSD layer to perform the channel mixing operation within compressed hidden states in the HSM-SSD layer. Additionally, we propose multi-stage hidden state fusion to reinforce the representation power of hidden states and provide the design to alleviate the bottleneck caused by the memory-bound operations. As a result, the EfficientViM family achieves a new state-of-the-art speed-accuracy trade-off on ImageNet-1k, offering up to a 0.7% performance improvement over the second-best model SHViT with faster speed. Further, we observe significant improvements in throughput and accuracy compared to prior works, when scaling images or employing distillation training. Code is available at https://github.com/mlvlab/EfficientViM.
연구 동기 및 목표
- 효율적인 온-디바이스 비전 백본을 제안하여 로컬 및 글로벌 특징 처리의 균형을 맞춘다.
- 계산량을 줄이기 위해 은닉 상태 채널 혼합으로 재설계된 SSD 계층을 제안한다.
- 메모리 병목 없이 표현 능력을 높이기 위해 다단계 은닉 상태 융합을 introduce한다.
- 메모리 바운드 연산을 최소화하면서 정확도를 보존하는 EfficientViM 블록을 설계한다.
- 기존 비전 Mamba 및 기타 경량 아키텍처와의 비교를 통해 더 우수한 속도-정확도 트레이드오프를 시연한다.
제안 방법
- SSD 계층의 연산을 채널 혼합을 축소된 잠재 은닉 상태 공간(HSM-SSD)으로 이동시켜 대체한다.
- 은닉 상태에서 게이팅과 투영을 수행하는 단일 헤드 은닉 상태 믹서를 사용하여 O(LD^2) 비용을 O(ND^2)로 감소시키고 N은 L보다 훨씬 작다.
- 여러 단계에서의 로짓을 결합하여 예측을 향상시키는 다단계 은닉 상태 융합을 Incorporate한다.
- 효율을 위해 DWConv와 1x1 컨볼루션을 포함한 스템(stem) 및 계층적 3단계 아키텍처를 채택하고, HSM-SSD 이전에 계층 정규화와 BN은 다른 곳에서 수행한다.
- 기준선으로 비-인과적 SSD(NC-SSD) 구성을 허용하고, 상태 수 감소를 통해 HSM-SSD가 더 낮은 런타임을 달성함을 보여준다.
- EfficientViM이 우수한 속도-정확도 트레이드오프와 메모리 효율성을 달성함을 광범위한 실험으로 입증한다.
실험 결과
연구 질문
- RQ1은닉 상태 믹서 기반 상태 공간 이원성(HSM-SSD)이 글로벌 토큰 상호작용에서 계산을 줄이면서 정확도를 희생하지 않는가?
- RQ2다단계 은닉 상태 융합이 EfficientViM의 표현력과 최종 정확도를 향상시키는가?
- RQ3EfficientViM이 ImageNet-1k에서 이전의 비전 Mamba 및 기타 경량 백본과 비교해 처리량, 지연시각, 메모리 사용에서 어떤 차이를 보이는가?
- RQ4HSM-SSD에서 단일 헤드 대 다중 헤드 설계가 처리량과 정확도에 어떤 영향을 미치는가?
- RQ5향상된 해상도 입력 및 증류 학습에서 EfficientViM의 확장성은 어떤가?
주요 결과
- EfficientViM은 ImageNet-1k에서 SHViT 대비 최대 0.7%의 정확도 이득을 달성하면서도 더 빠르게 동작하는 등 최첨단 속도-정확도 트레이드오프를 달성한다.
- EfficientViM-M2는 이전 SOTA SHViT를 능가하는 상당한 처리량 향상을 보여준다(예: 특정 설정에서 최대 7%의 속도 향상).
- 단일 헤드 HSM-SSD 설계는 멀티-헤드 변형에 비해 경쟁력 있는 정확도와 함께 더 높은 처리량(예: 17,005 img/s)을 제공한다.
- 다단계 은닉 상태 융합(MSF)은 여러 단계의 로짓을 결합하여 정확도를 더욱 향상시킨다.
- EfficientViM은 입력 해상도가 증가함에 따라 경쟁 모델에 비해 속도 우위를 유지하며 고해상도 이미지에 대한 확장성도 강력하다.
- Distillation 학습은 처리량과 정확도를 추가로 개선하고 EfficientViM의 파레토 최적 성능을 유지한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.