๐ค AI Summary
Large-scale Mixture-of-Experts (MoE) model training suffers from severe load imbalance induced by dynamic token routing, causing GPU memory overflow and hindering model scalability. Existing capacity-constrained load-balancing approaches sacrifice accuracy and fail under memory-constrained hardware. This paper proposes a fine-grained scheduling framework: first decoupling token distribution from expert computation units; then establishing a theory-driven memory model; and finally designing a dynamic optimization strategy for recomputation chunking, integrated with memory-aware scheduling and real-time load balancing. The method enables memory-efficient and stable training without compromising model accuracy. Experiments demonstrate a 48.03% reduction in activation memory, a 4.42ร throughput improvement, andโcriticallyโthe first reliable training of ultra-large MoE models on low-memory GPUs.
๐ Abstract
The training of large-scale Mixture of Experts (MoE) models faces a critical memory bottleneck due to severe load imbalance caused by dynamic token routing. This imbalance leads to memory overflow on GPUs with limited capacity, constraining model scalability. Existing load balancing methods, which cap expert capacity, compromise model accuracy and fail on memory-constrained hardware. To address this, we propose MemFine, a memory-aware fine-grained scheduling framework for MoE training. MemFine decomposes the token distribution and expert computation into manageable chunks and employs a chunked recomputation strategy, dynamically optimized through a theoretical memory model to balance memory efficiency and throughput. Experiments demonstrate that MemFine reduces activation memory by 48.03% and improves throughput by 4.42% compared to full recomputation-based baselines, enabling stable large-scale MoE training on memory-limited GPUs.