ESEA: Error-Aware Sparse Expert Allocation for Efficient Diffusion MoE Inference

Jing Xu, Jiateng Wei, Chenqian Yan, Songwei LiuarXiv 2026

TL;DR

Diffusion models powered by Mixture-of-Experts (MoE) architectures are massive, and running a fixed number of experts for every token wastes precious compute. While we know how to skip redundant experts in Large Language Models, applying those same tricks to diffusion models ruins image and video quality because denoising is an iterative, error-accumulating dance. ESEA solves this with a training-free, offline optimization recipe that cuts active experts in half—speeding up generation by ~1.8×—without sacrificing visual fidelity.

What Problem Does This Paper Address?

To scale visual generation without melting GPUs, researchers are increasingly turning to Mixture-of-Experts (MoE). Instead of passing a token through one giant neural network layer, a lightweight "router" sends it to a small subset of specialized sub-networks—say, the Top-8 out of 32 experts.

Even so, forcing every token at every layer to consult a fixed number of experts is overkill. In the LLM world, "dynamic expert skipping" trims this fat on the fly. Naturally, you might try porting those LLM skipping methods straight to diffusion MoE models.

When you do, generation quality falls off a cliff. Unlike LLMs—which generate text token-by-token—diffusion models sculpt images and videos iteratively over dozens of denoising timesteps, progressing from rough global layouts to fine textures. A tiny approximation error made at step 5 doesn't stay at step 5; it echoes, compounds, and warps the trajectory of every step that follows. LLM skipping methods are blind to this temporal ripple effect.

Methods

The authors introduce ESEA (Error-aware Sparse Expert Allocation), a training-free method that figures out where and when to spend a fixed compute budget before inference even begins.

Figure 3: Overview of ESEA. During calibration, ESEA determines routing weight adjustments using expert similarity and jointly allocates experts across timesteps and layers by minimizing timestep-weighted local errors with dynamic programming under a fixed total expert budget. Dur- ing inference, the precomputed Top-k configurations and weight adjustment decisions are applied directly.

ESEA works in three offline calibration steps:

  1. Similarity-Based Weight Adjustment: Normally, if you drop from 8 experts to 4, standard routing rescales the remaining 4 weights so they still sum to 1. The authors prove mathematically that this implicitly uses the kept experts to mimic the dropped ones. ESEA checks offline if the kept and dropped experts actually behave similarly in a given layer/timestep: if cosine similarity is high ($\ge 0.9$), it rescales weights; if they diverge, it leaves the original weights untouched rather than amplifying bad approximations.
  2. 3D Local Error Mapping: Using a tiny calibration set of prompts, ESEA measures the exact local output error caused by choosing $k$ experts at every (timestep, layer) coordinate, building a 3D sensitivity tensor.
  3. Noise-Weighted Dynamic Programming: Because early mistakes ruin global structure, ESEA multiplies the local errors by a timestep weight tied to the diffusion noise schedule ($w_t = 1 + \alpha\sigma_t$). It then runs dynamic programming across all flattened (timestep, layer) pairs to find the exact expert allocation that minimizes total weighted error under your target average budget (e.g., an average of 4 experts).

At inference time, there are no complex calculations—the model just reads its precomputed lookup table with virtually zero overhead.

Datasets

Because ESEA is completely training-free, no training datasets are used (calibration uses a small set of 10 prompts, with dataset specifics deferred to the appendix). No new benchmarks are introduced. For evaluation, the authors test across existing public benchmarks:

  • Image Generation (on HunyuanImage-3.0-80B-A13B and its distilled variant): Evaluated using GenEval (compositional instruction following), OCR (text rendering), ImageReward, PickScore, AestheticScore, and CLIPScore.
  • Video Generation (on LingBot-Video-30B-A3B): Evaluated on RBench, which tests embodied world video generation across five task categories (e.g., manipulation, spatial, reasoning) and four robot embodiment types.

Key Insights and Ideas

  • LLM skipping can be worse than naive truncation: Remarkably, sophisticated LLM expert-skipping baselines (NAEE and MoDES) often scored worse on image quality than just blindly chopping every single layer from Top-8 to Top-4. Ignoring the denoising timeline actively hurts.
  • Error landscapes are wild across time, tame across prompts: Sensitivity to expert skipping varies drastically across layers and timesteps, yet this 2D error map looks nearly identical regardless of what prompt you feed the model (0.921 mean Pearson correlation). This cross-prompt consistency is the magic key that lets an offline lookup table generalize to unseen prompts.
Figure 2: Local error analysis: (a) timestep–layer distribution of local error; (b) pairwise Pearson correlations between local error profiles across prompts.
  • Weight renormalization is a double-edged sword: Standard Top-$k$ normalization isn't harmless bookkeeping—it transfers probability mass to surviving experts. If experts specialize in orthogonal features, boosting the survivors' volume just distorts the signal.

Key Results

Cutting the default expert budget in half (from Top-8 down to an average Top-4) yields nearly identical speedups across reduced methods (~1.78×–1.80×), so the real battle is visual quality:

Figure 1: Comparison of expert skipping methods across three diffusion MoE models at an average Top-k budget of 4. Scores are normalized to the corresponding no expert skipping baseline.
  • HunyuanImage-3.0-Instruct: ESEA achieves an ImageReward of 1.0973, hugging the unpruned Top-8 baseline (1.1114) at a 1.80× speedup, while crushing uniform Top-4 (0.9785), MoDES (0.9221), and NAEE (0.7874). In text rendering (OCR), ESEA retains 0.7440 vs. MoDES's 0.4415.
  • HunyuanImage-3.0-Distil: ESEA scores 0.9887 ImageReward (vs. 1.0248 Top-8 baseline and 0.8438 uniform Top-4) at a 1.78× speedup.
  • LingBot-Video: At a 1.78× speedup, ESEA hits an average RBench score of 0.835—not only beating uniform Top-4 (0.805) and MoDES (0.813), but slightly edging out the original Top-8 model (0.829).

Limitations and Future Work

Not explicitly discussed in a dedicated section of the main text. However, a couple of practical constraints are apparent from the methodology: ESEA assigns expert budgets at the (timestep, layer) level rather than adapting per-token (trading token-level granularity for zero online overhead), and finding the optimal early-vs-late balance parameter ($\alpha$) currently relies on an offline grid search.

Summary updated

BibTeX
@misc{xu2026esea,
  author = {Jing Xu and Jiateng Wei and Chenqian Yan and Songwei Liu},
  title = {{ESEA: Error-Aware Sparse Expert Allocation for Efficient Diffusion MoE Inference}},
  year = {2026},
  eprint = {2611.36930},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36930},
}
Figure