Skip to main content
QUICK REVIEW

[논문 리뷰] ButterflyViT: 354$ imes$ Expert Compression for Edge Vision Transformers

Aryan Karmore|arXiv (Cornell University)|2026. 03. 06.
Neural Networks and Reservoir ComputingComputer Science인용 수 0
한 줄 요약

ButterflyViT는 ViT MoE 전문가를 공유된 3진 기질의 회전으로 표현하여 부분 선형 메모리 확장과 64개의 전문가에서 CIFAR-100에서 경쟁력 있는 정확도를 달성하며 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 비전 트랜스포머의 메모리 병목 현상을 동기부여한다.
  • N개의 전문가가 공유된 기질의 궤도 회전으로 이루어진 매개변수화를 제안하여 부분 선형 메모리 증가를 달성한다.
  • 패치 간 상관관계를 활용하기 위해 공간적 평활성(spatial-smoothness)을 포함하는 비전 특화 학습 손실 함수를 도입한다.
  • 엣지 제약 하에서 CIFAR-100에 대한 메모리, 정확도, 배포 가능성 실용성을 정량화한다.

제안 방법

  • 각 전문가 W_i를 W_i ≈ B(φ_i) · W_base · B(θ_i)^T로 정의하되 W_base는 3진 값 {-1,0,+1}로 한다.
  • B(·)를 버터플라이 행렬로 매개변수화하고 d log d의 매개변수와 각 전문가 회전에 대해 O(n_ℓ · d) FLOP를 가진다.
  • W_base를 AbsMean 스케일링으로 가중치당 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엣지 디바이스를 위한 실용적 메모리, 에너지 및 배포 영향은 무엇인가?

주요 결과

  • CIFAR-100에서 표준 MoE에 비해 64 전문가에서 354× 메모리 압축을 달성한다.
  • ButterflyViT의 메모리는 O(d_model·d_ff) + N_E·O(n_ℓ·d)로 확장되며, 다수의 전문가를 엣지 디바이스에 맞출 수 있다.
  • 64 전문가에서 ButterflyViT는 0.379 MB를 사용하고 기준은 939 MB로, 정확도는 표준 MoE와 유사하다.
  • Dense FFN은 CIFAR-100에서 더 높은 정확도(59.35%)를 보이지만, ButterflyViT는 독립 매개변수로는 불가능한 엣지 배포를 가능하게 한다(56.24%).
  • 현실 배치 분석은 ButterflyViT가 Standard MoE가 불가능한 마이크로컨트롤러나 소형 엣지 디바이스에 적합할 수 있으며 DRAM 모델 하에서 최대 약 99.5%의 메모리 대역폭 에너지 감소를 포함한 상당한 에너지 절감이 가능함을 시사한다.
  • 전문가 유사도 분석은 ButterflyViT가 표준 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}}$ .

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.