Diffusion language models (DLMs) have recently emerged as a compelling alternative to autoregressive generation, offering parallel generation and improved global coherence. During inference, DLMs generate text by iteratively denoising masked sequences in parallel; however, determining which positions to unmask and which tokens to commit forms a large combinatorial search problem. Existing inference methods approximate this search using heuristics, which often yield suboptimal decoding paths; other approaches instead rely on additional training to guide token selection. To introduce a principled search mechanism for DLMs inference, we introduce MEDAL, a framework that integrates Monte Carlo Tree SEarch initialization for Diffusion LAnguage Model inference. We employ Monte Carlo Tree Search at the initialization stage to explore promising unmasking trajectories, providing a robust starting point for subsequent refinement. This integration is enabled by restricting the search space to high-confidence actions and prioritizing token choices that improve model confidence over remaining masked positions. Across multiple benchmarks, MEDAL achieves up to 22.0% improvement over existing inference strategies, establishing a new paradigm for search-based inference in diffusion language models.


翻译:扩散语言模型(DLMs)近年来已成为自回归生成模型的有力替代方案,具备并行生成能力和更强的全局连贯性。在推理过程中,DLMs通过并行迭代去噪掩码序列来生成文本;然而,确定哪些位置应解除掩码以及应选择哪些词元构成一个庞大的组合搜索问题。现有推理方法采用启发式策略近似该搜索过程,但常导致解码路径次优;其他方法则依赖额外训练来指导词元选择。为在DLMs推理中引入系统化的搜索机制,本文提出MEDAL框架,该框架将蒙特卡洛树搜索初始化技术整合至扩散语言模型推理中。我们在初始化阶段运用蒙特卡洛树搜索探索有前景的解掩码轨迹,为后续优化提供稳健的起点。该集成方法通过将搜索空间限制于高置信度操作,并优先选择能提升剩余掩码位置模型置信度的词元来实现。在多项基准测试中,MEDAL相比现有推理策略实现了最高22.0%的性能提升,为扩散语言模型的搜索式推理确立了新范式。

0
下载
关闭预览

相关内容

互联网
【CVPR2022】MSDN: 零样本学习的互语义蒸馏网络
专知会员服务
21+阅读 · 2022年3月8日
专知会员服务
52+阅读 · 2021年8月13日
【NeurIPS2019】图变换网络:Graph Transformer Network
NAACL 2019 | 一种考虑缓和KL消失的简单VAE训练方法
PaperWeekly
20+阅读 · 2019年4月24日
国家自然科学基金
17+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
4+阅读 · 2014年12月31日
VIP会员
相关VIP内容
相关基金
国家自然科学基金
17+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
4+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员