- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper studies variable-length infilling in masked diffusion language models (DLMs), where the infilling length must be specified before decoding. The authors observe that the first-step denoising confidence over a fully masked block contains two signals: an "Oracle Peak" near the ground-truth length and a monotonic "Length Bias" that increasingly suppresses this peak as the candidate length grows. To address this issue, they fit a double-exponential bias function, normalize the first-step confidence by this bias estimate, and perform bidirectional hill-climbing to select the infill length before decoding. The resulting method, CAL, is training-free and incurs only a small number of additional first-step forward passes. Experiments on four DLMs across both text and code infilling benchmarks show consistent improvements over fixed-length decoding and an adaptive baseline.
Strengths and weaknesses
Strengths.
-
The main observation is simple and useful: first-step denoising confidence already contains a length signal, and much of the masking-length bias can be removed with a fitted decay curve. This gives a clean, training-free mechanism that is easy to add to existing DLM infilling pipelines.
-
The paper evaluates four DLMs across both text and code domains, includes effective ablations, and reports a diverse set of metrics. The cross-model and cross-domain transfer of a single bias curve is compelling evidence that the length bias is a general phenomenon.
Weaknesses.
-
For long-length infilling, the paper does not establish whether extra compute is better spent on length adaptation or on more decoding steps. The paper never reports the number of denoising steps used for decoding, and never compares CAL against a fixed but imperfect length decoded with the same extra compute spent on additional decoding steps. The paper also did not evaluate CAL on realistic long infilling tasks (e.g., around 200 tokens).
-
The multi-line code setting appears to starve the fixed-length baseline. The average oracle length is about 46.8 tokens, but the fixed grid stops at L=32, and Pass@1 is still increasing across tested length. Fixed lengths near and above the oracle, such as 48 and 64, would make the comparison convincing.
-
The headline "+47.7 pp" gain comes from the single-line case with a severely underestimated initial length and a short oracle length. Gains shrink at more conservative initial lengths and are marginal in text benchmarks. The method remains useful, but the typical-case significance is more incremental than the abstract framing suggests, especially given the roughly constant inference overhead.
-
The paper lacks a systematic analysis of the compute–performance trade-off. Since CAL's performance is closely tied to search-stage compute (e.g., increasing (D) may improve accuracy but also increases inference cost), this trade-off should be a central focus of the main text. Such an analysis is important for evaluating CAL's practicality in real-world deployment.
Questions
-
For long-length infilling, can the authors compare pass@1 of CAL's length adaptation against a fixed but imperfect length decoded with the same extra compute spent on additional decoding steps. Also state the number of denoising steps used for formal decoding. Showing whether marginal compute is better spent on length search or on decoding would directly strengthen the effectiveness of CAL on long tasks.
-
Please add fixed lengths near and above the multi-line oracle, such as 48 and 64. Does CAL still improves the baseline with suboptimal initial length, and by how much?
-
The current confidence score is averaged top-1 probability. Have you tested distribution-level alternatives such as entropy, self-certainty, or the top-1/top-2 probability margin?
-
Since the related work includes training-based variable-length DLM infilling, one such comparison or a careful cost discussion would help characterize CAL's trade-off: one-time training cost versus persistent per-sample inference overhead.
Limitations
yes
Paper formatting concerns
no
Final justification
The authors adequately addressed my concerns during the rebuttal. Overall, this is a good empirical study with potential for practical applications in DLM-based infilling tasks.
We thank the reviewer. We ran four additional experiments.
W1 - Long-length infilling. We evaluated 108 HumanEval Multi-Line examples whose ground-truth lengths are 160-240 tokens using LLaDA-Base. Fixed and CAL both start from L=200 ; CAL searches up to 256 using the original code-fitted B(L) without re-fitting.
CAL raises Pass@1 from 20.37% to 40.74% with about 7% more forwards and wall time. Despite its similar mean length, CAL changes the canvas on 95/108 examples. The mean absolute change is 4.06 tokens, with selected lengths of 184-217. The 76.85% reference-length result shows that this backbone can solve many 160-240-token cases. Absolute span length is therefore not the only bottleneck. Initialization and search range also matter: with the original Linit=32,Lmax=128 , CAL selects 36.04 tokens on average and at most 91 on this subset. CAL can refine a canvas initialized near 200, but cannot bridge the gap from 32 to about 200. We will revise the discussion of Appendix Table 11 to state this boundary instead of an absolute “ >50 tokens” threshold.
W4/Q1 - Compute-matched search versus additional decoding. The sampler uses S=L by default. Once S≥L , extra steps release no tokens and do not change the output. Thus, reallocating the 200-token experiment's 14 search forwards to S>200 would be a null baseline. We instead use the standard HumanEval Single-/Multi-Line tasks with LLaDA-Base and Linit=32 . Starting from S=16 , we spend about 16 extra forwards on either S=32 decoding or CAL search with S=16 .
Using the displayed values, the extra budget gives 4.39/2.73 points through decoding and 7.39/5.56 through search. At about 32 total forwards, CAL exceeds Fixed-full by 3.00/2.83 points with similar wall time. We will report search, decoding, and total forwards and frame efficiency as a quality-compute trade-off. In Appendix H.2, Table 16, Single-Line at Linit=8 gives 71.4/74.4/74.4 Pass@1 with 7.3/12.2/14.4 search forwards for D=2/4/5 . This shows both the gain and its saturation.
W2/Q2 - Stronger Multi-Line fixed lengths. The original grid did not cover lengths near the average ground-truth length. We added L=48,64 for both LLaDA-Base and LLaDA-Instruct.
Gains use unrounded scores. Stronger fixed lengths narrow the gain, but CAL still improves all four settings by 1.54-3.20 points. We will present CAL as per-example adaptation when the length is unknown, not as a large gain over every fixed length.
W3 - Headline gain. We agree that +47.7 points is the maximum pointwise gain, not a typical gain. We will say so and moderate the abstract. In Table 2, the LLaDA-Base averages over L=4,8,16,32 rise from 44.8% to 65.4% on Single-Line and from 15.4% to 24.3% on Multi-Line. The stronger L=48,64 baselines in R3-W2/Q2 give gains of 1.54-3.20 points. For text, we will report the Table 3 per-domain average gains: 2.1-4.5 BLEU-2 and 3.2-4.5 ROUGE-L points.
Q3 - Alternative confidence scores. We compare top-1 with the top-1/top-2 margin and entropy certainty 1−H(p)/log∣V∣ . Each alternative uses its own curve fitted on the same 100 examples. Only length search changes; formal decoding retains the original remasking rule.
All three trends fit well ( R2=0.9955/0.9910/0.9987 ). Margin is comparable to top-1. Entropy improves the mean by 1.15 points but is worse at Linit=32 . We will keep top-1 as the simple default and report entropy as promising but not uniformly better.
Q4 - Comparison with training-based DreamOn. We thank the reviewer for suggesting this comparison and will add the following discussion to the main text. DreamOn (Wu et al., 2026) adds
[expand]and[delete]states. For code, it separately fine-tunes three backbones on about 110K Python pairs for 10 epochs. It reports about 5 hours on 8 H800 GPUs, or roughly 40 H800 GPU-hours and 0.15% of base-model pretraining compute. Its text experiment separately fine-tunes Dream-7B on ROCStories. This is an amortizable one-time cost, but the reported protocol uses model- and domain-specific training. CAL changes neither model nor tokenizer and reuses one code-fitted curve across three text domains. Its cost is instead per-sample search: 11-18 probes in the original experiments and 13.93 probes in the long-span test, where total forwards and wall time rise by about 7% over Fixed-200. Because the hardware and protocols differ, we will present this as a qualitative training-versus-inference trade-off, not a break-even or direct performance comparison.