AdERA: Adaptive Exponent Reuse for Lossless Allgather in Sharded MoE Training
Abstract
In training Mixture-of-Experts (MoE) models, sharded data parallelism partitions each expert’s parameters across GPUs, requiring an Allgather operation to recon- struct the full weight matrix before each layer executes. This communication often dominates iteration time. Prior work often reduces this overhead using lossy compression methods that sacrifice accuracy, while existing lossless methods do not exploit cross-iteration exponent stability. In this paper, we propose Adaptive Exponent Reuse Allgather (AdERA), a lossless, system-aware communication method for sharded MoE training. We observe that after a brief warmup phase, the exponent values of most weights remain unchanged across iterations. Based on this, we cache exponents locally and transmit only the sign and mantissa when exponents are unchanged. The receiver reconstructs the original weights exactly by combining the cached exponents with the received data. Since parameter matrices vary in shape across layers, compression is applied only when it yields net time savings. Moreover, the compression operation is overlapped with both Allgather communication and computation. Our real experiments show that on OLMoE-1B- 7B at 16 GPUs, AdERA achieves a 3.70× speedup over the lossless baseline and 3.68× over the lossy baseline at 16 GPUs, while preserving bitwise-exact parameter reconstruction in all evaluated runs. The source code is publicly available.