atlas

Research map / Architectures and efficiency / Mixture of experts

A Provably Effective Method for Pruning Experts in Fine-tuned Sparse Mixture-of-Experts

ICML 2024 · Architectures and efficiency › Mixture of experts · approach: Expert routing and specialization · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proves that pruning MoE experts whose router L2-norm changed least during fine-tuning preserves test accuracy in a simplified binary setting, and empirically prunes up to 75% of experts in V-MoE and E^3-MoE with little accuracy loss.

Problem

Expert pruning in sparse mixture-of-experts models has been little studied and lacks theory; it is unclear what property identifies experts essential for a downstream task so that removing the rest preserves generalization.

Approach

Identify essential experts by the change in their router's L2 norm from pre-trained to fine-tuned weights: task-relevant experts learn a much larger router norm increase, so pruning experts with the smallest change removes task-irrelevant ones. Proven in a feature-learning framework on a simplified binary MoE, and validated on vision MoE models.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Prune experts ranked by router l2-norm change rather than randomlyV-MoE · CIFAR-10accuracy under pruningHelped
Prune 50% of experts without post-pruning fine-tuning, while not pruning the penultimate MoE layerV-MoE · CIFAR-10accuracy difference from unpruned model: 50% of the experts (35% of the whole model); within 1%No clear effect
Add post-pruning fine-tuning after router norm-change pruningV-MoE · CIFAR-10experts pruned while maintaining accuracy within tolerance: 75% of the experts, 60% of the whole modelHelped
Prune experts ranked by router l2-norm changeV-MoE · CIFAR-100accuracy difference from unpruned model: 50% of the experts; 41% of the whole modelNo clear effect
Prune experts ranked by router l2-norm changeV-MoE · ImageNetaccuracy difference from unpruned model: 42% of the experts; 35% of the whole modelNo clear effect
Prune experts ranked by router l2-norm changeE3-MoE · CIFAR-10accuracy difference from unpruned model: 75% of the experts; 45% of the whole modelNo clear effect
Prune experts ranked by router l2-norm changeE3-MoE · CIFAR-100accuracy difference from unpruned model: 75% of the experts; 45% of the whole modelNo clear effect
Prune experts ranked by router l2-norm changeV-MoE · CIFAR-10inference FLOPs: 40%Helped
Prune experts ranked by router l2-norm changeE3-MoE · CIFAR-100inference FLOPs and time: 15% reduction of FLOPs and timeHelped
Prune experts ranked by router l2-norm changeV-MoE · ImageNetinference FLOPs and time: 14% reduction of FLOPs and timeHelped
Prune experts using router norm change instead of importance score, absolute router magnitude, average neuron magnitude, or average change in neuron magnitudeV-MoE · CIFAR-10, CIFAR-100, and ImageNetaccuracy at acceptable model pruning ratios: within 1%Helped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 CIFAR-100 ImageNet

Benchmarks: CIFAR-10 CIFAR-100 ImageNet

Metrics: test accuracy model pruning ratio FLOPs inference time

Baselines: Importance score Router magnitude Average neuron magnitude Average change of neuron magnitude Random pruning

Builds on: Vision MoE Efficient ensemble of experts Expert-choice routing Feature learning framework for neural network analysis

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy