Mixture of Parrots: Experts improve memorization more than reasoning

Samy Jelassi, Clara Mohri, David Brandfonbrener, Alex Gu, Nikhil Vyas, Nikhil Anand, David Alvarez-Melis, Yuanzhi Li, Sham M. Kakade, eran malach

TL;DR

This paper demonstrates that while Mixture-of-Experts (MoE) architectures are incredibly efficient at memorizing facts, they struggle to scale reasoning capabilities. The authors prove that reasoning requires a minimum "active width" that more experts cannot compensate for, effectively labeling MoEs as superior "memorization machines" that act more like parrots than thinkers.

What Problem Does This Paper Address?

The AI community has flocked to Mixture-of-Experts (MoE) architectures (like Mixtral or GPT-4) because they allow models to have a massive number of total parameters while keeping the computational cost (FLOPs) low. By only activating a small subset of "experts" for any given token, we get the benefits of a large model at the price of a small one.

However, the authors ask a critical question: Is there a hidden trade-off? While we know MoEs are compute-efficient, it hasn't been clear if they process information differently than "dense" models. Specifically, does adding more experts help with logic and reasoning as much as it helps with storing facts?

Methods

The authors attack this problem using a three-pronged approach:

  1. Theoretical Analysis: Using communication complexity, they prove a lower bound on the "width" (model dimension) required to solve graph connectivity problems. They show that a dense model with a certain width can solve problems that an MoE cannot—no matter how many experts you add—if the MoE's individual experts are too narrow.
  2. Synthetic Stress Tests: They trained models from scratch on two distinct tasks:
  3. Shortest Path: A reasoning task requiring the model to navigate a graph.
  4. Phone-book: A pure memorization task requiring the model to retrieve a number associated with a name.
  5. Large-Scale Pre-training: They pre-trained a suite of dense and MoE models (up to 2.1B total parameters) on 65 billion tokens of natural language and mathematics data to see if these theoretical patterns hold in the real world.

Datasets

  • Synthetic: Randomly generated Erdős-Rényi graphs for pathfinding and a custom-built "phone-book" for retrieval.
  • Pre-training: A mix of FineWeb-edu, Cosmopedia, and Wikipedia for general knowledge, and Proof-Pile 2 for mathematical reasoning.
  • Evaluation Benchmarks:
    • World Knowledge: TriviaQA, Natural Questions.
  • Commonsense Reasoning: HellaSwag, WinoGrande.
  • Mathematics: GSM8k, MATH, SVAMP.

Key Insights and Ideas

  • The Width Bottleneck: Reasoning is "width-dependent." To solve a complex logical chain, a model needs a certain amount of internal workspace (hidden dimension). Adding more experts increases the model's "storage capacity" (total parameters) but doesn't increase this workspace (active parameters).
  • MoEs as Memorization Machines: MoEs are startlingly good at "closed-book" retrieval. Because different experts can specialize in different niches of knowledge, an MoE can match the factual recall of a much larger dense model.
  • The Generalization Gap: On math tasks, MoEs exhibit a much higher "train-test gap" than dense models. This suggests that when an MoE "solves" a math problem, it is often just recognizing and retrieving a similar pattern from its training data rather than "reasoning" through the logic.
  • Total vs. Active Parameters: For memorization, total parameters are the best predictor of success. For reasoning, active parameters (the width of the experts being used) are what matter most.

Key Results

Performance comparison of Dense vs MoE models across different task types
  • World Knowledge: MoEs can match the performance of dense models with equivalent total parameters, even with significantly fewer active parameters. This represents a massive win for MoE efficiency in factual tasks.
  • Reasoning & Math: In contrast, on the MATH and commonsense benchmarks, dense models consistently outperformed MoEs of the same total parameter count. Increasing the number of experts provided diminishing returns for reasoning once the active width was fixed.
  • Synthetic Validation: In the phone-book task, MoE performance scaled perfectly with total parameters. In the shortest-path task, MoE performance flatlined regardless of the number of experts, only improving when the hidden dimension (width) was increased.

Limitations and Future Work

The authors acknowledge that their models, while significant, are still small (up to 2.1B parameters) compared to frontier models like GPT-4. It remains to be seen if the "reasoning saturation" they observed eventually breaks at massive scales.

Additionally, most real-world tasks are a blend of memory and reasoning. Future work could investigate how to design "hybrid" architectures that can scale memory via experts while maintaining the high-width pathways necessary for deep reasoning. The paper suggests that for tasks where logic is paramount, simply adding more experts is not a substitute for increasing the model's fundamental width.

Summary updated

BibTeX
@inproceedings{jelassi2025mixture,
  author = {Samy Jelassi and Clara Mohri and David Brandfonbrener and Alex Gu and Nikhil Vyas and Nikhil Anand and David Alvarez-Melis and Yuanzhi Li and Sham M. Kakade and eran malach},
  title = {{Mixture of Parrots: Experts improve memorization more than reasoning}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=9XETcRsufZ},
}
Figure