Skip to main content
QUICK REVIEW

[Paper Review] Semi-supervised Conditional GANs

Kumar Sricharan, Raja Bala|arXiv (Cornell University)|Aug 19, 2017
Generative Adversarial Networks and Image SynthesisComputer Science6 references41 citations
TL;DR

This paper proposes Semi-supervised Conditional GANs (SS-GAN), a novel framework that uses two stacked discriminators to jointly model the marginal data distribution (from labeled + unlabeled data) and the conditional attribute distribution (from labeled data only), significantly improving performance in semi-supervised conditional generation. SS-GAN outperforms existing methods like AC-GAN, SC-GAN, and SA-GAN on MNIST, CelebA, and CIFAR-10, achieving near-supervised performance even with as few as one labeled sample per class.

ABSTRACT

We introduce a new model for building conditional generative models in a semi-supervised setting to conditionally generate data given attributes by adapting the GAN framework. The proposed semi-supervised GAN (SS-GAN) model uses a pair of stacked discriminators to learn the marginal distribution of the data, and the conditional distribution of the attributes given the data respectively. In the semi-supervised setting, the marginal distribution (which is often harder to learn) is learned from the labeled + unlabeled data, and the conditional distribution is learned purely from the labeled data. Our experimental results demonstrate that this model performs significantly better compared to existing semi-supervised conditional GAN models.

Motivation & Objective

  • To address the lack of effective methods for conditional generative modeling in semi-supervised settings, where only a small fraction of data is labeled.
  • To improve generalization and sample quality by decoupling the learning of marginal data distribution and conditional attribute distribution.
  • To leverage unlabeled data for learning the marginal distribution while preserving label information for conditional generation.
  • To achieve performance close to fully supervised models with minimal labeled data.

Proposed method

  • The model employs two stacked discriminators: a marginal discriminator (D_u) that evaluates real vs. fake images using all data (labeled + unlabeled), and a conditional discriminator (D_s) that evaluates real vs. fake attributes given images using only labeled data.
  • The generator is trained to produce samples conditioned on attributes, with the adversarial loss applied to both the joint (x,y) pair and the conditional attribute reconstruction.
  • Intermediate features from D_u are fed into D_s, ensuring D_s learns discriminative features based on the broader data distribution, reducing overfitting to labeled samples.
  • The training objective combines adversarial loss for both discriminators, with D_s using cross-entropy loss to reconstruct attributes from generated images.
  • The framework is theoretically grounded in convergence under finite labeled data, ensuring stability in semi-supervised regimes.
  • The method is applied to MNIST, CelebA, and CIFAR-10, with ablation studies comparing against AC-GAN, SC-GAN, and SA-GAN.

Experimental results

Research questions

  • RQ1Can a semi-supervised conditional GAN framework effectively leverage unlabeled data to improve conditional image generation?
  • RQ2How does decoupling marginal and conditional distribution learning affect model performance and generalization?
  • RQ3Why does SS-GAN outperform SA-GAN, which also uses a stacked discriminator architecture but with a different training objective?
  • RQ4To what extent can SS-GAN match the performance of fully supervised models with minimal labeled data?

Key findings

  • On the MNIST dataset, SS-GAN achieved a class prediction error of 0.299 with just one labeled sample per class, outperforming SA-GAN (0.468) and SC-GAN (0.355).
  • On CIFAR-10, SS-GAN achieved a reconstruction error of 0.061, significantly lower than SA-GAN (0.173) and SC-GAN (0.213), and close to the fully supervised C-GAN (0.041).
  • Visual inspection showed that SS-GAN samples had minimal mode collapse and high fidelity, while AC-GAN, SC-GAN, and SA-GAN exhibited severe mode collapse.
  • SS-GAN achieved a sample diversity score of 6.54e-06 on CIFAR-10, significantly higher than SC-GAN (0.999) and comparable to C-GAN and AC-GAN.
  • The discriminator feature error for SS-GAN was 0.891 on CIFAR-10, outperforming SA-GAN (0.874) and SC-GAN (0.870), and approaching the performance of fully supervised C-GAN (0.874).
  • The model demonstrated strong generalization, with SS-GAN’s performance on CIFAR-10 being closer to the fully supervised baseline than any other semi-supervised variant.

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.