Test-Time Scaling with Diffusion Language Models via Reward-Guided Stitching

Roy Miles, Aysim Toker, Andreea-Maria Oncescu, Songcen Xu, Jiankang Deng, Ismail Elezi · DOI

TL;DR

Stitching Noisy Diffusion Thoughts (SNDT) is a training-free framework that boosts LLM reasoning by harvesting high-quality intermediate steps from multiple "noisy" diffusion-generated paths. By using a Process Reward Model (PRM) to pick the best steps and an autoregressive (AR) solver to finalize the answer, it achieves up to a 23.8% accuracy boost and a 1.8x latency reduction compared to existing diffusion-based reasoning methods.

What Problem Does This Paper Address?

Reasoning in Large Language Models (LLMs) is notoriously "all-or-nothing." Current techniques like Self-Consistency or Verifier-based selection operate at the trajectory level: they generate several full chains-of-thought and either vote on the final answer or pick the single best-looking path.

The problem? If a 10-step reasoning path is brilliant for 9 steps but fails on the very last calculation, the entire trajectory is usually discarded. This is incredibly wasteful. The authors identify a gap: we need a way to salvage the "locally correct" sub-results buried within otherwise failing attempts. Furthermore, traditional autoregressive (AR) models are slow at exploring many paths because they generate tokens sequentially.

Methods

The authors propose a modular pipeline that decouples exploration from synthesis:

  1. Explore (Diffusion): Instead of slow AR decoding, they use a Masked Diffusion Language Model (like LLaDA or Dream). Diffusion models are excellent "exploration engines" because they can refine sequences in parallel, making it much cheaper to generate a diverse pool of candidate reasoning traces.
  2. Evaluate (PRM): Every intermediate step in every generated trace is scored using an off-the-shelf Process Reward Model (PRM). This provides a fine-grained, step-level view of quality.
  3. Stitch: The system selects all steps that exceed a certain confidence threshold and concatenates them chronologically into a "composite rationale." It also includes the single best full trace as an "anchor" to ensure the rationale remains grounded.
  4. Recompute (AR Solver): This stitched rationale—which might be redundant or slightly inconsistent—is fed into a lightweight AR model (the Solver). The solver’s job is to act as a reconciler: it sifts through the evidence, fills in gaps, and computes the final answer.

Datasets

The framework was evaluated in a strictly zero-shot setting across several demanding benchmarks:

  • Mathematics: GSM8K-CoT, MATH500 (a subset of the MATH dataset), and Countdown (a target-number arithmetic task).
  • Coding: HumanEval, HumanEval+, MBPP, and MBPP+.
  • Baselines: Compared against strong AR models (Qwen3, Phi-4) and recent hybrid diffusion-AR architectures like TiDAR.

Key Insights and Ideas

  • Step-Level Recombination is King: The "aha moment" is that the best reasoning isn't found in a single path, but is distributed across many. Recombining steps is significantly more effective than selecting the best full trajectory, especially on harder problems where a single error is likely to derail a long chain.
  • Diffusion as an Exploration Engine: Diffusion models are naturally suited for broad search. Because they are robust to noise, the authors found they could run the diffusion sampler at a lower confidence threshold (making it faster) without hurting final accuracy, as the PRM and Solver act as filters.
  • The Solver as a "Reconciler": The final AR stage isn't just "finishing" the thought; it's performing a reconciliation. It prioritizes high-confidence evidence and ignores conflicts, effectively "cleaning up" the messy, stitched-together rationale.
  • Training-Free Scaling: Unlike many recent "hybrid" models that require complex co-training of diffusion and AR components, SNDT is entirely training-free and uses off-the-shelf components.

Key Results

  • Accuracy Jumps: SNDT outperformed vanilla diffusion baselines by an average of 23.9 percentage points in the 8B parameter setting.
  • State-of-the-Art for Diffusion: It exceeded the performance of recent unified architectures like TiDAR by +7.1 points.
  • Efficiency Gains: The method achieved a 1.8x latency reduction compared to traditional diffusion models and required up to 9.85x fewer sequential forward passes than pure AR models to reach the same accuracy.
  • Pareto Improvement: On accuracy-vs-latency plots, SNDT consistently defines a better Pareto front, offering a "sweet spot" between the speed of diffusion and the precision of AR models.

Limitations and Future Work

  • Diversity Bottleneck: If the diffusion model is not diverse enough and all sampled traces share the same fundamental logical error early on, the "stitching" process cannot recover the correct answer.
  • PRM Dependency: The system's performance is heavily tied to the quality of the Process Reward Model. If the PRM is over-confident in a fluent but incorrect step, it can mislead the solver.
  • Fixed Budgets: The current implementation uses a fixed generation length for the diffusion traces; future work could explore dynamic length adjustment based on problem complexity.
  • Scaling the Solver: While a lightweight solver was used here, investigating how much a larger, more capable AR solver improves the "reconciliation" phase is a promising direction.

Summary updated

BibTeX
@inproceedings{miles2026test,
  author = {Roy Miles and Aysim Toker and Andreea-Maria Oncescu and Songcen Xu and Jiankang Deng and Ismail Elezi},
  title = {{Test-Time Scaling with Diffusion Language Models via Reward-Guided Stitching}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=54JyknakHB},
}
Figure