掩码扩散语言模型已成为自回归模型的替代方案,支持并行生成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.
We present DiffusionBERT, a new generative masked language model based on discrete diffusion models. Diffusion models and many pre-trained language models have a shared training objective, i.e., denoising, making it possible to combine the two powerful models and enjoy the best of both worlds. On the one hand, diffusion models offer a promising training strategy that helps improve the generation quality. On the other hand, pre-trained denoising language models (e.g., BERT) can be used as a good initialization that accelerates convergence. We explore training BERT to learn the reverse process o…
Hithink RoyalFlush Information Network Co.,Ltd.(同花顺网络信息股份有限公司)
This paper describes our approach to DSTC 9 Track 2: Cross-lingual Multi-domain Dialog State Tracking, the task goal is to build a Cross-lingual dialog state tracker with a training set in rich resource language and a testing set in low resource language. We formulate a method for joint learning of slot operation classification task and state tracking task respectively. Furthermore, we design a novel mask mechanism for fusing contextual information about dialogue, the results show the proposed model achieves excellent performance on DSTC Challenge II with a joint accuracy of 62.37% and 23.96% …
Masked Diffusion Language Models with Frequency-Informed Training
National Technical University of Athens(国家技术大学雅典);Archimedes RU, Athena RC(阿基米德RU,雅典RC);University of Bern(伯恩大学);Institute of Language and Signal Processing, Athena RC(语言与信号处理研究所,雅典RC)
Empirical Analysis of Decoding Biases in Masked Diffusion Models
School of Computer Science and Engineering, Northeastern University, China(东北大学计算机科学与工程学院);Department of Computer Science and Technology, Institute for AI, Tsinghua University, China(清华大学人工智能研究院计算机科学与技术系);Alibaba Group, Hangzhou, China(阿里巴巴集团)
T$^\star$: Progressive Block Scaling for Masked Diffusion Language Models Through Trajectory Aware Reinforcement Learning
Shanghai Academy of AI for Science(上海人工智能科学研究院);Shanghai Innovation Institute(上海创新研究院);Fudan University(复旦大学);School of Mathematical Sciences(数学科学学院);Shanghai Jiao Tong University(上海交通大学);Carnegie Mellon University(卡内基梅隆大学)
Department of Computer Science, Cornell Tech, NYC, USA(康奈尔科技学院计算机科学系);Department of Computer Science, Cornell University, Ithaca, USA(康奈尔大学计算机科学系);School of Computer and Communication Sciences, EPFL Lausanne, Switzerland(洛桑联邦理工学院计算机与通信科学学院);Department of Computer Science, University of Chicago, Illinois(芝加哥大学计算机科学系);NVIDIA, Santa Clara, USA(英伟达)
Conversation structure is useful for both understanding the nature of conversation dynamics and for providing features for many downstream applications such as summarization of conversations. In this work, we define the problem of conversation structure modeling as identifying the parent utterance(s) to which each utterance in the conversation responds to. Previous work usually took a pair of utterances to decide whether one utterance is the parent of the other. We believe the entire ancestral history is a very important information source to make accurate prediction. Therefore, we design a no…
Mechanism Shift During Post-training from Autoregressive to Masked Diffusion Language Models
Graduate School of Data Science, Seoul National University(首尔国立大学数据科学研究生院);Department of Biosystems & Biomaterials Science and Engineering, Seoul National University(首尔国立大学生物系统与生物材料科学与工程系)
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学首都人工智能学院);Beijing Key Laboratory of Research on Large Models and Intelligent Governance(北京大模型与智能治理重点实验室);Engineering Research Center of Next-Generation Intelligent Search and Recommendation, MOE(下一代智能搜索与推荐工程技术研究中心,教育部);Huawei Noah’s Ark Lab(华为诺亚实验室)
Improving Sampling for Masked Diffusion Models via Information Gain
Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系);Massachusetts Institute of Technology(麻省理工学院);Shanghai Jiao Tong University(上海交通大学);Beihang University(北航);College of AI, Tsinghua University(清华大学人工智能学院)
Recent works show that learning contextualized embeddings for words is beneficial for downstream tasks. BERT is one successful example of this approach. It learns embeddings by solving two tasks, which are masked language model (masked LM) and the next sentence prediction (NSP). The pre-training of BERT can also be framed as a multitask learning problem. In this work, we adopt hierarchical multitask learning approaches for BERT pre-training. Pre-training tasks are solved at different layers instead of the last layer, and information from the NSP task is transferred to the masked LM task. Also,…