Researchers at the Allen Institute for AI (AI2) have introduced EMO, a new mixture-of-experts (MoE) language model that autonomously organizes its experts into domain-specialized groups during pretraining. Unlike standard MoEs, where experts often focus on low-level patterns like punctuation, EMO's experts naturally form coherent subsets aligned with higher-level domains such as mathematics, code, and biomedical text. This allows users to activate only a small fraction of experts—as little as 12.5%—for a specific task while retaining near full-model performance, dramatically reducing computational and memory costs.
The key innovation lies in EMO's training procedure: all tokens within a document are constrained to route through a shared pool of experts selected by the router itself, leveraging document boundaries as a weak supervisory signal. This encourages domain specialization without requiring predefined domain labels. A global load-balancing objective ensures that different documents collectively use all experts, preventing collapse.
In experiments, EMO—a 1B-active, 14B-total-parameter model with 128 experts and 8 active per token—was trained on 1 trillion tokens. It matched or exceeded the performance of a standard MoE of the same architecture on general benchmarks while demonstrating superior modularity. When expert subsets were isolated for domain-specific tasks, EMO maintained high accuracy, whereas the baseline MoE suffered severe degradation.
The team has released the model, training code, and an interactive visualization tool to explore expert specialization patterns. This work paves the way for more efficient and adaptable large language models, where a single pretrained model can be flexibly decomposed into task-specific modules.