AI
Diffusion Models Get Smarter at Test Time by Stitching Together Best Reasoning Steps
A new framework recombines high-quality intermediate steps from multiple diffusion-sampled reasoning attempts to solve math and coding problems faster and more accurately.
Researchers have developed a method that reimagines how to extract value from multiple reasoning attempts in language models by working at the step level rather than comparing whole solutions.
The core insight behind the approach is that when language models generate chains-of-thought reasoning, earlier attempts often contain some correct reasoning steps even if their final answers are wrong. Rather than simply picking the best complete trace or voting on answers, the new framework salvages these intermediate pieces of work.
How It Works#
The system, called Stitching Noisy Diffusion Thoughts, operates through three main stages:
- Sampling: Generate many diverse reasoning trajectories cheaply using a masked diffusion language model
- Scoring: Evaluate every intermediate step with a process reward model (which judges reasoning quality, not just final correctness)
- Stitching: Assemble the highest-scoring steps across different attempts into a single composite rationale, then solve only the final answer using this reconstructed reasoning path
This modular design separates exploration from evaluation, avoiding the need for hybrid architectures that try to do everything at once.
Performance Gains#
Testing on six math and coding benchmarks, the approach achieved accuracy improvements of up to 23.8%, with the gains being most pronounced on harder problems. Importantly, the method also cut latency by up to 1.8x compared to existing diffusion models and unified reasoning architectures. The framework requires no additional training.
Ablation studies revealed that the final solver—the component that converts an assembled (but potentially imperfect) stitched rationale into a correct answer—plays a critical role in translating step-level improvements into end-to-end accuracy gains.

