[Paper Review] Self-Diagnosing GAN: Diagnosing Underrepresented Samples in Generative Adversarial Networks
This paper proposes Self-Diagnosing GAN, a method to improve generation quality and diversity for underrepresented data subgroups in GANs by diagnosing samples using discriminator output statistics. It introduces two metrics—mean and variance of discrepancy between data and model distributions—then applies score-based weighted sampling during training to emphasize low-density, minority samples, significantly improving coverage and fidelity for minor groups without sacrificing overall quality.
Despite remarkable performance in producing realistic samples, Generative Adversarial Networks (GANs) often produce low-quality samples near low-density regions of the data manifold, e.g., samples of minor groups. Many techniques have been developed to improve the quality of generated samples, either by post-processing generated samples or by pre-processing the empirical data distribution, but at the cost of reduced diversity. To promote diversity in sample generation without degrading the overall quality, we propose a simple yet effective method to diagnose and emphasize underrepresented samples during training of a GAN. The main idea is to use the statistics of the discrepancy between the data distribution and the model distribution at each data instance. Based on the observation that the underrepresented samples have a high average discrepancy or high variability in discrepancy, we propose a method to emphasize those samples during training of a GAN. Our experimental results demonstrate that the proposed method improves GAN performance on various datasets, and it is especially effective in improving the quality and diversity of sample generation for minor groups.
Motivation & Objective
- To address the persistent issue of GANs failing to generate high-fidelity samples for underrepresented or minority data subgroups.
- To diagnose underrepresented samples in an unsupervised manner without relying on explicit labels.
- To improve both diversity and fidelity in GAN generation, especially for low-density regions of the data manifold.
- To develop a lightweight, training-time method that enhances minority group coverage without increasing computational overhead.
- To provide a diagnostic tool that identifies problematic samples based on discriminator behavior across training epochs.
Proposed method
- The method computes two diagnostic metrics from discriminator outputs: mean discrepancy (average difference between data and model distributions) and variance in discrepancy (fluctuation of this difference over training epochs).
- The mean discrepancy identifies samples that are consistently far from the model distribution, indicating potential mode collapse or poor modeling.
- The variance in discrepancy detects samples with unstable modeling behavior, often associated with minor or rare subgroups.
- A composite score is calculated as a weighted sum of the two metrics to rank samples by their underrepresentation risk.
- During training, the generator is updated using weighted sampling, where higher-scoring (more underrepresented) samples are prioritized with increased probability.
- The method is agnostic to GAN architecture and can be applied to various GAN variants with minimal modification.
Experimental results
Research questions
- RQ1Can mean and variance of discriminator discrepancy over training epochs effectively identify underrepresented or minority samples in GANs?
- RQ2Does emphasizing samples with high discrepancy scores during training improve the quality and diversity of generated samples for minor groups?
- RQ3Can this diagnostic method enhance GAN performance without degrading overall sample fidelity or increasing computational cost?
- RQ4How does the proposed method compare to existing approaches like post-processing, data pre-processing, or hybrid models in terms of minority group coverage?
- RQ5To what extent does the method improve both fidelity and diversity metrics (e.g., FID, IS, R, P) across different datasets and minority ratios?
Key findings
- On Colored MNIST with 99% majority rate, Dia-GAN reduced reconstruction error for minority samples from 0.838 to 0.224, significantly improving minority coverage.
- On MNIST-FMNIST with 99% majority rate, Dia-GAN reduced reconstruction error from 0.290 to 0.264, showing improved modeling of rare classes.
- On CelebA, Dia-GAN increased the occurrence of minority attributes (e.g., Bald, Wearing Hat) by up to 25% compared to vanilla GAN, while improving Partial Recall (R) by 10-15%.
- In FID and IS metrics, Dia-GAN achieved state-of-the-art performance on FFHQ and CIFAR-10, with FID of 11.89 and IS of 8.02 on StyleGAN2, outperforming baseline and prior methods.
- The method improved both fidelity (FID, IS) and diversity (R, P) simultaneously, avoiding the typical trade-off between quality and diversity.
- Empirical and theoretical analysis confirmed that high mean discrepancy indicates poor modeling near collapsed modes, while high variance in discrepancy identifies rare, hard-to-model samples.
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.