Mask-Conditioned Gradient Masking for Fine-Tuning Mixture-of-Experts Diffusion Language Models
Yiru Tang, Kun Zhou, Xin Zhao, Jing Sha, Zhichao Sheng, Shijin Wang
NeurIPS 2026
TL;DR. We propose MaGM, an adaptive mask-conditioned gradient masking method for MoE-DLM fine-tuning, which dynamically masks expert parameter updates based on the mask rate of each training instance
Abstract. While autoregressive models dominate the LLM landscape, Discrete Diffusion Language Models have emerged as a compelling alternative due to their advantages in parallel decoding and bidirectional contextual modeling. To enhance scalability and efficiency, recent works have integrated the Mixture-of-Experts architecture into the DLM framework. However, MoE-DLMs remain underexplored. In this work, we present an empirical study revealing that MoE-DLMs exhibit not only task-level expert specialization, but also exhibit specialization across different mask-rate diffusion regimes. We further show that during fine-tuning, gradients induced by mismatched mask rates can interfere with the updates of regime-specialized experts, leading to suboptimal adaptation. Motivated by this, we propose MaGM, an adaptive mask-conditioned gradient masking method for MoE-DLM fine-tuning, which dynamically masks expert parameter updates based on the mask rate of training instance. Experiments demonstrate that MaGM consistently outperforms standard full-parameter fine-tuning for diffusion language models, validating the benefits of regime-aware expert adaptation. Our code will be publicly released.
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:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper reports that experts in an MoE diffusion language model specialize across diffusion mask-rate regimes as well as across domains, and proposes MaGM, which scores each expert by the difference in its average routing weight between a high-mask and a low-mask calibration set, the Expert Differentiation Score, then zeros the gradients of regime-mismatched experts per training sample and refreshes those scores every 500 steps. The observation of mask-rate-conditioned expert specialization is the paper's most valuable element, and the reviewers agree it is novel, timely, and supported by a reasonable motivation study that includes a random-mask control. The three reviews converge on concerns that I concur are currently decisive.
I place the paper in the heading-toward-rejection category. The reported gains are about two points over vanilla SFT and roughly one over Blockwise SFT, from single-seed runs without variance or significance testing, on benchmarks as small as MATH-500 and HumanEval where a one-point margin is plausibly within noise. The evaluation rests on a single backbone whose single-model justification is weakened by the paper's own citation of LLaDA2.0, and the baseline set omits the obvious competitors, expert-selective fine-tuning, which is cited but not run, and LoRA or adapter tuning, so it is not established that the benefit comes from conditioning on the mask rate rather than from simply updating fewer experts. The central mechanism, cross-regime gradient interference, is asserted and used in the theorem's assumption but never measured, and the theorem itself shows only a smaller first-order upper bound after one step and follows largely because masking reduces the update norm, so it does not establish that actual loss decreases. The manuscript also carries several inconsistencies that should be fixed regardless of outcome, the threshold written as 0.001 in Eq. 4 and Table 1 but 0.0001 in the Section 2.2 text, a Table 2 caption naming StrategyQA over MATH-500 columns, an appendix algorithm titled DGM while the method is named MaGM, MATH0500 in Tables 3 and 5, and a checklist justification referencing experiments not in this paper. I encourage the authors to rebut any point that is factually wrong. If the reservations hold, they are collectively larger than a rebuttal can address, since resolving them requires multi-seed runs with reported variance, at least one additional MoE-DLM backbone, matched-compute baselines such as expert-selective and LoRA tuning, and direct evidence of cross-regime gradient conflict, and the paper would be substantially strengthened by a revision along these lines.
Final justification
This paper shows that experts in a Mixture-of-Experts diffusion language model specialize along the mask-rate axis of the diffusion trajectory and not only across semantic domains, and turns that into MaGM, which scores each expert by its routing preference between high-mask and low-mask data and zeros the gradients of regime-mismatched experts per training sample. That observation is the real contribution and it is established properly, with per-expert routing discrepancy measured against a within-regime null band from random splits rather than merely asserted, and it stands on its own regardless of how the mechanism question resolves. Against this, gains are modest and unevenly distributed across benchmarks, the ordering claimed in Eq. 8 is established only for the smoothness upper bounds and not for the objective values so the theory should be restated as motivation rather than proof, and the manuscript needs a careful editing pass for inconsistent thresholds, captions and checklist text. I lean to acceptance because the finding is new in a model class almost nobody has studied and the intervention that follows from it is a cheap change to the backward pass.
The rebuttal resolved most concrete asks, and two additions moved me: three seeds turned a single-run claim into a positive direction in all twelve cells of the benchmark by block-length grid, and a 16B backbone turned one model into two models at two scales with the same direction. What stays open is the attribution between mask-conditioning and selective expert updating, for a narrow reason, namely that the matched-sparsity random-mask control is run only where training data is restricted to one regime and not in the mixed-regime setting where the per-sample gate actually operates. 3nU8 raised from 2 to 3 and stated they would not object to acceptance. zpbW raised from 4 to 5. Vpoj held at 4 on the attribution point alone. I weighed the seeds and the larger backbone heavily and the two-number gradient inner-product table close to zero, and I read the panel as more unified than a 3 to 5 spread suggests, since all three assigned identical criterion scores.
I expect no further movement from 3nU8 or zpbW, both of whom have already updated, and I expect Vpoj would move only if the matched-sparsity control were rerun with seeds in the main setting.
Read meta-review
Meta-review
This paper reports that experts in an MoE diffusion language model specialize across diffusion mask-rate regimes as well as across domains, and proposes MaGM, which scores each expert by the difference in its average routing weight between a high-mask and a low-mask calibration set, the Expert Differentiation Score, then zeros the gradients of regime-mismatched experts per training sample and refreshes those scores every 500 steps. The observation of mask-rate-conditioned expert specialization is the paper's most valuable element, and the reviewers agree it is novel, timely, and supported by a reasonable motivation study that includes a random-mask control. The three reviews converge on concerns that I concur are currently decisive.
I place the paper in the heading-toward-rejection category. The reported gains are about two points over vanilla SFT and roughly one over Blockwise SFT, from single-seed runs without variance or significance testing, on benchmarks as small as MATH-500 and HumanEval where a one-point margin is plausibly within noise. The evaluation rests on a single backbone whose single-model justification is weakened by the paper's own citation of LLaDA2.0, and the baseline set omits the obvious competitors, expert-selective fine-tuning, which is cited but not run, and LoRA or adapter tuning, so it is not established that the benefit comes from conditioning on the mask rate rather than from simply updating fewer experts. The central mechanism, cross-regime gradient interference, is asserted and used in the theorem's assumption but never measured, and the theorem itself shows only a smaller first-order upper bound after one step and follows largely because masking reduces the update norm, so it does not establish that actual loss decreases. The manuscript also carries several inconsistencies that should be fixed regardless of outcome, the threshold written as 0.001 in Eq. 4 and Table 1 but 0.0001 in the Section 2.2 text, a Table 2 caption naming StrategyQA over MATH-500 columns, an appendix algorithm titled DGM while the method is named MaGM, MATH0500 in Tables 3 and 5, and a checklist justification referencing experiments not in this paper. I encourage the authors to rebut any point that is factually wrong. If the reservations hold, they are collectively larger than a rebuttal can address, since resolving them requires multi-seed runs with reported variance, at least one additional MoE-DLM backbone, matched-compute baselines such as expert-selective and LoRA tuning, and direct evidence of cross-regime gradient conflict, and the paper would be substantially strengthened by a revision along these lines.
Final justification
This paper shows that experts in a Mixture-of-Experts diffusion language model specialize along the mask-rate axis of the diffusion trajectory and not only across semantic domains, and turns that into MaGM, which scores each expert by its routing preference between high-mask and low-mask data and zeros the gradients of regime-mismatched experts per training sample. That observation is the real contribution and it is established properly, with per-expert routing discrepancy measured against a within-regime null band from random splits rather than merely asserted, and it stands on its own regardless of how the mechanism question resolves. Against this, gains are modest and unevenly distributed across benchmarks, the ordering claimed in Eq. 8 is established only for the smoothness upper bounds and not for the objective values so the theory should be restated as motivation rather than proof, and the manuscript needs a careful editing pass for inconsistent thresholds, captions and checklist text. I lean to acceptance because the finding is new in a model class almost nobody has studied and the intervention that follows from it is a cheap change to the backward pass.
The rebuttal resolved most concrete asks, and two additions moved me: three seeds turned a single-run claim into a positive direction in all twelve cells of the benchmark by block-length grid, and a 16B backbone turned one model into two models at two scales with the same direction. What stays open is the attribution between mask-conditioning and selective expert updating, for a narrow reason, namely that the matched-sparsity random-mask control is run only where training data is restricted to one regime and not in the mixed-regime setting where the per-sample gate actually operates. 3nU8 raised from 2 to 3 and stated they would not object to acceptance. zpbW raised from 4 to 5. Vpoj held at 4 on the attribution point alone. I weighed the seeds and the larger backbone heavily and the two-number gradient inner-product table close to zero, and I read the panel as more unified than a 3 to 5 spread suggests, since all three assigned identical criterion scores.
I expect no further movement from 3nU8 or zpbW, both of whom have already updated, and I expect Vpoj would move only if the matched-sparsity control were rerun with seeds in the main setting.
2 comments
Elaboration on the Hypothesis
Our hypothesis is primarily motivated by two observations. First, as shown in Fig. 1, high- and low-mask-rate inputs exhibit clearly different expert routing distributions, suggesting that they function as sub-tasks at different decoding granularities within the diffusion process. From a multi-task learning perspective, jointly training on these mixed regimes may therefore lead to gradient conflict[1]. Furthermore, we empirically analyzed the gradient consistency by computing the average inner product between gradients within the same mask-rate regime versus across different regimes. Although the values are near zero—a common characteristic of high-dimensional vectors—gradients from the same mask-rate regime exhibit a relatively higher degree of alignment, indicating a more consistent optimization trajectory compared to cross-regime gradients.
| high-high mask rate data | High-low mask rate data | |
|---|---|---|
| inner product | 0.0008 | -0.0015 |
To further verify this, we perform regime-specific gradient isolation (e.g., isolating low-mask experts when training on high-mask-rate data). Compared with both no gradient masking and random expert masking, our method consistently performs better, which further supports our hypothesis.
Ft on high-mask trajectories under different gradient masking strategies
| GSM8K | MATH-500 | Humaneval | MBPP | Avg |
|---|---|---|---|---|
| Vanilla Fine-tuning | 69.21 | 25.20 | 43.29 | 47.80 |
| Gradient Mask | 71.11 | 29.00 | 46.95 | 48.00 |
| Random Mask | 69.29 | 27.20 | 46.34 | 47.40 |
Ft on low-mask trajectories under different gradient masking strategies
| GSM8K | MATH-500 | Humaneval | MBPP | Avg |
|---|---|---|---|---|
| Vanilla Fine-tuning | 69.30 | 27.20 | 45.73 | 48.00 |
| Gradient Mask | 70.81 | 29.00 | 46.95 | 49.20 |
| Random Mask | 69.21 | 27.40 | 45.73 | 48.40 |
We also sincerely thank the reviewer for identifying typographical errors. We will carefully correct them in the revised manuscript.
[1] Yu, Tianhe, et al. "Gradient surgery for multi-task learning." Advances in neural information processing systems 33 (2020): 5824-5836.
- 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
This paper studies fine-tuning for Mixture-of-Experts diffusion language models. The authors observe that MoE-DLM experts specialize not only across tasks or domains, but also across diffusion trajectories with different mask rates. They argue that during fine-tuning, gradients from mismatched mask-rate regimes may interfere with experts specialized for other regimes. Based on this observation, the paper proposes MaGM, a mask-conditioned gradient masking strategy. MaGM computes an Expert Differentiation Score from routing probabilities under high-mask and low-mask regimes, and then masks expert parameter updates when the expert’s specialization does not match the current input’s mask-rate regime. The EDS statistics are periodically updated during training. Experiments on math reasoning and code generation benchmarks using LlaDA-MoE show improvements over vanilla SFT and Blockwise SFT, with additional analyses on EDS update frequency, mask-rate thresholds, layer-wise expert distribution, and expert identification methods.
Strengths and weaknesses
Strengths
- The paper studies an important and timely problem. MoE diffusion language models are emerging, but their fine-tuning behavior is still underexplored. The observation that experts may specialize along diffusion mask-rate regimes is interesting and relevant.
- The proposed MaGM method is technically coherent. It connects routing-based expert specialization, mask-rate regimes, and gradient masking into a single fine-tuning strategy. The method is also relatively simple to implement and does not require changing the model architecture.
- The paper provides useful empirical evidence. The motivation study, random masking baseline, block-length evaluation, and ablations over EDS update frequency and expert identification methods all support the usefulness of mask-conditioned expert updates.
- The main originality lies in identifying trajectory-level expert specialization in MoE-DLMs and using it to guide fine-tuning. While expert specialization and gradient masking are known ideas, applying them to mask-rate regimes in diffusion language models is a meaningful contribution.
Weaknesses
- The empirical scope is limited to one main backbone, LlaDA-MoE. It is unclear whether the observed trajectory-level specialization and the MaGM gains generalize to other MoE-DLMs, model scales, or pretraining settings.
- The reported improvements are consistent but relatively modest, and the paper does not report error bars or statistical significance. Since the gains are often around one to two points, multiple seeds or confidence intervals would be important.
- The baseline set is somewhat limited. Besides vanilla SFT and Blockwise SFT, the paper should compare with stronger or more standard fine-tuning alternatives, such as LoRA/adapters, expert-only tuning, router-only tuning, expert freezing, or gradient-conflict mitigation methods.
- The central gradient-interference hypothesis is mainly supported indirectly through downstream performance. More direct measurements, such as gradient cosine similarity or conflict statistics between high-mask and low-mask regimes on expert parameters, would strengthen the argument.
- Some practical aspects are under-discussed, including the computational overhead of EDS recomputation, sensitivity to threshold choices, and whether the method remains useful under longer fine-tuning or larger-scale adaptation.
Questions
Can the authors provide direct evidence of gradient interference between high-mask and low-mask regimes? For example, gradient cosine similarity or dot-product statistics on expert parameters would clarify whether MaGM is mitigating real cross-regime conflict rather than only acting as a regularizer. Can the authors evaluate MaGM on another MoE-DLM backbone or a different model scale? This would help determine whether trajectory-level expert specialization is a general MoE-DLM phenomenon or specific to LlaDA-MoE. Can the authors compare against additional fine-tuning baselines, such as LoRA/adapters, expert-only tuning, router-only tuning, expert freezing, or gradient-conflict methods such as PCGrad-style approaches? This would make the effectiveness of MaGM more convincing. Can the authors report results over multiple random seeds or provide confidence intervals? The gains are consistent but modest, so statistical evidence would affect my confidence in the evaluation. Can the authors clarify the computational overhead of EDS estimation and periodic updates? In particular, how much extra training time is introduced, and how sensitive is performance to the EDS thresholds and update frequency?
Limitations
The paper should more explicitly discuss that the current evaluation is limited to one MoE-DLM backbone and a small set of math/code benchmarks. The limitations section should discuss the cost of EDS recomputation, sensitivity to mask-rate thresholds, and the possibility that the observed expert specialization may not transfer to other MoE-DLM architectures or larger-scale fine-tuning settings. The paper would be stronger if it included a quantitative failure or sensitivity analysis showing when MaGM helps, when it does not, and whether its benefit comes from reducing cross-regime interference or from a more generic regularization effect.
Final justification
The rebuttal addresses most of my concerns with additional baselines, multi-seed results, gradient analysis, and random-mask controls. The main remaining issue is whether the gain comes specifically from mask-conditioning rather than selective expert updating. I therefore keep my rating at 4.
Formatting concerns
- Table 2’s caption mentions StrategyQA, but the table columns show MATH-500 instead. This should be corrected.
- The checklist contains a justification that refers to “trajectory simulation and report generation experiments,” which does not seem to match the content of this paper. This looks like a leftover or copied checklist sentence and should be fixed.
- The method naming is somewhat inconsistent. The paper mainly uses MaGM, while the appendix algorithm is titled Dynamic Gradient Masking or DGM. The naming should be standardized.
- There are minor spelling, grammar, and formatting issues, such as “MATH0500” in Table 5, awkward phrases like “dynamically masks expert,” missing spaces around equations, and visible text extraction or hyphenation artifacts. The authors should carefully proofread the final PDF.
4 comments
Thank you very much for dedicating time to reviewing our paper! We are grateful for your insightful suggestions, and we have conducted experiments to further strengthen our claims.
Robustness across Random Seeds(W2/Q4)
We agree that statistical evidence is important. Table below reports the mean and standard deviation over three random seeds. MaGM consistently achieves the best performance across benchmarks and block lengths, demonstrating its effectiveness and stability.
| Dataset | Method / Block Len | 64 | 128 | 256 |
|---|---|---|---|---|
| GSM8K | Vanilla SFT | 69.54±0.7 | 68.86±0.6 | 68.89±0.8 |
| GSM8K | Blockwise SFT | 69.95±0.8 | 69.29±1.0 | 69.45±0.6 |
| GSM8K | MaGM | 71.67±0.5 | 70.68±0.6 | 70.53±0.7 |
| GSM8K | MaGM-ZeroH | 71.44±0.8 | 71.42±0.5 | 71.37±0.6 |
| MATH-500 | Vanilla SFT | 26.13±0.8 | 26.87±1.1 | 26.67±0.9 |
| MATH-500 | Blockwise SFT | 26.87±0.6 | 27.00±0.7 | 26.87±0.9 |
| MATH-500 | MaGM | 28.20±0.9 | 27.73±0.5 | 28.33±0.6 |
| MATH-500 | MaGM-ZeroH | 27.27±0.8 | 28.27±0.8 | 27.53±0.6 |
| HumanEval | Vanilla SFT | 44.71±1.3 | 44.31±1.5 | 44.10±1.5 |
| HumanEval | Blockwise SFT | 46.14±1.3 | 45.73±1.6 | 45.12±0.6 |
| HumanEval | MaGM | 47.15±1.5 | 46.75±1.9 | 47.36±1.5 |
| HumanEval | MaGM-ZeroH | 47.36±1.5 | 47.15±0.9 | 47.76±0.9 |
| MBPP | Vanilla SFT | 47.60±0.9 | 48.20±0.7 | 48.27±0.6 |
| MBPP | Blockwise SFT | 48.53±0.5 | 48.73±0.6 | 47.67±0.4 |
| MBPP | MaGM | 48.93±0.8 | 48.87±0.8 | 48.80±0.8 |
| MBPP | MaGM-ZeroH | 48.47±0.5 | 48.60±0.5 | 48.80±0.7 |
Comparison with other Methods(W3/Q3)
We thank the reviewer for suggesting additional baselines. To further validate MaGM, we add comparisons with ESFT and LoRA. Unlike PEFT methods that reduce trainable parameters by updating only a subset of weights, MaGM aims to improve optimization stability through fine-grained intra-dataset specialization. Specifically, samples with different mask rates exhibit distinct routing patterns, and MaGM selectively masks regime-mismatched gradients to mitigate cross-regime interference while retaining full adaptation capacity. As shown in the table below, MaGM consistently outperforms these baselines, demonstrating the effectiveness of regime-aware gradient regulation.
| Dataset | Method / Block Len | 64 | 128 | 256 |
|---|---|---|---|---|
| GSM8K | ESFT | 70.13 | 68.99 | 69.44 |
| GSM8K | LoRA | 69.52 | 68.76 | 68.76 |
| GSM8K | Blockwise SFT | 70.13 | 69.07 | 69.37 |
| GSM8K | MaGM | 71.65 | 70.66 | 70.43 |
| MATH-500 | ESFT | 27.20 | 26.40 | 26.40 |
| MATH-500 | LoRA | 25.60 | 25.20 | 26.00 |
| MATH-500 | Blockwise SFT | 25.60 | 25.60 | 25.60 |
| MATH-500 | MaGM | 28.40 | 27.80 | 27.80 |
| HumanEval | ESFT | 45.12 | 45.12 | 44.51 |
| HumanEval | LoRA | 45.12 | 44.51 | 43.29 |
| HumanEval | Blockwise SFT | 45.73 | 45.12 | 44.51 |
| HumanEval | MaGM | 46.95 | 46.34 | 47.56 |
| MBPP | ESFT | 48.00 | 49.00 | 48.20 |
| MBPP | LoRA | 48.00 | 48.20 | 48.00 |
| MBPP | Blockwise SFT | 48.60 | 49.00 | 47.80 |
| MBPP | MaGM | 49.20 | 49.00 | 48.80 |
Elaboration on the Hypothesis(W4/Q1)
Our hypothesis is primarily motivated by two observations. First, as shown in Fig. 1, high- and low-mask-rate inputs exhibit clearly different expert routing distributions, suggesting that they function as sub-tasks at different decoding granularities within the diffusion process. From a multi-task learning perspective, jointly training on these mixed regimes may therefore lead to gradient conflict[1]. Furthermore, we empirically analyzed the gradient consistency by computing the average inner product between gradients within the same mask-rate regime versus across different regimes. Although the values are near zero—a common characteristic of high-dimensional vectors—gradients from the same mask-rate regime exhibit a relatively higher degree of alignment, indicating a more consistent optimization trajectory compared to cross-regime gradients.
| high-high mask rate data | High-low mask rate data | |
|---|---|---|
| inner product | 0.0008 | -0.0015 |
To further verify this, we perform regime-specific gradient isolation (e.g., isolating low-mask experts when training on high-mask-rate data). Compared with both no gradient masking and random expert masking, our method consistently performs better, which further supports our hypothesis.
Ft on high-mask trajectories under different gradient masking strategies
| GSM8K | MATH-500 | Humaneval | MBPP | Avg |
|---|---|---|---|---|
| Vanilla Fine-tuning | 69.21 | 25.20 | 43.29 | 47.80 |
| Gradient Mask | 71.11 | 29.00 | 46.95 | 48.00 |
| Random Mask | 69.29 | 27.20 | 46.34 | 47.40 |
Ft on low-mask trajectories under different gradient masking strategies
| GSM8K | MATH-500 | Humaneval | MBPP | Avg |
|---|---|---|---|---|
| Vanilla Fine-tuning | 69.30 | 27.20 | 45.73 | 48.00 |
| Gradient Mask | 70.81 | 29.00 | 46.95 | 49.20 |
| Random Mask | 69.21 | 27.40 | 45.73 | 48.40 |
Clarification on Training Cost(W5/Q5)
MaGM introduces only limited computational overhead. The EDS estimation requires only a forward pass to collect routing statistics and does not involve any additional backward computation. Overall, the training time is approximately 1.06× that of the standard SFT pipeline.
We also introduce an adaptive refresh schedule in Appendix G. Every 200 optimization steps, we evaluate validation loss and recompute EDS only when the observed loss improvement exceeds a threshold of 0.2, indicating that the model and routing behavior have changed sufficiently to warrant recalibration. As reported in Table 5 in Appendix G, this adaptive strategy achieves performance comparable to fixed periodic refresh. It therefore provides a practical efficiency–effectiveness trade-off for longer fine-tuning runs.
Threshold/Update Step Sensitivity Analysis(W5/Q6)
We have included a threshold sensitivity analysis in the main paper (see Table 5). For ease of reference, we also paste the table below.
| GSM8K | MATH500 | Humaneval | MBPP |
|---|---|---|---|
| 0.0005 | 68.76 | 26.20 | 43.29 |
| 0.001 | 71.64 | 28.20 | 46.95 |
| 0.002 | 70.11 | 28.00 | 45.73 |
| w/o mask | 70.11 | 27.80 | 45.73 |
Notably, the proposed method consistently outperforms the baseline without gradient isolation when the gating threshold is set above 0.0005. Furthermore, our noise sensitivity experiments reveal that the variance of EDS scores across different data distributions fluctuates between 0.0003 and 0.0006 when the sample size is fixed at approximately 500 sequences. Consequently, setting a threshold too close to zero would lead to an overly broad masking of experts, which restricts the parameters from receiving sufficient gradient updates for effective knowledge acquisition.
The discussion and ablation study on the number of training steps are also provided in Figure 3 of the main paper.
Results on Additional Models(Q2)
To further examine the scalability of our method, we additionally evaluate MaGM on a 16B model and report the average results in the table below. MaGM continues to achieve the best average performance among the compared methods, providing further evidence that its effectiveness extends to a larger model scale.
| Method | GSM8K | MATH500 | Humaneval | MBPP |
|---|---|---|---|---|
| - | 88.86 | 42.60 | 79.26 | 78.80 |
| Vanilla SFT | 88.50±0.9 | 42.33±0.7 | 80.17±0.9 | 79.87±0.8 |
| Blockwise SFT | 90.02±0.8 | 43.72±0.6 | 80.90±0.7 | 80.00±0.7 |
| MaGM | 91.48±0.5 | 45.14±0.7 | 82.38±0.6 | 81.73±0.7 |
We also sincerely thank the reviewer for identifying typographical errors. We will carefully correct them in the revised manuscript, and we would be happy to address any further questions from the reviewer during the discussion period.
[1] Yu, Tianhe, et al. "Gradient surgery for multi-task learning." Advances in neural information processing systems 33 (2020): 5824-5836.
Dear Reviewer Vpoj,
Thank you again for the time and insight you have devoted to evaluating our manuscript. We have tried our best to carefully address each of your comments in the rebuttal and clarified the points that were previously unclear.
As the rebuttal period is drawing to a close, we would be grateful to know whether our responses have resolved your concerns, or if there are any additional questions we can clarify while time still permits. We are happy to provide further details and clarifications at your convenience.
Thank you for your consideration, and we look forward to hearing from you.
Best,
The Authors
Dear Reviewer Vpoj,
Thank you very much for your thoughtful review and for taking the time to read our response. We appreciate your decision to maintain the original score and your valuable advice during this procedure.
Best,
The Authors
- Rating
- 5/6
- Confidence
- 4/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
The paper studies the underexplored Mixture of Experts (MoEs) models composed of Discrete Diffusion Language Models (DLMs), which have emerged as an alternative to autoregressive LLMs to process multiple tokens in parallel.
The contributions of this paper are twofold. First, this paper thoroughly analyzes the specialization of MoE-DLM experts. They found that the single experts not only specialize based on the tasks but also along the diffusion trajectories, depending on the mask rates to which each expert is exposed during training. Moreover, they corroborate this with a theoretical framework, finding that the masked gradient reduces the update norm, improving optimization stability. Based on the finding that cross-regime updates that are mismatched with the experts hinder the training process, they propose a Mask-conditioned Gradient Masking framework (MaGM), which implements a trajectory-aware masking policy that masks gradients flowing to experts misaligned with the input masking rate. Experiments show that MaGM consistently improves performance over non-masking by a small margin.
Strengths and weaknesses
Strengths
- The contributions of the paper are clearly described, though the authors could have given more relevance to describing related work, which are put as the second last section, and background, to improve the description context of the work.
- The theoretical framework compels the claims and the results.
- The proposal of the method is corroborated by a thorough preliminary analysis, which justifies its design choices.
- Ablation studies on the EDS update interval, layer-wise distribution of regime-specialized experts, impact of the number of masked experts, and comparison of threshold-based selection with top-k are thorough and well-designed.
Weakness
Experiments are not fully convincing. Performance gains are minimal and strongly dependent on the choice of the EDS threshold and the EDS update interval. Moreover, experiments have been provided with a single random seed (likely due to budget costs for training large models, so this is only a minor point to me, but good to have more experiments with different seeds, if possible). The authors are encouraged to show that the best EDS threshold and the best EDS update interval found stay the same even across settings different from the one considered. One possibility is to include experiments across different domains (beyond math and coding).
Questions
-
In equation 4, the choice for the EDS thresholds for and has not been appropriately linked with the results in Table 1. Could the authors please clarify and make an explicit connection to Table 1?
-
Figure 1 shows the routing discrepancy across mask-rate regimes. My first question on this is: Does the label on the y-axis refer to the EDS score? I assume it is. Second, can the authors expand on their interpretation of the distribution of EDS scores across the layers shown in Figure 4? Why, according to them, lower-layer experts capture shared, transferable computation that generalizes across domains while deeper-layer experts are more domain-dependent and task-specific? Moreover, can they provide additional experiments with other datasets from other domains to reinforce this finding?
Comprehensively answering both questions and addressing the weakness regarding the experiments above are key to increasing the score after the rebuttal.
(small notes: the y-axis of Figure 4-c is wrong, and I also believe that the EDS thresholds in the rows 107-120 are consistently wrong; they have one more 0)
Limitations
Yes.
Final justification
The rebuttal addresses my primary concerns by providing additional experiments and clarifications. Specifically, the authors now present results using three different random seeds, expand evaluations beyond the original math/code framework to include new MMLU domains and a larger 16B model, and clarify both the interpretation of the EDS threshold and the layer-wise specialization analysis. These enhancements increase my confidence in the method's validity and generalizability.
However, some limitations remain. The observed performance improvements are modest, the sensitivity to the EDS threshold and update interval is only partially addressed, and the authors do not demonstrate that the chosen hyperparameter settings are optimal across diverse settings.
Nevertheless, I find that the additional evidence sufficiently strengthens the paper to warrant a higher score.
Formatting concerns
I did not notice formatting concerns.
5 comments
Thank you for your time devoted to reviewing this paper! Please find our response to your concerns below:
Robustness across Random Seeds(W1)
We agree that statistical evidence is important. Table below reports the mean and standard deviation over three random seeds. MaGM consistently achieves the best performance across benchmarks and block lengths, demonstrating its effectiveness and stability.
| Dataset | Method / Block Len | 64 | 128 | 256 |
|---|---|---|---|---|
| GSM8K | Vanilla SFT | 69.54±0.7 | 68.86±0.6 | 68.89±0.8 |
| GSM8K | Blockwise SFT | 69.95±0.8 | 69.29±1.0 | 69.45±0.6 |
| GSM8K | MaGM | 71.67±0.5 | 70.68±0.6 | 70.53±0.7 |
| GSM8K | MaGM-ZeroH | 71.44±0.8 | 71.42±0.5 | 71.37±0.6 |
| MATH-500 | Vanilla SFT | 26.13±0.8 | 26.87±1.1 | 26.67±0.9 |
| MATH-500 | Blockwise SFT | 26.87±0.6 | 27.00±0.7 | 26.87±0.9 |
| MATH-500 | MaGM | 28.20±0.9 | 27.73±0.5 | 28.33±0.6 |
| MATH-500 | MaGM-ZeroH | 27.27±0.8 | 28.27±0.8 | 27.53±0.6 |
| HumanEval | Vanilla SFT | 44.71±1.3 | 44.31±1.5 | 44.10±1.5 |
| HumanEval | Blockwise SFT | 46.14±1.3 | 45.73±1.6 | 45.12±0.6 |
| HumanEval | MaGM | 47.15±1.5 | 46.75±1.9 | 47.36±1.5 |
| HumanEval | MaGM-ZeroH | 47.36±1.5 | 47.15±0.9 | 47.76±0.9 |
| MBPP | Vanilla SFT | 47.60±0.9 | 48.20±0.7 | 48.27±0.6 |
| MBPP | Blockwise SFT | 48.53±0.5 | 48.73±0.6 | 47.67±0.4 |
| MBPP | MaGM | 48.93±0.8 | 48.87±0.8 | 48.80±0.8 |
| MBPP | MaGM-ZeroH | 48.47±0.5 | 48.60±0.5 | 48.80±0.7 |
Generalization of the Study(W2)
Our experimental findings suggest that EDS is more closely tied to mask-rate regime than to particular domain. Therefore, the method can still transfer to new datasets. In order to further address your concern on generalization, we have added experiments on two additional subsets from MMLU, physics and geography. The results below indicate that our method continues to perform well on new datasets under the same hyperparameter settings, providing further evidence of its effectiveness.
| PHY | GEO | |
|---|---|---|
| - | 47.68 | 70.16 |
| Blockwise SFT | 50.32 | 75.58 |
| Gradient Mask | 51.74 | 77.12 |
Clarification of the EDS Thresholds(Q1)
High-mask samples contain less observed context and therefore tend to produce noisier updates. Based on the observations in Table 1, we consider two masking strengths for this regime. For high-mask samples, MaGM masks only low-mask specialists (EDS<−0.001), whereas MaGM-ZeroH adopts a more aggressive strategy by masking all non-high-mask specialists (EDS<0.001). As shown in the main results (Table 3), both variants yield consistent improvements. MaGM-ZeroH becomes more competitive at larger block lengths, which means longer blocks make stronger isolation of regime-mismatched gradients more beneficial.
Cross-Domain Validation of Layer-wise Expert Specialization(Q2)
Q2.1: Yes. The y-axis of Fig. 1 denotes the Expert Differentiation Score (EDS). We will relabel the y-axis and revise the figure caption to make this definition explicit.
Q2.2: We clarify that Fig. 4 does not show the raw EDS distribution. Figures 4(a–b) report the number of high- and low-mask specialists identified by the EDS threshold in each layer for the math and code domains, while Fig. 4(c) reports their cross-domain overlap. We apologize for the unclear caption and will revise it accordingly.
The main pattern is that cross-domain overlap is higher in lower layers and gradually decreases in deeper layers. Our interpretation is that lower layers primarily process relatively domain-agnostic lexical, syntactic, and local structural features, which are broadly shared across domains. As representations become increasingly contextualized in deeper layers, routing decisions are more strongly influenced by domain-specific semantics and reasoning objectives, leading to greater divergence in the selected specialists. We therefore interpret this pattern as a gradual transition from shared to domain-dependent computation, rather than as a direct functional characterization of individual experts. This interpretation is also consistent with ESFT, which observes that domain-relevant experts are more concentrated in the middle and upper layers.
To test whether this pattern extends beyond math and code, we additionally add the Physics subset of MMLU below. Its layer-wise specialist distribution and overlap with the code domain exhibit a similar trend: higher overlap in lower layers and stronger divergence in deeper layers. This result supports the generality of the observed layer-wise specialization.
Expert Distribution across Layers
| 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | |
|---|---|---|---|---|---|---|---|---|
| High mask expert | 2 | 2 | 4 | 6 | 5 | 9 | 8 | 9 |
| Low mask expert | 2 | 4 | 5 | 6 | 9 | 7 | 11 | 10 |
| Overlap ratio | 0.5 | 0.3 | 0.4 | 0.5 | 0.3 | 0.2 | 0.1 | 0.2 |
We also sincerely thank the reviewer for identifying typographical errors. We will carefully correct them in the revised manuscript.
Generalization of the Study(W2)
To further examine the scalability of our method, we additionally evaluate MaGM on a 16B model and report the average results in the table below. MaGM continues to achieve the best average performance among the compared methods, providing further evidence that its effectiveness extends to a larger model scale.
| Method | GSM8K | MATH500 | Humaneval | MBPP |
|---|---|---|---|---|
| - | 88.86 | 42.60 | 79.26 | 78.80 |
| Vanilla SFT | 88.50±0.9 | 42.33±0.7 | 80.17±0.9 | 79.87±0.8 |
| Blockwise SFT | 90.02±0.8 | 43.72±0.6 | 80.90±0.7 | 80.00±0.7 |
| MaGM | 91.48±0.5 | 45.14±0.7 | 82.38±0.6 | 81.73±0.7 |
We thank for the constructive feedback and welcome any further questions or discussion! We would be happy to provide additional clarification during the discussion period.
Dear Reviewer zpbW,
Thank you again for the time and insight you have devoted to evaluating our manuscript. We have tried our best to carefully address each of your comments in the rebuttal and clarified the points that were previously unclear.
As the rebuttal period is drawing to a close, we would be grateful to know whether our responses have resolved your concerns, or if there are any additional questions we can clarify while time still permits. We are happy to provide further details and clarifications at your convenience.
Thank you for your consideration, and we look forward to hearing from you.
Best,
The Authors
- Rating
- 3/6
- Confidence
- 4/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
This paper studies how to fine-tune MoE diffusion language models. Its central observation is that experts specialize not only across tasks but also across mask rate regimes, with some experts preferring heavily masked inputs and others preferring lightly masked ones. The authors argue that during fine-tuning the gradients from one mask rate regime interfere with experts specialized for the other, and they propose MaGM, which scores each expert by its routing preference between high and low mask data and then zeros the gradients of off regime experts for each training sample, refreshing the scores every 500 steps. A theorem is given to argue that this masked update lowers the expected loss. On LLaDA-MoE fine-tuned on math and code data, MaGM reportedly improves over full parameter fine tuning by about two percent on GSM8K, MATH-500, MBPP, and HumanEval across several block lengths.
Strengths and weaknesses
Strengths:
MaGM scores each expert by the difference between its average routing weight on heavily and lightly masked data, and then for every training sample it zeros the gradients of the experts that prefer the opposite regime, refreshing those scores every 500 steps. There is no change to the architecture and only an occasional calibration pass on top of normal SFT, so the whole recipe is simple to implement and cheap to run.
Weaknesses:
- The baseline set is too weak to support the claim. MaGM is compared only against plain SFT and blockwise SFT. ESFT, which fine tunes only the task relevant experts and is the obvious competitor, is cited but never run, and there is no LoRA or other parameter efficient baseline. It therefore stays unclear whether the gain comes from conditioning on the mask rate or simply from updating fewer experts.
- The numbers are too thin to trust. The average edge is about two points over vanilla SFT but only around one point over the stronger blockwise SFT, all from single runs with no variance or significance testing, on MATH-500 and HumanEval that hold just 500 and 164 items. At that scale a one point gap sits comfortably inside run to run noise.
- The whole evaluation rests on one model. Everything is run on LLaDA-MoE, and the paper defends this by calling it the only open source MoE diffusion model, yet the LLaDA2.0 MoE models are publicly available, so at least one more backbone and a scale check appear feasible. As it stands there is no evidence the effect transfers beyond a single model.
- The cost side is never measured. Recomputing the differentiation scores every 500 steps adds forward passes over a calibration set, but the training overhead relative to plain SFT is not reported, which matters for a method whose only payoff is a small accuracy gain.
Questions
- Could you add ESFT and a LoRA style baseline under matched compute? If MaGM does not beat expert selective fine tuning, the specific value of conditioning on the mask rate is hard to see, and this would lower my score, whereas a clear margin over both would raise it.
- Can you report results on a second MoE diffusion backbone such as LLaDA2.0, with multi seed means and variance? Since the edge over blockwise SFT is only about a point on small benchmarks, seeds and a second model are needed to show the effect is real and transfers.
- How does the mask rate specialization you report relate to stage or timestep specialized experts already studied in diffusion models such as eDiff-I and Remix-DiT, and what is new beyond carrying that idea into masked discrete diffusion?
Limitations
yes
Final justification
Most of my concerns have been solved, and based on the contribution of this paper, I have decided to raise the score to Borderline reject. I'm okay with acceptance if ACs think this rebuttal is significant.
Formatting concerns
N/A
4 comments
Comparison with other PEFT Methods(W1/Q1)
We thank the reviewer for suggesting ESFT and LoRA. However, MaGM is not designed as a parameter-efficient fine-tuning method. Unlike PEFT methods that update only a small subset of parameters to approach full-parameter fine-tuning performance, MaGM aims to improve optimization stability through fine-grained intra-dataset specialization. Specifically, samples with different mask rates exhibit distinct routing patterns, and MaGM selectively masks regime-mismatched gradients to mitigate cross-regime interference while retaining full adaptation capacity.
Nevertheless, we did explore ESFT and LoRA during our preliminary exploration. As shown in the table below, MaGM consistently outperforms these baselines, demonstrating the effectiveness of regime-aware gradient regulation.
| Dataset | Method / Block Len | 64 | 128 | 256 |
|---|---|---|---|---|
| GSM8K | ESFT | 70.13 | 68.99 | 69.44 |
| GSM8K | LoRA | 69.52 | 68.76 | 68.76 |
| GSM8K | Blockwise SFT | 70.13 | 69.07 | 69.37 |
| GSM8K | MaGM | 71.65 | 70.66 | 70.43 |
| MATH-500 | ESFT | 27.20 | 26.40 | 26.40 |
| MATH-500 | LoRA | 25.60 | 25.20 | 26.00 |
| MATH-500 | Blockwise SFT | 25.60 | 25.60 | 25.60 |
| MATH-500 | MaGM | 28.40 | 27.80 | 27.80 |
| HumanEval | ESFT | 45.12 | 45.12 | 44.51 |
| HumanEval | LoRA | 45.12 | 44.51 | 43.29 |
| HumanEval | Blockwise SFT | 45.73 | 45.12 | 44.51 |
| HumanEval | MaGM | 46.95 | 46.34 | 47.56 |
| MBPP | ESFT | 48.00 | 49.00 | 48.20 |
| MBPP | LoRA | 48.00 | 48.20 | 48.00 |
| MBPP | Blockwise SFT | 48.60 | 49.00 | 47.80 |
| MBPP | MaGM | 49.20 | 49.00 | 48.80 |
Robustness across Random Seeds(W2/Q2)
We agree that statistical evidence is important. Table below reports the mean and standard deviation over three random seeds. MaGM consistently achieves the best performance across benchmarks and block lengths, demonstrating its effectiveness and stability.
| Dataset | Method / Block Len | 64 | 128 | 256 |
|---|---|---|---|---|
| GSM8K | Vanilla SFT | 69.54±0.7 | 68.86±0.6 | 68.89±0.8 |
| GSM8K | Blockwise SFT | 69.95±0.8 | 69.29±1.0 | 69.45±0.6 |
| GSM8K | MaGM | 71.67±0.5 | 70.68±0.6 | 70.53±0.7 |
| GSM8K | MaGM-ZeroH | 71.44±0.8 | 71.42±0.5 | 71.37±0.6 |
| MATH-500 | Vanilla SFT | 26.13±0.8 | 26.87±1.1 | 26.67±0.9 |
| MATH-500 | Blockwise SFT | 26.87±0.6 | 27.00±0.7 | 26.87±0.9 |
| MATH-500 | MaGM | 28.20±0.9 | 27.73±0.5 | 28.33±0.6 |
| MATH-500 | MaGM-ZeroH | 27.27±0.8 | 28.27±0.8 | 27.53±0.6 |
| HumanEval | Vanilla SFT | 44.71±1.3 | 44.31±1.5 | 44.10±1.5 |
| HumanEval | Blockwise SFT | 46.14±1.3 | 45.73±1.6 | 45.12±0.6 |
| HumanEval | MaGM | 47.15±1.5 | 46.75±1.9 | 47.36±1.5 |
| HumanEval | MaGM-ZeroH | 47.36±1.5 | 47.15±0.9 | 47.76±0.9 |
| MBPP | Vanilla SFT | 47.60±0.9 | 48.20±0.7 | 48.27±0.6 |
| MBPP | Blockwise SFT | 48.53±0.5 | 48.73±0.6 | 47.67±0.4 |
| MBPP | MaGM | 48.93±0.8 | 48.87±0.8 | 48.80±0.8 |
| MBPP | MaGM-ZeroH | 48.47±0.5 | 48.60±0.5 | 48.80±0.7 |
Clarification on Training Cost(W4)
MaGM introduces only limited computational overhead. The EDS estimation requires only a forward pass to collect routing statistics and does not involve any additional backward computation. Overall, the training time is approximately 1.06× that of the standard SFT pipeline.
We also introduce an adaptive refresh schedule in Appendix G. Every 200 optimization steps, we evaluate validation loss and recompute EDS only when the observed loss improvement exceeds a threshold of 0.2, indicating that the model and routing behavior have changed sufficiently to warrant recalibration. As reported in Table 5 in Appendix G, this adaptive strategy achieves performance comparable to fixed periodic refresh. It therefore provides a practical efficiency–effectiveness trade-off for longer fine-tuning runs.
Results on Additional Models(W3)
To evaluate whether the phenomenon is specific to the original LLaDA-MoE backbone, we also conduct experiments on the 16B LLaDA2.0 MoE model. The corresponding multi-seed experiments are still running, and we will add the complete mean-and-variance results during the rebuttal period as soon as possible.
Relation to Prior Work(Q3)
We agree that stage-dependent computation has been explored in continuous diffusion models. However, eDiff-I and Remix-DiT explicitly assign different denoisers or parameter compositions to predefined diffusion stages.
Our setting is different. We study a pretrained, token-routed sparse MoE-DLM without any explicit assignment between experts and mask-rate regimes. We uncover emergent mask-rate specialization, identify its optimization consequence—regime-mismatched expert updates during fine-tuning—and exploit it through sample-conditioned gradient masking. Therefore, our novelty lies in discovering and leveraging latent specialization in an existing MoE-DLM to regulate backward optimization, without modifying its architecture or forward routing.
Results on Additional Models(W3)
To further examine the scalability of our method, we additionally evaluate MaGM on a 16B model and report the average results in the table below. MaGM continues to achieve the best average performance among the compared methods, providing further evidence that its effectiveness extends to a larger model scale.
| Method | GSM8K | MATH500 | Humaneval | MBPP |
|---|---|---|---|---|
| - | 88.86 | 42.60 | 79.26 | 78.80 |
| Vanilla SFT | 88.50±0.9 | 42.33±0.7 | 80.17±0.9 | 79.87±0.8 |
| Blockwise SFT | 90.02±0.8 | 43.72±0.6 | 80.90±0.7 | 80.00±0.7 |
| MaGM | 91.48±0.5 | 45.14±0.7 | 82.38±0.6 | 81.73±0.7 |
We thank for the constructive feedback and welcome any further questions or discussion! We would be happy to provide additional clarification during the discussion period.
Dear Reviewer 3nU8,
Thank you again for the time and insight you have devoted to evaluating our manuscript. We have tried our best to carefully address each of your comments in the rebuttal and clarified the points that were previously unclear.
As the rebuttal period is drawing to a close, we would be grateful to know whether our responses have resolved your concerns, or if there are any additional questions we can clarify while time still permits. We are happy to provide further details and clarifications at your convenience.
Thank you for your consideration, and we look forward to hearing from you.
Best,
The Authors
Dear Reviewer 3nU8,
Thank you for your insightful review and for raising our score! We are delighted that our revisions have effectively addressed your concerns. We sincerely appreciate your support and guidance throughout this process.
Best,
The Authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the AC for the feedback and would like to clarify several key concerns that may stem from misunderstandings of our method.
Stability of MaGM’s Improvements
Our main experiments evaluate all methods under three block lengths with other settings fixed. MaGM consistently outperforms the baselines across all settings, demonstrating its effectiveness and robustness. To further address the reviewer’s concern, we report the mean and standard deviation over three random seeds. MaGM achieves the best performance across benchmarks and block lengths, demonstrating its effectiveness and stability.
Comparison with other PEFT methods
We would like to clarify that MaGM is not designed as a parameter-efficient fine-tuning method. PEFT methods update only a restricted subset of parameters to approximate the performance of full-parameter fine-tuning, whereas MaGM retains full adaptation capacity and aims to improve optimization by suppressing regime-mismatched gradients according to fine-grained, intra-dataset mask-rate specialization.
As shown in Table 1, MaGM consistently outperforms random expert masking with the same masking ratio, confirming that its gains do not simply come from updating fewer experts. To further address the reviewer’s concern, we compare MaGM with PEFT baselines, and MaGM consistently achieves better performance, demonstrating the effectiveness of regime-aware gradient regulation.
Results on Additional Models
To further examine the scalability of our method, we additionally evaluate MaGM on a 16B model and report the average results in the table below. MaGM continues to achieve the best average performance among the compared methods, providing further evidence that its effectiveness extends to a larger model scale.