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

DAWN: 依赖感知的快速扩散语言模型推理

DAWN: Dependency-Aware Fast Inference for Diffusion LLMs

Nanyang Technological University(南洋理工大学);AUMOVIO-NTU Corporate Lab, Nanyang Technological University(AUMOVIO-NTU企业实验室,南洋理工大学);Southern University of Science(南方科技大学);SIGS, Tsinghua University(系统所,清华大学);AUMOVIO Singapore Pte. Ltd.(AUMOVIO新加坡私人有限公司)

Lizhuo Luo, Zhuoran Shi, Jiajun Luo, Zhi Wang, Shen Ren, Wenya Wang, Tianwei Zhang

AI总结:

DAWN通过依赖感知解码方法提升扩散语言模型推理效率,实现1.80-8.06倍的速度提升同时保持生成质量。

摘要:

扩散大语言模型(dLLMs)在文本生成中展现出优势,尤其是由于其固有的并行解码能力。然而,受质量与速度的权衡限制,现有推理方案采用保守的并行策略,留下大量效率潜力未被发掘。核心挑战在于并行解码假设每个位置可以独立填充,但标记往往存在语义耦合。因此,一个位置的正确选择会限制其他位置的有效选择。不建模这些跨标记依赖性,平行策略会产生劣化的输出。受此启发,我们提出DAWN,一种无需训练的依赖感知解码方法,用于快速dLLM推理。DAWN提取标记依赖性,并利用两个关键动机:(1)依赖于未掩码特定位置的位置变得更加可靠,(2)同时解掩强耦合的不确定位置会引发错误。基于这些发现,DAWN利用依赖图在每次迭代中选择更可靠的解掩位置,实现高并行性的同时生成质量损失极小。在多个模型和数据集上的广泛实验表明,DAWN在基准上将推理速度提升1.80-8.06倍,同时保持生成质量。代码已发布在https://github.com/lizhuo-luo/DAWN。

英文摘要:

Diffusion large language models (dLLMs) have shown advantages in text generation, particularly due to their inherent ability for parallel decoding. However, constrained by the quality--speed trade-off, existing inference solutions adopt conservative parallel strategies, leaving substantial efficiency potential underexplored. A core challenge is that parallel decoding assumes each position can be filled independently, but tokens are often semantically coupled. Thus, the correct choice at one position constrains valid choices at others. Without modeling these positional dependencies, parallel strategies produce deteriorated outputs. Motivated by this insight, we propose DAWN, a training-free, dependency-aware decoding method for fast dLLM inference. DAWN extracts dependency relations and leverages two key observations: (1) masked positions dependent on unmasked certain positions become more reliable; (2) coupled masked positions strongly influence each other's predictions. Given those findings, DAWN leverages a dependency graph to select more reliable unmasking positions at each iteration, achieving high parallelism with negligible loss in generation quality. Extensive experiments across multiple models and datasets demonstrate that DAWN speedups the inference by 1.80-8.06x over baselines while preserving the generation quality. Code is released at https://github.com/lizhuo-luo/DAWN.

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

↑