TL;DR
Mixture-of-Experts (MoE) language models are fast per token, but keeping all their inactive "experts" in memory requires massive amounts of VRAM. Standard pruning methods delete experts that speak rarely or softly, ignoring how downstream normalization layers actually rescale and absorb those outputs. FN-Prune introduces a clever, training-free rule that measures what the next layer actually "hears" when an expert goes silent, letting us delete half a model's experts in a single pass while retaining far sharper reasoning and language capabilities than existing methods.
What Problem Does This Paper Address?
Sparse Mixture-of-Experts (MoE) architectures scale up model capacity without blowing up per-token compute by routing each token to just a handful of specialized sub-networks ("experts"). There is a catch, though: even if an expert sits idle 99% of the time, its weights still live in GPU memory. Physically deleting half of Qwen3’s routed experts, for instance, slashes its memory footprint from nearly 57 GiB down to under 30 GiB. The million-dollar question is: which experts can you safely throw overboard without retraining the model?
Conventional pruning heuristics judge an expert in isolation—counting how often the router picks it, or measuring the raw magnitude (norm) of its output vector. What these metrics miss is the immediate consumer of that output: RMSNorm.
In modern transformers, an expert’s output is added to the main residual stream, which is immediately rescaled by RMSNorm before the next block reads it. Imagine an expert shouting loudly, but in the exact same direction the crowd (the residual stream) is already chanting; RMSNorm simply turns down the overall volume, largely absorbing that expert's contribution. Conversely, a quieter expert pushing in an orthogonal direction changes where the model looks. The true cost of removing an expert is contextual—it depends jointly on the expert's vector and the residual state it enters.
Methods
The authors propose FN-Prune (Finite RMSNorm-Perturbation Pruning), a one-pass, training-free physical pruning pipeline.
- Downstream Perturbation Scoring: Using a unmodified model checkpoint on a calibration text stream, FN-Prune looks at the input RMSNorm of the next block ($\Phi$). For each token $t$, it compares the normal RMSNorm output $\Phi(r_t)$ against what happens if expert $i$'s weighted contribution $c_i(t)$ is subtracted: $\Phi(r_t - c_i(t))$.
- Population Averaging: Instead of averaging only over tokens where expert $i$ was active, it averages the squared Euclidean difference across all calibration tokens. Unselected tokens contribute zero, meaning the final score naturally multiplies how often an expert is used by how much its removal disturbs the normalized state when it is used. Because both states come from the unmodified forward pass, every expert in the model is scored in a single pass.
- Uniform Physical Deletion: Rather than trying to guess which layers can spare more capacity, FN-Prune enforces strict, uniform per-layer quotas (e.g., removing exactly 25% or 50% of routed experts in every layer). Selected experts and their router rows are physically sliced out of memory, and at inference time, the router natively picks its top-$k$ choices among the survivors.
Datasets
No new benchmarks are introduced; the method is training-free and uses standard public datasets:
- Calibration & Language Modeling: WikiText-2 (raw training split packed at 2,048 tokens for one-pass calibration; validation split for design ablations; test split for perplexity evaluation).
- Downstream Tasks: Zero-shot MMLU, OpenBookQA, and WinoGrande (multiple-choice reasoning/knowledge), plus 5-shot GSM8K (grade-school math word problems).
Key Insights and Ideas
- Equal magnitudes do not mean equal importance: The authors prove mathematically that subtracting an expert induces two distinct effects after RMSNorm: a scaled content-removal term and a radial scale-correction term parallel to the residual stream. Two experts with identical output norms will have vastly different removal costs depending on their geometric alignment with the residual stream.
- Finite perturbations beat local derivatives: Why actually subtract the vector instead of using a clean Taylor expansion (Jacobian derivative)? Because removing an expert is not an infinitesimal nudge—it causes a finite shift in the denominator's root-mean-square scale, which a local derivative misses.
- Layer-uniform quotas prevent catastrophic collapse: In ablations, letting a global allocator strip experts unevenly across layers caused OLMoE's perplexity at 50% pruning to explode past 2,300, whereas uniform per-layer quotas kept perplexity in the 30s. Deep MoE layers are especially sensitive to routing perturbations.
Key Results
Evaluated across three MoE families—Qwen3-30B-A3B, ERNIE-4.5-21B-A3B, and OLMoE-1B-7B—against ten published compression baselines (spanning pruning, expert merging, and constant-module replacement):
- Aggressive Compression (50% Removal): FN-Prune achieves the lowest WikiText-2 perplexity across all three model families, including a 32% perplexity reduction over the best published baseline on OLMoE (32.48 vs. 48.03).
- Isolating the Score: Compared against a strict matched-quota frequency control (identical deletion mechanics, just ranking by usage count), FN-Prune drops 50%-pruned OLMoE perplexity from 49.14 to 32.48, proving the normalization-aware ranking itself drives the gain.
- Math & Reasoning Retention: At 50% removal, FN-Prune boosts GSM8K accuracy over the strongest published baseline by +7.5 percentage points on Qwen3 (reaching 69.52%) and +7.0 points on ERNIE (59.97%). Multiple-choice gains are more selective, though FN-Prune wins 15 of 30 total evaluation conditions.
- Real Hardware Gains: Physically slicing out 50% of routed experts roughly halves memory (e.g., 56.87 GiB $\rightarrow$ 29.86 GiB on Qwen3) and consistently increases A100 token generation throughput (e.g., rising from 291.8 to 481.7 tokens/s on Qwen3).
Limitations and Future Work
- Scoring vs. Deployment Mismatch: During scoring, FN-Prune subtracts one expert while holding routing fixed. During actual deployment, however, the router dynamically picks a new replacement expert to fill its top-$k$ quota and renormalizes the surviving gate weights. Accounting for combinatorial rerouting or joint expert selection remains an open extension.
- Task-Dependent Retention: Because the method optimizes for general token representations (calibrated on WikiText-2 without task labels), perplexity improvements do not uniformly translate to every multiple-choice benchmark, especially at milder (25%) pruning budgets where expert-merging methods remain highly competitive.
- Scope: Experiments used a single calibration corpus (WikiText-2), seed 0, and RMSNorm-based models; testing domain-specific calibration sets and dedicated serving-latency setups are left for future work.
Summary updated