arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2506.10036cs.GRcs.CL
收藏

扩散模型的令牌扰动引导

Token Perturbation Guidance for Diffusion Models

University of Toronto(多伦多大学);Vector Institute for Artificial Intelligence(人工智能向量研究所);KITE Research Institute(KITE研究机构);ETH Zürich(苏黎世联邦理工学院)

Javad Rajabi, Soroush Mehraban, Seyedmorteza Sadat, Babak Taati

AI总结:

本文提出令牌扰动引导(TPG),通过在扩散网络中间令牌表示上施加保范数洗牌扰动,实现无需训练且条件无关的引导,在无条件生成FID上较SDXL基线提升近2倍,并接近CFG的提示对齐效果。

摘要:

无分类器引导(CFG)已成为现代扩散模型的重要组成部分,用于提升生成质量以及与输入条件的一致性。然而,CFG需要特定的训练流程,并且仅限于条件生成。为了解决这些局限性,我们提出了令牌扰动引导(TPG),这是一种新颖的方法,直接将扰动矩阵应用于扩散网络内部的中间令牌表示。TPG采用一种保范数的洗牌操作,以提供有效且稳定的引导信号,从而在不改变架构的情况下提升生成质量。因此,TPG无需训练且对输入条件不敏感,使其能够方便地应用于条件生成和无条件生成。我们进一步分析了TPG提供的引导项,并表明与现有的免训练引导技术相比,它对采样的影响更接近CFG。在SDXL和Stable Diffusion 2.1上的大量实验表明,在无条件生成中,TPG在FID指标上相比SDXL基线实现了近2倍的改进,同时在提示对齐方面与CFG非常接近。这些结果确立了TPG作为一种通用的、条件无关的引导方法,将类似CFG的益处带给了更广泛的扩散模型类别。

英文摘要:

Classifier-free guidance (CFG) has become an essential component of modern diffusion models to enhance both generation quality and alignment with input conditions. However, CFG requires specific training procedures and is limited to conditional generation. To address these limitations, we propose Token Perturbation Guidance (TPG), a novel method that applies perturbation matrices directly to intermediate token representations within the diffusion network. TPG employs a norm-preserving shuffling operation to provide effective and stable guidance signals that improve generation quality without architectural changes. As a result, TPG is training-free and agnostic to input conditions, making it readily applicable to both conditional and unconditional generation. We further analyze the guidance term provided by TPG and show that its effect on sampling more closely resembles CFG compared to existing training-free guidance techniques. Extensive experiments on SDXL and Stable Diffusion 2.1 show that TPG achieves nearly a 2$\times$ improvement in FID for unconditional generation over the SDXL baseline, while closely matching CFG in prompt alignment. These results establish TPG as a general, condition-agnostic guidance method that brings CFG-like benefits to a broader class of diffusion models.

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

↑