arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.08964cs.CL
收藏

打破块边界:基于锚点的历史稳定解码用于扩散大语言模型

Breaking Block Boundaries: Anchor-based History-stable Decoding for Diffusion Large Language Models

MoE Key Lab of BIPC, University of Science and Technology of China(中国科学技术大学教育部多模态认知与智能系统重点实验室);AMAP, Alibaba Group(阿里巴巴集团高德地图)

Shun Zou, Yong Wang, Zehui Chen, Lin Chen, Chongyang Tao, Feng Zhao, Xiangxiang Chu

AI总结:

本文提出AHD解码策略,通过动态锚点实时监控token稳定性,实现跨块高效解码,提升性能与推理效率。

摘要:

扩散大语言模型(dLLMs)最近成为自回归大语言模型(ARMs)的有前景替代品。半自回归(Semi-AR)解码在基础dLLMs和高级解码策略中广泛使用,因其卓越性能。然而,我们的观察表明Semi-AR解码存在固有块约束,导致许多跨块稳定token的解码被不必要的延迟。为解决这一挑战,我们系统研究了稳定token的识别,得出三个关键发现:(1)朴素前瞻解码不可靠,(2)token稳定性与收敛趋势密切相关,(3)历史信息被隔离。基于这些见解,我们提出锚点历史稳定解码(AHD),一种无需训练的插件式动态解码策略。具体而言,AHD通过动态锚点实时监控token稳定性趋势。一旦token达到稳定性,便启动早期跨块解码以提高效率和性能。在语言、视觉语言和音频语言领域进行的广泛实验表明,AHD同时提升了性能和推理效率。值得注意的是,AHD有效逆转了现有高级解码加速策略通常观察到的性能下降。例如,在BBH基准测试中,我们的方法将解码步骤减少80%,同时性能提升3.67%。

英文摘要:

Diffusion Large Language Models (dLLMs) have recently become a promising alternative to autoregressive large language models (ARMs). Semi-autoregressive (Semi-AR) decoding is widely employed in base dLLMs and advanced decoding strategies due to its superior performance. However, our observations reveal that Semi-AR decoding suffers from inherent block constraints, which cause the decoding of many cross-block stable tokens to be unnecessarily delayed. To address this challenge, we systematically investigate the identification of stable tokens and present three key findings: (1) naive lookahead decoding is unreliable, (2) token stability closely correlates with convergence trend, and (3) historical information is isolated. Building on these insights, we propose Anchor-based History-stable Decoding (AHD), a training-free, plug-and-play dynamic decoding strategy. Specifically, AHD monitors the stability trend of tokens in real time through dynamic anchors. Once a token reaches stability, it initiates early cross-block decoding to enhance efficiency and performance. Extensive experiments across language, vision-language, and audio-language domains demonstrate that AHD simultaneously improves both performance and inference efficiency. Notably, AHD effectively reverses the performance degradation typically observed in existing advanced decoding acceleration strategies. For instance, on the BBH benchmark, our approach reduces decoding steps by 80% while improving performance by 3.67%.

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

↑