Navigation menu
Test-Time Scaling for Diffusion Language Models with Frequency-Aware Remasking
Test-Time Scaling for Diffusion Language Models with Frequency-Aware Remasking
Bowen Zuo, Yue Yu, Dongruo Zhou, Yinglun Zhu
2026-11-11▲ 8arXiv 2611.10486v1Hugging Face
AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.
TL;DR
A two-stage DLM test-time scaling method uses confidence-thresholding to solve easy questions, then applies frequency-aware remasking that commits frequently changing tokens first to recover hard questions.
Problem
Certainty-aware DLM decoding commits tokens using instantaneous confidence or entropy, but these local signals can be misleading on hard reasoning problems and can steer repeated samples to the same wrong answer. DLM performance also depends strongly on decoding strategy, and different strategies can solve different question subsets. The paper therefore treats DLM test-time scaling as adaptive allocation over both compute and decoding strategy, and asks what second decoding behavior should be used for unresolved questions.
Method
Frequency-aware remasking tracks, for each still-masked position, how often its predicted token changes across denoising steps; f_i is changes over max(N_i,1), includes the initial mask comparison, is kept per response and across blocks, and stops updating after commitment. It reverses certainty-aware order by committing frequently changing positions first so samples diverge at undecided positions. SAFE selects a high-frequency group at the largest adjacent raw-frequency gap subject to a size constraint, commits it only if consistent with the preceding step in the block, and otherwise falls back to the warm-up rule. The two-stage procedure first runs confidence-thresholding adaptive allocation, removes questions solved by an oracle, then applies the frequency-aware sampler only to remaining active questions. The frequency-aware sampler uses low-confidence warm-up for LLaDA and entropy-based warm-up for Dream, then SAFE in remaining denoising steps of each block.
Results
- Over a strong adaptive allocation baseline, frequency-aware remasking improves absolute accuracy on MATH-500 and absolute coverage on HumanEval for both models. §Abstract
- On challenging subsets unsolved by certainty-based decoding after 100 samples, frequency-aware remasking with 16 samples recovers coverage on MATH-500, HumanEval, and GSM8K. §5.3
- Random remasking solves almost none of the same challenging questions, except HumanEval with LLaDA at 2.60% coverage at 16 samples. §5.3
- In the GSM8K diagnostic, wrong answers repeat: a dominant wrong answer appears in at least 24/32 samples for 45.16% of questions and the same wrong answer appears in all 32/32 samples for 14.52%. §4.1
- On a 150-question hard MATH-500 subset with beta 0.7, stable-token commitment solves 0.00% while frequency-aware remasking solves 9.33%. §B
Limitations
- The paper states that the training-free framework introduces hyperparameters such as the warm-up ratio rho.
- The paper states that the signal tracks only changes in token identity, so it is most effective when difficulty stems specifically from false confidence.
- The paper states that the two-stage formulation is agnostic to the second-stage decoder, leaving richer signals and more adaptive commitment rules to future work.
- The paper states that experiments use batch size 1 due to GPU memory constraints, so batched scaling is not tested.
Key points
- Test-time scaling is framed as maximizing average performance over questions subject to a total compute budget and a choice of token update strategy for each question. §3.1
- Certainty-aware methods rank positions by confidence or entropy, but local certainty need not imply global correctness; the paper calls this failure mode false confidence. §3.2
- The GSM8K diagnostic shows repeated convergence to wrong answers on unsolved questions, consistent with false confidence rather than random failure. §4.1
- Change frequency is the number of observed proposal changes divided by max(N_i,1), includes the initial mask comparison, and is maintained per response across blocks until commitment. §4.2
- SAFE commits a high-frequency group defined by the largest gap between adjacent raw frequency levels under a size constraint only when it is consistent with the preceding step, otherwise it falls back to warm-up. §4.3
- The two-stage algorithm uses confidence-thresholding adaptive allocation first, removes solved questions via an oracle, and then applies frequency-aware remasking only to unresolved questions. §4.4
- Frequency-aware remasking yields up to 3.73% LLaDA and 7.33% Dream absolute accuracy gains on MATH-500 and up to 11.39% LLaDA and 10.98% Dream absolute coverage gains on HumanEval. §Abstract
- On questions unsolved by the base certainty-aware strategy even after 100 samples, frequency-aware remasking recovers solutions for 3.75% to 18.75% of examples. §5.3
Mind map
Sign In
Choose a method to continue
By signing in, you agree to our Terms and Privacy Policy

