ESEA: Error-Aware Sparse Expert Allocation for Efficient Diffusion MoE Inference
Abstract
Mixture-of-Experts (MoE) has emerged as a promising paradigm for scaling diffusion models, yet activating a fixed number of experts for all tokens leaves computational redundancy. Existing expert skipping methods mainly target LLMs and overlook the iterative denoising nature of diffusion models, leading to degraded generation quality when directly applied to diffusion MoE models. We analyze the underlying error mechanisms and identify three insights: (i) approximation error depends on expert similarity; (ii) local errors exhibit timestep-layer heterogeneity and cross-prompt consistency; (iii) the impacts of local errors on global error vary across timesteps. Based on these insights, we propose ESEA (Error-Aware Sparse Expert Allocation), a training-free method for diffusion MoE inference. ESEA first adjusts routing weights based on expert similarity to reduce approximation error, then weights calibrated 3D local errors tensor to reflect their timestep-dependent impacts on global error. Finally, dynamic programming minimizes the weighted local error, jointly allocating experts across timesteps and layers under a fixed total expert budget. The routing weight adjustment strategy and expert allocation are determined offline, introducing negligible overhead during inference. Extensive experiments on HunyuanImage-3.0-Instruct, its distilled variant, and LingBot-Video demonstrate that ESEA achieves the best performance among the compared methods under the same expert budget.
Create a lesson
Related papers
RScale: Routing-Aware Token-Adaptive Output Correction for Dynamic Expert Skipping in Mixture-of-Experts LLMs
Shared title terminologycs.AIZhenhao Zhu, Yue Liu, Jiaheng Zhang et al.
CommitQuant: Commitment-Aware Quantization for Multimodal Diffusion Language Models
Shared title terminologycs.AIJaehyuk Yeon, Donghyun Lee, Zhuowei Li et al.
HBFresh: Selective Refresh Management for LLM Inference on High-Bandwidth Flash
Shared title terminologycs.AIYuanwu Zhu, Yanpeng Hu, Jingwei Sun et al.
HandContextLLM: Task-Aware Evidence Selection for Continuous Hand-Task Understanding and Forecasting
Shared title terminologycs.AIChiyue Wang, Dong She, Yang Gao et al.
A2Optimizer: Accelerating Time-to-Efficiency of LLM Serving with Agents
Shared title terminologycs.AITaekwon Lee, Kyoungho Jeun, Hyeseong Kim et al.
Scout: A Game-Based Framework for Teaching Token, Energy, and Water Awareness in AI-Assisted Programming
Shared title terminologycs.AIAbdur R. Shahid, Ahmed Imteaj