Skip to content

<GenCo: Generative Co-training for Generative Adversarial Networks with Limited Data> in AAAI 2022

License

Notifications You must be signed in to change notification settings

jxhuang0508/GenCo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GenCo: Generative Co-training for Generative Adversarial Networks with Limited Data

Updates

Paper

GenCo: Generative Co-training for Generative Adversarial Networks with Limited Data
Kaiwen Cui*, Jiaxing Huang*, Zhipeng Luo, Gongjie Zhang, Fangneng Zhan,Shijian Lu

*indicates equal contribution.

School of Computer Science Engineering, Nanyang Technological University, Singapore
Thirty-Sixth AAAI Conference on Artificial Intelligence, 2022.

Abstract

Training effective Generative Adversarial Networks (GANs) requires large amounts of training data, without which the trained models are usually sub-optimal with discriminator over-fitting. Several prior studies address this issue by expanding the distribution of the limited training data via massive and hand-crafted data augmentation. We handle data-limited image generation from a very different perspective. Specifically, we design GenCo, a Generative Co-training network that mitigates the discriminator over-fitting issue by introducing multiple complementary discriminators that provide diverse supervision from multiple distinctive views in training. We instantiate the idea of GenCo in two ways. The first way is Weight-Discrepancy Co-training (WeCo) which co-trains multiple distinctive discriminators by diversifying their parameters. The second way is Data-Discrepancy Co-training (DaCo) which achieves co-training by feeding discriminators with different views of the input images (e.g., different frequency components of the input images). Extensive experiments over multiple benchmarks show that GenCo achieves superior generation with limited training data. In addition, GenCo also complements the augmentation approach with consistent and clear performance gains when combined.

Installation

  1. Clone the repo:
git clone https://github.com/jxhuang0508/GenCo.git
  1. Install environment from the environment.yml file:
conda env create -f GenCo.yml

Training and Evaluation with DA

To train and evaluate over 100-shot (Obama, Grumpy cat, Panda) or AFHQ (Cat, Dog):

conda activate genco
cd GenCo/Lowshot_DA
sh Scripts/train_obama.sh # Ref FID 32.21
sh Scripts/train_grumpy_cat.sh # Ref FID 17.79
sh Scripts/train_panda.sh # Ref FID 9.49
sh Scripts/train_afhq_cat.sh # Ref FID 30.89
sh Scripts/train_afhq_dog.sh

Training and Evaluation with ADA

To train and evaluate over 100-shot (Obama, Grumpy cat, Panda) or AFHQ (Cat, Dog):

conda activate genco
cd GenCo/low_shot_ADA
sh Scripts/train_obama.sh
sh Scripts/train_grumpy_cat.sh
sh Scripts/train_panda.sh
sh Scripts/train_afhq_cat.sh
sh Scripts/train_afhq_dog.sh # Ref FID 49.63

Related Works

We also would like to thank great works as follows:

Contact

If you have any questions, please contact: jiaxing.huang@ntu.edu.sg

About

<GenCo: Generative Co-training for Generative Adversarial Networks with Limited Data> in AAAI 2022

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published