vix.ing · top · new · best · stats

Efficient Large Scale Language Modeling with Mixtures of Experts

2021/12/20 by Mikel Artetxe, Artetxe, Mikel, Shruti Bhosale +47 · 1 voice · 31 citations
Computer Science · Engineering · Mathematics · #Algorithm #Artificial intelligence #Autoregressive model #Code (set theory) #Computation #Computer science #Econometrics #Engineering #Expert finding and Q&A systems #Language model #Machine Learning in Healthcare #Mathematics #Programming language #Range (aeronautics) #Scale (ratio) #Scaling #Topic Modeling #cs.AI #cs.CL #cs.LG

paper · pdf · doi:10.48550/arxiv.2112.10684

published in arXiv (Cornell University) (Cornell University) · EMNLP 2022

openalex publication_date 2021/12/20 · arxiv created 2022/10/26 · arxiv updated 2022/10/27 · openalex created_date 2025/10/10 · openalex updated_date 2026/08/05

Abstract

Mixture of Experts layers (MoEs) enable efficient scaling of language models through conditional computation. This paper presents a detailed empirical study of how autoregressive MoE language models scale in comparison with dense models in a wide range of settings: in- and out-of-domain language modeling, zero- and few-shot priming, and full-shot fine-tuning. With the exception of fine-tuning, we find MoEs to be substantially more compute efficient. At more modest training budgets, MoEs can match the performance of dense models using ∼4 times less compute. This gap narrows at scale, but our largest MoE model (1.1T parameters) consistently outperforms a compute-equivalent dense model (6.7B parameters). Overall, this performance gap varies greatly across tasks and domains, suggesting that MoE and dense models generalize differently in ways that are worthy of future study. We make our code and models publicly available for research use.

Cited by

Discussions

Related