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:
- 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.
- 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.
- 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.
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.
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$).
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