acceptodds
Published as a conference paper at NeurIPS 2026

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

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.

Keywords:
Sydney

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_VpojOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
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

  1. 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.
  2. 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.
  3. 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.
  4. 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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

Paper formatting concerns
  1. Table 2’s caption mentions StrategyQA, but the table columns show MATH-500 instead. This should be corrected.
  2. 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.
  3. 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.
  4. 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.
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.

Reviewer_zpbWOpenReview ↗
Rating
5
Clarity
2
Confidence
4
Originality
3
Quality
3
Significance
3
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
  1. In equation 4, the choice for the EDS thresholds for Dh\mathcal{D}_h and Dl\mathcal{D}_l has not been appropriately linked with the results in Table 1. Could the authors please clarify and make an explicit connection to Table 1?

  2. 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.

Paper formatting concerns

I did not notice formatting concerns.

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.

Reviewer_3nU8OpenReview ↗
Rating
3
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
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:

  1. 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.
  2. 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.
  3. 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.
  4. 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
  1. 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.
  2. 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.
  3. 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

Paper formatting concerns

N/A

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.

Comments on the paper

1 comment
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.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.