# Test-Time Scaling for Diffusion Language Models with Frequency-Aware Remasking

DevFeed: [Test-Time Scaling for Diffusion Language Models with Frequency-Aware Remasking](<https://devfeed.tech/articles/test-time-scaling-for-diffusion-language-models-with-frequency-aware-remasking-125955.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.10486>)

Author: Bowen Zuo, Yue Yu, Dongruo Zhou, Yinglun Zhu

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [denoising](<https://devfeed.tech/tags/denoising.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [humaneval](<https://devfeed.tech/tags/humaneval.md>), [inference](<https://devfeed.tech/tags/inference.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [math](<https://devfeed.tech/tags/math.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [scaling](<https://devfeed.tech/tags/scaling.md>)

## AI overview

The proposed two-stage test-time scaling method first uses a fast sampler on easy questions, then applies frequency-aware remasking to harder ones. It tracks how often token predictions change during denoising and preferentially commits frequently changing tokens, aiming to explore alternative reasoning paths when instantaneous confidence or entropy may mislead. On LLaDA-8B-Instruct and Dream-7B-Instruct, it reports gains over an adaptive allocation baseline of up to 3.73 and 7.33 percentage points in MATH-500 accuracy, and up to 11.39 and 10.98 points in HumanEval coverage, respectively. For questions the base certainty-aware strategy did not solve after 100 samples, the method recovered solutions for 3.75%-18.75% of examples.

## Source excerpt

arXiv:2611.10486v1 Announce Type: cross Abstract: Diffusion language models (DLMs) generate text through iterative denoising, where decisions about which tokens to commit or remask strongly affect output quality. Existing certainty-aware strategies rely on instantaneous confidence or entropy, but these local signals can be misleading on difficult reasoning problems. We formulate DLM test-time scaling as adaptive allocation of both inference compute and decoding strategies. Our two-stage approach uses a fast base sampler to solve easy questions, then applies frequency-aware remasking to the remaining hard questions. This strategy tracks how often each token's prediction changes across denoising steps and preferentially commits frequently changing tokens, encouraging samples to explore alternative reasoning paths rather than collapse onto the model's preferred trajectory. Experiments with LLaDA-8B-Instruct and Dream-7B-Instruct show consistent improvements over a strong adaptive allocation baseline, with absolute accuracy gains of up to 3.73 percentage points (LLaDA) and 7.33 percentage points (Dream) on MATH-500, and absolute coverage gains of up to 11.39 percentage points (LLaDA) and 10.98 percentage points (Dream) on HumanEval. On questions unsolved by the base certainty-aware strategy after 100 samples, frequency-aware remasking recovers solutions for 3.75% to 18.75% of examples.