paper-with-me

홈 › Papers

No Compute Left Behind: Rethinking Reasoning and Sampling with Masked Diffusion Models

2025-10-22 · Zachary Horvitz, Raghav Singhal, Hao Zou, Carles Domingo-Enrich, Zhou Yu, Rajesh Ranganath, Kathleen McKeown arxiv

Masked diffusion language models (MDLMs) are trained to in-fill positions in randomly masked sequences, in contrast to next-token prediction models. Discussions around MDLMs focus on two benefits: (1) any-order decoding and 2) multi-token decoding. However, we observe that for math and coding tasks, any-order algorithms often underperform or behave similarly to left-to-right sampling, and standard multi-token decoding significantly degrades performance. At inference time, MDLMs compute the conditional distribution of all masked positions. A natural question is: How can we justify this additional compute when left-to-right one-token-at-a-time decoding is on par with any-order decoding algorithms? First, we propose reasoning-as-infilling. By using MDLMs to infill a reasoning template, we can structure outputs and distinguish between reasoning and answer tokens. In turn, this enables measuring answer uncertainty during reasoning, and early exits when the model converges on an answer. Next, given an answer, reasoning-as-infilling enables sampling from the MDLM posterior over reasoning traces conditioned on the answer, providing a new source of high-quality data for post-training. On GSM8k, we observe that fine-tuning LLaDA-8B Base on its posterior reasoning traces provides a performance boost on par with fine-tuning on human-written reasoning traces. Additionally, given an answer, reasoning-as-infilling provides a method for scoring the correctness of the reasoning process at intermediate steps. Second, we propose multi-token entropy decoding (MED), a simple adaptive sampler that minimizes the error incurred by decoding positions in parallel based on the conditional entropies of those positions. MED preserves performance across benchmarks and leads to 2.7x fewer steps. Our work demonstrates that the training and compute used by MDLMs unlock many new inference and post-training methods.

📄 PDF Abstract BibTeX arXiv:2510.19990

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Rethinking the Role of Prompting Strategies in LLM Test-Time Scaling: A Perspective of Probability Theory

2025-05-16 · Yexiang Liu, Zekun Li, Zhi Fang, Nan Xu 외

Recently, scaling test-time compute on Large Language Models (LLM) has garnered wide attention. However, there has been limited investigation of how various reasoning prompting strategies perform as scaling. In this pape…

Adaptive Rectification Sampling for Test-Time Compute Scaling

2025-04-02 · Zhendong Tan, Xingjun Zhang, Chaoyi Hu, Yancheng Pan 외

The newly released OpenAI-o1 and DeepSeek-R1 have demonstrated that test-time scaling can significantly improve model performance, especially in complex tasks such as logical reasoning. Common test-time scaling methods i…

GSM8KLogical Reasoning

Explore Data Left Behind in Reinforcement Learning for Reasoning Language Models

2025-11-06 · Chenxi Liu, Junjie Liang, Yuqi Jia, Bochuan Cao 외 arxiv

Reinforcement Learning with Verifiable Rewards (RLVR) has emerged as an effective approach for improving the reasoning abilities of large language models (LLMs). The Group Relative Policy Optimization (GRPO) family has d…

Reinforcement LearningMathematical Reasoning

A Scoping Review of Internal Migration and Left-behind Children's Wellbeing in China

2023-05-07 · Jinkai Li

Children's well-being of immigrants is facing several challenges related to physical, mental, and educational risks, which may obstacle human capital accumulation and further development. In rural China, due to the restr…

Rethinking Optimal Verification Granularity for Compute-Efficient Test-Time Scaling

2025-05-16 · Hao Mark Chen, Guanxi Lu, Yasuyuki Okoshi, Zhiwen Mo 외

Test-time scaling (TTS) has proven effective in enhancing the reasoning capabilities of large language models (LLMs). Verification plays a key role in TTS, simultaneously influencing (1) reasoning performance and (2) com…