Scaling Laws for Fine-Grained Mixture of Experts
University of Warsaw · IDEAS/ NVIDIA · IDEAS NCBR · IDEAS NCBR, Polish Academy of Sciences · IDEAS NCBR Sp. · IDEAS NCBR, MIM Solutions & University of Warsaw · Uniwersytet Warszawski Krakowskie Przedmieście 26/28 00-927 Warszawa NIP: PL 5250011266
PDF 由论文原始站点提供,PaperCompass 不保存论文文件。
摘要
Mixture of Experts (MoE) models have emerged as a primary solution for reducing the computational cost of Large Language Models. In this work, we analyze their scaling properties, highlighting certain arbitrary assumptions present in the existing literature. In particular, we introduce a new hyperparameter, granularity, the modification of which allows for the optimal adjustment of the size of experts. Subsequently, we present scaling laws for fine-grained MoE, taking into account the number of training tokens, model size, and granularity. Using these scaling laws, we derive the optimal training configuration for a given computational budget. Furthermore, in contrast with previous works, we demonstrate that the gap in efficiency between dense and MoE models grows as we scale up the model size and training budget.