通过模板填充解锁扩散语言模型的潜力
Unlocking the Potential of Diffusion Language Models through Template Infilling
AI总结:
本文提出了一种针对扩散语言模型的模板填充方法,通过在生成响应空间中建立全局蓝图,提升了数学推理、代码生成和旅行规划等任务的性能,同时在多token生成中实现了生成质量与速度的平衡。
摘要:
扩散语言模型(DLMs)作为一种有前景的替代自回归语言模型的候选者,其推理策略仍局限于自回归范式继承的前缀提示。本文提出模板填充(TI),一种针对DLMs的定制化条件化方法。与传统前缀提示不同,TI在目标响应空间中灵活对齐结构锚点,建立全局蓝图后再填充被遮蔽段落。我们在数学推理、代码生成和旅行规划等多样基准上展示了方法的有效性,相对于基线模型在多个任务上实现了9.40%的提升。此外,我们发现TI在多token生成设置中提供了额外优势,能够在保持生成质量与鲁棒性的同时实现有效加速。通过强制这些全局约束,TI最终促进了系统2推理,使模型能够在结构定义的解决方案空间内进行深入思考。
英文摘要:
Diffusion Language Models (DLMs) have emerged as a promising alternative to Autoregressive Language Models, yet their inference strategies remain limited to prefix-based prompting inherited from the autoregressive paradigm. In this paper, we propose Template Infilling (TI), a tailored conditioning methodology for DLMs. Unlike conventional prefix prompting, TI flexibly aligns structural anchors across the entire target response space, establishing a global blueprint before filling in the masked segments. We demonstrate the effectiveness of our approach on diverse benchmarks, including mathematical reasoning, code generation, and trip planning, achieving consistent improvements of 9.40% over the baseline. Furthermore, we observe that TI provides additional advantages in multi-token generation settings, enabling effective speedup while maintaining generation quality and robustness. By enforcing these global constraints, TI ultimately facilitates System-2 reasoning, empowering the model to deliberate within a structurally defined solution space.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。