arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.25014cs.LGcs.CC
收藏

扩散语言模型是可证明最优的并行采样器

Diffusion Language Models are Provably Optimal Parallel Samplers

Haozhe Jiang, Nika Haghtalab, Lijie Chen

AI总结:

本文证明了通过链式思维和修订,扩散语言模型能够以最优步骤和空间复杂度模拟并行采样算法,从而提升其作为高效并行采样器的理论基础。

摘要:

扩散语言模型(DLMs)已涌现出作为替代自回归模型的有希望的候选者,以通过并行令牌生成实现更快的推理。我们通过正式化并行采样的模型并证明DLMs增强多项式长度的链式思维(CoT)可以使用最优数量的顺序步骤模拟任何并行采样算法。因此,当目标分布可以使用少量顺序步骤生成时,DLMs可以使用相同数量的最优顺序步骤生成该分布。然而,在无法修改已揭示的令牌时,具有CoT的DLMs仍然会带来大的中间足迹。我们证明启用remasking(将未掩码令牌转换为掩码)或修订(将未掩码令牌转换为其他未掩码令牌)与CoT结合,进一步允许DLMs以最优空间复杂度模拟任何并行采样算法。我们进一步通过建立严格的表达性差距来证明修订的优势:具有修订或remasking的DLMs比没有这些功能的DLMs更具表达性。我们的结果不仅为DLMs作为最高效的并行采样器的前景提供了理论依据,还倡导在DLMs中启用修订。

英文摘要:

Diffusion language models (DLMs) have emerged as a promising alternative to autoregressive models for faster inference via parallel token generation. We provide a rigorous foundation for this advantage by formalizing a model of parallel sampling and showing that DLMs augmented with polynomial-length chain-of-thought (CoT) can simulate any parallel sampling algorithm using an optimal number of sequential steps. Consequently, whenever a target distribution can be generated using a small number of sequential steps, a DLM can be used to generate the distribution using the same number of optimal sequential steps. However, without the ability to modify previously revealed tokens, DLMs with CoT can still incur large intermediate footprints. We prove that enabling remasking (converting unmasked tokens to masks) or revision (converting unmasked tokens to other unmasked tokens) together with CoT further allows DLMs to simulate any parallel sampling algorithm with optimal space complexity. We further justify the advantage of revision by establishing a strict expressivity gap: DLMs with revision or remasking are strictly more expressive than those without. Our results not only provide a theoretical justification for the promise of DLMs as the most efficient parallel sampler, but also advocate for enabling revision in DLMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑