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

通过时空并行解码和置信度外推的高效扩散大语言模型

Efficient Diffusion LLMs via Temporal-Spatial Parallel Decoding and Confidence Extrapolation

Advanced Micro Devices, Inc. (AMD)(先进微器件公司(AMD))

Zekai Li, Ji Liu, Yiqing Huang, Ziqiong Liu, Dong Li, Emad Barsoum

AI总结:

提出时空并行解码(TSPD)和置信度外推(CE)两种方法,通过动态控制去噪轨迹减少冗余迭代,加速扩散大语言模型推理。

摘要:

基于扩散的大语言模型(dLLMs)通过迭代去噪支持并行文本生成,但由于许多步骤花费在冗余精炼和重复掩码那些最终值已确定的token上,推理仍然延迟严重。先前的加速方法主要依赖于步骤局部置信度启发式或固定调度,这些方法对提示和任务变化敏感,且忽略了序列内的强位置效应。我们将扩散解码视为一个动态控制问题,并表明逐token的去噪轨迹为可靠控制提供了关键信号。我们提出了一个具有两个组件的轨迹感知解码框架。首先,时空并行解码(TSPD)使用一个轻量级的时空控制器,该控制器消耗每个token的轨迹特征,包括置信度、熵和动量,以及token位置,以决定何时token已收敛并可以安全固定。其次,我们引入了置信度外推(CE),一个无训练的状态空间模块,它预测未来的logit趋势并带有不确定性,以支持主动决策,包括安全的前瞻和在轨迹振荡或置信度不足时的目标稳定。TSPD和CE共同减少了不必要的去噪迭代,同时保持了输出质量,并且它们与系统优化(如KV缓存)干净地组合。

英文摘要:

Diffusion-based large language models (dLLMs) support parallel text generation via iterative denoising, yet inference remains latency-heavy because many steps are spent on redundant refinement and repeated remasking of tokens whose final values are already determined. Prior acceleration methods mainly depend on step-local confidence heuristics or fixed schedules, which are sensitive to prompt and task variation and ignore strong positional effects within a sequence. We cast diffusion decoding as a dynamic control problem and show that token-wise denoising trajectories provide the key signal for reliable control. We propose a trace-aware decoding framework with two components. First, Temporal-Spatial Parallel Decoding (TSPD) uses a lightweight temporalspatial controller that consumes per-token trajectory features, including confidence, entropy, and momentum, together with token position, to decide when a token has converged and can be safely fixed. Second, we introduce Confidence Extrapolation (CE), a training-free state-space module that forecasts future logit trends with uncertainty to support proactive decisions, including safe look-ahead and targeted stabilization when trajectories are oscillatory or underconfident. Together, TSPD and CE reduce unnecessary denoising iterations while preserving output quality, and they compose cleanly with system optimizations such as KV caching.

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

↑