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

CFG-Ctrl: 基于控制的分类器自由扩散引导

CFG-Ctrl: Control-Based Classifier-Free Diffusion Guidance

Hanyang Wang, Yiyang Liu, Jiawei Chi, Fangfu Liu, Ran Xue, Yueqi Duan

AI总结:

CFG-Ctrl通过引入滑模控制方法改进分类器自由扩散引导,提升语义对齐和鲁棒性。

摘要:

分类器自由引导(CFG)已逐渐成为增强流式扩散模型语义对齐的核心方法。在本文中,我们探索了一个统一的框架,称为CFG-Ctrl,它将CFG重新解释为对一阶连续时间生成流的控制,使用条件-无条件差异作为误差信号来调整速度场。从这一视角出发,我们将常规CFG总结为一个具有固定增益的比例控制器(P控制),而典型的后续变体则发展出基于此的扩展控制定律设计。然而,现有方法主要依赖于线性控制,本质上导致了不稳定、超调和语义保真度下降,尤其是在大尺度引导时。为了解决这个问题,我们引入了滑模控制CFG(SMC-CFG),它迫使生成流向快速收敛的滑动曼尼弗。具体来说,我们定义了一个指数滑模表面,用于语义预测误差,并引入了一个切换控制项以建立非线性反馈引导的修正。此外,我们提供了李雅普诺夫稳定性分析,以理论支持有限时间收敛。在文本到图像生成模型,包括Stable Diffusion 3.5、Flux和Qwen-Image上进行的实验表明,SMC-CFG在语义对齐方面优于标准CFG,并且在广泛的引导尺度上增强了鲁棒性。项目页面:https://hanyang-21.github.io/CFG-Ctrl

英文摘要:

Classifier-Free Guidance (CFG) has emerged as a central approach for enhancing semantic alignment in flow-based diffusion models. In this paper, we explore a unified framework called CFG-Ctrl, which reinterprets CFG as a control applied to the first-order continuous-time generative flow, using the conditional-unconditional discrepancy as an error signal to adjust the velocity field. From this perspective, we summarize vanilla CFG as a proportional controller (P-control) with fixed gain, and typical follow-up variants develop extended control-law designs derived from it. However, existing methods mainly rely on linear control, inherently leading to instability, overshooting, and degraded semantic fidelity especially on large guidance scales. To address this, we introduce Sliding Mode Control CFG (SMC-CFG), which enforces the generative flow toward a rapidly convergent sliding manifold. Specifically, we define an exponential sliding mode surface over the semantic prediction error and introduce a switching control term to establish nonlinear feedback-guided correction. Moreover, we provide a Lyapunov stability analysis to theoretically support finite-time convergence. Experiments across text-to-image generation models including Stable Diffusion 3.5, Flux, and Qwen-Image demonstrate that SMC-CFG outperforms standard CFG in semantic alignment and enhances robustness across a wide range of guidance scales. Project Page: https://hanyang-21.github.io/CFG-Ctrl

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

↑