EMO: Pretraining Mixture of Experts for Emergent Modularity
Ryan Yixiang Wang, Akshita Bhagia, Sewon Min
AIW @ COLM 2026
TL;DR. This paper proposes EMO, a Mixture-of-Experts model trained so that modular structure emerges during pretraining without requiring human-defined priors.
Abstract. Large language models are typically deployed as monolithic systems, requiring the full model even when applications need only a narrow subset of capabilities, e.g., code, math, or domain-specific knowledge. Mixture-of-Experts (MoEs) seemingly offer a potential alternative by activating only a subset of experts per input, but in practice, restricting inference to a subset of experts for a given domain leads to severe performance degradation. This limits their practicality in memory-constrained settings, especially as models grow larger and sparser. We introduce EMO, an MoE designed for modularity—the independent use and composition of expert subsets—without requiring human-defined priors. Our key idea is to encourage tokens from similar domains to rely on similar experts. Since tokens within a document often share a domain, EMO restricts them to select experts from a shared pool, while allowing different documents to use different pools. This simple constraint enables coherent expert groupings to emerge during pretraining using document boundaries alone. We pretrain a 1B-active, 14B-total EMO on 1T tokens. As a full model, it matches standard MoE performance. Crucially, it enables selective expert use: retaining only 25% (12.5%) of experts incurs just a 1% (3%) absolute drop, whereas standard MoEs break under the same setting. We further find that expert subsets in EMO specialize at semantic levels (e.g., domains such as math or code), in contrast to the low-level syntactic specialization observed in standard MoEs. Altogether, our results demonstrate a path toward modular, memory-efficient deployment of large, sparse models and open new opportunities for composable architectures.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes an MoE pretraining approach that enforces document-level expert pools so that coherent expert groupings emerge without predefined domain labels, enabling selective expert use at inference. All three reviewers agree the use of document boundaries as weak supervision is an elegant and practical idea, and praise the solid empirical work at a credible scale, with the selective-expert-use and semantic-specialization results flagged as interesting. One reviewer (6XYp, confidence 5) strongly supports acceptance for the practical importance and solid evaluation.
The two borderline-reject reviewers raise legitimate but largely addressable concerns. Kotx notes the full-model results in Table 1 show EMO is comparable to or lower than the standard MoE on most metrics, contradicting wording that EMO "significantly outperforms standard MoEs," and asks that "matches"/"outperforms"/"significantly" be used more carefully. Kotx explicitly states the paper is "promising in an important direction" and was "leaning positive while reading." pfKW questions the motivation and notes only one model is evaluated, but also signals uncertainty about the core routing mechanism, which weakens the force of the objections.
On balance, the acknowledged strengths outweigh the concerns, which are primarily about overclaiming wording and additional experiments rather than fundamental flaws. I recommend Accept.
Final justification
All reviewers hold positive scores and the contributions of this work is solid, I thus keep my original recommendation Accept.
Read meta-review
Meta-review
This paper proposes an MoE pretraining approach that enforces document-level expert pools so that coherent expert groupings emerge without predefined domain labels, enabling selective expert use at inference. All three reviewers agree the use of document boundaries as weak supervision is an elegant and practical idea, and praise the solid empirical work at a credible scale, with the selective-expert-use and semantic-specialization results flagged as interesting. One reviewer (6XYp, confidence 5) strongly supports acceptance for the practical importance and solid evaluation.
The two borderline-reject reviewers raise legitimate but largely addressable concerns. Kotx notes the full-model results in Table 1 show EMO is comparable to or lower than the standard MoE on most metrics, contradicting wording that EMO "significantly outperforms standard MoEs," and asks that "matches"/"outperforms"/"significantly" be used more carefully. Kotx explicitly states the paper is "promising in an important direction" and was "leaning positive while reading." pfKW questions the motivation and notes only one model is evaluated, but also signals uncertainty about the core routing mechanism, which weakens the force of the objections.
On balance, the acknowledged strengths outweigh the concerns, which are primarily about overclaiming wording and additional experiments rather than fundamental flaws. I recommend Accept.
Final justification
All reviewers hold positive scores and the contributions of this work is solid, I thus keep my original recommendation Accept.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
introduced EMO, an MoE designed for modularity. the idea is to encourage tokens from similar domains to rely on similar experts by forcing document boundaries, without relying on human-defined prior. they find that expert subsets in EMO specialize at semantic levels.
Strengths and weaknesses
Strengths
- good amount of pretrained tokens
- paper is fairly clear and mostly easy to follow
Weaknesses
- only 1 model
- i dont get the idea in L33-37. the whole point of MoEs is that you can have larger models while only activating a part of it which does not limit deployability. if people could use a dense models they would do it, but its not feasible.
- performance is equivalent or lower than standard MoE in table 1 so i dont fully see the point of this approach
- id like to see how the performance change as the document expert pool changes. to verify results, id expect that as the document expert pool gets closer to the number of experts you'd get similar performance to the baseline.
Questions
- L153-155 is not clear to me. i dont see where the "for each document, the router selects a shared expert pool, and all tokens in that document choose their active experts only from this pool.". it seems like youre calculating global topk over all tokens but that does not mean that tokens from similar documents will map to the same experts, which breaks your assumption and the whole premise of the paper. am i missing something? does each batch forces tokens to be from only 1 document at a time?
Limitations
yes
Final justification
The rebuttal resolved most of my concerns: they clarified that the document expert pool is computed per-document rather than globally over the batch, explained the distinction between compute sparsity and memory-efficient deployment that I was missing, and clarified that Table 1 and Figure 3 together show the actual contribution. Im still a bit hesitant regarding experimenting with only one model, but I do understand the training costs. I have increased my scores.
Formatting concerns
NA
3 comments
Author Response to Reviewer pfKW (Part 1)
Thank you for the constructive review. We appreciate the reviewer recognizing the scale of our pretraining experiments and the clarity of the presentation. We now address the reviewer’s concerns below:
W1: only 1 model
We agree that evaluating EMO across additional MoE architectures would further strengthen the generality of our results. Our experiments focus on one modern MoE architecture across two token scales, with carefully matched EMO and standard-MoE baselines and extensive ablations within this setting.
Training additional architecture families from scratch at a comparable pretraining scale would require substantial additional compute, so we prioritized a controlled evaluation on a modern MoE architecture (design choices follow modern SOTA architectures, which we also investigate in Appendix A). That said, EMO's mechanism is largely orthogonal to the specific MoE architecture: most architectural choices aim to improve model quality or training efficiency, whereas EMO focuses on the orthogonal goal of enabling selective expert use. We therefore expect the approach to generalize to other modern MoE architectures, though validating this empirically is an important direction for future work.
W2: i dont get the idea in L33-37. the whole point of MoEs is that you can have larger models while only activating a part of it which does not limit deployability. if people could use a dense models they would do it, but its not feasible.
The reviewer is correct that the key idea of MoEs is compute efficiency, by activating only a small number of experts per token. However, compute efficiency is not equal to memory efficiency, and modern MoEs remain memory-bottlenecked, which is precisely the problem this work aims to tackle. Specifically, in a standard MoE, different tokens route to different experts, so over a sequence, batch, or task, most if not all experts are needed and thus need to reside in GPU memory (or be repeatedly offloaded, which introduces substantial communication overhead).
EMO addresses this separate memory bottleneck. For a particular task or domain, it allows only a small subset of experts to be loaded while retaining most of the full-model performance. Our goal is therefore complementary to the original computational motivation for MoEs: standard MoEs reduce the number of active parameters per token, while EMO additionally reduces the number of resident parameters needed for domain-specific deployment.
W3: performance is equivalent or lower than standard MoE in table 1 so i dont fully see the point of this approach
The key result of our paper comes from considering Table 1 and Figure 3 together. Table 1 shows that EMO retains comparable full-model performance to a standard MoE, while Figure 3 shows that EMO is substantially more robust when only a subset of experts is deployed. For example, on MMLU, retaining 32 experts gives 41.4 for EMO compared with 30.8 for the regular MoE, while the corresponding full models score 42.8 and 42.4, respectively.
This is exactly the goal of our work: to gain modular deployment capability without sacrificing the quality of the full model. EMO is not intended to outperform a standard MoE when all experts are available; its advantage is that the same pretrained model can be reduced to much smaller domain-specific expert subsets without the severe performance degradation observed in standard MoEs. For the practical memory advantages of this selective deployment, please see our response to reviewer Kotx, W5.
W4: id like to see how the performance change as the document expert pool changes. to verify results, id expect that as the document expert pool gets closer to the number of experts you'd get similar performance to the baseline.
The document expert pool size directly controls the strength of the EMO constraint. As increases, each document has more routing flexibility; importantly, when , the mask contains every routed expert and EMO exactly recovers standard MoE routing by construction. Conversely, smaller increasingly constrains tokens within a document to share a localized expert pool.
Table 2 evaluates a fixed model and our dynamic- model, while Figure 3 evaluates deployment across different expert subset sizes. We do not include a full sweep of models separately pretrained with every fixed value of , as each point requires another pretraining run.
Author response
Thank you for your response. I have increased my scores (see Final Justification).
- Rating
- 4/6
- Confidence
- 5/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces EMO, a Mixture-of-Experts language model trained to support modular use of expert subsets. Sparse MoEs reduce active compute per token but still often require the full set of experts to be resident at inference time, since different tokens in a task may use many different experts. EMO training forces all tokens within a document route only within a shared document-level expert pool. The authors argue that document boundaries provide weak supervision for domain coherence, allowing expert groups to emerge without predefined domain labels. This is the main contribution of the paper. The paper evaluates EMO against a regular MoE with matched architecture and training data. As a full model, EMO is reported to perform close to a standard MoE. Under selective expert use, however, EMO retains more performance than the regular MoE when only a subset of experts is kept. The authors further analyze routing behavior and argue that EMO experts specialize along semantic domains rather than low-level lexical or syntactic patterns.
Strengths and weaknesses
Strengths
1- This is a well-motivated paper and very important problem. current sparse MoEs reduce active computation but do not necessarily reduce deployment memory, since inactive experts may still need to reside in memory. The paper focuses on making expert subsets independently usable, which is a practically important direction.
2- Using document boundaries as weak supervision is an elegant and effective idea. The method is easy to understand and, at least conceptually, could be incorporated into certain standard MoE pretraining pipelines.
3- The comparison against a standard MoE is a plus, compared to prior work like ModuleFormer. The scale of models are also meaningful.
4- The expert selection experiments seem strong and interesting.
5- The semantic specialization experiments are insightful and useful evidence.
Weaknesses
1-The paper reports results where each MMLU/MMLU-Pro domain selects its own expert subset, and then averages performance across domains. This does not show that one small subset can serve all domains. If the union of selected experts across domains is close to the full expert set, then the memory savings are much weaker for broad or multi-domain deployment. The authors should report the union size and overlap of selected experts across domains, for each subset size and layer, for both EMO and the regular MoE. They should report per-domain results rather than only macro-averages.
2- The paper overclaims in several places, including line 112, lines 213–214, and lines 277–278. It says that EMO "significantly outperforms standard MoEs," but Table 1 shows that the full EMO model is lower than the regular MoE on almost every metrics. The stronger claim seems to hold for selective expert use, not for full-model performance. The authors should revise the wording throughout the paper and clearly separate "comparable full-model performance" from "better robustness under expert subset restriction." Terms such as "matches," "outperforms," and "significantly" should be used more carefully.
3- The ablations do not fully isolate what is driving the gains. The method combines several components: document-level expert pools, random sampling of , global load balancing, and shared experts. The paper needs a component ablation.
4- The role of load balancing in the expert-subset results is unclear. The paper argues that global load balancing improves training stability, but it does not show how different load-balancing choices affect modularity or selective expert-use performance. Since load balancing strength directly affects expert utilization, the authors should report selective-use results under different load-balancing settings, at least at smaller scale.
5- The paper is motivated by memory-constrained deployment, but the experiments only report accuracy after removing experts. The paper does not report memory usage, throughput, latency, expert loading cost, or routing overhead. These details matter for the deployment claim. The authors should explain how routing is implemented at inference time and show whether the proposed approach leads to practical memory or speed benefits in a realistic serving setup.
6- The comparison to ModuleFormer needs to be included in more detail. ModuleFormer is the closest prior work, and the paper states that the authors reproduced it and found that it does not outperform standard MoEs and degrades when fewer than 40% of experts are retained. However, the actual results and experimental details are not shown clearly. Since this comparison is important for the paper’s novelty, the authors should include the ModuleFormer results for all settings as well as experimental details.
Questions
1- What happens if the inference-time expert pool size is smaller than the number of active experts ? I mean also selecting fewer active experts than training.
2- Table 2 compares no shared expert with fixed , shared expert with fixed , and shared expert with dynamic , but it does not include the important setting with dynamic and no shared expert. Because of this, the claim that shared experts improve EMO, especially in the final configuration (lines 562-563), is not fully supported.
3- I would like to better understand which part of the method is driving the gains. Is it mainly the document-level routing constraint, the random sampling of during training, or the combination of the two? An ablation with dynamic but no document-level grouping, and another with document-level grouping but fixed , would make this much clearer.
4- The MMLU and MMLU-Pro results are macro-averaged across domains. Could the authors include per-domain results for the main expert budgets? This would show whether EMO works consistently across domains or whether the average is driven by a few domains. It would also help clarify whether some domains need many more experts than others.
5- Figure 3 discussion says that the standard MoE subsets fall below a dense model with matched active parameters, but this dense baseline is not shown in the main figure. Since this comparison is important, it should be included in the main paper rather than only being easier to see in Figure 10 in the appendix.
6- Since the model has an always-active shared expert, it would be useful to know how much of the small-subset performance comes from that expert. What happens if the shared expert is removed during inference? What happens if only the shared expert is kept? Could the shared expert be carrying enough generic capability to make the routed expert subsets look stronger than they otherwise are?
7- Some implementation details would benefit from clearer explanation. For example, is mentioned but not introduced for readers who are less familiar with MoE training. The equations must be numbered for readability even if the author don't reference them in the text. The paper should explain how masking, renormalization, and top- routing are implemented efficiently, especially because routing overhead matters for the deployment claims.
8- Are the learned expert subsets reusable after downstream fine-tuning, or does fine-tuning cause routing distributions to change?
9- Do the authors plan to conduct " Learning New Knowledge with New Modules" similar to section 5.2 of ModuleFormer? One important motivation for modular models is to make continual training more efficient.
Overall, this is a promising paper in an important direction. The idea is useful and the main results are interesting. I was leaning positive while reading the paper. However, several claims, results, and experimental details need to be clarified before the strongest conclusions are fully supported. I have outlined the main issues in the weaknesses and questions above.
Limitations
Appendix B.3 suggests that small EMO subsets are less competitive on heterogeneous catch-all categories. This is not a minor edge case. It qualifies the main modularity claim. EMO appears best suited to coherent domains, while broad or mixed-domain settings may require many experts. The main paper should discuss this limitation more directly and consolidate the limitations in one dedicated section, rather than presenting them in a dispersed manner across the paper and appendix.
Final justification
I increased my score because the rebuttal clarified the paper’s scope, corrected several overclaims, and provided meaningful additional evidence on memory savings, domain-level performance, and expert overlap. Although some experimental gaps remain, I believe the core contribution is sufficiently strong and the paper merits acceptance.
Formatting concerns
No
8 comments
Author Response to Reviewer Kotx (Part 7)
Q7: Some implementation details would benefit from clearer explanation. For example, L_{RZ} is mentioned but not introduced for readers who are less familiar with MoE training. The equations must be numbered for readability even if the author don't reference them in the text. The paper should explain how masking, renormalization, and top-k routing are implemented efficiently, especially because routing overhead matters for the deployment claims.
We agree that these details can be described more clearly.
is the standard router z-loss. Given router logits for token , we compute
where is the number of tokens and is the number of routed experts. We will add this definition and number the equations for readability.
For the masking, renormalization, and top- routing operations, these are implemented using standard vectorized PyTorch operations and do not require specialized kernels or additional implementation machinery. Because these operations are standard, and our released code is heavily annotated, we believe the implementation provides the clearest reference for readers interested in the exact implementations.
Q8: Are the learned expert subsets reusable after downstream fine-tuning, or does fine-tuning cause routing distributions to change?
Yes. In our fine-tuning setup, we first select the domain-specific expert subset, discard the remaining experts, and then fine-tune the resulting standalone model. The selected set of experts therefore remains fixed throughout fine-tuning.
The routing distributions among the retained experts can still change during fine-tuning, but this does not change which experts need to be resident in memory. The fine-tuning results in Figure 3 evaluate this setting directly and show that EMO retains its selective expert-use advantage after downstream fine-tuning.
Q9: Do the authors plan to conduct " Learning New Knowledge with New Modules" similar to section 5.2 of ModuleFormer? One important motivation for modular models is to make continual training more efficient.
We agree that this is a very exciting application of modularity. The present work focuses on whether pretraining can produce expert subsets that are independently usable and composable without predefined domain labels, and we do not evaluate adding new experts after pretraining.
Training new domain-specific experts and integrating them into an existing EMO model is a natural next step. We also highlight this direction in our discussion on modular development and maintenance. We leave the design and evaluation of such continual-learning mechanisms for future work.
Limitations: Appendix B.3 suggests that small EMO subsets are less competitive on heterogeneous catch-all categories. This is not a minor edge case. It qualifies the main modularity claim. EMO appears best suited to coherent domains, while broad or mixed-domain settings may require many experts. The main paper should discuss this limitation more directly and consolidate the limitations in one dedicated section.
We agree that EMO is most useful for specific task or domain settings, while broader or more heterogeneous deployments may require larger expert subsets and therefore provide smaller memory savings. This is the intended scope of our work, and we already state this assumption explicitly in the Limitations section of the main paper. Appendix B.3 further provides empirical evidence for this limitation by considering heterogeneous catch-all categories. We will make this connection more explicit in the revision so that the scope of EMO is even clearer.
Author Response to Reviewer Kotx (Part 6)
Q2: Table 2 compares no shared expert with fixed shared expert with fixed and shared expert with dynamic , but it does not include the important setting with dynamic and no shared expert. Because of this, the claim that shared experts improve EMO, especially in the final configuration (lines 562-563), is not fully supported.
Because pretraining experiments at this scale are extremely expensive, it is not feasible to exhaustively evaluate all combinations of design choices. Instead, we evaluate design choices sequentially while controlling for one variable at a time.
While dynamic- + no-shared-expert setting is missing, we expect the benefit of a shared expert to be largely independent of the specific choice of , and therefore expect the observed trend to generalize to dynamic . That said, this setting is not directly evaluated, so we agree that our current wording is broader than what the ablation strictly supports and will revise it accordingly.
Q3: I would like to better understand which part of the method is driving the gains. Is it mainly the document-level routing constraint, the random sampling of during training, or the combination of the two? An ablation with dynamic but no document-level grouping, and another with document-level grouping but fixed , would make this much clearer.
Thank you for this question. Dynamic without document-level grouping is not a meaningful configuration in our formulation, since is the hyperparameter for the size of the document-level expert pool.
We do evaluate the second requested ablation—document-level grouping with fixed —in Table 2 of the Appendix.
| Training configuration | 8 experts | 16 experts | 32 experts | 64 experts | 128 experts |
|---|---|---|---|---|---|
| Fixed | 29.6 | 34.4 | 36.6 | 35.6 | 33.6 |
| Dynamic | 33.7 | 36.4 | 37.0 | 37.7 | 38.1 |
The fixed- model performs best near its trained subset size, but degrades when deployed with substantially different numbers of experts. Sampling during training therefore enables EMO to support a range of deployment budgets, rather than being tied to a single expert-pool size.
Q4: The MMLU and MMLU-Pro results are macro-averaged across domains. Could the authors include per-domain results for the main expert budgets? This would show whether EMO works consistently across domains or whether the average is driven by a few domains. It would also help clarify whether some domains need many more experts than others.
We provided the per-domain results during our response to Weakness 1.
The results show that EMO consistently beats Standard MoE under selective expert deployment, and that gains are not driven by a few domains. We agree that variation in the expert subset sizes required by different domains is an interesting property of the learned modular structure. Understanding what determines this variation, such as inherent domain complexity or representation in the pretraining corpus, is an interesting direction for future work.
Q5: Figure 3 discussion says that the standard MoE subsets fall below a dense model with matched active parameters, but this dense baseline is not shown in the main figure. Since this comparison is important, it should be included in the main paper rather than only being easier to see in Figure 10 in the appendix.
Thank you for catching this. Figure 3 reports our 1T-token experiments, where we did not have the compute budget to train matched dense baselines. Our dense-model comparisons are conducted at the 130B-token scale, with the main result shown in Figure 1 (right) and the full results in Figure 10. We will revise the text to reference Figure 3 and Figure 1 explicitly in the next revision.
Q6: Since the model has an always-active shared expert, it would be useful to know how much of the small-subset performance comes from that expert. What happens if the shared expert is removed during inference? What happens if only the shared expert is kept? Could the shared expert be carrying enough generic capability to make the routed expert subsets look stronger than they otherwise are?
Keeping the shared expert only or removing it at inference time is not possible as this is equivalent to significantly changing the model architecture at inference time.
However, we did directly train an EMO model with no shared expert in Table 2. This model still exhibits strong selective expert-use performance, achieving 37.2 MMLU with 32 experts before fine-tuning and 37.8 after fine-tuning. This provides evidence that EMO's modularity does not depend on the shared expert carrying the model's generic capability.
Author Response to Reviewer Kotx (Part 5)
W5: The paper is motivated by memory-constrained deployment, but the experiments only report accuracy after removing experts. The paper does not report memory usage, throughput, latency, expert loading cost, or routing overhead. These details matter for the deployment claim. The authors should explain how routing is implemented at inference time and show whether the proposed approach leads to practical memory or speed benefits in a realistic serving setup.
We agree that reporting the actual memory footprint would make the deployment benefit more concrete. We provide the following measurements, which we will add to the next revision:
| Experts kept | Params | Weights on GPU | Forward peak (4k tokens) | vs. full model |
|---|---|---|---|---|
| 128 (full) | 13.57B | 25.3 GiB | 26.8 GiB | 1.0× |
| 64 | 7.12B | 13.3 GiB | 14.4 GiB | 1.9× smaller |
| 32 | 3.90B | 7.3 GiB | 8.2 GiB | 3.5× smaller |
| 16 | 2.29B | 4.3 GiB | 5.1 GiB | 5.9× smaller |
| 8 | 1.49B | 2.8 GiB | 3.6 GiB | 9.1× smaller |
Importantly, EMO does not introduce additional routing machinery at inference time. Once a domain-specific expert subset is selected, the remaining experts are discarded and the resulting model has the same routing mechanism as a standard MoE. Thus, there is no need to dynamically load experts or recompute the document-level expert pool during inference. Together, this means that EMO (1) enables deployment on hardware that could not otherwise host the full model and (2) the smaller memory footprint can also improve serving throughput by allowing larger batches or more concurrent requests on the same hardware.
W6: The comparison to ModuleFormer needs to be included in more detail. ModuleFormer is the closest prior work, and the paper states that the authors reproduced it and found that it does not outperform standard MoEs and degrades when fewer than 40% of experts are retained. However, the actual results and experimental details are not shown clearly. Since this comparison is important for the paper’s novelty, the authors should include the ModuleFormer results for all settings as well as experimental details.
We agree that ModuleFormer is the closest prior work and deserves a more detailed comparison. We made a best-effort attempt to reproduce its core modularity objective within a modern MoE architecture and training setup. In our experiments, however, the resulting model has substantially worse full-model performance than our standard MoE baseline, and does not outperform a modern dense baseline:
| Model | Loss |
|---|---|
| ModuleFormer 1B14B (our implementation) | 2.70 |
| Dense Model 1B | 2.69 |
| EMO 1B14B | 2.49 |
| StdMoE 1B14B | 2.48 |
This experiment used an earlier version of EMO with fixed document-pool size of 32 and no shared expert. All models were trained on 130B tokens.
We suspect this is partly because ModuleFormer was developed with substantially older architectures and training recipes. The original work also does not compare against a strong matched MoE baseline, making its reported modularity gains difficult to assess in the setting we study. Taken together with our reproduction results, this suggests that substantial additional work may be needed for ModuleFormer's objective to work effectively with modern MoEs.
We will include our reproduction results and implementation details in the revision, clearly labeled as a best-effort modern reproduction.
We now directly respond to specific questions proposed by the reviewer:
Q1: What happens if the inference-time expert pool size is smaller than the number of active experts? I mean also selecting fewer active experts than training.
Our current formulation requires , since each token selects active experts from the -expert pool. Setting would therefore require reducing the number of active experts at inference, e.g., from to .
We expect setting to cause a substantial performance drop for both EMO and the regular MoE, since both are always trained with . Supporting a variable number of active experts is a separate problem from the one we study: reducing the total number of resident experts while keeping per-token computation fixed. Modern MoEs are highly sparse, so we focus on reducing the much larger memory footprint from the total expert pool. Extending EMO to support variable is an interesting direction for future work.
- Rating
- 5/6
- Confidence
- 5/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
EMO is a pretraining approach for Mixture of Experts (MoEs) that enforces expert modularity while maintaining the overall performance of the model. This enables the full model to be served as a standalone model, while also making it easier to prune and create specialized models for narrower domains such as math, code, and others.
Strengths and weaknesses
Strengths:
- Using document boundaries as a self-supervised grouping signal is a simple, which makes the method practical.
- The paper is well-written and the figures communicate the core trade-off effectively.
- The empirical work is solid and conducted at a credible scale for an academic submission.
Overall, I liked the paper.
Questions
- How much does computing the routing distribution (D) cost?
- Could you please define the () loss?
- How much does the training data used during annealing affect modular recovery? Is there a trend where increasing the amount of annealing data makes the results approach those of EMO?
Limitations
yes
Final justification
The paper studies modularity in MoE pretraining, which is a relatively less explored area. Although the proposed approach does not show improvements over the vanilla model, modularity could still be useful in certain settings. I recommend acceptance, despite this limitation, due to the clarity of the method and its potential applications.
Formatting concerns
NA
2 comments
Author Response to Reviewer 6XYp
We thank the reviewer for the positive and constructive feedback, particularly for recognizing the simplicity and practicality of using document boundaries as a self-supervised signal, the clarity of the presentation, and the scale of our empirical evaluation. We address the reviewer’s questions below.
Q1: How much does computing the routing distribution (D) cost?
The additional computational overhead of EMO is negligible. Empirically, the standard MoE trains at 20.4k tokens/sec, while EMO trains at 20.5k tokens/sec; this small difference is within normal measurement variability.
Concretely, EMO intervenes after the standard router softmax has already been computed. For each document, we average its tokens’ routing probabilities to obtain the document-level distribution, select its top- experts, and mask each token’s routing distribution to this shared pool. The document-level aggregation can be implemented efficiently with a vectorized scatter_add, while the remaining operations are top- selection and masking. Thus, EMO does not introduce an additional router or expert computation; its overhead comes only from these lightweight routing operations. We will report the measured throughput overhead and implementation details in the revision.
Q2: Could you please define the loss?
Thank you for pointing out this omission. is the standard router z-loss, which we adopt from prior MoE training recipes (https://arxiv.org/abs/2409.02060, https://arxiv.org/pdf/2202.08906). Given router logits for token , we compute
where is the number of tokens and is the number of routed experts. The loss penalizes large router logits while leaving the desired routing behavior to the primary and load-balancing objectives, and is commonly used to improve numerical stability during MoE training. We will add this definition explicitly to §3.1 in the revision.
Q3: How much does the training data used during annealing affect modular recovery? Is there a trend where increasing the amount of annealing data makes the results approach those of EMO?
Thank you for raising this interesting question. Given the rebuttal timeline and available compute, we were not able to run a longer annealing sweep at this stage. Our intuition is that, with sufficiently long annealing, a pretrained standard MoE may be able to recover some or potentially all of the modularity advantages of training EMO from scratch.
More broadly, our main contribution is the document-level routing objective for inducing modularity without predefined domain labels, not the requirement to train with it from scratch. Whether the same objective can recover comparable modularity when applied later to an existing MoE is an interesting direction for future work.
Response to Authors
I appreciate the authors' clarifications in response to my questions. I have maintained my positive score.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Author Response to Reviewer pfKW (Part 2)
We agree that the notation can be clearer. The average in the Eq. at line 153 is not computed globally over all tokens in the batch. It is computed separately over the T tokens belonging to each individual document.
Concretely, for a document with tokens x1,…,xT, each token first produces its standard routing distribution pt. We then average these distributions within that document:
and select that document's expert pool
For every token in that document, all experts outside Ddoc are then masked out before the token selects its final top-k experts. Thus, every token in a document is explicitly constrained to route within the same document-specific pool.
A batch can contain multiple documents; each document independently computes its own Ddoc. Documents therefore do not need to be processed one at a time, and different documents within the same batch can select different expert pools.
We agree that using T without explicitly indexing the document makes the Eq. at line 153 easy to interpret as a batch-level average. We will revise the notation to make the per-document computation explicit.
We hope these clarifications address the reviewer’s main concerns, particularly the distinction between compute sparsity and memory-efficient deployment, the benefit of EMO under selective expert use, and the per-document construction of the expert pool. We also recognize that some of these points could have been made more explicitly in the submission and will improve the presentation accordingly.