HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Ensembling Off-the-shelf Models for GAN Training

Nupur Kumari Richard Zhang Eli Shechtman Jun-Yan Zhu

Ensembling Off-the-shelf Models for GAN Training

Abstract

The advent of large-scale training has produced a cornucopia of powerful visual recognition models. However, generative models, such as GANs, have traditionally been trained from scratch in an unsupervised manner. Can the collective "knowledge" from a large bank of pretrained vision models be leveraged to improve GAN training? If so, with so many models to choose from, which one(s) should be selected, and in what manner are they most effective? We find that pretrained computer vision models can significantly improve performance when used in an ensemble of discriminators. Notably, the particular subset of selected models greatly affects performance. We propose an effective selection mechanism, by probing the linear separability between real and fake samples in pretrained model embeddings, choosing the most accurate model, and progressively adding it to the discriminator ensemble. Interestingly, our method can improve GAN training in both limited data and large-scale settings. Given only 10k training samples, our FID on LSUN Cat matches the StyleGAN2 trained on 1.6M images. On the full dataset, our method improves FID by 1.5x to 2x on cat, church, and horse categories of LSUN.

Code Repositories

nupurkmr9/vision-aided-gan
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-generation-on-afhq-catVision-aided GAN
FID: 2.44
clean-FID: 2.51 ± .02
clean-KID: 0.46 ± .03
image-generation-on-afhq-dogVision-aided GAN
FID: 4.60
clean-FID: 4.73 ± .02
clean-KID: 0.38 ± .01
image-generation-on-afhq-wildVision-aided GAN
FID: 2.25
clean-FID: 2.35 ± .02
clean-KID: 0.38 ± .02
image-generation-on-lsun-cat-256-x-256Vision-aided GAN
Clean-FID (trainfull): 3.98 ± 0.03
FID: 3.87
image-generation-on-lsun-churches-256-x-256Vision-aided GAN
Clean-FID (trainfull): 1.72 ± 0.01
FID: 1.72
image-generation-on-lsun-horse-256-x-256Vision-aided GAN
Clean-FID (trainfull): 2.11
FID: 2.15

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp