ICML 2024poster34 citations

Scaling Laws for Fine-Grained Mixture of Experts

Jan Ludziejewski, Jakub Krajewski, Kamil Adamczewski, Maciej Pióro, Michał Krutul, Szymon Antoniak, Kamil Ciebiera, Krystian Król

Abstract

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.

BibTeX
@inproceedings{
ludziejewski2024scaling,
title={Scaling Laws for Fine-Grained Mixture of Experts},
author={Jan Ludziejewski and Jakub Krajewski and Kamil Adamczewski and Maciej Pi{\'o}ro and Micha{\l} Krutul and Szymon Antoniak and Kamil Ciebiera and Krystian Kr{\'o}l and Tomasz Odrzyg{\'o}{\'z}d{\'z} and Piotr Sankowski and Marek Cygan and Sebastian Jaszczur},
booktitle={Forty-first International Conference on Machine Learning},
year={2024},
url={https://openreview.net/forum?id=yoqdlynCRs}
}
Scaling Laws for Fine-Grained Mixture of Experts · ICML 2024