arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2509.23405cs.LG
收藏

扩散语言模型训练中的规划感知路径学习

Planner Aware Path Learning in Diffusion Language Models Training

Duke University(杜克大学);Mila;Université de Montréal(蒙特利尔大学);California Institute of Technology(加州理工学院);University of Wisconsin–Madison(威斯康星大学麦迪逊分校);University of Oxford(牛津大学);AITHYRA;Imperial College London(伦敦帝国学院)

Fred Zhangzhi Peng, Zachary Bezemek, Jarrid Rector-Brooks, Shuibai Zhang, Anru R. Zhang, Michael Bronstein, Alexander Tong, Avishek Joey Bose

AI总结:

本文提出PAPL,一种通过规划感知路径学习提升扩散语言模型训练与推理一致性的方法,实现跨领域性能提升。

摘要:

扩散语言模型已成为自回归模型的一种强大替代方案,通过更灵活且并行的生成路径实现了快速推理。这种采样灵活性通过新的工程采样策略,即规划器,得以解锁,这些规划器通过迭代规划而非随机选择来选择更优的去噪路径。然而,通过规划修改反向路径会创建训练期间假设的均匀随机去噪路径与基于规划的推理之间的不可逆不匹配。在本文中,我们系统地研究了在规划下离散扩散训练和推理之间的不匹配,并理论上证明标准的离散扩散训练证据下界(ELBO)不能准确描述使用非均匀规划器的去噪器。为了解决这一差距,我们推导出一个新的规划证据下界(P-ELBO),它将基于规划的反向动态直接纳入训练目标中。使用P-ELBO,我们引入了规划感知路径学习(PAPL),一种新的训练方案,使训练和推理在规划去噪器下对齐。PAPL作为标准掩码离散扩散损失的简单但有效的修改实现,具有广泛的应用性和易用性。实证研究表明,PAPL在多个领域都带来了稳定的提升,包括蛋白质序列的40%相对改进、文本生成的MAUVE收益提升达4倍,以及代码生成HumanEval pass@10的23%相对改进。代码可在github.com/pengzhangzhi/PAPL上获得。

英文摘要:

Diffusion language models have emerged as a powerful alternative to autoregressive models, enabling fast inference through more flexible and parallel generation paths. This flexibility of sampling is unlocked by new engineered sampling strategies, or planners, that select more favorable generation paths by iteratively planning - versus uniformly at random - where to denoise along the sequence. However, by modifying the reverse paths via planning, planners create an irrevocable mismatch between the uniformly random denoising paths assumed during training and planning-based inference. In this paper, we systematically investigate the mismatch of discrete diffusion training and inference under planning and theoretically prove that the standard discrete diffusion training evidence lower bound (ELBO) does not accurately describe a denoiser that uses a non-uniform planner. To address this gap, we derive a new planned evidence lower bound (P-ELBO) that incorporates planner-based reverse dynamics directly into the training objective. Using the P-ELBO, we introduce Planner Aware Path Learning (PAPL), a novel training scheme that aligns training and inference under a planned denoiser. PAPL is implemented as a simple yet effective modification to the standard masked discrete diffusion loss, making it widely applicable and easy to adopt. Empirically, we show PAPL delivers consistent gains across domains, including a 40% relative improvement in protein sequences, improved text generation with up to a 4x relative MAUVE gain, and 23% relative improvement in code generation HumanEval pass@10. Code is available at github.com/pengzhangzhi/PAPL .

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

↑