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

通过进度感知置信度调度实现扩散语言模型的快速解码

Fast-Decoding Diffusion Language Models via Progress-Aware Confidence Schedules

MBZUAI;Ecole Polytechnique(巴黎高等理工学院)

Amr Mohamed, Yang Zhang, Michalis Vazirgiannis, Guokan Shang

AI总结:

SchED通过进度感知置信度调度实现扩散语言模型的快速解码,显著提升解码效率并保持高准确性。

摘要:

扩散大语言模型(dLLMs)为自回归模型提供了一个有前途的替代方案,但其实际应用受到缓慢、迭代采样的严重限制。我们提出了SchED,一种无需训练、模型无关的早退出算法,该算法聚合全跨度logit边际并一旦达到平滑、进度依赖的置信度阈值就停止解码。我们在两种dLLM家族(Dream和LLaDA)中评估了SchED,包括基础版和指令微调版,在十个涵盖下游任务的基准测试中进行评估,包括多项选择问答(MCQ)、数学、长形式问答/摘要以及翻译。SchED实现了显著且稳定的加速:在指令微调模型中,其速度提升达到3.8-4.0倍,同时在平均上保留了99.8-100%的基线分数。在基础模型上,SchED产生了稳定的加速,保留了99.1-100%的性能,更激进的设置下最高可达2.34倍。使用一种保守的速度度量标准(QPS,γ=4),我们证明SchED具有鲁棒性,并且明显优于先前基于置信度的早退出方法,这些方法在长形式生成中会崩溃。对模型令牌预测的熵分析显示,指令微调加速了预测熵的衰减。通过将真正的置信度稳定转化为计算节省,SchED使dLLM解码显著更高效。

英文摘要:

Diffusion large language models (dLLMs) offer a promising alternative to autoregressive models, but their practical utility is severely hampered by slow, iterative sampling. We present SchED, a training-free, model-agnostic early-exit algorithm that aggregates full-span logit margins and halts decoding once a smooth, progress-dependent confidence threshold is met. We evaluated SchED on two dLLM families (Dream and LLaDA), in base and instruction-tuned variants across ten benchmarks spanning downstream tasks including multiple-choice question answering (MCQ), math, long-form QA/summarization, and translation. SchED delivers large, stable accelerations: on instruction-tuned models, it achieves $3.8$-$4.0\times$ speedups while retaining $99.8$-$100\%$ of the baseline score on average. On base models, SchED yields consistent speedup gains with $99.1$-$100\%$ performance retention, with up to $2.34\times$ under more aggressive settings. Using a conservative speed metric that heavily penalizes quality loss (QPS, $γ{=}4$), we show that SchED is robust and clearly outperforms prior confidence-based early-exit methods, which break down on long-form generation. An entropy analysis of the model's token predictions reveals that instruction tuning speeds up the decay of predictive entropy. By turning genuine confidence stabilization into computational savings, SchED makes dLLM decoding substantially more efficient.

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

↑