Dense backpropagation improves training for sparse mixture-of-experts
A lightweight approximation method that gives the MoE router a dense gradient update.
Mixture of Experts (MoE) pretraining is more scalable than dense Transformer pretraining, because MoEs learn to route inputs to a sparse set of their feedforward parameters. However, this means that MoEs only receive a sparse backward update, leading to training instability and suboptimal performance. We present a lightweight approximation method that gives the MoE router a dense gradient update while continuing to sparsely activate its parameters. Our method, which we refer to as Default MoE, substitutes missing expert activations with default outputs consisting of an exponential moving average of expert outputs previously seen over the course of training. This allows the router to receive signals from every expert for each token, leading to significant improvements in training performance. Our Default MoE outperforms standard TopK routing in a variety of settings without requiring significant computational overhead.
Latest publications
AI progress should be measured by capability-per-resource
A theoretical framework demonstrating that decisions guided by gradient influence patterns can improve efficiency.
NeurIPSBEDTime: A unified benchmark for automatically describing time series
The first benchmark dataset to assess models on each task, comprising four datasets reformatted for these tasks.
NeurIPSImproving consistency in retrieval-augmented systems with group similarity reward
An RL approach that leverages multiple rollouts across paraphrased set to assign group similarity rewards.
NeurIPS