扩散语言模型推理中的蒙特卡洛树搜索
Diffusion Language Model Inference with Monte Carlo Tree Search
AI总结:
MEDAL通过蒙特卡洛树搜索初始化提升扩散语言模型推理质量,实现生成质量随搜索预算提升而改进,无需额外训练。
摘要:
扩散语言模型(DLMs)最近 emerged 作为自回归生成的有竞争力的替代方案,提供并行生成和改进的全局连贯性。在推理过程中,DLMs 通过并行迭代去噪掩码序列来生成文本;然而,确定哪些位置要解掩码以及哪些 token 要提交形成一个大的组合搜索问题。现有推理方法使用启发式近似这个搜索,通常产生次优的解码路径;其他方法则依赖额外训练来引导 token 选择。为引入 DLMs 推理的系统搜索机制,我们引入 MEDAL,一个推理时扩展框架,整合了蒙特卡洛树搜索初始化用于扩散语言模型推理。我们采用蒙特卡洛树搜索在初始化阶段探索有前途的解掩码轨迹,提供一个稳健的起点用于后续细化。这种设计使推理时扩展高效,允许生成质量随着搜索预算的增加而提高,而无需额外训练。在多个基准测试中,MEDAL 在现有推理策略上实现了高达 22.0% 的改进,建立了 DLMs 中基于搜索的推理新范式。
英文摘要:
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, an inference-time scaling 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 design enables efficient inference-time scaling, allowing generation quality to improve as the search budget increases, without additional training. Across multiple benchmarks, MEDAL achieves up to 22.0% improvement over existing inference strategies, establishing a new paradigm for search-based inference in DLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。