arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.09820cs.LG
收藏

Dystruct: 通过贝叶斯推断实现动态结构的扩散语言模型解码

Dystruct: Dynamically Structured Diffusion Language Model Decoding via Bayesian Inference

University of Central Florida(中央佛罗里达大学)

Bian Sun, Kevin Zhai, Mubarak Shah, Zhenyi Wang

AI总结:

本文提出一种无需训练的贝叶斯结构解码框架,将灵活长度生成转化为动态结构推断问题,通过统一机制实现动态结构生成,提升生成质量和灵活性。

摘要:

扩散语言模型(DLMs)近期 emerged 作为自回归模型的有希望的替代品,主要因其能够实现并行解码。尽管具有这一优势,大多数现有 DLMs 依赖于在解码前指定的固定生成长度,这限制了它们在实际应用中的灵活性。虽然一些近期工作试图支持灵活长度生成,但通常存在显著局限:一些需要昂贵的重新训练以适应可变长度输出,而另一些则仅依赖解码过程中的局部置信信号。此类局部标准无法捕捉序列的演变结构,往往导致生成质量不佳。本文提出了一种无需训练的贝叶斯结构解码框架,将灵活长度生成转化为动态结构推断问题。我们的方法联合计算扩展长度、块边界和解码计划。在每个窗口扩展步骤中,该方法通过统一机制整合局部不确定性与结构信号,支持动态结构生成,包括灵活的块扩展和块组织,同时保持连贯性。在多个基准上的广泛实验表明,我们的方法在生成质量和灵活性上显著优于现有固定长度和灵活长度基线。这些结果突显了贝叶斯结构解码在扩散语言模型中的优势,提供了一种原理上和高效的方法来实现结构化文本生成。

英文摘要:

Diffusion language models (DLMs) have recently emerged as a promising alternative to autoregressive models, primarily due to their ability to enable parallel decoding. Despite this advantage, most existing DLMs rely on a fixed generation length specified prior to decoding, which restricts their flexibility in real-world applications. While a few recent works attempt to support flexible-length generation, they typically suffer from notable limitations: some require costly retraining to accommodate variable-length outputs, while others depend solely on local confidence signals during decoding. Such local criteria fail to capture the evolving structure of the sequence, often resulting in suboptimal generation quality. In this paper, we propose a training-free, Bayesian structured decoding framework that formulates flexible-length generation as a dynamic structural inference problem. Our approach formulates flexible-length generation as a dynamic structural inference problem, jointly computing the expansion length, the block boundaries, and the decoding schedule. At each window expansion step, the method integrates local uncertainty with structural signals via a unified mechanism that supports dynamic structured generation, including both flexible block expansion and block organization, while maintaining coherence. Extensive experiments across multiple benchmarks demonstrate that our approach significantly improves generation quality and flexibility over existing fixed-length and flexible-length baselines. These results highlight the advantage of Bayesian structured decoding for diffusion language model, providing a principled and efficient solution for structured text generation.

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

↑