Manuscript Offprint

arXiv:2611.05804

Matching the Training-Time Weight Rule in Inference-Time Expert Deactivation

Hao Cheng, Zhiyu Yang, Bo Ma, Hanzhang Jia

Abstract

Expert deactivation at inference time changes both token routing and expert weights, and its effect on performance depends on how these changes are implemented. We compare removal, freezing, remaining-expert renormalization, and unnormalized re-routing on identical disabled sets across five instruction-tuned checkpoints from four model families, with a base OLMoE checkpoint as an additional comparison. We develop a weight-sum model that relates the loss of expert contributions and changes in branch scale to the weight rule used during training. With half of the experts deactivated according to activation-based rankings, remaining-expert renormalization yields the highest perplexity in models trained with raw router probabilities, whereas unnormalized re-routing yields the highest perplexity in models trained with normalized weights. Perplexity ranges from 1.4 to 73 times the intact baseline when the training rule is retained, and from 14 to 28,740 times the baseline under a rule mismatch. Task outcomes vary across evaluation types: on OLMoE, GSM8K strict-match accuracy falls to zero under all four implementations. Extending the model to changes in the number of active experts yields a further prediction, supported by the OLMoE experiments: the perplexity penalty from additional renormalization increases as fewer experts are activated.

1 Introduction

Open-weight mixture-of-experts (MoE) models distribute their parameters across expert layers while activating only a small subset of experts for each token. OLMoE, DeepSeek-V2, Granite, and Qwen3 follow this architecture (Muennighoff et al., 2025; DeepSeek-AI, 2024; IBM Granite

Team, 2024; Qwen Team, 2025). Sparse activation reduces computation per token, but the full expert bank still incurs storage, loading, and scheduling costs. Expert pruning, offloading, and dynamic routing address these deployment costs by changing which experts are available or selected (Lu et al., 2024; Lasby et al., 2025; Chen et al., 2026).

Deactivating experts requires explicit choices about the existing token assignments and their associated weights. Removal masks the disabled experts, re-routes their tokens, and recomputes weights using the model's original rule; the resulting change therefore combines expert substitution with weight redistribution. Freezing preserves the original routing decisions and surviving weights, removing only the disabled experts' weighted contributions. Affected tokens consequently retain fewer effective experts and a smaller total weight. Remaining-expert renormalization also leaves the vacated slots unfilled, but rescales the surviving weights to sum to one, combining contribution loss with additional scaling. Unnormalized re-routing fills the vacated slots and weights the replacement experts by their raw router probabilities. It preserves the number of active experts while reducing expert-branch gain in models trained with normalized weights. These differences in implementation affect how expert importance and pruning results are interpreted.

Existing studies primarily compare expert-selection criteria within a fixed deactivation implementation (Lu et al., 2024; Lasby et al., 2025; Chen et al., 2026). Hu et al. (2025) compare removal and freezing without distinguishing models by their training-time weight rule. Chen and Yao (2026) examine the normalization reference when reducing the number of active experts, but do not compare all four implementations on an identical disabled set. The performance differences attributable to implementation, and the correspondence between the most damaging implementation and the training rule, therefore remain unresolved.

We develop a weight-sum model covering all four implementations, using the training-time computation as the reference for analyzing contribution loss and expert-branch scaling. Removal recomputes weights under the original rule, whereas freezing retains the surviving experts' original weights. Remaining-expert renormalization and unnormalized re-routing instead prescribe normalized weights and raw probabilities, respectively, so their compatibility with training depends on the model. In OLMoE and DeepSeek-V2, the selected experts' raw probabilities already sum to less than one during training. Renormalizing the survivors raises the retained sum to one and amplifies their contribution relative to the residual branch. In Granite and Qwen3, the selected weights sum to one during training; removing this normalization reduces the weight sum below one and uniformly attenuates the weighted output for a given selected set. The model thus predicts that, for a fixed model and disabled set, remaining-expert renormalization will produce the largest perplexity increase in raw-probability models, and unnormalized re-routing will produce the largest increase in normalized-weight models.

Our experiments cover five instruction-tuned checkpoints from four families, with a base OLMoE checkpoint as an additional comparison. For each model and deactivation proportion, all four implementations use the same disabled set. We then vary the selection criterion to examine the effect of the set itself. Model parameters remain fixed throughout, and evaluation includes WikiText-2 perplexity, multiple-choice tasks, and free-form generation on GSM8K.

When half of the experts are deactivated using activation-based selection, the highest perplexity occurs under remaining-expert renormalization for OLMoE and DeepSeek-V2-Lite, and under unnormalized re-routing for both Granite checkpoints and Qwen3, as predicted. Implementations that retain the training rule yield perplexities between 1.4 and 73 times the intact baseline; mismatched implementations yield between 14 and 28,740 times the baseline. On the same DeepSeek-V2-Lite disabled set, freezing gives a perplexity of 17.21, compared with 258,621.64 under remaining-expert renormalization. Both retain the same experts without filling the vacated slots. Their difference of more than four orders of

magnitude therefore isolates the substantial effect of weight handling.

On instruction-tuned OLMoE at 50% deactivation, implementations that retain the training rule remain above chance on some two-option tasks, while MMLU approaches chance and GSM8K strict-match accuracy is zero under all four implementations. The weight-sum model also extends to changes in inference-time width. For fixed router probabilities, selecting fewer experts lowers their total probability and increases the amplification introduced by renormalization. The model consequently predicts a larger penalty from a weight-rule mismatch at smaller widths. OLMoE exhibits this trend: the perplexity penalty from renormalization grows as the number of active experts decreases.

Our contributions are threefold:

  1. We establish the performance differences among four deactivation implementations on identical disabled sets and identify the high-loss implementation associated with each training-time weight rule.

  2. We develop a weight-sum model of all four implementations that explains the gain changes introduced by adding or removing normalization and predicts which implementation produces the most severe degradation in each model class.

  3. We extend the model's predictions to changes in the number of active experts and verify the predicted trend on OLMoE: additional renormalization causes increasingly severe perplexity degradation at smaller widths. This result extends the explanation based on weight-rule mismatch from fixed expert deactivation to inference-time width adjustment.

References (15)