Skip to main content
QUICK REVIEW

[論文レビュー] ButterflyViT: 354$ imes$ Expert Compression for Edge Vision Transformers

Aryan Karmore|arXiv (Cornell University)|Mar 6, 2026
Neural Networks and Reservoir ComputingComputer Science被引用数 0
ひとこと要約

ButterflyViTはViT MoEのエキスパートを共有の三元サブストレートの回転として表現し、64エキスパートで競合する精度を維持しつつサブリニアなメモリスケーリングと354×の圧縮を実現。

ABSTRACT

Deploying sparse Mixture of Experts(MoE) Vision Transformers remains a challenge due to linear expert memory scaling. Linear memory scaling stores $N$ independent expert weight matrices requiring $\mathcal{O}(N_E \cdot d^2)$ memory, which exceeds edge devices memory budget. Current compression methods like quantization, pruning and low-rank factorization reduce constant factors but leave the scaling bottleneck unresolved. We introduce ButterflyViT, a method that treats experts not as independent weight matrices but as geometric reorientations of a unified shared quantized substrate. Diversity among experts arises from viewing different angles of shared capacity, not from redundant storage. By applying learned rotations to a shared ternary prototype, each expert yields $\mathcal{O}(d_{ ext{model}} \cdot d_{ ext{ff}} + N_E \cdot n_\ell \cdot d)$ memory which is sub-linear in the number of experts. To address the unique challenges of vision, a spatial smoothness regulariser is introduced that penalises routing irregularities between adjacent patch tokens, turning patch correlation into a training signal. Across image classification tasks on CIFAR-100, ButterflyViT achieves 354$ imes$ memory reduction at 64 experts with negligible accuracy loss. ButterflyViT allows multiple experts to fit on edge-constrained devices showing that geometric parameterization breaks linear scaling.

研究の動機と目的

  • エッジデバイス上のスパースMoE Vision Transformerにおけるメモリボトルネックの動機づけ。
  • N個のエキスパートが共有サブストレートの軌道回転であるというパラメータ化を提案し、サブリニアなメモリ成長を達成。
  • パッチ相関を活用する空間的平滑性を含む視覚特有の学習損失を導入。
  • エッジ制約下でCIFAR-100におけるメモリ、精度、デプロイ可能性を定量化。

提案手法

  • 各エキスパートW_iを W_i ≈ B(φ_i) · W_base · B(θ_i)^T とし、W_baseは ternary {-1,0,+1}。
  • B(·)を butterfly 行列としてパラメータ数をO(d log d)、エキスパート回転あたりの FLOPsをO(n_ℓ · d)とする。
  • AbsMeanスケーリングによりW_baseをウェイトあたり1.58ビットへ量子化し、STEで勾配伝播を行う。
  • エキスパートごとの入力/出力回転を適用して活性化を分散させ、外れ値を抑制。
  • クロスエントロピー、ロードバランス、空間滑らかさ正則化を組み合わせた損失で学習し、多様かつ安定したルーティングを促進。
Figure 1 : Standard ViT-MoE architecture
Figure 1 : Standard ViT-MoE architecture

実験結果

リサーチクエスチョン

  • RQ1エキスパートのパラメータ数をO(N_E · d_model · d_ff)からサブリニアスケールに削減して精度を維持できるか?
  • RQ2共有サブストレートと軌道回転は視覚タスクに十分なエキスパート多様性を生むか?
  • RQ3空間的平滑性正則化は隣接する画像パッチ間のMoEルーティング連続性を改善するか?
  • RQ4エッジデバイスでの実用的なメモリ、エネルギー、デプロイメントへの影響はどうか?

主な発見

  • 64エキスパートでStandard MoEと比較してメモリを354×圧縮。
  • ButterflyViTのメモリはO(d_model·d_ff) + N_E·O(n_ℓ·d)でスケールし、エッジデバイスに多くのエキスパートを適合可能。
  • 64エキスパート時点でButterflyViTは0.379 MB、基準は939 MBで、精度はStandard MoEと同程度。
  • Dense FFNはCIFAR-100でButterflyViTより高い精度(59.35%)を示すが、ButterflyViTは独立パラメータでは実現不可能なエッジ展開を可能にする。
  • 実世界のデプロイ解析では、ButterflyViTはStandard MoEが不可能なマイクロコントローラや小型エッジ機器に適合し得るとともに、DRAMモデル下で最大約99.5%のメモリ帯域エネルギー削減を含む大幅なエネルギー節約を実現。
  • エキスパート類似性分析は、ButterflyViTがStandard MoEより高いエキスパート間類似性を持つエキスパート多様体を生み出すことを示し、共有サブストレートの多様性を反映している。
Figure 2 : Top- $k$ gating instantiates experts via lightweight rotations of a shared ternary base matrix $\mathbf{W}_{\text{base}}$ .
Figure 2 : Top- $k$ gating instantiates experts via lightweight rotations of a shared ternary base matrix $\mathbf{W}_{\text{base}}$ .

この論文を読む

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

Nubintでこの論文を読む

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