Skip to main content
QUICK REVIEW

[論文レビュー] EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Duality

Sanghyeok Lee, Joonmyung Choi|arXiv (Cornell University)|Nov 22, 2024
Machine Learning and ELMComputer Science被引用数 6
ひとこと要約

EfficientViM は Vision Mamba バックボーン内に Hidden State Mixer ベースの SSD(HSM-SSD)を導入し、低い計算コストでグローバルな文脈を捉え、ImageNet-1k で最先端の速度-精度トレードオフを達成します。

ABSTRACT

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.

研究の動機と目的

  • 局所特徴とグローバル特徴処理のバランスをとる、オンデバイスでの効率的なビジョンバックボーンの動機づけ。
  • 計算量を削減するために hidden-state チャンネル混合で再設計したSSD層を提案。
  • メモリ bottleneck なしで表現力を高めるためのマルチステージ hidden state フュージョンを導入。
  • 精度を保ちつつメモリ帯域依存の操作を最小化する EfficientViM ブロックを設計。
  • 既存の Vision Mamba および他の軽量アーキテクチャと比較して、優れた速度-精度のトレードオフを示す。

提案手法

  • SSD 層の処理を置換し、チャネル混合を縮小潜在状態空間へ移すことで HSM-SSD を実現。
  • hidden-state ミキサーを単一ヘッドで使用し、 hidden states に対するゲーティングと射影を実行して O(LD^2) コストを O(ND^2) に削減(N << L)。
  • 複数段階の hidden-state フュージョンを組み込み、複数段階のロジットを結合して予測を改善。
  • DWConv および 1x1 畳み込みを用いた幹部と階層的な三段階アーキテクチャを採用し、HSM-SSD の前にレイヤー正規化、他方に BN を配置して効率化。
  • 基準として非因果 SSD 形式(NC-SSD)を許容し、状態数の削減によって HSM-SSD が実行時間を短縮することを示す。
  • 広範な実験を通じて、EfficientViM が優れた速度-精度のトレードオフとメモリ効率を達成することを示す。

実験結果

リサーチクエスチョン

  • RQ1hidden-state mixer ベースの状態空間二重性(HSM-SSD)は、精度を犠牲にせずグローバルなトークン相互作用の計算を削減できるか?
  • RQ2マルチステージ hidden-state フュージョンは EfficientViM の表現力と最終精度を向上させるか?
  • RQ3ImageNet-1k におけるスループット、遅延、メモリ使用量の点で、従来の vision Mamba および他の軽量バックボーンと EfficientViM はどう比較されるか?
  • RQ4HSM-SSD の単一ヘッド設計と多頭設計がスループットと精度に与える影響は?
  • RQ5高解像度入力と蒸留学習で EfficientViM はどのようにスケールするか?

主な発見

  • EfficientViM は ImageNet-1k で最先端の速度-精度トレードオフを達成し、SHViT より最大で 0.7% の精度向上を得つつ、より高速に動作する。
  • EfficientViM-M2 は従来の SOTA SHViT を上回り、スループット の大幅な向上を達成(例として一部設定で最大 7% のスピードアップ)。
  • 単一ヘッドの HSM-SSD 設計は、複数ヘッドのバリアントと比較して競合的な精度を保ちつつ、スループットを高く提供(例: 17,005 画像/秒)。
  • マルチステージ hidden state フュージョン(MSF)は、複数段のロジットを結合することで精度をさらに向上。
  • EfficientViM は高解像度画像への強いスケーラビリティを示し、入力サイズが大きくなるにつれて競合モデルに対する速度利点を維持。
  • 蒸留訓練はさらにスループットと精度を向上させ、EfficientViM のパレート最適性の性能を維持。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。