RAZOR: Pruning Replaceable Experts in LLMs
Abstract
Mixture-of-experts (MoE) models activate only a few experts per token but store the entire expert pool. Pruning this pool requires identifying experts whose removal preserves model behavior. Routing frequency and output magnitude do not fully describe deletion damage, which also depends on how the surviving and replacement experts compensate for the removed output. We introduce RAZOR, a training-free pruning method based on consensus residuals, the deviations of expert outputs from their original weighted mixture. At a fixed layer input, these residuals give the exact output change for a single deletion under survivor renormalization and router refill. RAZOR aggregates this damage by conditional root mean square and selects experts under a layerwise budget using forward computation alone, without gradients, subset search, or recovery training. Against frequency, activation-norm, and REAP baselines on GLM-4.7-Flash and Qwen3.6-35B-A3B at 25% and 50% expert removal, it attains the highest macro average over nine reasoning-intensive tasks in all four model-budget settings, gaining 2.12-5.59 points over REAP and lowering reverse KL in all four. On DeepSeek-V4-Flash-0731 and Hy3, it also achieves the highest macro average among the three residual criteria. Local exactness does not guarantee better joint pruning. Generation analyses show changes in diversity, formatting, and termination despite higher task scores.
Create a lesson
Metadata
- Categories
- cs.LG, cs.CL
Related papers
Laying Off Experts: Domain-Conditioned Pruning of Mixture-of-Experts Models
Shared title terminologycs.LGChinmayee Raman, Haolin Yang, Reza Rawassizadeh
Resource-Aware Federated Mixture-of-Experts with Adaptive Pruning for Onboard Learning in LEO Satellite Constellations
Shared title terminologycs.LGMohamed Shaaban, Mohamed Elmahallawy, Marius Bernahrndt et al.
Mixing Expertise with Confidence: A Mixture of Experts Framework for Robust Multi-Modal Continual Learning
Shared title terminologycs.LGMd Abdullah Al Forhad, Yuansheng Zhu, Abhinab Acharya et al.
Characterizing Latent Reasoning Dynamics in LLMs
Shared title terminologycs.LGPrateek Humane, Supriyo Chakraborty, Atharv Naphade et al.
RIVET: Router-Informed, Verifier-Guided Expert Tailoring for MoE Self-Speculative Decoding
Shared title terminologycs.LGYunhao Wang, Hongyu Zhao, Zhenjia Mo et al.
PerturbAlign: Adaptive Multi-Reference Learning for Cell Perturbation Response Prediction with LLMs
Shared title terminologycs.LGJie Deng, Dan Liu, Libo Zhang