Reproduce “Thinking Inside the Mask: In-Place Prompting in Diffusion LLMs” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Xiangqi Jin, Yuxuan Wang, Yifeng Gao, Zichen Wen, Biqing Qi, Dongrui Liu, Linfeng Zhang

The ICE framework from Shanghai Jiao Tong University and Shanghai AI Laboratory enhances Diffusion Large Language Models (dLLMs) through in-place Chain-of-Thought prompting and a confidence-aware early exit mechanism. This method yielded accuracy improvements up to +17.29% on GSM8K and inference speedups reaching 276.67x on MMLU, often alongside performance gains.

Key insights

  • dLLMs' inherent bidirectional attention and iterative refinement enable a dynamic, co-refinement process where reasoning and answers evolve in parallel, moving beyond the limitations of prefix-only prompting.
  • The model's confidence in answer tokens converges and stabilizes significantly earlier than its explicit reasoning trace, indicating a 'decoupling of solution finding from explanation generation' within dLLMs.
  • Token-level analysis revealed that numerical token stabilization is a primary driver of confidence jumps, suggesting a hierarchical convergence where quantitative results are established before explanatory scaffolding is fully refined.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.