Prism: Efficient Test-Time Scaling via Hierarchical Search and Self-Verification for Discrete Diffusion Language Models
Jinbin Bai, Yixuan Li, Yuchen Zhu, Yi Xin, Qingyu Shi, Aosong Feng, Xiaohong Liu, Molei Tao, Jianru Xue, Xiangtai Li, Ming-Hsuan Yang
TL;DR
Prism tackles the challenge of test-time scaling for discrete diffusion language models by introducing Hierarchical Trajectory Search to adaptively allocate compute, Local Branching via partial remasking to preserve diverse yet coherent candidates, and Self-Verified Feedback to prune without external verifiers. The method delivers near-linear compute scaling, $C_{ ext{HTS}} \approx O(N + KT)$, and demonstrates substantial accuracy gains over single-trajectory decoding while matching or approaching Best-of-$N$ performance with far fewer denoising evaluations across math and code benchmarks on multiple dLLMs. Through extensive experiments, Prism shows robust improvements in GSM8K, MATH500, HumanEval, and MBPP with a favorable efficiency-accuracy trade-off, and SVF typically incurs minimal overhead compared to external verifiers. The work highlights how diffusion-aligned TTS can unlock strong reasoning capabilities in non-autoregressive LMs while reducing memory and compute demands, with code released for reproducibility.
Abstract
Inference-time compute has re-emerged as a practical way to improve LLM reasoning. Most test-time scaling (TTS) algorithms rely on autoregressive decoding, which is ill-suited to discrete diffusion language models (dLLMs) due to their parallel decoding over the entire sequence. As a result, developing effective and efficient TTS methods to unlock dLLMs' full generative potential remains an underexplored challenge. To address this, we propose Prism (Pruning, Remasking, and Integrated Self-verification Method), an efficient TTS framework for dLLMs that (i) performs Hierarchical Trajectory Search (HTS) which dynamically prunes and reallocates compute in an early-to-mid denoising window, (ii) introduces Local branching with partial remasking to explore diverse implementations while preserving high-confidence tokens, and (iii) replaces external verifiers with Self-Verified Feedback (SVF) obtained via self-evaluation prompts on intermediate completions. Across four mathematical reasoning and code generation benchmarks on three dLLMs, including LLaDA 8B Instruct, Dream 7B Instruct, and LLaDA 2.0-mini, our Prism achieves a favorable performance-efficiency trade-off, matching best-of-N performance with substantially fewer function evaluations (NFE). The code is released at https://github.com/viiika/Prism.
