Manuscript Offprint

arXiv:2608.25311

Prefix-Denoising Consistency: Test-Time Verification for Diffusion Language Models

Yuki Ichihara, Naoto Iwase, Mohammad Atif Quamar, Junpei Komiyama

ABSTRACT

Diffusion Language Models (DLMs) have recently become increasingly competitive with autoregressive (AR) models, and even outperform them on certain tasks. Unlike AR models, DLMs produce output through iterative denoising without a left-to-right order. To further improve the performance of DLMs, we introduce PDC (Prefix-Denoising Consistency), a test-time self-verification method for DLMs. PDC exploits a distinctive test-time signal in DLMs under prefix conditioned regeneration, correct trajectories are more stable and reproducible than incorrect ones. Concretely, given an initially generated sample, PDC splits the sentence at an intermediate position and regenerates the remaining tokens conditioned on the fixed prefix. Across mathematical reasoning and commonsense reasoning benchmarks, PDC consistently improves upon the initial sample, outperforms independent generations under a computational constrained comparison, and is robust to different unmasking strategies and parameter settings. These results highlight prefix-conditioned regeneration as an effective DLM-specific primitive for test-time verification.

Prefix-Denoising Consistency

Figure

Figure 1: Overview of Prefix-Denoising Consistency (PDC). Given an initial Diffusion Language Model output, PDC keeps exact prefixes at rates ρ∈{0.1,0.5,0.9}\rho \in \{0.1, 0.5, 0.9\}, remasks the remaining positions within the same length-L output, and regenerates them to obtain candidate answers. The final answer is selected by majority vote over the regenerated answers only; the initial answer is recorded for analysis but excluded from the vote.

1 INTRODUCTION

Diffusion Language Models (DLMs) (Nie et al., 2025; Zhu et al., 2025; Ye et al., 2025) have recently emerged as a compelling alternative to autoregressive (AR) Language Models (OpenAI, 2025; Qwen Team, 2025; NVIDIA, 2025). Unlike AR models, which generate tokens strictly from left to right, DLMs refine outputs through iterative denoising, enabling more global revision and potentially more parallel and efficient inference. Recent DLMs have shown competitive performance across a range of language and reasoning tasks (Gong et al., 2025; Fu et al., 2026), suggesting that diffusion-based generation can offer a promising new scaling direction beyond the standard AR paradigm.

Figure

Figure 2: Reproduction rates under ρ=0.5\rho = 0.5 regeneration. Green denotes correct-answer preservation R0.5+R_{0.5}^{+}, while red denotes same-wrong-answer preservation R0.5−R_{0.5}^{-}, across generation lengths L=128,256,512L = 128, 256, 512 on three math benchmarks. The gap R0.5+−R0.5−>0R_{0.5}^{+} - R_{0.5}^{-} > 0 shows that correct answers are more reproducible than wrong answers. Full results of reproduction rates, including CSQA and SQA, are reported in Appendix Table 4.

Compared to AR models, state-of-the-art DLMs are decoded at low temperature to obtain strong pass@1 accuracy. However, this also creates a challenge for test-time verification: due to the low temperature, repeated samples often have limited diversity, because the DLM can follow similar denoising trajectories and return the same answer. This makes a naive transfer of self-consistency from AR models less direct. In AR reasoning, self-consistency improves accuracy by sampling multiple reasoning paths and selecting the most frequent answer (Wang et al., 2023). For low-temperature DLM decoding, however, repeated full generations can result in near-identical denoising trajectories, so agreement among samples may overstate reliability rather than provide an independent check. Recent work (Wang et al., 2026a) addresses this issue by using temporal information (TIF) inside the unmasking process. TIF votes over answers extracted from the information of intermediate denoising steps, showing that the denoising trajectory contains a useful reasoning signal and can improve accuracy. However, TIF exploits consistency within a single denoising trajectory: it reuses intermediate states from one run rather than generating multiple alternative reasoning trajectories. By construction, it therefore cannot directly leverage the multi-trajectory self-consistency mechanism that makes majority voting effective in AR reasoning. TIF can exploit temporal fluctuations along that run, but it cannot branch into a new trajectory once the run becomes locked into an erroneous reasoning path.

To address this issue, we propose PDC (Prefix-Denoising Consistency). Starting from a completed output, it keeps an exact prefix, remasks the remaining positions, and re-denoises them at the same temperature. Repeating this intervention at several keep rates (i.e., amount of the prefix kept) produces structured alternative trajectories, whose extracted answers are aggregated by majority vote. This allows the model to revise errors in the original generation while preserving useful context from the initial solution.

Our contributions are:

• Prefix-conditioned regeneration. PDC is a test-time scaling method that holds exact prefixes inside a fixed output window, remasks the unkept positions, and votes only over regenerated answers. The initial answer is excluded to isolate the effect of prefix-conditioned denoising.

• Initially correct answers are more reproducible. Figure 2 shows that initially correct answers are more reproducible than initially wrong answers. This observation leads to our algorithm.

• Improved performance over the initial sample. In the full diffusion setting across math and commonsense benchmarks, PDC consistently improves over the initial sample and TIF.

• Compute efficiency and robustness analysis. We compare PDC to standard self-consistency (i.e., majority voting). We show that PDC outperforms majority voting with a smaller total denoising-step budget. We also conduct validation under different unmasking schemes and settings and observe improvements.

References (57)