DLM-SWAI: 在扩散语言模型去掩码之前引导它们
DLM-SWAI: Steering Diffusion Language Models Before They Unmask
AI总结:
提出一种无需训练的引导方法DLM-SWAI,通过预计算的词级风格分数在去噪步骤中偏置词分布,实现扩散语言模型的可控生成。
摘要:
将语言模型生成引导至期望的文本属性对于实际部署至关重要,而推理时方法特别有吸引力,因为它们无需重新训练即可实现可控生成。最近的研究也强调了扩散语言模型作为一种新兴的生成范式,具有独特的解码特性。然而,大多数现有的引导方法要么依赖辅助模型,要么专为自回归下一个词解码设计,难以应用于通过部分掩码序列的迭代去噪生成文本的扩散语言模型(DLM)。因此,我们提出DLM-SWAI,一种简单的无需训练的引导方法,通过使用预计算的词级风格分数在每个去噪步骤偏置词分布。在风格和安全控制任务上的实验表明,DLM-SWAI有效引导扩散语言模型,同时保持生成质量并需要最小的计算开销。消融实验进一步揭示了引导强度与流畅性之间的可控权衡,我们的分析将类别可引导性与词级属性线索的强度联系起来。
英文摘要:
Steering language model generation toward desired textual properties is essential for practical deployment, and inference-time methods are particularly appealing because they enable controllable generation without retraining. Recent work has also highlighted diffusion language models as an emerging generation paradigm with distinct decoding properties. However, most existing steering approaches either rely on auxiliary models or are designed for autoregressive next-token decoding, making them difficult to apply to diffusion language models DLMs, which generate text through iterative denoising of partially masked sequences. Therefore, we propose DLM-SWAI, a simple training-free steering method that biases the token distribution at each denoising step using pre-computed token-level style scores. Experiments on style and safety control tasks show that DLM-SWAI effectively steers diffusion language models while preserving generation quality and requiring minimal computational overhead. Ablations further reveal a controllable trade-off between steering strength and fluency, and our analysis links class-wise steerability to the strength of token-level attribute cues.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。