TY - GEN
T1 - Exploring Guided Sampling of Conditional GANs
AU - Zhang, Yifei
AU - Xia, Mengfei
AU - Shen, Yujun
AU - Zhu, Jiapeng
AU - Yang, Ceyuan
AU - Zheng, Kecheng
AU - Huang, Lianghua
AU - Liu, Yu
AU - Cheng, Fan
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2025.
PY - 2025
Y1 - 2025
N2 - Guided sampling serves as a widely used inference technique in diffusion models to trade off sample fidelity and diversity. In this work, we confirm that generative adversarial networks (GANs) can also benefit from guided sampling, not even requiring to pre-prepare a classifier (i.e., classifier guidance) or learn an unconditional counterpart (i.e., classifier-free guidance) as in diffusion models. Inspired by the organized latent space in GANs, we manage to estimate the data-condition joint distribution from a well-learned conditional generator simply through vector arithmetic. With such an easy implementation, our approach, termed GANdance, improves the FID score of a state-of-the-art GAN model pre-trained on ImageNet 64×64 from 8.87 to 6.06, barely increasing the inference time. We then propose a learning-based variant of our framework to better approximate the distribution of the entire dataset, further improving the FID score to 4.37. It is noteworthy that our sampling strategy sufficiently closes the gap between GANs and one-step diffusion models (i.e., with FID 4.02) under comparable model size. Code is available at https://github.com/zyf0619sjtu/GANdance.
AB - Guided sampling serves as a widely used inference technique in diffusion models to trade off sample fidelity and diversity. In this work, we confirm that generative adversarial networks (GANs) can also benefit from guided sampling, not even requiring to pre-prepare a classifier (i.e., classifier guidance) or learn an unconditional counterpart (i.e., classifier-free guidance) as in diffusion models. Inspired by the organized latent space in GANs, we manage to estimate the data-condition joint distribution from a well-learned conditional generator simply through vector arithmetic. With such an easy implementation, our approach, termed GANdance, improves the FID score of a state-of-the-art GAN model pre-trained on ImageNet 64×64 from 8.87 to 6.06, barely increasing the inference time. We then propose a learning-based variant of our framework to better approximate the distribution of the entire dataset, further improving the FID score to 4.37. It is noteworthy that our sampling strategy sufficiently closes the gap between GANs and one-step diffusion models (i.e., with FID 4.02) under comparable model size. Code is available at https://github.com/zyf0619sjtu/GANdance.
KW - Conditional generation
KW - Generative adversarial networks
KW - Guided sampling
UR - https://www.scopus.com/pages/publications/85209772252
U2 - 10.1007/978-3-031-73347-5_3
DO - 10.1007/978-3-031-73347-5_3
M3 - 会议稿件
AN - SCOPUS:85209772252
SN - 9783031733468
T3 - Lecture Notes in Computer Science
SP - 36
EP - 53
BT - Computer Vision – ECCV 2024 - 18th European Conference, Proceedings
A2 - Leonardis, Aleš
A2 - Ricci, Elisa
A2 - Roth, Stefan
A2 - Russakovsky, Olga
A2 - Sattler, Torsten
A2 - Varol, Gül
PB - Springer Science and Business Media Deutschland GmbH
T2 - 18th European Conference on Computer Vision, ECCV 2024
Y2 - 29 September 2024 through 4 October 2024
ER -