Skip to main content
QUICK REVIEW

[Paper Review] Class-Distinct and Class-Mutual Image Generation with GANs

Takuhiro Kaneko, Yoshitaka Ushiku|arXiv (Cornell University)|Nov 27, 2018
Generative Adversarial Networks and Image SynthesisComputer Science70 references3 citations
TL;DR

This paper proposes CP-GAN, a novel GAN framework for class-distinct and class-mutual image generation that addresses class-overlapping data by incorporating the classifier’s posterior into the generator input and optimizing the generator to match the posterior distribution of real data. The method outperforms AC-GAN and cGAN in both controlled and real-world class-overlapping settings, achieving 65.1% class-distinct accuracy on Clothing1M and FID of 6.8, demonstrating improved generation quality and robustness to label ambiguity.

ABSTRACT

Class-conditional extensions of generative adversarial networks (GANs), such as auxiliary classifier GAN (AC-GAN) and conditional GAN (cGAN), have garnered attention owing to their ability to decompose representations into class labels and other factors and to boost the training stability. However, a limitation is that they assume that each class is separable and ignore the relationship between classes even though class overlapping frequently occurs in a real-world scenario when data are collected on the basis of diverse or ambiguous criteria. To overcome this limitation, we address a novel problem called class-distinct and class-mutual image generation, in which the goal is to construct a generator that can capture between-class relationships and generate an image selectively conditioned on the class specificity. To solve this problem without additional supervision, we propose classifier's posterior GAN (CP-GAN), in which we redesign the generator input and the objective function of AC-GAN for class-overlapping data. Precisely, we incorporate the classifier's posterior into the generator input and optimize the generator so that the classifier's posterior of generated data corresponds with that of real data. We demonstrate the effectiveness of CP-GAN using both controlled and real-world class-overlapping data with a model configuration analysis and comparative study. Our code is available at https://github.com/takuhirok/CP-GAN/.

Motivation & Objective

  • To address the limitation of existing class-conditional GANs that assume separable classes and ignore between-class relationships in real-world data with overlapping labels.
  • To develop a method that generates images selectively conditioned on class specificity without requiring additional supervision.
  • To model class-overlapping data in a data-driven way by capturing both distinct and mutual class characteristics.
  • To improve training stability and generation quality on ambiguous, real-world datasets such as Clothing1M with noisy labels.

Proposed method

  • Redesign the generator input of AC-GAN by replacing discrete class labels with the classifier’s posterior probability distribution over classes.
  • Optimize the generator so that the classifier’s posterior of generated images matches that of real images, using a novel objective function.
  • Train the generator and discriminator jointly using a WGAN-GP-based framework with spectral normalization and dropout for stability.
  • Use a pre-trained classifier to compute the posterior probabilities, which are then used as conditional inputs to the generator.
  • Integrate the classifier’s posterior as a continuous, soft conditioning signal that reflects both class-specific and shared characteristics.
  • Apply the method to both controlled synthetic class-overlapping data (e.g., CIFAR-10 with overlapping digit classes) and real-world noisy datasets (e.g., Clothing1M).

Experimental results

Research questions

  • RQ1Can a GAN-based model generate images that are selectively conditioned on class specificity while capturing between-class relationships in overlapping data?
  • RQ2Does incorporating the classifier’s posterior as a generator input improve generation quality and robustness on ambiguous, real-world datasets?
  • RQ3How does CP-GAN compare to standard class-conditional GANs like AC-GAN and cGAN in terms of accuracy and FID on class-overlapping data?
  • RQ4Is the proposed method effective in generating both class-distinct and class-mutual images without additional supervision?

Key findings

  • CP-GAN achieved 65.1% class-distinct accuracy on the Clothing1M dataset, significantly outperforming AC-GAN (46.3%) and cGAN (49.5%), demonstrating superior performance on real-world class-overlapping data.
  • CP-GAN achieved a Fréchet Inception Distance (FID) of 6.8 on Clothing1M, outperforming AC-GAN (FID 9.3) and cGAN (FID 11.4), indicating higher-quality image generation.
  • On controlled CIFAR-10-based class-overlapping data, CP-GAN successfully generated images corresponding to both class-distinct and class-mutual states, while baseline models failed to capture mutual characteristics.
  • The method effectively models label ambiguity by learning a continuous posterior representation, enabling better disentanglement of class-specific and shared features.
  • Qualitative results show that CP-GAN generates more accurate and diverse images for both distinct and ambiguous class conditions, as confirmed by per-class accuracy and visual inspection.
  • The ablation study confirms that using the classifier’s posterior as input is critical, as replacing it with one-hot labels degrades performance, especially in overlapping regimes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.