Manuscript Offprint

arXiv:2610.11317

DivMoE: Fine-Grained MoE Upcycling via Cross-Domain Expert Composition

Yuxuan Lou, Kai Yang, Geng Zhang, Yong Liu, Yang You

Abstract

Mixture-of-Experts (MoE) architectures have become essential for scaling large language models, with recent work demonstrating the benefits of fine-grained expert designs. Training such models from scratch is expensive, and sparse upcycling from pre-trained dense models is an attractive alternative. However, we identify a structural pathology of fine-grained upcycling: when fine-grained experts are derived from a single source model, naive routing collapses and downstream accuracy drops to near-random (e.g., on Qwen3-1.7B, Drop-Upcycling-fine-grained reaches only 23.2% average accuracy across 15 benchmarks, essentially matching from-scratch training at 22.2%, while the same method's coarse-grained variant reaches 50.2%). We propose DIVMoE, the first framework achieving fine-grained MoE Upcycling with structurally-balanced routing. DIVMoE introduces domain-specialized fine-grained expert initialization, deriving experts from dense models that have undergone domain-adaptive continual pre-training, and diversity-constrained routing, a hard structural constraint guaranteeing that each token activates experts from distinct domain groups. Across two base models and 15 benchmarks, DIVMoE consistently outperforms six upcycling baselines (55.6% vs. 51.6% for the strongest baseline on Qwen3-1.7B) and strictly improves over the dense base model on every benchmark after Stage 2 continual pre-training—closing the regression gap that has plagued prior fine-grained upcycling. After supervised fine-tuning on a public reasoning mixture, our 12B-parameter DIVMoE model matches Moonlight-MoE (16B) at 64.5% average accuracy while outperforming a controlled NVIDIA-Upcycling baseline by 6.1 percentage points.

1 Introduction

Mixture-of-Experts (MoE) architectures have emerged as a cornerstone for building state-of-the-art large language models, enabling substantial capacity expansion while maintaining computational efficiency through sparse activation [30, 8]. Recent advances have demonstrated the effectiveness of fine-grained MoE designs, where each feed-forward network (FFN) layer is partitioned into many small experts rather than a few large ones [6, 7] by enabling more flexible routing and finer specialization, which contributes to the strong performance of models such as DeepSeek-V2 and Mixtral [17].

Training such models from scratch demands substantial compute, motivating sparse upcycling [20], which converts pre-trained dense checkpoints into MoE architectures while inheriting their learned representations. However, we observe that fine-grained upcycling is fundamentally fragile: when

†^{\dagger}Equal contribution.

Corresponding author: youy@comp.nus.edu.sg.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

fine-grained experts are derived from a single dense source, downstream accuracy collapses to near-random. On Qwen3-1.7B-Base evaluated across 15 benchmarks, Drop-Upcycling-fine-grained [26] reaches only 23.2% average accuracy (comparable to from-scratch training, 22.2%), versus 50.2% for the same method's coarse-grained variant. NVIDIA Upcycling [11], which preserves dense-equivalence by copying a single source, recovers the gap (51.1%) but yields homogeneous expert initial scores that suppress routing diversity. The two existing remedies are unsatisfactory: identical weight copying limits routing diversity by construction, while random re-initialization sacrifices pre-trained knowledge.

Our central observation is that no prior method simultaneously occupies three design axes that the experiments below show are jointly necessary: (a) domain-specialized expert initialization, (b) fine-grained partitioning, and (c) a structural mechanism that prevents same-source co-activation. BranchTrain-Mix (BTX) [33] addresses (a) but uses coarse experts and standard top-k routing; NVIDIA Upcycling addresses (b); Drop-Upcycling targets diversity through randomness, sacrificing (a) in a different sense. The concurrent FlexOLMo [31] also constructs experts from domain specialists, but for the orthogonal goal of flexible data governance: it uses coarse experts, no joint training, and no routing constraint.

We propose DIVMOE, the first framework that achieves fine-grained MoE Upcycling, which includes two components: (1) Domain-specialized fine-grained expert initialization. We derive experts from n dense models that have undergone domain-adaptive continual pre-training on public corpora (mathematics, code, science, commonsense), then vertically slice each specialist's FFN into m shards, yielding N=n×mN = n \times m fine-grained experts organized into n domain groups. This preserves all pre-trained knowledge while injecting structured diversity into the routing scores at initialization. (2) Diversity-constrained routing. We enforce a hard structural constraint that each token selects at most one expert per domain group. Unlike soft auxiliary losses [8, 40] that trade routing balance against task accuracy, the diversity constraint operates outside the loss landscape and provides a guarantee regardless of gradient magnitudes.

Empirically, DIVMOE consistently outperforms six upcycling baselines across 15 benchmarks on two base models (Qwen3-1.7B-Base, Llama3.2-1B). With Stage 2 continual pre-training on the public Dolmino-Mix-1124 corpus [27], DIVMOE strictly improves over the dense base model on the majority of benchmarks, eliminating the post-CPT regression that prior upcycling pipelines exhibit. Crucially, the structural constraint improves performance on every domain-specific benchmark (HumanEval +1.8%, GSM8K +2.1%, MATH +1.4%, MBPP +2.3%), refuting the intuition that “coding tokens should only use coding experts.” After Stage 3 supervised fine-tuning on a public reasoning mixture, our 12B-parameter DIVMOE model matches Moonlight-MoE (16B) at 64.5% and outperforms a controlled NVIDIA-Upcycling baseline by 6.1 percentage points.

The contributions of our work are summarized below:

• Observation on a fine-grained upcycling collapse pathology. We show that combining fine-grained expert partitioning with single-source initialization leads to routing collapse and severe performance degradation.

• The first fine-grained MoE Upcycling framework. We propose DIVMOE, which combines domain-specialized fine-grained expert initialization with a hard diversity-constrained routing mechanism.

• Comprehensive experiments with strong downstream performance. Across two base models, three model scales (1B, 1.7B, 4B base → 3.2B, 5.4B, 12B MoE), fifteen benchmarks, and six upcycling baselines, all using public corpora, DIVMOE consistently outperforms prior upcycling methods and closes the regression gap of previous fine-grained upcycling approaches.

References (38)