[Paper Review] ButterflyViT: 354$ imes$ Expert Compression for Edge Vision Transformers
ButterflyViT represents ViT MoE experts as rotations of a shared ternary substrate, achieving sub-linear memory scaling and 354× compression at 64 experts with competitive accuracy on CIFAR-100.
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.
Motivation & Objective
- Motivate the memory bottleneck in sparse MoE Vision Transformers on edge devices.
- Propose a parameterization where N experts are orbital rotations of a shared substrate to achieve sub-linear memory growth.
- Introduce a vision-specific training loss including spatial smoothness to leverage patch correlations.
- Quantify memory, accuracy, and deployment feasibility on CIFAR-100 under edge constraints.
Proposed method
- Define each expert W_i as W_i ≈ B(φ_i) · W_base · B(θ_i)^T with W_base in ternary {-1,0,+1}.
- Parameterize B(·) as butterfly matrices with O(d log d) parameters and O(n_ℓ · d) FLOPs per expert rotation.
- Quantize W_base to 1.58 bits per weight via AbsMean scaling and train with STE to propagate gradients.
- Apply per-expert input/output rotations to distribute activations and suppress outliers.
- Train with a loss combining cross-entropy, load-balance, and spatial-smoothness regularization to encourage diverse yet stable routing.

Experimental results
Research questions
- RQ1Can expert parameter count be reduced from O(N_E · d_model · d_ff) to sub-linear scaling while preserving accuracy?
- RQ2Do shared substrate and orbital rotations yield sufficient expert diversity for visual tasks?
- RQ3Does spatial smoothness regularization improve MoE routing continuity across neighboring image patches?
- RQ4What are the practical memory, energy, and deployment implications for edge devices?
Key findings
- Achieves 354× memory compression at 64 experts relative to Standard MoE on CIFAR-100.
- Memory for ButterflyViT scales as O(d_model·d_ff) + N_E·O(n_ℓ·d), enabling many experts to fit on edge devices.
- At 64 experts, ButterflyViT uses 0.379 MB vs 939 MB for baseline, with comparable accuracy to Standard MoE.
- Dense FFN shows higher accuracy (59.35%) than ButterflyViT (56.24%) on CIFAR-100, but ButterflyViT enables edge deployment not feasible with independent parameters.
- Real-world deployment analysis indicates ButterflyViT can fit on microcontrollers or small edge devices where Standard MoE cannot, with substantial energy savings (up to ~99.5% memory bandwidth energy reduction under DRAM models).
- Expert similarity analysis shows ButterflyViT yields an expert manifold with higher inter-expert similarity than Standard MoE, reflecting shared substrate diversity.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.