Visual Generation Without Guidance

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Chen, Huayu, Jiang, Kai, Zheng, Kaiwen, Chen, Jianfei, Su, Hang, Zhu, Jun
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914001356587008
author Chen, Huayu
Jiang, Kai
Zheng, Kaiwen
Chen, Jianfei
Su, Hang
Zhu, Jun
author_facet Chen, Huayu
Jiang, Kai
Zheng, Kaiwen
Chen, Jianfei
Su, Hang
Zhu, Jun
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2501_15420
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Visual Generation Without Guidance
Chen, Huayu
Jiang, Kai
Zheng, Kaiwen
Chen, Jianfei
Su, Hang
Zhu, Jun
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
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.
title Visual Generation Without Guidance
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2501.15420