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

指导不是超参数:在扩散语言模型中学习动态控制

Guidance Is Not a Hyperparameter: Learning Dynamic Control in Diffusion Language Models

KU Leuven(卢森堡大学)

Fan Zhou, Tim Van de Cruys

AI总结:

本文提出通过强化学习学习动态指导轨迹,以解决扩散模型中指导尺度固定导致的可控性与生成质量平衡问题。

摘要:

Classifier-Free Guidance (CFG) 是控制扩散生成模型的常用机制,但其指导尺度通常被视为固定超参数。这种静态设计导致可控性与质量的权衡不优,因为最优指导程度因任务和扩散过程的不同阶段而异,尤其是在NLP领域。本文将CFG尺度选择视为序列决策问题,提出通过强化学习学习动态指导轨迹。具体来说,将指导尺度建模为在每个生成步骤基于演进的扩散状态选择的离散控制动作,并使用Proximal Policy Optimization (PPO)在任务级奖励下优化策略。在三个受控NLP生成任务上使用离散扩散语言模型的实验表明,自适应指导在可控性和生成质量之间实现了更好的平衡,优于固定尺度策略。进一步分析学习的策略揭示了不同任务中可解释的指导轨迹,强调了将指导视为动态控制过程而非静态设计选择的重要性。

英文摘要:

Classifier-Free Guidance (CFG) is a widely used mechanism for controlling diffusion-based generative models, yet its guidance scale is typically treated as a fixed hyperparameter throughout generation. This static design yields a suboptimal controllability and quality tradeoff, as the optimal degree of guidance varies across tasks and across different stages of the diffusion process, especially in NLP domain. We recast CFG scale selection as a sequential decision-making problem and propose to learn dynamic guidance trajectories via reinforcement learning. Specifically, we model the guidance scale as a discrete control action selected at each generation step based on the evolving diffusion state, and optimize a policy using Proximal Policy Optimization (PPO) under task-level rewards. Experiments on three controlled NLP generation tasks using discrete diffusion language models demonstrate that adaptive guidance consistently achieves a better balance between controllability and generation quality than fixed-scale strategies. Further analysis of the learned policies reveals distinct and interpretable guidance trajectories across tasks, underscoring the importance of treating guidance as a dynamic control process rather than a static design choice.

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

↑