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

基于依赖性的并行解码在离散扩散语言模型中

Dependency-Guided Parallel Decoding in Discrete Diffusion Language Models

Department of Computer Science, Technion – Israel Institute of Technology(以色列理工学院计算机科学系);Blavatnik School of Computer Science and AI, Tel Aviv, Israel(特拉维夫布拉瓦特尼克计算机科学与人工智能学院);Department of Electrical and Computer Engineering, Technion – Israel Institute of Technology(以色列理工学院电气与计算机工程系)

Liran Ringel, Ameen Ali, Yaniv Romano

AI总结:

本文提出DEMASK方法,通过预测掩码位置间的依赖关系,实现并行解码以提升生成效率,同时保持或提升输出质量。

摘要:

离散扩散语言模型(dLLMs)通过并行解码加速文本生成,但这种并行解码引入了分布不匹配问题:它使用完全因子化的单个标记边际分布来近似联合条件分布,当所选标记之间存在强依赖时会降低输出质量。我们提出了DEMASK(依赖性指导的解码),这是一种轻量级的依赖预测器,附加在dLLM的最终隐藏状态上。在单次前向传递中,它估计掩码位置之间的成对条件影响。利用这些预测,一种贪心选择算法识别出具有有界累积依赖的位置以实现同时解码。在子可加性假设下,我们证明了这种解码方法的总变差距离被限制在模型联合分布之间。实验表明,DEMASK在Dream-7B上实现了1.7-2.2倍的速度提升,同时在准确率上与基于置信度和KL的基线方法相匹配或改进。

英文摘要:

Discrete diffusion language models (dLLMs) accelerate text generation by unmasking multiple tokens in parallel. However, parallel decoding introduces a distributional mismatch: it approximates the joint conditional using a fully factorized product of per-token marginals, which degrades output quality when selected tokens are strongly dependent. We propose DEMASK (DEpendency-guided unMASKing), a lightweight dependency predictor that attaches to the final hidden states of a dLLM. In a single forward pass, it estimates pairwise conditional influences between masked positions. Using these predictions, a greedy selection algorithm identifies positions with bounded cumulative dependency for simultaneous unmasking. Under a sub-additivity assumption, we prove this bounds the total variation distance between our parallel sampling and the model's joint. Empirically, DEMASK achieves 1.7-2.2$\times$ speedup on Dream-7B while matching or improving accuracy compared to confidence-based and KL-based baselines.

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

↑