MoSE: Mixture of Slimmable Experts for Efficient and Adaptive Language Models

Nurbek Tastan, Stefanos Laskaridis, Karthik Nandakumar, Samuel Horváth

TL;DR

MoSE (Mixture of Slimmable Experts) introduces a way to adjust the internal width of experts in a Mixture-of-Experts (MoE) model on the fly. By making experts "slimmable," the model can trade off accuracy for computational efficiency on a continuous spectrum, achieving up to 38% FLOP savings at inference time without sacrificing performance.

What Problem Does This Paper Address?

Large Language Models (LLMs) are computationally expensive to run. Mixture-of-Experts (MoE) architectures mitigate this by "sparse activation"—only a few "experts" (specialized sub-networks) are triggered for any given token. However, standard MoE has a rigid limitation: once an expert is selected, it must be executed at 100% capacity.

This creates a "discontinuous" trade-off. You can choose to activate one expert or two, but you can't choose to activate "one and a half" experts' worth of compute. Furthermore, not all tokens are created equal; a simple "the" might require less processing power than a complex technical term. The authors argue that expert capacity should be elastic, allowing the model to allocate more compute to difficult tokens and less to easy ones.

Methods

The authors propose two primary innovations:

  1. Slimmable Expert Architecture: Instead of fixed-width Feed-Forward Networks (FFNs), each expert in MoSE uses a nested structure. By "slicing" the hidden dimension, a single set of weights can represent a full-width expert or a "slimmed" version (e.g., 25% or 50% width).
  2. Multi-Width Training: To ensure the model performs well at any width, the authors use a stochastic training recipe. In each training step, they calculate the loss for the full-width configuration and one randomly sampled width, optimizing for both simultaneously.
  3. Adaptive Inference (TTT): At inference time, MoSE can assign widths in three ways:
  4. Uniform: All experts run at a fixed width (e.g., 0.5x).
  5. Router-Conditioned: The model uses the router’s existing confidence scores to decide width (higher probability = wider expert).
  6. Test-Time Training (TTT): A lightweight mechanism that learns a single scalar parameter ($\gamma$) to map router probabilities to optimal widths for a specific FLOP budget, keeping all other model weights frozen.

Datasets

The researchers evaluated MoSE across several scales and tasks:

  • Pre-training: Models were trained from scratch on OpenWebText (up to 15B tokens).
  • Language Modeling: Evaluated on WikiText-103 and LAMBADA (perplexity and accuracy).
  • Zero-Shot Reasoning: Benchmarked on Winograd Schema Challenge (WSC), HellaSwag, PIQA, and Social IQA.
  • Continual Pre-training (CPT): They also adapted the DeepSeek-V2-Lite (16B) model to demonstrate that MoSE can be applied to existing pre-trained MoE checkpoints.

Key Insights and Ideas

  • Decoupling Selection from Capacity: Traditionally, MoE routers only decide which expert to use. MoSE adds a second dimension: how much of that expert is needed. This allows for a much finer-grained control of the compute budget.
  • Repurposing the Router: The router already calculates which experts are most relevant. MoSE realizes this "relevance" score is a perfect proxy for "importance," allowing the model to slim down less relevant experts with minimal impact on quality.
  • The "Free" Regularizer: Interestingly, training with variable widths acts as a form of regularization. MoSE models often match or even slightly outperform standard MoE models even when running at full width.
  • Post-hoc Slimming: You don't need to train a model from scratch to get these benefits. The authors showed that just 0.5% to 5% additional "continual pre-training" on a standard MoE model is enough to make its experts slimmable.

Key Results

  • Efficiency Gains: MoSE consistently shifts the Pareto frontier (the curve of accuracy vs. compute). On GPT2-style models, it achieved 20% to 36% FLOP reductions at matched perplexity.
  • DeepSeek Success: When applied to the 16B DeepSeek-V2-Lite, MoSE improved the inference-time Pareto frontier by 38.1%, saving approximately 920 MFLOPs per token.
  • Reasoning Performance: On downstream tasks like HellaSwag, MoSE (TTT) improved accuracy from 0.335 to 0.385 while simultaneously reducing compute from 402.7 to 272.5 MFLOPs/token.

Limitations and Future Work

  • Frontier Scale: While the authors tested up to 16B parameters, they have not yet demonstrated MoSE on "frontier" scales (e.g., 100B+ parameter models).
  • Hardware Kernels: The paper primarily uses FLOPs as a metric. While they show a high correlation between FLOPs and actual latency, realizing these gains in production requires specialized GPU kernels that can efficiently handle variable-width matrix multiplications.
  • Speculative Decoding: The authors suggest MoSE could be a powerful tool for "self-speculation," where a slimmed version of the model acts as a draft proposer for a full-width verifier, though this was not explicitly implemented in this paper.

Summary updated

Abstract

Mixture-of-Experts (MoE) models scale large language models efficiently by sparsely activating experts, but once an expert is selected, it is executed fully. Hence, the trade-off between accuracy and computation in an MoE model typically exhibits large discontinuities. We propose Mixture of Slimmable Experts (MoSE), an MoE architecture in which each expert has a nested, slimmable structure that can be executed at variable widths. This enables conditional computation not only over which experts are activated, but also over how much of each expert is utilized. Consequently, a single pretrained MoSE model can support a more continuous spectrum of accuracy-compute trade-offs at inference time. We present a simple and stable training recipe for slimmable experts under sparse routing, combining multi-width training with standard MoE objectives. During inference, we explore strategies for runtime width determination, including a lightweight test-time training mechanism that learns how to map router confidence/probabilities to expert widths under a fixed budget. Experiments on GPT models trained on OpenWebText demonstrate that MoSE matches or improves upon standard MoE at full width and consistently shifts the Pareto frontier for accuracy vs. cost, achieving comparable performance with significantly fewer FLOPs.
BibTeX
@inproceedings{tastan2026mose,
  author = {Nurbek Tastan and Stefanos Laskaridis and Karthik Nandakumar and Samuel Horváth},
  title = {{MoSE: Mixture of Slimmable Experts for Efficient and Adaptive Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=18C6xMcD96},
}
Figure