atlas

Research map / Architectures and efficiency / Mixture of experts

Oracle-MoE: Locality-preserving Routing in the Oracle Space for Memory-constrained Large Language Model Inference

ICML 2025 · Architectures and efficiency › Mixture of experts · approach: Efficient MoE language model systems

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Oracle-MoE, which routes tokens by clustering attention-derived semantic group embeddings (an "oracle space") so consecutive tokens activate the same experts, reducing expert swapping latency for memory-constrained on-device LLM inference.

Problem

MoE-based LLMs on memory-constrained edge devices suffer large latencies because token-level routing causes frequent expert swapping across consecutive tokens due to inconsistent expert activations.

Approach

Route tokens by their semantic group embeddings (averages of token embeddings over attention-defined semantic groups) clustered in a compact oracle space, rather than by individual token embeddings, so that consecutive tokens share experts and swapping drops.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Route tokens using semantic group embeddings in oracle space instead of token-level gatingOracle-MoE, 195M · Average across tasksaverage score: 30.73 -> 30.75Helped
Route tokens using semantic group embeddings in oracle space instead of token-level gatingOracle-MoE, 295M · Average across tasksaverage score: 32.68 -> 33.28Helped
Route tokens using semantic group embeddings in oracle space instead of token-level gatingOracle-MoE, 729M · Average across tasksaverage score: 35.86 -> 36.35Helped
Route tokens using semantic group embeddings in oracle space instead of token-level gatingOracle-MoE, 2.06B · Average across tasksaverage score: 43.73 -> 44.09Helped
Use oracle-space routing instead of Switch routingOracle-MoE · 50% of full-size memory, 765M modelfirst token latency: 22.395 -> 4.910; 23.428 -> 4.910; 12.767 -> 4.910Helped
Use oracle-space routing instead of Switch routingOracle-MoE, 8*16(729M) · Memory-constrained inference with 1 expert per layer allowedadditional latency: 3sHelped
Predict deeper-layer expert activations from first-layer embeddingsOracle-MoE · Expert activation predictionprediction accuracy: 85% to 95% vs 40% to 60%Helped
Predict deeper-layer expert activations from first-layer embeddingsOracle-MoE · Expert loading latencylatency reduction: 10% to 15%Helped

Surprising findings

Limitations

Experimental setup

Datasets: OpenWebText TriviaQA GLUE MAG Sci-Cite XSum

Benchmarks: TriviaQA GLUE MAG Sci-Cite XSum

Metrics: expert activation memory-latency curve first token latency F1 accuracy Rouge-1

Baselines: Switch Transformer SwapMoE FIFO swapping LRU swapping

Builds on: Switch Transformer SwapMoE EdgeMoE K-means

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy