EMO Makes AI Experts Easier to Trim Without Breaking Performance
Researchers at the Allen Institute for AI and UC Berkeley developed EMO, a mixture-of-experts language model whose modules specialize around content domains. The model can run with far fewer experts than a standard MoE while losing much less performance, opening a path to smaller, more controllable AI deployments.
Researchers at the Allen Institute for AI and UC Berkeley have built EMO, a modular language model that changes how mixture-of-experts systems divide their work. Instead of experts mainly reacting to shallow language patterns, EMO’s experts organize around subject areas such as medicine, politics, entertainment, and other content domains.
“The story mildly leans toward more efficient and deployable AI capability, though it frames the advance as controllable and largely technical.”Why it scores Terminator
The result is a model that can be reduced to a much smaller expert subgroup with limited performance loss. That matters because mixture-of-experts models are designed to activate only some internal modules at a time, but in practice the full model still usually needs to remain available in memory.
Why Standard MoE Models Are Hard To Slice Apart
Mixture-of-experts architectures are used in language models such as DeepSeek-V4 and Qwen3.5. Their appeal is efficiency: only a handful of experts are active for each token, which helps large models scale without making compute costs rise in the same way.
That efficiency has a catch. Even if only a few experts are used per token, different tokens in the same task may call on different experts. Because of that, the whole model often still has to be loaded.
For a user who only wants a model for math, code, or another narrow purpose, a standard MoE does not naturally offer a clean subset to load. According to the paper, the reason is that ordinary experts tend to specialize in surface-level patterns. They may react to prepositions, punctuation, articles, or proper names rather than meaningful domains like math or code.
That makes pruning difficult. If an expert handles a grammatical pattern that appears everywhere, removing it can affect many tasks at once. EMO tries to create a more useful kind of modularity.
Document Boundaries Become The Training Signal
EMO’s key idea is simple: use document boundaries during training. The researchers do not first sort the training data into fixed categories such as math or biology, as in projects like BTX or Ai2’s FlexOlmo. Instead, they rely on the fact that tokens inside one document usually belong to the same broad domain.
During training, all tokens in a document must choose active experts from a shared pool. The model builds that pool by averaging router preferences across the document and keeping the experts selected most often.
That design pushes the model to connect experts with the content of a document, not only with the local grammar of individual tokens. It also required two changes to keep training stable.
- Global load balancing: The authors calculate load balancing across many documents rather than locally per training batch, so the objective does not conflict with document-level grouping.
- Variable document pool size: The researchers randomly vary the size of the document pool during training, helping the model operate with different expert subgroup sizes at inference time.
Together, these changes encourage EMO to learn modules that are useful as detachable pieces. The model still functions as a full MoE, but its internal structure becomes easier to understand and reduce.
How Much Performance Survives Expert Pruning
The team trained a MoE with 1 billion active and 14 billion total parameters. It used 128 experts, eight active per token, and 1 trillion tokens from the OLMoE pre-training corpus. As a complete model, EMO matches an identically trained standard MoE.
The researchers then tested what happens when experts are removed. With 25 percent of them left (32 out of 128), EMO loses about one percentage point of absolute performance averaged across several benchmarks. At 12.5 percent (16 experts), the drop is around three points.
A standard MoE performs much worse under the same kind of reduction. It loses 10 to 15 percentage points and, in some cases, falls below a dense model with the same number of active parameters.
The paper also reports a notable result on GSM8K. On that math benchmark, subsets with just 12.5 percent of the experts match full-model performance again after fine-tuning.
Selecting the right subgroup does not appear to require much data. The authors say a single few-shot example is enough to choose a subgroup that performs comparably to one selected using a full validation dataset. EMO works with both simple router-based selection and the more specialized Easy-EP method.
Experts Start To Reflect Topics
To understand what EMO had learned, the researchers studied token routing inside the model. For each token, they recorded the probability that the router would send it to each expert. Those routing patterns became a fingerprint for each token, and similar fingerprints were grouped into clusters.
The contrast with a standard MoE was clear. In the standard model, clusters aligned with shallow linguistic groups such as prepositions, proper names, and definite articles. In EMO, clusters mapped to topics including health, medical and wellness, US politics and elections, film, music, TV & book reviews.
Tokens from the same document also behave differently. In EMO, they tend to converge on one cluster. In a standard MoE, they scatter across many clusters.
The researchers also checked a sample of 20 million documents from the WebOrganizer dataset with 24 human-assigned domain labels. EMO separated related domains more cleanly, especially in deeper layers. Standard MoE patterns overlapped more.
Why This Matters Beyond Storage
The immediate benefit is memory efficiency. If only domain-relevant experts need to be loaded, models may be easier to run in constrained settings. In a head-to-head comparison, EMO expert subgroups match or beat both a standard MoE with 32 experts and a dense model with eight active parameters, each trained from scratch.
But the researchers also point to control and monitoring. A child-friendly app, for example, could switch off clusters that respond to spam, gambling, or adult content. Since EMO makes expert use more visible, it could also help show which parts of a model are involved for a given input.
There are still open questions. The researchers highlight how to select and combine expert subgroups, how to retrain individual modules for specific tasks, and how this modular structure can improve interpretability.
Ai2 is releasing the EMO model, a comparably trained standard MoE baseline, and the training code on Hugging Face and GitHub. The researchers have also published an interactive demo of the token activations.
Read next