超越静态截止值:用于扩散语言模型的单次动态阈值技术
Beyond Static Cutoffs: One-Shot Dynamic Thresholding for Diffusion Language Models
AI总结:
本文提出单次动态阈值技术,用于改进扩散语言模型的解码效率,在多个基准测试中提升了准确率与吞吐量的平衡。
摘要:
掩码扩散语言模型(MDLMs)正变得与自回归模型竞争,但通常使用固定步骤和顺序解码。为了加速解码,最近的工作如Fast-dLLM通过静态全局置信度阈值实现并行解码,但我们在观察中发现强块级和步骤级置信度波动,并且在数据集中,输入之间的置信度轨迹几乎相同,如通过余弦相似度测量。受这些观察的启发,我们引入了单次动态阈值(OSDT),它在单个序列上校准阈值,并将它们应用于后续输入,且具有极小的开销。在GPQA、GSM8K和HumanEval上,OSDT在准确率与吞吐量之间取得了优越的平衡(在最佳准确率下,GSM8K的吞吐量提高24%,GPQA在相似准确率下提高45%,HumanEval在较小的准确率差距下提高50%)。除了这些结果,我们的发现表明可以利用可重用的任务级置信度签名,为扩散解码的更通用的算法和系统创新提供更广泛的机会。
英文摘要:
Masked diffusion language models (MDLMs) are becoming competitive with their autoregressive counterparts but typically decode with fixed steps and sequential unmasking. To accelerate decoding, recent work such as Fast-dLLM enables parallel decoding via a static global confidence threshold, yet we observe strong block- and step-wise confidence fluctuations and, within a dataset, near-identical confidence trajectories across inputs as measured by cosine similarity. Motivated by these observations, we introduce One-Shot Dynamic Thresholding (OSDT), which calibrates thresholds on a single sequence and applies them to subsequent inputs with negligible overhead. On GPQA, GSM8K, and HumanEval, OSDT attains superior accuracy-throughput trade-offs (+24% tokens/s on GSM8K at the best accuracy, +45% on GPQA with comparable accuracy, and +50% on HumanEval with a modest accuracy gap). Beyond these results, our findings suggest broader opportunities to leverage reusable task-level confidence signatures for more general-purpose algorithmic and systems innovations in diffusion decoding.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。