Mixture of Parrots: Mixtures of experts improve memorization more than reasoning

Published: 11 Oct 2024, Last Modified: 10 Nov 2024M3L OralEveryoneRevisionsBibTeXCC BY 4.0
Keywords: Mixtures of experts, reasoning for LMs, memorization for LMs
TL;DR: Mixtures of experts provide more benefits in memorization tasks than in reasoning tasks
Abstract: The Mixture-of-Experts (MoE) architecture enables a significant increase in the total number of model parameters with minimal computational overhead. However, it is not clear what performance tradeoffs, if any, exist between MoEs and standard dense transformers. In this paper, we show that as we increase the number of experts (while fixing the number of active parameters), the memorization performance consistently increases while the reasoning capabilities saturate. We begin by analyzing the theoretical limitations of MoEs at reasoning. We prove that there exist graph problems that cannot be solved by any number of experts of a certain width; however, the same task can be solved by a dense model with a slightly larger width. On the other hand, we find that on memory-intensive tasks, MoEs can effectively leverage a small number of active parameters with a large number of experts to memorize the data. To empirically validate our findings, we pre-train a series of MoEs and dense transformers and evaluate them on commonly used benchmarks in math and natural language. We find that increasing the number of experts helps solve knowledge-intensive tasks, but fails to yield the same benefits for reasoning tasks.
Is Neurips Submission: No
Submission Number: 65
Loading