MemDLM: Memory-Enhanced DLM Training
Zehua Pei, Hui-Ling Zhen, Weizhe Lin, Sinno Jialin Pan, Yunhe Wang, Mingxuan Yuan, Bei Yu
NeurIPS 2026
Abstract. Diffusion Language Models (DLMs) offer attractive advantages over Auto-Regressive (AR) models, such as full-attention parallel decoding and flexible generation. However, standard DLM training uses a static, single-step masked prediction objective that never exposes the model to the progressive denoising dynamics of inference, and forces all contextual information to be maintained purely through token-space attention, which becomes increasingly diluted as context length grows. We propose MemDLM (Memory-Enhanced DLM), which introduces a second memory channel by embedding a simulated denoising trajectory into training via Bi-level Optimization. An inner loop updates a set of fast weights, forming a Parametric Memory that captures the local trajectory experience, while an outer loop updates the base model conditioned on this memory. By offloading part of the memorization burden from token-space attention to parameter space, MemDLM yields faster convergence, stronger long-context representations, and lower training loss, even when the fast weights are discarded at inference time. Re-enabling the inner loop at inference provides an additional prompt-specific adaptation effect, where the Parametric Memory acts as an emergent in-weight retrieval mechanism on challenging Needle-in-a-Haystack tasks.
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:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
MemDLM introduces bi-level fast-weight adaptation for diffusion language models: a base update is conditioned on a per-sample fast state, with most gains retained when the fast weights are discarded at inference. The initial meta-review set compute-matched evidence and isolation of the fast-weight mechanism as the bar for acceptance. During discussion the authors met it directly — a wall-clock-matched baseline, a trajectory-only control without fast weights, three-seed replication, standard-task preservation, and a third backbone — showing the gains persist under matched compute and are not explained by extra supervision alone, and they candidly narrowed the earlier overclaims. After the rebuttal all reviewers are on the acceptance side, supporting acceptance, with the discussed clarifications expected at camera-ready.
Final justification
The initial meta-review set compute-matched evidence and fast-weight mechanism isolation as the bar, and the discussion-phase controls (wall-clock-matched baseline, trajectory-only control, three-seed replication, standard-task preservation, and a third backbone) met it, while the authors candidly narrowed the interpretive claims. With all reviewers on the acceptance side, this supports acceptance and aligns the decision with the reviewers.
Read meta-review
Meta-review
MemDLM introduces bi-level fast-weight adaptation for diffusion language models: a base update is conditioned on a per-sample fast state, with most gains retained when the fast weights are discarded at inference. The initial meta-review set compute-matched evidence and isolation of the fast-weight mechanism as the bar for acceptance. During discussion the authors met it directly — a wall-clock-matched baseline, a trajectory-only control without fast weights, three-seed replication, standard-task preservation, and a third backbone — showing the gains persist under matched compute and are not explained by extra supervision alone, and they candidly narrowed the earlier overclaims. After the rebuttal all reviewers are on the acceptance side, supporting acceptance, with the discussed clarifications expected at camera-ready.
Final justification
The initial meta-review set compute-matched evidence and fast-weight mechanism isolation as the bar, and the discussion-phase controls (wall-clock-matched baseline, trajectory-only control, three-seed replication, standard-task preservation, and a third backbone) met it, while the authors candidly narrowed the interpretive claims. With all reviewers on the acceptance side, this supports acceptance and aligns the decision with the reviewers.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes MemDLM, which updates temporary fast weights through a two-stage inner loop and then updates the base model parameters under the adapted state. The goal is to inject local denoising trajectories and parameter-space memory into DLM training, thereby improving long-context modeling.
Strengths and weaknesses
Strengths
-
Combining bi-level optimization with multi-step denoising training for DLMs is a meaningful and potentially valuable direction.
-
MemDLM achieves clear improvements on RULER, BABILong, and length extrapolation settings across two LLaDA backbones. The Train-Only variant also retains most of the gains after removing fast weights at inference time.
-
The paper studies the inner-loop objective, update scope, trajectory design, number of stages, and gradient normalization.
Weaknesses
-
The core motivation does not fully match the actual training procedure. The paper motivates MemDLM by arguing that, during inference, DLMs must process noisy inputs produced by their own previous predictions. However, in MemDLM, both and are still obtained by masking the ground-truth , rather than from actual rollout or self-generated states.
The training and inference interfaces also remain mismatched. In the Train-Only setting, the model is trained with but uses at inference. In the Train & Inference setting, the training inner loop uses response targets, whereas inference-time adaptation can only use the prompt. This is still a substantial train-inference mismatch, especially for the Train-Only variant.
-
The comparison with Standard MDLM does not match compute or supervision. Although both methods use the same number of outer updates, each MemDLM step includes two additional inner-loop forward/backward passes and therefore costs about 2.1$\times$ more wall-clock time. As a result, faster convergence measured by training steps does not imply faster convergence in terms of time or FLOPs. The paper should include a Standard MDLM baseline trained for approximately 2.1$\times$ more steps, or other compute-matched baselines.
-
The paper does not isolate the contribution of multi-step trajectory supervision from that of bi-level fast-weight updates. The existing ablations are all conducted within the bi-level framework. The most important missing baseline is a trajectory-only variant: directly train the main model with the same multi-noise trajectory, but without introducing fast weights. Since prior work such as MDPO[1], MetaState[2], and EvoToken-DLM[3] has already explored multi-step or trajectory-aware denoising training, the paper should more clearly discuss its relation to these methods and emphasize that its main novelty lies in the bi-level fast-weight mechanism. It should then provide ablations that specifically isolate and validate this component.
-
The evaluation scope and backbone coverage are limited. The current experiments mainly focus on long-context tasks, so it remains unclear whether the training procedure harms standard reasoning or coding abilities. The authors should add GSM8K, MATH-500, HumanEval, and MBPP to test whether the trained model suffers performance degradation on common non-long-context benchmarks. In addition, the experiments are limited to LLaDA-MoE and LLaDA2.1, the paper should include additional backbones such as Dream[4] or SDAR[5] models to support the scalability of MemDLM. Finally, the main results appear to be single-run results, the paper should report means and variances over at least three random seeds.
[1] He, Haoyu, et al. "Mdpo: Overcoming the training-inference divide of masked diffusion language models." arXiv preprint arXiv:2508.13148 (2025).
[2] Xia, Kejing, et al. "MetaState: Persistent Working Memory Enhances Reasoning in Discrete Diffusion Language Models." arXiv preprint arXiv:2603.01331 (2026).
[3] Zhong, Linhao, et al. "Beyond Hard Masks: Progressive Token Evolution for Diffusion Language Models." arXiv preprint arXiv:2601.07351 (2026).
[4] Ye, Jiacheng, et al. "Dream 7b: Diffusion large language models." arXiv preprint arXiv:2508.15487 (2025).
[5] Cheng, Shuang, et al. "Sdar: A synergistic diffusion-autoregression paradigm for scalable sequence generation." arXiv preprint arXiv:2510.06303 (2025).
Questions
Please see weakness.
Limitations
Yes
Final justification
I find the new evidence reasonable to justify raising my score.
Formatting concerns
N/A
6 comments
Thank the authors for the response. While the rebuttal successfully clarifies the scope and several claims, it leaves the primary empirical concerns unaddressed. Key experimental gaps remain, notably the absence of a compute-matched MDLM baseline, a trajectory-only control (without fast weights), and broader evaluations across backbones and benchmarks. Consequently, my core concerns remains, and I maintain my original score.
Thank you for clarifying the remaining concerns. Since our initial rebuttal, we have run the two targeted controls requested in your review: a compute-matched Standard MDLM baseline and a trajectory-only baseline without fast weights. The results on LLaDA-MoE are shown below. All evaluations disable fast weights at inference, so the comparison isolates training-time effects from test-time adaptation.
| Method | Matching condition | Wall time | Steps | BABILong-2K | RULER-VT-8K |
|---|---|---|---|---|---|
| Standard MDLM | Submitted baseline | 0.47 h | 960 | 0.460 | 0.7884 |
| Standard MDLM | Wall-clock matched | 0.97 h | 1,960 | 0.510 | 0.8500 |
| Trajectory-Only | Outer-step matched; no fast weights | 0.93 h | 960 | 0.545 | 0.9000 |
| MemDLM (Train-Only) | Fast weights disabled at inference | 0.97 h | 960 | 0.594 | 0.9484 |
Compute-matched comparison. Giving Standard MDLM the same 0.97-hour training budget improves its performance from 0.460 to 0.510 on BABILong-2K and from 0.7884 to 0.8500 on RULER-VT-8K. Nevertheless, MemDLM Train-Only remains higher by 0.084 and 0.0984, respectively. Thus, the improvement cannot be explained by the submitted Standard baseline receiving only approximately half the wall-clock budget.
Trajectory-only control. This baseline uses the same nested pre-anchor and anchor states as MemDLM and directly optimizes the mean of their clean-token MDLM losses, but carries no sample-specific fast state. At the same 960 outer steps and nearly the same wall-clock cost, it obtains 0.545/0.9000, compared with 0.594/0.9484 for MemDLM Train-Only. The corresponding gains of 0.049 and 0.0484 isolate an additional benefit from sequential fast-weight conditioning. We therefore agree that multi-noise supervision contributes to the overall improvement, but it does not account for the full gain.
We agree that the third concern—evaluation on additional backbones and standard short-context reasoning/coding benchmarks—remains open. The current evidence covers two distinct backbones and, through LongBench, 12 long-context tasks spanning QA, retrieval, summarization, classification, and code-completion-style evaluation. However, it does not establish preservation on GSM8K, MATH-500, HumanEval, or MBPP, nor generalization to Dream or SDAR. We will state this limitation explicitly and narrow the generality claim accordingly.
We hope these new controls directly resolve the two empirical attribution gaps concerning compute matching and trajectory-only supervision, while we acknowledge that broader backbone and short-context evaluation remains an important direction for future work. We would be grateful if the reviewer could reconsider the assessment in light of this new evidence.
- Rating
- 4/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
This paper proposes MemDLM, a novel architecture designed to enhance the long-context performance of standard MDLM. To achieve this, the authors introduce a parametric memory mechanism that utilizes a second memory channel composed of fast weights. The model's training process is structured around a bi-level optimization strategy, which ensures stable learning for both the base model and the denoising trajectory. Through comprehensive experiments and ablation studies, the paper demonstrates that MemDLM effectively mitigates the exposure bias arising from the train-inference mismatch inherent in standard MDLMs. As a result, the proposed method achieves a significant and meaningful performance improvement over standard baselines on long-context benchmarks.
Strengths and weaknesses
Strengths
- MemDLM introduces a parametric memory mechanism to improve the long-context performance of the existing Standard MDLM, and this improvement demonstrates a significant margin.
- To implement the parametric memory mechanism, the authors introduce a second memory channel composed of fast weights, and they design stable training for both the base model and the denoising trajectory through bi-level optimization.
- Through various ablation studies and additional analyses such as Appendix C, the structural choices for MemDLM are justified. The paper experimentally confirms that MemDLM effectively mitigates the exposure bias caused by train-inference mismatch, verifying that the parametric memory mechanism operates as intended.
- The paper is well-written overall, and the detailed explanations of the experiments are thoroughly described.
Weakness
- Some parts of the motivation are difficult to accept. The authors cite train-inference mismatch and attention dilution in MDLM as motivations for MemDLM. While the former is experimentally shown to be mitigated by MemDLM, there is no analysis or design justification provided to explain exactly how MemDLM mitigates attention dilution.
- It is difficult to dismiss doubts regarding the fairness of the experiments. If my understanding is correct, the bi-level optimization of MemDLM requires backward passes for a single global update ( inner loops, outer loop). When comparing performance against baselines that require only a single backward pass, it is hard to determine whether MemDLM's performance improvement is simply due to having more updates, or if the methodology itself is genuinely effective.
- Some parts of the methodology are somewhat difficult to understand. Providing the source code would greatly help in comprehending the paper. For example, during the inner loop training in Eq. (5), is the [MASK] token also included as a target for prediction?
- There is no additional analysis demonstrating whether performance is maintained in general language tasks outside of the long-context setting.
Questions
- I acknowledge that the design of MemDLM properly implements the parametric memory mechanism and shows meaningful results on long-context benchmarks, and that Appendix C supports this by showing it mitigates the train-inference mismatch. However, on what grounds should we consider that MemDLM mitigates attention dilution in a long-context setting? (Lines 95-98) To make this claim, further analysis, whether empirical or theoretical, is required.
- MemDLM is separated into inner and outer loops, where the inner loop requires backward passes. Comparing this to baselines updated with only backward pass seems somewhat unfair. From this perspective, the observation that MemDLM achieves a lower training loss, and that the training loss decreases as increases, is actually quite natural. If the number of backward passes for the baselines and MemDLM were identical, does MemDLM still guarantee a significant performance improvement in long-context settings?
- In the process of Eq. (5), is the [MASK] token also a target for prediction?
- The train-inference mismatch can be viewed as a limitation of the MDLM framework itself, rather than a problem exclusive to long-context settings. Therefore, it is expected that MemDLM would also be effective in other language tasks. Are there any evaluation results for tasks other than the long-context setting?
- I think there is a similar concurrent work. Clarifying the differences in this paper would be helpful to the other readers: MetaState: Persistent Working Memory Enhances Reasoning in Discrete Diffusion Language Models (Xia et al.)
Limitations
yes
Final justification
Most of the concerns I raised during the review process have been addressed. I will raise my score to 4, on the condition that the additional validation conducted during the review process, the distinctions from prior work, and a clear framing of the paper’s contributions are properly reflected in the camera-ready version.
Formatting concerns
I couldn't find any paper formatting concerns in this draft.
4 comments
Rebuttal
We thank the reviewer for recognizing the meaningful long-context improvements and the evidence in the internal ablations. We agree that the current paper should be more precise about the attention interpretation, compute matching, and the target in Eq. (5).
1. Attention dilution and the Parametric Memory interpretation.
We agree that our present experiments do not directly establish a causal reduction in attention dilution: we did not measure attention entropy, task-relevant attention mass, or information flow. We will therefore replace the strong statement that MemDLM "mitigates attention dilution" with the narrower, evidence-supported statement that it provides a complementary parameter-space adaptation channel whose behavioral benefits are most visible on long-context tasks. Offloading memorization pressure from attention should be presented as an interpretation/hypothesis, not as a measured mechanism.
The term Parametric Memory is used operationally: the fast-weight contribution is reset to zero for each sample or prompt, updated only from that sample or prompt, and then changes prediction on it. Three existing observations support this interpretation:
- Re-enabling prompt-specific at inference improves every reported entry: entries in the main RULER/BABILong table, length-extrapolation entries, and LongBench entries.
- The location at which the same update is written matters: FFN-only adaptation in the last of layers obtains on BABILong-1K, versus for FFN+attention and for full-parameter adaptation.
- The Train-Only model, where is removed at inference, still improves every reported table entry over Standard MDLM. This shows that memory-conditioned training changes the learned base model rather than serving only as extra inference capacity.
These results support task-relevant information being carried by the fast state, but we agree that they are not a direct measurement of attention dilution.
2. Fairness of the optimization comparison.
The reviewer is correct that the default step contains two restricted inner backward passes plus the outer backward pass. Because the inner loop updates only FFN LoRA modules in the last of layers, the measured cost is , rather than , but matching outer steps alone is still insufficient.
We further checked the implementation of the plotted evaluation loss. The evaluation path invokes the same memory-enabled objective: it first adapts the fast weights using validation response labels and then computes the outer loss. It is therefore a diagnostic of the memory-conditioned training objective, not a target-free Train-Only metric directly comparable to Standard MDLM evaluation loss. We will remove the claim that the lower plotted loss by itself establishes faster generalization.
An exact Standard MDLM run trained for wall-clock is not present in the existing artifacts, so we cannot claim a fully compute-matched downstream result. We will state this limitation. The downstream ablations do show that more backward passes are not sufficient for better performance. On LLaDA-MoE/BABILong-1K, the default two-stage method costs and scores , whereas a four-stage version costs but scores only . Full-parameter inner adaptation costs and achieves a lower training loss, but its downstream score is only . This directly contradicts a monotonic "more updates better downstream performance" explanation, although it does not replace the missing matched Standard run.
An additional decomposition isolates the bilevel component from the multi-noise trajectory. Standard MDLM scores . The anchor-to-target-only variant removes the pre-anchor noise level but retains one fast-weight update on the same pair; it scores . Adding the second noise level gives the default . Thus fast-weight conditioning produces a large gain even without a multi-noise path, and the trajectory adds a further gain.
3. Is [MASK] a target in Eq. (5)?
No. The current equation contains a notation error, and we thank the reviewer for identifying it. The code computes cross-entropy against clean dataset labels and uses the current masked positions only as the loss mask. In the reported default student_masked mode, every position masked in the pre-anchor state is supervised with its corresponding clean token . The newly_revealed ablation instead supervises only positions masked in the pre-anchor state but visible in the anchor state; their targets satisfy . Therefore [MASK] is never a supervised class. The literal form of Eq. (5) is incorrect because using at positions that remain masked in would introduce [MASK] targets. We will correct the equation and add pseudocode.
4. What mismatch is reduced, and how does this relate to Figure 11?
MemDLM does not directly remove the on-policy state-distribution mismatch: its training states are nested ground-truth corruptions, while inference states may contain the model's own errors. The code also confirms that both default inner steps predict clean tokens, rather than training an actual transition. The narrower change is a single-state versus sequential-adaptation gap: instead of one isolated corruption, the base update is optimized after a fast state has been updated across two correlated noise levels. We will replace "simulated denoising trajectory" with "anchor-consistent multi-noise adaptation path."
Figure 11 is therefore a post-training robustness diagnostic, not evidence of direct exposure to self-generated states. Its sequential/static loss ratio measures the additional relative degradation caused by replacing a ground-truth-corrupted state with a self-generated state at the same mask ratio. At the final denoising point, this ratio decreases from for Standard MDLM to for Train-Only MemDLM, and to with inference adaptation. We will revise the motivation and caption to make this narrower interpretation explicit.
Train-Only and Train & Inference should also be viewed separately. Train-Only intentionally uses the inner loop as privileged training structure and removes at deployment. In Train & Inference, a fresh is adapted by masking and reconstructing the known prompt; no response target is used. Since prompt-side and response-side adaptation are not identical, we will present inference adaptation as an optional prompt-specific refinement rather than exact train--test interface matching.
5. General tasks and relation to MetaState.
LongBench includes non-synthetic long-context QA, passage retrieval, summarization, classification, and code-completion-style tasks; Train-Only improves all 12 reported entries. We agree that this does not establish preservation on short-context reasoning benchmarks such as GSM8K or MATH. We will state this scope explicitly rather than generalize beyond the current evaluation.
MetaState is closely related in motivation but different in mechanism. It introduces persistent fixed-size activation slots, recurrently updates them across denoising steps with Mixer/Updater/Injector modules, and keeps the backbone frozen. MemDLM uses transient LoRA parameter states, resets them per sample/prompt, and updates the base model through an outer objective. Consequently, MemDLM retains most of its gains when the memory is absent at inference, whereas MetaState studies a persistent decoding-time memory module. We will add this comparison and position the papers as complementary approaches to cross-step information preservation.
Thank you for the detailed and candid rebuttal. The clarification of the targets in Eq. (5) is helpful. The distinction between on-policy state-distribution mismatch and the narrower gap between single-state training and sequential adaptation is also valuable. The revised positioning of attention dilution as an interpretation rather than a demonstrated mechanism is more appropriate. However these responses mainly clarify or narrow the original claims rather than provide new evidence that resolves my central concerns.
The key optimization fairness question remains open. The ablations show that additional backward passes do not monotonically improve performance. However they do not establish whether MemDLM still outperforms Standard MDLM under a matched 2.1× wall-clock budget or a comparable gradient compute budget. The anchor-to-target-only ablation is informative but does not fully isolate the effect of fast-weight adaptation from that of multi-noise supervision. I also believe the paper should be revised consistently with the rebuttal, particularly regarding attention dilution, the simulated trajectory interpretation, and the evaluation loss claims.
I appreciate the authors’ transparency and believe the method is promising. However the main concerns regarding empirical attribution and comparison fairness remain unresolved. I therefore plan to maintain my current score of 3. I would be open to further discussion if the authors can provide additional evidence that directly addresses these remaining concerns.
Thank you for identifying the two remaining evidence gaps. We ran the direct controls on LLaDA-MoE under the matching conditions below. All four rows disable fast weights at inference, so the comparison does not mix training effects with test-time adaptation.
| Method | Matching condition | Wall time | Steps | BABILong-2K | RULER-VT-8K |
|---|---|---|---|---|---|
| Standard MDLM | Submitted | 0.47 h | 960 | 0.460 | 0.7884 |
| Standard MDLM | Wall-clock matched | 0.97 h | 1,960 | 0.510 | 0.8500 |
| Trajectory-Only | Outer-step matched; no fast weights | 0.93 h | 960 | 0.545 | 0.9000 |
| MemDLM Train-Only | Fast weights disabled at inference | 0.97 h | 960 | 0.594 | 0.9484 |
Compute matching. Giving Standard MDLM the same 0.97 h budget improves it from 0.460 to 0.510 on BABILong-2K and from 0.7884 to 0.8500 on RULER-VT-8K. MemDLM Train-Only nevertheless remains higher by 0.084 and 0.0984, respectively. Thus the gains are not explained by the original Standard baseline receiving only about half the wall-clock budget.
Fast weights versus multi-noise supervision. Trajectory-Only uses the same nested pre-anchor and anchor states and directly optimizes the mean of their clean-token MDLM losses, but carries no sample-specific fast state. At the same 960 outer steps, it obtains 0.545/0.9000, whereas MemDLM Train-Only obtains 0.594/0.9484. The corresponding margins are 0.049 and 0.0484. We therefore agree that multi-noise supervision contributes to the improvement, but it does not account for the full gain: sequential fast-weight conditioning provides an additional benefit under the targeted control.
We also agree that the paper must be revised consistently with the discussion. We will present attention dilution only as a hypothesis rather than a demonstrated mechanism; replace "simulated denoising trajectory" with "anchor-consistent multi-noise adaptation path"; correct the targets in Eq. (5) and add pseudocode; distinguish the remaining on-policy state-distribution gap from the narrower single-state/sequential-adaptation gap; and remove the claim that the memory-conditioned evaluation-loss curve establishes target-free generalization. We hope these direct controls address the optimization-fairness and attribution concerns that remained after our initial response.
Thank you for sharing the empirical results. These experiments appear to have addressed my concern regarding the fairness of the comparison to some extent. I expect the framing and contributions of the paper to be revised thoroughly and clearly in the camera-ready version, as this remains an important issue. I will therefore raise my score from 3 to 4.
- 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
The paper claims to address two issues in diffusion language models: (i) train-inference mismatch and (ii) long-context attention dilution. It proposes modifying long-context post-training by first updating fast-weight LoRA parameters with a simulated denoising trajectory, and then updating the base model conditioned on these LoRA weights. The method reports improvements on long-context benchmarks using two open-source diffusion language models across different context lengths, and includes ablation studies on multiple components of the method.
Strengths and weaknesses
Strengths
-
Well-motivated problem. The paper targets two real issues in MDLMs: the train-inference mismatch between single-step masked training and multi-step denoising inference, and the difficulty of preserving long-context information purely through token-space attention.
-
Consistent and sizable gains. The main results show a clear trend: Standard MDLM < MemDLM Train-Only < MemDLM Train & Inference across most RULER and BABILong settings.
-
Detailed Ablation study. The paper ablates many important components, including inner-loop supervision losses, adaptation scope, trajectory consistency, the two inner-loop stages, number of pre-anchor steps, inference anchor ratio, gradient normalization, and training overhead.
Weakness
-
Limited baseline comparison. The paper only compares against vanilla Standard MDLM. While the related work mentions several methods that also address the DLM train-inference gap like MDPO, none are used as baselines.
-
Missing parallel decoding setting. The paper sells parallel decoding as one of the major advantages of dllm but only does the evaluation with the non-parallel decoding, i.e. "one token each step". Furthermore, their backbone models like LLaDA 2.1 does report parallel decoding performance with different TPF (tokens per forward).
-
Inference speed implication underreported. For dllm, decoding speed is an important metric. The method can re-enable the inner loop at inference, which requires prompt-side LoRA/fast-weight adaptation. This likely adds latency and reduces inference throughput. But the implication on decoding speed is underreported.
-
No repeated runs. All reported experiments appear to be single-run results. The paper does not report standard deviations, confidence intervals, or multiple seeds.
-
Rough presentation The paper is presented in a less prepared way. Figure 3-10 use fonts much smaller than main text which are very hard to read. Some table references like “table 3” are lower-cased and unlinked. These oversights weaken the completeness of the paper.
Questions
Why are no train-inference-gap baselines, such as MDPO, compared beyond vanilla Standard MDLM? Why is parallel decoding not evaluated, given that it is presented as a major advantage of DLLMs?
Limitations
See Weaknesses
Final justification
The explanations provided by the authors are reasonable and partially solved my concerns.
Formatting concerns
None
2 comments
Rebuttal
We thank the reviewer for recognizing the consistent gains and the breadth of the ablations. We agree that the baseline positioning, decoding setting, latency implications, and presentation should be stated more carefully.
1. Why no MDPO or other train--inference-gap baseline?
We agree that the current paper should distinguish more clearly between related methods and should not imply empirical superiority over methods that were not directly compared.
MDPO and MemDLM target different parts of the gap. MDPO collects model-generated, on-policy denoising trajectories and applies reinforcement learning with intermediate rewards; it directly addresses the on-policy state/schedule mismatch and is evaluated primarily on verifiable reasoning tasks. MemDLM uses supervised ground-truth corruption on long-context instruction data and studies a different mechanism: transient fast weights followed by a memory-conditioned outer update. Our training states therefore do not reproduce MDPO's on-policy states. A direct comparison would require aligning the reward-bearing dataset, backbone, rollout budget, and optimization regime, and the present experiments do not provide that comparison. We will explicitly present its absence as a limitation and avoid a state-of-the-art claim over gap-reduction methods.
The same clarification applies to two other closely related works. EvoToken-DLM changes the token-space process itself by replacing hard masks with evolving soft token distributions and applying continuous trajectory supervision. MetaState adds persistent recurrent activation memory across denoising steps. MemDLM leaves hard-mask diffusion unchanged and instead writes local information into a transient parameter state, while meta-updating the base model so that most gains remain when that state is absent at inference.
The existing ablations nevertheless isolate the role of the proposed mechanism relative to multi-noise supervision. On LLaDA-MoE/BABILong-1K:
- Standard MDLM: .
- Anchor-to-target-only: . This removes the pre-anchor noise level and hence the multi-noise path, but retains one fast-weight update on the same pair.
- Default two-stage MemDLM: .
Thus the bilevel fast-weight mechanism produces a large gain without a multi-noise trajectory, and adding the local trajectory provides a further gain. Moreover, a four-stage version uses more compute and attains a lower training loss, but its downstream score falls to . These results argue against explaining the improvement solely by extra denoising supervision or more optimization.
There is also a mathematical reason that a no-fast-weight version of our ground-truth trajectory is limited. Without an evolving fast state, direct training simply combines one ordinary MDLM loss at with another at . No state carries the ordering between these losses, so their expected gradient is a mixture of ordinary MDLM gradients under two timestep distributions. The remaining distinction is timestep reweighting or extra correlated MDLM updates, rather than trajectory memory. We will make this decomposition and our novelty claim explicit.
2. Parallel decoding.
All methods in our experiments use the same one-token-per-step schedule. We chose this controlled setting to isolate the training/adaptation method from tokens-per-forward (TPF), remasking, and block-size effects. The paper's statement that DLMs in general support parallel decoding was not intended to claim that MemDLM had been validated under multiple TPF settings. We agree that the present wording can create that impression.
MemDLM does not alter the decoding transition or impose a one-token restriction, so Train-Only is structurally compatible with parallel unmasking. However, compatibility is not empirical validation. We will explicitly state that TPF was not evaluated, narrow the claim, and list interaction with parallel decoding as future work.
3. Inference latency and throughput.
The two operating modes have different implications:
- Train-Only discards all fast weights and uses exactly the same decoding procedure and number of denoising forwards as Standard MDLM. It therefore has no method-induced inference overhead, while retaining most of the reported gains.
- Train & Inference performs two prompt-side fast-weight updates before generation. These require backward computation and add prompt-dependent prefill latency, but do not add an inner loop at every decoding step. This mode is optional and provides a smaller incremental gain over Train-Only.
We agree that the paper currently underreports this tradeoff. We will avoid implying latency equivalence for Train & Inference, clearly separate pre-generation adaptation latency from decoding throughput, and emphasize Train-Only for latency-sensitive use. Since we did not evaluate adaptation during decoding, no claim is made about that setting.
4. Compute fairness.
Although not the reviewer's primary question, this issue is related to the baseline concern. The default method costs wall time because its two inner backward passes update only FFN LoRA modules in the last of layers. An exact Standard MDLM run trained for this wall-clock budget is not available, and we will not treat equal outer steps as compute matching.
The existing ablations provide a narrower observation: compute is not sufficient for downstream performance. The default two-stage method costs and scores on BABILong-1K, whereas a four-stage version costs but scores , and full-parameter adaptation costs but scores . We will report this non-monotonicity, remove the faster-convergence claim based on the memory-conditioned loss curve, and explicitly acknowledge the missing compute-matched Standard run.
5. Repeated runs and presentation.
The reported training results are single-run results. We agree that repeated seeds would provide stronger uncertainty estimates, and we will state the single-run status and resulting limitation explicitly. The evaluation sets contain many examples, but this does not replace training-seed variance.
We also agree with the presentation comments. We will enlarge the fonts in Figures 3--10, use consistent capitalization ("Table"), restore cross-references/hyperlinks, and proofread the figure and table references. These changes do not affect the method or results but will materially improve readability.
The explanations are reasonable for me. I will raise the score.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We thank the reviewer for the careful assessment and for recognizing the consistent gains across two backbones and the breadth of the internal ablations. We agree that the paper should distinguish more precisely between (i) denoising-process alignment, (ii) on-policy state-distribution alignment, and (iii) the effect of fast-weight conditioning. We address these points below.
1. Which train--inference mismatch is reduced?
Our current wording is too broad. MemDLM does not directly eliminate the on-policy state-distribution gap: the training states xt and xtpre are nested corruptions of ground-truth x0, whereas inference states may contain the model's own errors. We will state this limitation explicitly.
The implementation also clarifies an imprecision in our trajectory terminology. Under the reported default
student_maskedmode, the first inner update reconstructs clean response tokens from the pre-anchor state, and the second reconstructs clean response tokens from the anchor state. The target of the first update is not the masked anchor sequence itself. Thus, the method should be described as an anchor-consistent multi-noise adaptation path, along which the fast state evolves from ϕ0 to ϕ1 to ϕ2, rather than as an actual rollout from xtpre to xt to x0.The narrower mismatch addressed is therefore the single-state versus sequential-adaptation gap. Standard MDLM optimizes θ from one independently sampled masked state. MemDLM updates a sample-specific fast state across two correlated noise levels before updating θ on the anchor state. It introduces sequential, stateful training structure, but it neither uses model-generated states nor exactly reproduces the inference transition. We will revise "simulated denoising trajectory" accordingly.
Figure 11 should consequently be read as a post-training rollout-robustness diagnostic, not as evidence that MemDLM was trained on self-generated states. At the final denoising point, the reported sequential/static loss ratio decreases from 27.54 for Standard MDLM to 10.04 for MemDLM (Train-Only), and to 9.22 with inference adaptation. The Train-Only result is important: although it never receives self-generated states during training and has no fast weights at inference, its learned base model suffers substantially less relative degradation when evaluated on self-generated states. We will revise the text and caption to make both the scope and normalization of this diagnostic explicit.
The two inference modes should also be separated conceptually:
2. Compute and supervision fairness.
We agree that matching only the number of outer updates is insufficient. We also checked the implementation of the plotted validation loss:
prediction_step()calls the same memory-enabledcompute_loss(), which first adapts the fast weights using the validation response labels and then evaluates the outer loss. It therefore monitors the memory-conditioned training objective and is not a target-free Train-Only metric comparable to Standard MDLM validation loss. We will remove the faster-convergence/generalization claim based on this loss comparison rather than use it as compute-matched evidence.An exact Standard MDLM run trained for the default MemDLM wall-clock budget is not among the existing artifacts, so we cannot claim a fully compute-matched downstream comparison. We will state this limitation explicitly. The existing downstream ablations nevertheless show that extra computation is not sufficient to explain the gains. On LLaDA-MoE/BABILong-1K:
Increasing inner computation from two to four stages lowers the training loss but reduces downstream accuracy from 0.684 to 0.590. Likewise, full-parameter adaptation obtains a lower training loss than the restricted fast-weight update but a substantially worse downstream score. Therefore, neither backward-pass count nor stronger inner optimization is monotonically associated with the reported downstream improvement.
3. Separating fast-weight conditioning from multi-noise supervision.
The reviewer is correct that this decomposition should be made more explicit. The existing anchor-to-target-only ablation removes the pre-anchor noise level, while retaining one fast-weight update on the same xt→x0 denoising pair used by the outer objective. It improves BABILong-1K from 0.538 to 0.646. Adding pre-anchor clean-token reconstruction then improves it further to 0.684. On this targeted ablation, fast-weight bilevel conditioning therefore accounts for +10.8 points, while the additional noise level contributes a further +3.8 points.
There is also a useful mathematical clarification about the proposed "trajectory-only" control under our actual clean-token targets. If the fast state is removed, direct training simply combines one ordinary MDLM loss at xt with another ordinary MDLM loss at xtpre, with a scalar weight between them. Because no sample-specific state is carried between the two losses, their expected gradient is a mixture of ordinary MDLM gradients under two timestep distributions; if the losses are applied sequentially, they are instead extra Standard-MDLM updates on correlated masked samples. The remaining distinction is timestep reweighting, not trajectory memory. We will explain this rather than claim an unperformed empirical comparison. The anchor-to-target-only result complements this observation by empirically showing that bilevel fast weights are useful even without a multi-noise path.
4. Target definition in Eq. (5).
The current equation is ambiguous, and we thank the reviewer for exposing it.
[MASK]is never a prediction target in the reported implementation. The code computes cross-entropy against the clean dataset labels and uses the current masked positions only as the loss mask. In the defaultstudent_maskedmode, every position masked in the pre-anchor state is supervised with its corresponding clean token x0i. In thenewly_revealedablation, supervision is restricted to positions masked in the pre-anchor state but visible in the anchor state; their targets still satisfy xti=x0i. The literal form of Eq. (5) is therefore a notation error: using xti as the target at positions that remain masked in xt would incorrectly introduce[MASK]targets. We will correct the equation and add explicit pseudocode.5. Relation to MDPO, MetaState, and EvoToken-DLM.
These works address adjacent but distinct axes:
We will emphasize that the primary novelty is the bilevel fast-weight mechanism, not the general observation that multi-step DLM training is useful, and we will not claim empirical superiority over these methods without a direct comparison.
6. Evaluation scope and variance.
LongBench already broadens the evaluation beyond synthetic retrieval to QA, passage retrieval, summarization, classification, and code-completion-style long-context tasks, with Train-Only improving all 12 reported entries. However, it does not replace short-context GSM8K/MATH/HumanEval/MBPP evaluation. We agree that broader backbones and repeated training seeds would strengthen the study; the present results are single-run training results on two backbones, and we will state this explicitly and narrow the generality claim. We understand these as limitations rather than evidence against the mechanism established by the two-backbone results and targeted ablations.