BASE: Batch-Aware Selection of Experts Using Predicted Removal Error for Efficient MoE Decoding

Ali Abbasi, Justin Shi, Soheil KolouriarXiv 2026

TL;DR

BASE (Batch-Aware Selection of Experts) is a new approach to serving Mixture-of-Experts (MoE) models that solves the "batch-level expansion" problem. By predicting the specific error caused by removing an expert for a given token, BASE selects a fixed budget of experts per batch that minimizes output distortion, achieving up to a 29.5-point accuracy improvement over existing methods at the same serving speed.

What Problem Does This Paper Address?

Serving Large Language Models (LLMs) is expensive, primarily because autoregressive decoding is bottlenecked by memory bandwidth. We have to fetch model weights from slow High-Bandwidth Memory (HBM) to fast on-chip SRAM for every single token generated.

Mixture-of-Experts (MoE) models were designed to save computation by only activating a few "experts" per token. However, in a batched serving environment (where you process many requests at once), this sparsity vanishes. If 16 different requests each ask for 2 different experts, the system might have to fetch 32 distinct expert weights. This "batch-level expansion" eats up the memory bandwidth gains MoE was supposed to provide.

Existing solutions either prune experts offline (losing flexibility) or use simple router signals to decide which experts to load for a batch. The authors argue these signals are poor proxies for the actual contribution an expert makes to the final output.

Methods

The authors introduce BASE, which treats expert selection as an optimization problem: Which $M$ experts should we fetch to minimize the change in the MoE layer's output?

The core components are:

  1. Predicted Removal Error: The importance of an expert $u$ for a token $t$ is defined by its "removal cost"—the squared norm of its weighted contribution: $w_{t,u}^2 \|E_u(z_t)\|^2$.
  2. Lightweight Energy Predictors: Since we don't know an expert's output norm $\|E_u(z_t)\|^2$ until after we fetch and run it, BASE uses a small linear model (trained during a quick calibration phase) to predict this "energy" from the input token representation.
  3. Batch-Aware Selection: For every layer in every decode step, BASE predicts the removal costs for all routed experts across the entire batch, sums them up, and loads the top $M$ experts that fit the memory budget.
  4. Backfilling: If a token's top-choice expert isn't loaded in the batch, BASE doesn't just drop it. It "backfills" the slot using the token's next-preferred expert that is already loaded for the batch.
  5. Custom Kernels: To ensure the selection logic doesn't become a new bottleneck, the authors developed fused Triton kernels that handle prediction, scoring, and selection in parallel.
Figure 2: A comparison showing how BASE's budgeted selection differs from standard union-based methods.

Datasets

  • Calibration: The energy predictors are trained using a 2.5-million token subset of FineWeb-Edu.
  • Evaluation: The method was tested across three MoE architectures (Qwen3-30B-A3B, Qwen1.5-MoE-A2.7B, and DeepSeek-V2-Lite) using eight diverse benchmarks: CMMLU, BBH, MATH, BoolQ, GSM8K, MBPP, MATH-401, and HumanEval.

Key Insights and Ideas

  • Orthogonality is a Gift: The authors found that expert outputs for the same token are nearly orthogonal (see Figure 1a). This is a huge "aha moment" because it means the total error of dropping multiple experts is roughly just the sum of their individual errors. We can ignore complex "cross-terms" and rank experts independently.
  • Substitution is a Trap: Previous methods tried to replace a missing expert with a "similar" one. BASE proves this is ineffective because experts are so directionally distinct. It’s much better to just use the token's own secondary preferences (backfilling).
  • Router Weights Aren't Enough: A high router weight doesn't always mean a high-impact output. By combining the router weight with the predicted output magnitude (energy), BASE identifies "quiet" experts that can be safely skipped even if the router likes them.
Figure 1: Analysis of expert output geometry, showing near-orthogonality and the impact of cross-terms.

Key Results

  • Massive Accuracy Gains: On the Qwen3-30B-A3B model, BASE improved average accuracy by 29.5 points over the strongest baseline (OEA) when both were restricted to the same high-throughput speed.
  • Efficiency vs. Dense: At a slightly higher expert budget, BASE is 60% faster than dense inference while staying within 0.4 accuracy points of the original model's performance.
  • Low Overhead: The custom GPU kernels ensure that the entire BASE selection process accounts for only 3.1% to 7.1% of the total decode time per step.
  • Robustness: Unlike union-based methods that degrade quickly as batch sizes shrink, BASE maintains stable quality across a wide range of batch sizes (8 to 128).
Figure 3: Accuracy and throughput across different batch sizes, showing BASE's stability.

Limitations and Future Work

  • Calibration Requirement: BASE requires an offline calibration step to train the linear predictors. While the authors show this takes less than 40 minutes for a 30B model, it is an extra step compared to zero-shot methods.
  • Linear Simplicity: The current energy predictors are simple linear models. While the authors found this to be the best efficiency-accuracy tradeoff, more complex architectures might benefit from non-linear predictors if the overhead can be managed.
  • Static Budgets: The current implementation uses a fixed budget $M$ per layer. Future work could explore dynamic budgets that shift experts between layers based on real-time needs.

Summary updated

BibTeX
@misc{abbasi2026base,
  author = {Ali Abbasi and Justin Shi and Soheil Kolouri},
  title = {{BASE: Batch-Aware Selection of Experts Using Predicted Removal Error for Efficient MoE Decoding}},
  year = {2026},
  eprint = {2609.36222},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.36222},
}
Figure