DivMoE: Fine-Grained MoE Upcycling via Cross-Domain Expert Composition
Yuxuan Lou, Kai Yang, Geng Zhang, Yong Liu, Yang You
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Interpretability & Model Adaptation › Parameter-Efficient Model Adaptation · Type: new method · Keywords: Mixture-of-Experts, model upcycling, domain specialization, routing diversity, efficient fine-tuning
Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Mixture of Experts Architectures
Summary
DivMoE is a framework that upcycles dense models into fine-grained MoE experts by initializing them from domain-specific fine-tuned models and using diversity-constrained routing to enable cross-domain knowledge composition.
Explained to a 5-year-old
Big computer programs are like big boxes of knowledge. We want to split them into smaller boxes that each know a little about a special topic, like math or drawing. We make these boxes by taking parts of programs that already know different things. Then we make sure each piece of work goes to only one box per topic, so they work together nicely. This helps the big program work better without needing to start from scratch.
Explained to a 5-year-old, longer
Large language models are powerful tools that understand and generate text. Training these models from scratch requires a lot of computer power and time. Researchers have found a way to reuse an already trained model by turning it into a mixture of experts. Each expert can specialize in a different area, like solving math problems, writing code, or understanding science. To create these specialists, the model is first fine-tuned on data from each domain, keeping the knowledge it already has. Then a special routing rule decides which expert handles each piece of text. The routing rule makes sure that a single piece of text uses at most one expert from each domain. This prevents many pieces from using the same expert, which would make the system less effective. By combining experts from different domains, the model can draw on a wider range of knowledge. The result is a model that works as well as one trained from scratch but uses fewer resources. It also performs better than earlier methods that simply copied the same expert many times. Overall, this approach makes large models more efficient and easier to adapt to new tasks.
For a technical reader
The paper presents a way to convert large, dense language models into more efficient mixture-of-experts models without retraining from scratch. It first creates specialized experts by fine-tuning the original model on different domains such as code, math, and science, preserving the knowledge each expert needs. Then it adds a routing constraint that ensures each input token selects at most one expert per domain, preventing many tokens from using the same expert and encouraging diverse knowledge use. This two-step process yields a model that performs as well as or better than existing upcycling methods and matches the performance of models trained from scratch. The result is a more parameter-efficient model that can be deployed on limited hardware.
Problem
Training MoE models from scratch is computationally expensive, and existing upcycling methods either produce identical experts or use random perturbations that can lose knowledge.
Method
The approach initializes experts from models fine-tuned on distinct domains (e.g., mathematics, code, science, commonsense) to provide meaningful diversity, and it employs a diversity-constrained routing scheme that limits each token to at most one expert per domain group, preventing routing collapse and enabling cross-domain composition.
Results
The approach achieves 47.0% average accuracy versus 44.4% for existing upcycling baselines and matches Moonlight-MoE at 64.5% average, demonstrating competitive performance with models trained from scratch.
Contributions
It introduces domain-specialized expert initialization to preserve knowledge while providing diversity, and a diversity-constrained routing mechanism that prevents collapse and enables cross-domain expert composition.
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