Staleness-Centric Optimizations for Parallel Diffusion MoE Inference
Jiajun Luo, Lizhuo Luo, Jianru Xu, Jiajun Song, Rongwei Lu, Chen Tang, Zhi Wang
TL;DR
Staleness in MoE diffusion model inference hinders performance when using expert-parallelism. DICE presents a cohesive framework with Interweaved Parallelism, Selective Synchronization, and Conditional Communication to reduce stale activations at step, layer, and token levels, delivering up to 1.26× speedups with minimal quality loss on DiT-MoE variants. Through extensive experiments on ImageNet 256×256, DICE outperforms Displaced Parallelism and DistriFusion in latency and memory efficiency, while preserving image fidelity. The approach demonstrates practical scalability benefits for large MoE diffusion models and offers a path toward more efficient serving of diffusion-based generators.
Abstract
Mixture-of-Experts-based (MoE-based) diffusion models demonstrate remarkable scalability in high-fidelity image generation, yet their reliance on expert parallelism introduces critical communication bottlenecks. State-of-the-art methods alleviate such overhead in parallel diffusion inference through computation-communication overlapping, termed displaced parallelism. However, we identify that these techniques induce severe *staleness*-the usage of outdated activations from previous timesteps that significantly degrades quality, especially in expert-parallel scenarios. We tackle this fundamental tension and propose DICE, a staleness-centric optimization framework with a three-fold approach: (1) Interweaved Parallelism introduces staggered pipelines, effectively halving step-level staleness for free; (2) Selective Synchronization operates at layer-level and protects layers vulnerable from staled activations; and (3) Conditional Communication, a token-level, training-free method that dynamically adjusts communication frequency based on token importance. Together, these strategies effectively reduce staleness, achieving 1.26x speedup with minimal quality degradation. Empirical results establish DICE as an effective and scalable solution. Our code is publicly available at https://github.com/Cobalt-27/DICE
