[Paper Review] Mining GOLD Samples for Conditional GANs
This paper proposes the Gap of Log-densities (GOLD), a novel discrepancy measure for conditional GANs that quantifies the difference between data and model distributions on given samples using the discriminator's outputs. By decomposing GOLD into marginal and conditional components, the method enables effective example re-weighting, rejection sampling, and active learning—improving training, inference, and data selection with consistent gains across MNIST, SVHN, and CIFAR-10 datasets.
Conditional generative adversarial networks (cGANs) have gained a considerable attention in recent years due to its class-wise controllability and superior quality for complex generation tasks. We introduce a simple yet effective approach to improving cGANs by measuring the discrepancy between the data distribution and the model distribution on given samples. The proposed measure, coined the gap of log-densities (GOLD), provides an effective self-diagnosis for cGANs while being efficienty computed from the discriminator. We propose three applications of the GOLD: example re-weighting, rejection sampling, and active learning, which improve the training, inference, and data selection of cGANs, respectively. Our experimental results demonstrate that the proposed methods outperform corresponding baselines for all three applications on different image datasets.
Motivation & Objective
- To address the challenge of evaluating and improving conditional GANs by measuring the discrepancy between data and model distributions.
- To develop a self-diagnostic tool for cGANs that leverages discriminator outputs to estimate distributional gaps efficiently.
- To enable improved training, inference, and data selection in cGANs through three novel applications of the GOLD estimator.
- To provide a simple, plug-and-play method requiring minimal code changes to enhance cGAN performance.
Proposed method
- Proposes the Gap of Log-densities (GOLD) estimator as a measure of discrepancy between data and model distributions on given samples.
- Decomposes GOLD into two components: marginal log-density gap (generation quality) and conditional log-density gap (class accuracy), both computable from the discriminator's two-branch architecture.
- Uses the discriminator's real/fake prediction and auxiliary classifier output to compute the two terms efficiently without additional training.
- Applies a heuristic balancing scheme that accounts for suboptimality levels in the two discriminator branches to stabilize the estimator.
- Introduces three applications: example re-weighting (prioritizing hard samples), rejection sampling (filtering low-quality generations), and active learning (selecting informative unlabeled samples).
- Employs a re-initialization strategy (keeping generator, re-initializing discriminator) in active learning to avoid local optima and improve convergence.
Experimental results
Research questions
- RQ1Can a discrepancy measure derived from the discriminator’s output improve the training and inference of conditional GANs?
- RQ2How can the gap between data and model distributions be effectively estimated on individual samples in a cGAN framework?
- RQ3Can the decomposition of the discrepancy into marginal and conditional components enhance generation quality and class accuracy simultaneously?
- RQ4To what extent can GOLD-based re-weighting, rejection sampling, and active learning outperform their baselines in cGAN training and inference?
- RQ5Does the GOLD estimator effectively guide active learning toward uncovering underrepresented or uncertain regions in the data space?
Key findings
- On SVHN, GOLD-based re-weighting improved the fitting capacity of cGAN from 74.43 to 76.71 (+3.06%).
- On SVHN, GOLD-based rejection sampling increased fitting capacity from 73.58 to 75.06 (+2.01%).
- On MNIST, the GOLD-based active learning strategy improved fitting capacity from 92.65 to 94.60 (+2.10%).
- The GOLD estimator effectively selects samples in uncertain or uncovered regions, as shown in visualization of query selection on synthetic and real datasets.
- The combined use of marginal and conditional components in GOLD leads to better query selection than using either component alone, as confirmed by qualitative analysis.
- The method achieves consistent performance gains across multiple datasets (MNIST, SVHN, FMNIST, CIFAR-10) with minimal architectural modifications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.