# EMO: Pretraining Mixture of Experts for Emergent Modularity

*Ryan Wang, Akshita Bhagia, Sewon Min*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/151720) · [OpenReview](https://openreview.net/forum?id=YavQQZ3cUM) · [Open on the map](../papers.html#p151720)

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [Mixture-of-Experts Data Mixing](../pgroup/305.md) · Type: new method · Keywords: mixture of experts, modular MoE, emergent specialization, memory-efficient deployment, large language models

Areas: [LLM Reasoning](../areas/reasoning.md) › Efficient Reasoning › Mixture-of-Experts; [Model Architectures & Sequence Modeling](../areas/architectures.md) › Language Model Architectures › Mixture of Experts Optimizations

## Summary
EMO is a mixture-of-experts model pretrained to develop emergent modular expert groupings, enabling selective use of expert subsets with minimal performance loss.

## Explained to a 5-year-old
Big computer programs, like those that talk to us, are usually one big box with everything inside. When we only need a small part, like solving math problems, we still have to carry the whole box. A new idea tries to make many small boxes, each good at a different job. These boxes are called experts, and they can be turned on only when needed. The program learns to put similar jobs into the same box by looking at groups of words.

## Explained to a 5-year-old, longer
Big computer programs, like those that talk to us, are usually one big box with everything inside. When we only need a small part, like solving math problems, we still have to carry the whole box. A new idea tries to make many small boxes, each good at a different job. These boxes are called experts, and they can be turned on only when needed. The program learns to put similar jobs into the same box by looking at groups of words. This way, when you ask a question about code, the right box lights up. You can even pick just a few boxes to save memory. The program still works almost as well as using all boxes. The boxes become smart at whole subjects, like math or writing code, not just tiny details. This makes it easier to build smaller, faster versions of the program for different uses. It also lets different parts of the program work together like building blocks. Overall, this helps make computer helpers that are more flexible and use less space.

## For a technical reader
The paper proposes a modular MoE architecture that groups experts by document boundaries, allowing selective activation of expert subsets. This design yields emergent semantic specialization and maintains performance when only a fraction of experts are used, addressing memory constraints in large sparse models. The approach is pretrained on a large text corpus and demonstrates significant gains in modularity compared to standard MoEs.

## Problem
Large language models are monolithic and require full model capacity even for narrow tasks, and existing mixture-of-experts models do not support modular use of expert subsets without severe performance degradation when only a subset of experts is used.

## Method
The approach encourages tokens from similar domains to share experts by restricting tokens within a document to select experts from a shared pool, while allowing different documents to use different pools, thereby enabling coherent expert groupings to emerge during pretraining using document boundaries alone.

## Results
The approach retains 25% of experts with only a 1% absolute drop and retains 12.5% with a 3% absolute drop, whereas standard MoEs break under the same setting; expert subsets also specialize at semantic levels such as math or code.

## Contributions
It introduces a modular MoE design that enables emergent expert groupings without human-defined priors, demonstrates selective expert use with minimal performance loss, and reveals semantic specialization of expert subsets.

## Practical relevance
It enables memory-efficient deployment of large sparse models and supports composable architectures for specialized tasks.

## Research questions this paper is counted under

- [How can we specialize language models for domains while preserving general capabilities and understanding the resulting behavior?](../q/155.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/151720)
