arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.29255cs.CLcs.AI
收藏

分层掩码扩散语言模型

Hierarchical Masked Diffusion Language Models

Indian Institute of Technology Delhi(印度理工学院德里分校);IBM Research(IBM研究院)

Parul Gupta, Satwik, Avni Aggarwal, Bhavesh Gurnani, Arnab Kumar Mondal, Dinesh Khandelwal, Dinesh Garg, Parag Singla

AI总结:

提出HMDLM,为token位置添加层级信息并设独立噪声调度,在LM1B、WikiHow语言生成及数独求解任务中,较ADLM、MDLM等基线显著降低困惑度、提升准确率与生成偏好度。

摘要:

掩码扩散语言模型已成为自回归模型的替代方案,支持并行生成token。然而,标准掩码扩散语言模型在所有位置使用共享的噪声调度,未明确编码哪些位置应优先解析。许多任务的token位置存在自然优先级:文档标题和章节标题可指导正文生成,数独谜题中由初始线索直接确定的单元格可帮助解析更难的单元格。为了融入token位置间的优先级(或层级)概念,我们提出分层掩码扩散语言模型(Hierarchical Masked Diffusion Language Model, HMDLM),该模型为每个token位置添加训练数据中包含的层级信息,且仅需零或极少额外标注。它将生成分解为两轮:第一轮预测掩码位置的层级分布,第二轮基于该分布预测token分布。为每个层级设置独立的噪声调度,可在保持解码完全并行的同时,软控制优先更早揭示高优先级位置。我们的公式具有数学基础,重新推导了该分解的前向、反向过程及负对数证据下界(NELBO)。评估显示,在LM1B语言生成任务中,HMDLM的困惑度比近期提出的强扩散基线锚定扩散语言模型(Anchored Diffusion Language Model, ADLM)降低1.5个点以上;在WikiHow任务中,其困惑度比ADLM最多降低4.4个点,比MDLM最多降低7个点。WikiHow上的大语言模型(LLM)评判器偏好HMDLM生成内容(两个变体合计)的频率是基线的2倍以上。在需要多步推理的数独谜题求解任务中,它比现有扩散基线的解题准确率最多提升8.6个绝对百分点。

英文摘要:

Masked diffusion language models have emerged as an alternative to autoregressive models, enabling parallel token generation. However, standard masked diffusion language models use a shared noise schedule across positions without explicitly encoding which positions should be resolved first. Many tasks exhibit a natural priority among positions: document titles and section headings can guide the generation of body text, while Sudoku cells determined directly from the initial clues can help resolve more difficult cells. To incorporate this notion of priority (or hierarchy) among token positions, we introduce the Hierarchical Masked Diffusion Language Model (HMDLM), which augments each token position with a hierarchy level available as part of the training data, and requires zero or minimal additional annotations. It factors generation into two passes: the first predicts a hierarchy distribution over masked positions, the second predicts token distributions conditioned on it. Giving each hierarchy level its own noise schedule induces a soft, controllable preference for revealing higher-priority positions earlier while keeping decoding fully parallel. Our formulation is mathematically grounded, and we re-derive the forward and reverse processes and the NELBO for this factorization. Our evaluation shows that for the task of language generation on LM1B, HMDLM reduces perplexity by more than 1.5 points over Anchored Diffusion Language Model (ADLM), a recently proposed strong diffusion baseline; on WikiHow, we see a drop in perplexity of up to 4.4 pts on ADLM and up to 7 pts against MDLM. An LLM judge on WikiHow prefers HMDLM generations (the two variants combined) more than $2\times$ as often as the baseline. On the task of solving Sudoku puzzles requiring multi-step reasoning, it improves solution accuracy by up to $8.6\%$ absolute points over existing diffusion baselines.

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

↑