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

Yuki Ichihara, Naoto Iwase, Mohammad Atif Quamar, Junpei KomiyamaarXiv 2026

TL;DR

The paper introduces Prefix-Denoising Consistency (PDC), a novel test-time self-verification method designed specifically for Diffusion Language Models (DLMs). By keeping a portion of an initial generated answer (the prefix) and regenerating the rest (the suffix) at varying lengths, PDC exploits a unique "reproduction gap"—the tendency for correct reasoning paths to be highly stable and reproducible compared to incorrect ones. A majority vote over these regenerated suffixes consistently corrects errors and boosts model accuracy across math and commonsense reasoning benchmarks.

What Problem Does This Paper Address?

Diffusion Language Models (DLMs) generate text globally through iterative denoising rather than strictly left-to-right like traditional Autoregressive (AR) models. While DLMs are highly competitive, they face a unique challenge at inference time: to achieve optimal accuracy, they are typically decoded at very low temperatures.

This low-temperature decoding creates a bottleneck for test-time verification. In AR models, techniques like Self-Consistency work by sampling multiple independent reasoning paths at higher temperatures and taking a majority vote. For DLMs, however, low-temperature decoding means independent runs follow nearly identical denoising trajectories, yielding little to no diversity. Existing DLM-specific verification methods try to exploit internal states within a single trajectory, but if the model gets locked into an erroneous reasoning path early on, it cannot branch out to fix it.

Methods

PDC acts as a black-box, test-time primitive that introduces structured diversity by forcing the DLM to branch into alternative trajectories.

Given an initial generated output $y$, the PDC pipeline follows these steps:

  1. Prefix Splitting: The sentence is split at an intermediate position based on three fixed "keep rates" ($\rho \in \{0.1, 0.5, 0.9\}$). This covers weak, intermediate, and strong conditioning on the original text.
  2. Remasking & Suffix Regeneration: The exact prefix tokens are held fixed, while the remaining suffix positions within the fixed output window are remasked. The DLM then redoneises and regenerates these suffix tokens.
  3. Majority Voting: A final answer is selected via a majority vote over the three regenerated outputs only. Crucially, the initial answer is excluded from the vote to purely isolate the corrective power of the prefix-conditioned regeneration.
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}, 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.

Datasets

The authors evaluated PDC across five diverse benchmarks spanning mathematical and commonsense reasoning:

  • GSM8K, MATH-500, and SVAMP: Standard benchmarks for multi-step mathematical and arithmetic reasoning.
  • CSQA (CommonsenseQA): A multiple-choice commonsense reasoning dataset.
  • SQA (StrategyQA): A binary (yes/no) commonsense reasoning dataset requiring implicit strategy steps.

Key Insights and Ideas

  • The Reproduction Gap: The foundational insight of this work is that correct reasoning paths are highly stable under regeneration, whereas incorrect paths are fragile. If the initial answer is correct, regenerating the suffix will almost always yield the same correct answer ($R^+_\rho$ is high). If the initial answer is wrong, the model rarely repeats the exact same mistake ($R^-_\rho$ is low).
  • Error Correction via Suffix Refilling: When a model makes a local arithmetic or logical slip near the end of a generation, remasking the suffix allows it to recompute the conclusion using the correct context already established in the prefix.
  • Trapped Trajectory Escape: Unlike single-run temporal verification methods, PDC physically resets the denoising process for the unkept tokens, giving the model a clean slate to escape erroneous attractors in the probability space.
Reproduction rates across different models and datasets, illustrating the gap between correct-answer retention and same-wrong persistence

Key Results

PDC was evaluated against the initial generation baseline (INIT) and state-of-the-art temporal voting methods (TiF) using three prominent DLMs: Dream-7B, LLaDA-8B, and LLaDA-1.5.

  • Consistent Accuracy Boosts: As shown in the main results table, PDC achieved the best or tied-best accuracy in all 15 experimental settings, outperforming the initial generation baseline by up to +5.68 accuracy points.
  • Compute Efficiency: When compared against a standard self-consistency baseline that votes over four full independent generations (INIT x4), PDC achieved superior accuracy while consuming a significantly lower total denoising-step budget. For instance, on GSM8K with LLaDA-1.5, PDC outperformed INIT x4 by +9.25 points.
  • Robustness: The method proved robust across different token-unmasking strategies (entropy-based, low-confidence, random) and maintained its performance edge even under highly stochastic decoding conditions ($\tau = 1.0$).
Table 1: For each pair, we select the generation length that yields the highest INIT accuracy; this selection is based only on INIT and is not optimized for PDC. PDC attains the best or tied-best accuracy in all 15 settings and improves over the selected INIT baseline in 14 of them, with gains of up to +5.68 accuracy points. The full result is reported in Appendix C. Signed green/red values denote the advantage of the method relative to the selected INIT baseline. Bold indicates the best accuracy in each row, and an underline indicates the second best accuracy, with ties marked together.

Limitations and Future Work

While highly effective, the authors note a few limitations and areas for future exploration:

  • Stylized Theoretical Assumptions: The mathematical proof demonstrating the benefit of the reproduction gap assumes a simplified binary answer space and conditional independence between regenerations, which may not fully capture complex, open-ended generation spaces.
  • Inference Latency: Although more compute-efficient than generating full independent sequences, PDC still requires three partial regeneration passes, which increases test-time latency compared to a single forward generation.
  • Static Keep Rates: The use of fixed keep rates ($\rho \in \{0.1, 0.5, 0.9\}$) works well as a heuristic, but dynamically adjusting the prefix length based on token confidence scores could yield even better error-correction performance.

Summary updated

BibTeX
@misc{ichihara2026prefix,
  author = {Yuki Ichihara and Naoto Iwase and Mohammad Atif Quamar and Junpei Komiyama},
  title = {{Prefix-Denoising Consistency: Test-Time Verification for Diffusion Language Models}},
  year = {2026},
  eprint = {2608.25311},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.25311},
}
Figure