English

Visual Generation Without Guidance

Computer Vision and Pattern Recognition 2025-08-26 v2 Artificial Intelligence Machine Learning

Abstract

Classifier-Free Guidance (CFG) has been a default technique in various visual generative models, yet it requires inference from both conditional and unconditional models during sampling. We propose to build visual models that are free from guided sampling. The resulting algorithm, Guidance-Free Training (GFT), matches the performance of CFG while reducing sampling to a single model, halving the computational cost. Unlike previous distillation-based approaches that rely on pretrained CFG networks, GFT enables training directly from scratch. GFT is simple to implement. It retains the same maximum likelihood objective as CFG and differs mainly in the parameterization of conditional models. Implementing GFT requires only minimal modifications to existing codebases, as most design choices and hyperparameters are directly inherited from CFG. Our extensive experiments across five distinct visual models demonstrate the effectiveness and versatility of GFT. Across domains of diffusion, autoregressive, and masked-prediction modeling, GFT consistently achieves comparable or even lower FID scores, with similar diversity-fidelity trade-offs compared with CFG baselines, all while being guidance-free. Code will be available at https://github.com/thu-ml/GFT.

Keywords

Cite

@article{arxiv.2501.15420,
  title  = {Visual Generation Without Guidance},
  author = {Huayu Chen and Kai Jiang and Kaiwen Zheng and Jianfei Chen and Hang Su and Jun Zhu},
  journal= {arXiv preprint arXiv:2501.15420},
  year   = {2025}
}

Comments

Accepted to ICML 2025