arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.19510cs.CL
收藏

提前一个块:提升扩散语言模型中的采样器状态

One Block Ahead: Promoting Sampler State in Diffusion Language Models

Stanford University(斯坦福大学);NVIDIA(英伟达)

Yangyi Shen, Pin-Jui Ku, Nicolai Oswald, Jean-Marie Lemercier, Yonggan Fu, Stefano Ermon, Jure Leskovec, Boris Ginsburg, Ante Jukić

AI总结:

本文针对块扩散语言模型的顺序解码开销问题,提出无需训练的OBA解码算法,通过并行去噪相邻块,在DiffusionGemma上实现标记数与吞吐量提升,仅伴随微小准确率下降。

摘要:

块扩散语言模型(Block-diffusion language models)会并行对一整个块的标记位置进行去噪,因此每次前向传播可生成多个标记。然而,块仍按严格顺序去噪,块内加速技术无法消除该开销。本文研究并行解码块,提出一种无需训练的解码算法——提前一个块(One Block Ahead, OBA),该算法在对当前块去噪的同时对下一个块去噪。我们证明,对于均匀状态扩散语言模型(uniform-state diffusion LMs,即块的去噪进度在其中间标记中不可见),若下一个块的标记与对应采样器状态(包括自条件信号和去噪时间)一同被提升,并行解码将具有优势。我们还推导了盈亏平衡准则,将OBA的收益与成对块前向传播的相对开销关联起来。在当前最优的扩散语言模型DiffusionGemma上,OBA在十个基准测试中平均使每次前向传播的标记数提升42.3%(从15.64增至22.25),单请求去噪吞吐量提升16.3%,仅伴随微小的准确率下降。

英文摘要:

Block-diffusion language models denoise a whole block of token positions in parallel so each forward pass can emit many tokens. However, blocks are still denoised in strict sequence, a cost that within-block acceleration leaves untouched. Here, we investigate decoding blocks concurrently and propose One Block Ahead (OBA), a training-free decoding algorithm that denoises the next block alongside the current one. We demonstrate that for uniform-state diffusion LMs, where a block's denoising progress is not visible in its intermediate tokens, concurrent decoding is advantageous if the next block's tokens are promoted together with the corresponding sampler state, including the self-conditioning signal and the denoising time. We also derive a break-even criterion that relates the benefit of OBA to the relative cost of a paired-block forward pass. On DiffusionGemma, a state-of-the-art diffusion LM, OBA increases the tokens per forward pass by 42.3% (from 15.64 to 22.25) and the single-request denoising throughput by 16.3%, averaged over ten benchmarks, with a small accuracy regression.

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

↑