Stepped MoE: Segment-Level Routing with Configurable Inference Complexity
cs.LG, cs.AI, cs.CL
Submitted: 2026-10-05
Updated: 2026-10-05
Comments: Apple Foundation Models, 15 Pages, Edge LLMs
Code: https://github.com/apple/axlearn
License: http://creativecommons.org/licenses/by/4.0/
The gist: Training large language models (LLMs) is resource-intensive, and adapting them for diverse deployment scenarios with varying computational constraints remains challenging.
Abstract
Training large language models (LLMs) is resource-intensive, and adapting them for diverse deployment scenarios with varying computational constraints remains challenging. While elastic architectures enable flexible model deployment and sparsely activated models allow input-adaptive computation, existing approaches treat these dimensions independently. Moreover, models catered towards on-device edge inference need to conform to the memory and compute limitations of the serving devices. In this paper, we introduce a unified framework that combines elastic structures with sparsely gated architectures to create models that adapt simultaneously to both deployment constraints and task requirements. Our approach employs a model backbone that conditions on both the context and target efficiency specifications, enabling fine-grained control over the accuracy-efficiency trade-off at inference time. The model learns to activate task-relevant parameters within elastically-nested sub-networks, allowing a single model to span multiple capacity points while maintaining input-adaptive routing. Through experiments we demonstrate that we can create a model that allows the flexibility to use 1,2,3,4 billion parameters while being more accurate than their dense counter-parts (2-5% on knowledge-intensive benchmarks) and at par with their static versions while delivering similar latency metrics as dense models. Overall, we save on device disk space by sharing the model parameters, allow flexibility of serving based on DRAM and compute available while delivering more accurate results.
Sources
- Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer
- Instruction-Following Pruning for Large Language Models
- Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge
- Training Verifiers to Solve Math Word Problems
- MatFormer: Nested Transformer for Elastic Inference
- Instruction-Following Evaluation for Large Language Models
- Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluators
- From Crowdsourced Data to High-Quality Benchmarks: Arena-Hard and BenchBuilder Pipeline
- Program Synthesis with Large Language Models
- MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generation
- MMAU: A Holistic Benchmark of Agent Capabilities Across Diverse Domains
- DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models
- Slimmable Neural Networks
- Once-for-All: Train One Network and Specialize it for Efficient Deployment
- DynaBERT: Dynamic BERT with Adaptive Width and Depth
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks