Skip to main content
QUICK REVIEW

[Paper Review] MatchGAN: A Self-Supervised Semi-Supervised Conditional Generative Adversarial Network

Jiaze Sun, Binod Bhattarai|arXiv (Cornell University)|Jun 11, 2020
Generative Adversarial Networks and Image SynthesisComputer Science37 references5 citations
TL;DR

MatchGAN proposes a self-supervised semi-supervised conditional GAN that leverages label space augmentation to generate synthetic training examples for improved performance with minimal labelled data. By assigning randomly sampled target labels to unlabelled images and training a triplet matching loss on the discriminator, MatchGAN achieves state-of-the-art results—surpassing a full-supervised baseline using only 20% of the labelled data on CelebA and RaFD.

ABSTRACT

We present a novel self-supervised learning approach for conditional generative adversarial networks (GANs) under a semi-supervised setting. Unlike prior self-supervised approaches which often involve geometric augmentations on the image space such as predicting rotation angles, our pretext task leverages the label space. We perform augmentation by randomly sampling sensible labels from the label space of the few labelled examples available and assigning them as target labels to the abundant unlabelled examples from the same distribution as that of the labelled ones. The images are then translated and grouped into positive and negative pairs by their target labels, acting as training examples for our pretext task which involves optimising an auxiliary match loss on the discriminator's side. We tested our method on two challenging benchmarks, CelebA and RaFD, and evaluated the results using standard metrics including Fréchet Inception Distance, Inception Score, and Attribute Classification Rate. Extensive empirical evaluation demonstrates the effectiveness of our proposed method over competitive baselines and existing arts. In particular, our method surpasses the baseline with only 20% of the labelled examples used to train the baseline.

Motivation & Objective

  • Address the challenge of training conditional GANs with limited labelled data, a major bottleneck in face attribute and expression editing.
  • Overcome the limitations of existing self-supervised methods that rely on geometric image augmentations, which do not generate new class-conditional examples.
  • Improve generalization and reduce overfitting in semi-supervised GAN training by introducing a novel pretext task based on label space manipulation.
  • Enable effective data augmentation using unlabelled data by assigning synthetic target labels and training a discriminative matching objective.

Proposed method

  • Generate synthetic training examples by assigning randomly sampled target labels from the label space to unlabelled images drawn from the same distribution as the labelled data.
  • Construct triplets of images—source image, generated image with target label, and another generated image with a different target label—for training the generator and discriminator.
  • Introduce an auxiliary match loss that classifies image pairs as positive (same target label) or negative (different target label) using a learned convolutional head on concatenated embeddings.
  • Optimize the match loss using cross-entropy instead of hinge or Euclidean loss, enabling more precise probability estimation and better discrimination.
  • Train the discriminator with both real image triplets (from the small labelled set) and synthetic triplets (from unlabelled data), enabling knowledge distillation from real to synthetic examples.
  • Integrate the match loss with standard GAN objectives, allowing the model to learn disentangled, class-conditional representations without requiring additional supervision.

Experimental results

Research questions

  • RQ1Can self-supervised learning based on label space augmentation improve the performance of conditional GANs under semi-supervised settings with minimal labelled data?
  • RQ2Does using synthetic examples generated via label space manipulation lead to better generalization and reduced overfitting compared to geometric augmentation-based self-supervision?
  • RQ3Can a match loss based on learned embedding comparison outperform standard GAN losses in generating high-fidelity, attribute-controllable images?
  • RQ4To what extent can MatchGAN reduce the need for large-scale annotated datasets in face attribute and expression editing tasks?

Key findings

  • MatchGAN outperforms the full-supervised baseline on CelebA when trained with only 20% of the labelled data, achieving a Fréchet Inception Distance (FID) of 6.34 compared to the baseline’s 6.65 at 100% supervision.
  • On RaFD, MatchGAN achieves a FID of 6.65 with 20% labelled data, outperforming the baseline’s 7.24 at 100% supervision and the rotation-based method’s 6.57 at 100% supervision.
  • MatchGAN achieves a higher Inception Score (IS) of 3.03 on CelebA with 20% data compared to the baseline’s 3.01 at 100% data, indicating improved sample quality and diversity.
  • The GAN-train classification accuracy on CelebA reaches 87.43% with MatchGAN (vs. 87.29% for baseline), and on RaFD, it reaches 97.78% (vs. 95.00% for baseline), demonstrating better downstream classifier performance.
  • Qualitative results show that MatchGAN generates sharper, more coherent images with fewer artefacts compared to the baseline, especially under low-data regimes.
  • The model’s performance improves significantly with more labelled data, with 20% MatchGAN results matching or exceeding the baseline’s 100% performance in visual quality and attribute consistency.

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.