C$^2$FG: Control Classifier-Free Guidance via Score Discrepancy Analysis

Jiayang Gao, Tianyi Zheng, Jiayang Zou, Fengxiang Yang, Shice Liu +7 more
3/9/2026
cs.LG

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Classifier-Free Guidance (CFG) is a cornerstone of modern conditional diffusion models, yet its reliance on the fixed or heuristic dynamic guidance weight is predominantly empirical and overlooks the inherent dynamics of the diffusion process. In this paper, we provide a rigorous theoretical analysis of the Classifier-Free Guidance.

Show full abstract

Specifically, we establish strict upper bounds on the score discrepancy between conditional and unconditional distributions at different timesteps based on the diffusion process. This finding explains the limitations of fixed-weight strategies and establishes a principled foundation for time-dependent guidance. Motivated by this insight, we introduce \textbf{Control Classifier-Free Guidance (C$^2$FG)}, a novel, training-free, and plug-in method that aligns the guidance strength with the diffusion dynamics via an exponential decay control function. Extensive experiments demonstrate that C$^2$FG is effective and broadly applicable across diverse generative tasks, while also exhibiting orthogonality to existing strategies.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gao2026cfg,
  title  = {C$^2$FG: Control Classifier-Free Guidance via Score Discrepancy Analysis},
  author = {Jiayang Gao and Tianyi Zheng and Jiayang Zou and Fengxiang Yang and Shice Liu and Luyao Fan and Zheyu Zhang and Hao Zhang and Jinwei Chen and Peng-Tao Jiang and Bo Li and Jia Wang},
  year   = {2026},
  eprint = {2603.08155},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.08155v3},
  journal = {CVPR 2026 2026}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.08155.svg)](https://codeofpaper.com/paper/2603.08155)

Discussion