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

扩散语言模型的效率如何?对效率评估实践的一项批判性审视

How Efficient Are Diffusion Language Models? A Critical Examination of Efficiency Evaluation Practices

Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学人工智能学院);University of International Business and Economics(国际商务经济大学);Tsinghua University(清华大学);Department of Data Science, City University of Hong Kong(香港城市大学数据科学系)

Han Peng, Peiyu Liu, Zican Dong, Daixuan Cheng, Junyi Li, Yiru Tang, Shuo Wang, Wayne Xin Zhao

AI总结:

本文系统评估扩散语言模型效率,发现其吞吐量普遍落后于自回归模型,并指出双缓存、并行解码等加速策略仅在小批量下有效,强调需改进评估与加速方法。

摘要:

扩散语言模型(DLMs)已成为长期占据主导地位的自回归(AR)范式的一种有前景的替代方案,其可并行化解码过程有望带来更高的效率。然而,在实践中,当前的开源扩散语言模型在速度上往往不如自回归模型,限制了它们的实际应用价值。本工作对扩散语言模型效率进行了系统性研究,识别出先前评估方法中的关键问题。通过实证基准测试和理论分析,我们证明自回归模型通常能实现更高的吞吐量,而扩散语言模型则持续落后。我们还研究了加速策略,发现双缓存和并行解码等技术主要在小批量规模下带来收益,其优势在规模扩大时会逐渐减弱。我们的发现强调了稳健的评估方法和改进的加速策略对于推进扩散语言模型研究的必要性。

英文摘要:

Diffusion language models (DLMs) have emerged as a promising alternative to the long-dominant autoregressive (AR) paradigm, offering a parallelable decoding process that could yield greater efficiency. Yet, in practice, current open-source DLMs often underperform their AR counterparts in speed, limiting their real-world utility. This work presents a systematic study of DLM efficiency, identifying key issues in prior evaluation methods. Through empirical benchmarking and a theoretical analysis, we demonstrate that AR models generally achieve higher throughput, while DLMs consistently lag. We also investigate acceleration strategies, finding that techniques like dual cache and parallel decoding mainly offer gains at small batch sizes, with their benefits diminishing upon scaling. Our findings underscore the necessity of robust evaluation methods and improved acceleration strategies to advance research on DLMs.

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

↑