Stepped MoE: Segment-Level Routing with Configurable Inference Complexity
Arnav Kundu, Zhaoyang Xu, Bairu Hou, Chang Gao, Reed Li, Tao Lei
Apple
Published October 5, 2026 · on the feed October 7, 2026 · ▲ 4 · arXiv 2610.07348
The 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.
The Brief
2:31A short podcast summary of the paper. Written and voiced by AI.
Transcript
Stepped MoE. Segment-Level Routing with Configurable Inference Complexity. By Arnav Kundu and five others, from Apple. Published on the fifth of October. No code repository is linked to it.
Training a large language model costs a great deal, and once it is trained it still has to be adapted for deployments that differ in how much computation they can afford. Two families of approach already address parts of that. Elastic architectures make deployment flexible, letting one model be served at different sizes. Sparsely activated models make computation input-adaptive, spending effort according to what the input needs. The trouble is that existing approaches treat these two dimensions independently, as if a model had to choose between adapting to its hardware and adapting to its input. On top of that, models meant for on-device edge inference must fit the memory and compute limits of the device that serves them. For those devices, fitting is not optional.
The proposal is a unified framework that combines elastic structures with sparsely gated architectures, so that a single model adapts at once to deployment constraints and to task requirements. The backbone is conditioned on two things together: the context it is reading, and a target efficiency specification. That second input is what turns the accuracy and efficiency trade-off into something chosen at inference time, with fine-grained control, rather than something fixed when the model was built.
Inside the model, the sub-networks are elastically nested, one capacity sitting within the next. The model learns to activate the parameters relevant to the task within those nested sub-networks. That is how one set of weights can span several capacity points while still routing according to the input. Choosing a smaller capacity does not switch off the input-adaptive behaviour. It narrows the space in which that behaviour operates.
The experiments produce one model that can be used at four capacity points, starting from one billion parameters and rising in steps of one billion. At those sizes it is more accurate than the corresponding dense models, by two to five percent on knowledge-intensive benchmarks. Against their static versions it performs at par. And it delivers latency metrics similar to the dense models, so the added flexibility is not paid for in speed.
The practical case is made in three parts. Sharing parameters across capacity points saves disk space on the device, because there is one model rather than four. Serving can flex according to the DRAM and compute available at the moment. And the results are more accurate than the dense alternatives. Two kinds of adaptivity that used to live in separate models now live in one, and the device picks how much of it to use.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free