Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Efficient Subsampling of Realistic Images From GANs Conditional on a Class or a Continuous Variable

About

Recently, subsampling or refining images generated from unconditional GANs has been actively studied to improve the overall image quality. Unfortunately, these methods are often observed less effective or inefficient in handling conditional GANs (cGANs) -- conditioning on a class (aka class-conditional GANs) or a continuous variable (aka continuous cGANs or CcGANs). In this work, we introduce an effective and efficient subsampling scheme, named conditional density ratio-guided rejection sampling (cDR-RS), to sample high-quality images from cGANs. Specifically, we first develop a novel conditional density ratio estimation method, termed cDRE-F-cSP, by proposing the conditional Softplus (cSP) loss and an improved feature extraction mechanism. We then derive the error bound of a density ratio model trained with the cSP loss. Finally, we accept or reject a fake image in terms of its estimated conditional density ratio. A filtering scheme is also developed to increase fake images' label consistency without losing diversity when sampling from CcGANs. We extensively test the effectiveness and efficiency of cDR-RS in sampling from both class-conditional GANs and CcGANs on five benchmark datasets. When sampling from class-conditional GANs, cDR-RS outperforms modern state-of-the-art methods by a large margin (except DRE-F-SP+RS) in terms of effectiveness. Although the effectiveness of cDR-RS is often comparable to that of DRE-F-SP+RS, cDR-RS is substantially more efficient. When sampling from CcGANs, the superiority of cDR-RS is even more noticeable in terms of both effectiveness and efficiency. Notably, with the consumption of reasonable computational resources, cDR-RS can substantially reduce Label Score without decreasing the diversity of CcGAN-generated images, while other methods often need to trade much diversity for slightly improved Label Score.

Xin Ding, Yongwei Wang, Z. Jane Wang, William J. Welch• 2021

Related benchmarks

TaskDatasetResultRank
Image GenerationCIFAR-10 (test)
FID0.282
471
Image GenerationCIFAR-100 (test)
IS82.145
35
Conditional Image GenerationUTKFace
Intra-FID0.43
7
Image GenerationImageNet-100 (test)
Intra-FID28.7
6
Conditional Image GenerationUTKFace (test)
Storage Usage (MB)303
5
Efficiency AnalysisUTKFace
Storage Usage (MB)303
5
Efficiency AnalysisImageNet-100 (train)
Storage Usage (GB)0.75
5
Sampling Efficiency Evaluation for CcGANsImageNet-100
Storage Usage (GB)0.75
5
Conditional Image GenerationRC-49
Intra-FID0.334
4
Showing 9 of 9 rows

Other info

Follow for update