Fewer Expert Transfers Without Changing Routing: Expert Eviction for MoE Offloading

Pierre-Luc Bacon, Diego Calanzone, Jean-Maxime LarouchearXiv 2026

TL;DR

Researchers have found that the best way to speed up Mixture-of-Experts (MoE) models during offloading isn't by changing how the model thinks, but by changing how it manages its "luggage." By using a "farthest-future" eviction rule for the GPU cache, they reduced data transfers by 2.1× compared to standard methods—achieving a significant speedup with zero loss in model quality.

What Problem Does This Paper Address?

Mixture-of-Experts (MoE) models, like OLMoE-1B-7B, are massive. While they only use a fraction of their parameters (experts) for any given word, the total model size often exceeds the memory of a single GPU. To run these models, systems "offload" experts to the CPU's RAM and copy them to the GPU only when needed.

The bottleneck is the transfer time. Moving weights from CPU to GPU is slow and stalls the model. Current solutions usually fall into two camps:

  1. Standard Caching (LRU): Use a "Least Recently Used" rule to swap experts. This is "lossless" (the model's output is perfect), but it results in many slow transfers.
  2. Changing the Router: Train the model's "router" to pick the same experts for several tokens in a row. This reduces transfers but is "lossy"—it changes the model's internal logic and often hurts accuracy.

The authors ask: Can we reduce transfers significantly without touching the model's routing or sacrificing quality?

Methods

The authors built a custom PyTorch harness to measure real-world performance on an NVIDIA L40S GPU. They compared standard LRU caching against several alternatives, most notably Belady’s Algorithm (Farthest-Future Eviction).

Belady’s algorithm is a theoretical "oracle" policy: when the GPU cache is full and a new expert is needed, it evicts the expert that won't be used for the longest time in the future. While this requires knowing the future, the authors used it to establish a "speed limit" for how efficient offloading can possibly be. They then tested how much "lookahead" (predicting future tokens) is actually needed to reap these benefits.

Datasets

The study evaluated the OLMoE-1B-7B model using:

  • Held-out sequences: 16 sequences of up to 384 tokens each to measure next-token loss (Negative Log-Likelihood).
  • MMLU (Massive Multitask Language Understanding): A benchmark of 5,000 questions used to measure how much "lossy" routing policies degraded the model's actual reasoning capabilities.

Key Insights and Ideas

  • Fewer switches $\neq$ fewer copies: A common misconception is that if the router switches experts less often, it will copy less data. The authors show this isn't always true. A router might switch rarely but still request experts that aren't in the cache, while a "chatty" router might cycle through a small set of experts that are already cached.
  • The "Lossy" Trade-off is Harsh: Every policy they tested that restricted the router to save time resulted in a quality drop of at least 0.067 nats. In the world of LLMs, that is a significant hit to accuracy.
  • The Power of the Future: You don't need to know the entire future to beat LRU. Knowing just the next 16 tokens of demand allows a system to recover 96% of the transfer reductions offered by a perfect oracle.
  • Heuristics Beat "Learned" Controllers: Surprisingly, simple scheduling rules (like "Dwell-k," which holds a cache fixed for $k$ tokens) often outperformed complex, trained neural controllers in both speed and quality.
Figure 1: Quality loss against decoding speed as expert copies become more expensive. Left: measured L40S throughput for policies run in the harness; the farthest-future points combine their counted copies with the measured compute time. Middle and right: Equation (1) with copies 10× and 50× slower; among six policies checked by direct measurement, it picks the measured winner at both costs (§3.1). Points at ∆NLL = 0 preserve every routing decision. At the native cost, no policy that holds an expert set fixed decodes faster than LRU without at least 0.067 nats of extra loss, while farthest-future eviction loses nothing and copies 2.1× fewer experts.

Key Results

The quantitative results highlight a clear winner in the "lossless" category:

Policy Quality Loss (ΔNLL) Speed (tokens/s) Transfers per Token ($\rho$)
All experts on GPU 0.000 49.0 0.0
LRU (Standard) 0.000 38.3 9.6
Farthest-Future (Oracle) 0.000 42.5 4.6
Learned Controller +0.076 33.8 12.3
  • 2.1× Reduction in Transfers: Farthest-future eviction cut the number of expert copies from 9.6 to 4.6 per token compared to LRU.
  • Speedup: On the L40S, this improved throughput from 38.3 to 42.5 tokens/s without any loss in accuracy.
  • Near-Optimal: The farthest-future rule is within 3.5% of the theoretical minimum number of transfers possible for this model.

Limitations and Future Work

  • The Prediction Gap: While the "oracle" results are impressive, implementing this in a real-time chat system is hard because you don't know the future tokens yet. The authors found that trying to predict the future using past usage or router probabilities only recovered about 27–33% of the potential gains.
  • Batching and Hardware: The study focused on "Batch Size 1" and blocking copies. In systems that use large batches or can overlap copies with computation (asynchronous transfers), the benefits of a better cache might be smaller.
  • Open Challenge: The authors conclude that "expert eviction is a better target for learning than routing." The next big step for the community is developing better causal predictors that can look at the current prompt and guess which experts will be needed 10–20 tokens down the line.

Summary updated

Abstract

A mixture-of-experts (MoE) language model uses only a few experts per token, so a server can keep most expert weights in CPU memory and copy an expert to the GPU when the router requests it. Recent methods train the router to keep the same experts for several tokens, and treat fewer routing switches as a proxy for fewer copies. We measure the trade-off directly, in a harness that performs and times real CPU-to-GPU copies for OLMoE-1B-7B. On an L40S GPU, every tested policy that holds an expert set fixed and decodes faster than the least-recently-used (LRU) cache increases next-token loss by at least 0.067 nats. A change that leaves every routing decision intact does better: when the cache must evict an expert, evict the one whose next use lies farthest in the future. This rule copies 2.1x fewer experts than LRU at no loss in quality and is within 3.5% of the fewest copies possible. It needs future requests; the next sixteen tokens of demand recover 96% of its reduction, whereas a rule based on counts of past requests recovers 27%.
BibTeX
@misc{bacon2026fewer,
  author = {Pierre-Luc Bacon and Diego Calanzone and Jean-Maxime Larouche},
  title = {{Fewer Expert Transfers Without Changing Routing: Expert Eviction for MoE Offloading}},
  year = {2026},
  eprint = {2611.15842},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.15842},
}
Figure