TensorX
返回文献探索

Paper · arXiv 2501.15420

Visual Generation Without Guidance

Huayu Chen, Kai Jiang, Kaiwen Zheng, Jianfei Chen, Hang Su, Jun Zhu

8 upvotesJanuary 26, 2025arXiv 预印本
AI 摘要

Guidance-Free Training (GFT) matches the performance of Classifier-Free Guidance (CFG) while reducing computational costs by eliminating guided sampling and allowing for training from scratch.

Classifier-Free GuidanceGuidance-Free Trainingdiffusionautoregressivemasked-predictionFID scoresdiversity-fidelity trade-offs

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号