arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.23225cs.CLcs.AI
收藏

为何扩散语言模型在真正并行(非自回归)解码中表现不佳?

Why Diffusion Language Models Struggle with Truly Parallel (Non-Autoregressive) Decoding?

The Hong Kong Polytechnic University, Hong Kong, China(香港理工大学);ELLIS Institute Tübingen, Tübingen, Germany(图宾根ELLIS研究所);Max Planck Institute for Intelligent Systems, Tübingen, Germany(智能系统马克斯·普朗克研究所);Tübingen AI Center, Tübingen, Germany(图宾根人工智能中心);University of Surrey, Guildford, United Kingdom(萨里大学);The University of North Carolina at Chapel Hill, Chapel Hill, NC, USA(北卡罗来纳大学教堂山分校)

Pengxiang Li, Dilxat Muhtar, Tianlong Chen, Lu Yin, Shiwei Liu

AI总结:

本文提出NAP方法,通过数据驱动策略改进扩散语言模型的非自回归并行解码性能。

摘要:

扩散语言模型(DLMs)通常被宣传为能够实现并行令牌生成,但实际快速DLMs往往收敛到从左到右、自回归(AR)-样式的解码动态。相比之下,真正非AR生成具有吸引力,因为它消除了AR的顺序瓶颈,更有效地利用并行硬件来减少同步/通信开销并提高延迟随输出长度增长的性能。我们主张,AR样式的解码主要驱动因素是DLM目标与广泛使用的训练数据高度顺序结构之间的不匹配,包括标准预训练语料库和长链式思维(CoT)监督。受这一诊断的启发,我们提出了NAP(非自回归并行DLMs),一种概念验证、数据导向的方法,更好地对齐监督与非AR并行解码。NAP精选示例作为多个独立推理轨迹,并将其与一种并行强制解码策略结合,该策略鼓励多令牌并行更新。在数学推理基准上,NAP在并行解码下的表现比训练于标准长CoT数据的DLMs更强,随着并行性增加,增益也相应增长。我们的结果表明,重新审视数据和监督是减轻AR样式行为并迈向真正非自回归并行生成的有原则方向。我们的代码可在https://github.com/pixeli99/NAP上获得。

英文摘要:

Diffusion Language Models (DLMs) are often advertised as enabling parallel token generation, yet practical fast DLMs frequently converge to left-to-right, autoregressive (AR)-like decoding dynamics. In contrast, genuinely non-AR generation is promising because it removes AR's sequential bottleneck, better exploiting parallel hardware to reduce synchronization/communication overhead and improve latency scaling with output length. We argue that a primary driver of AR-like decoding is a mismatch between DLM objectives and the highly sequential structure of widely used training data, including standard pretraining corpora and long chain-of-thought (CoT) supervision. Motivated by this diagnosis, we propose NAP (Non-Autoregressive Parallel DLMs), a proof-of-concept, data-centric approach that better aligns supervision with non-AR parallel decoding. NAP curates examples as multiple independent reasoning trajectories and couples them with a parallel-forced decoding strategy that encourages multi-token parallel updates. Across math reasoning benchmarks, NAP yields stronger performance under parallel decoding than DLMs trained on standard long CoT data, with gains growing as parallelism increases. Our results suggest that revisiting data and supervision is a principled direction for mitigating AR-like behavior and moving toward genuinely non-autoregressive parallel generation in DLMs. Our code is available at https://github.com/pixeli99/NAP.

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

↑