Skip to main content
QUICK REVIEW

[Paper Review] Mode matching in GANs through latent space learning and inversion

Deepak Mishra, Prathosh AP|arXiv (Cornell University)|Nov 8, 2018
Generative Adversarial Networks and Image SynthesisComputer Science37 references3 citations
TL;DR

This paper proposes NEMGAN, a method that enables mode matching in GANs by learning a multimodal latent prior distribution through minimal-supervision, allowing the generator to match the true data distribution's mode priors. By jointly training a latent space inversion network with a divergence loss, the model achieves robust mode separation, conditional generation, and attribute discovery across imbalanced datasets like MNIST-5, FMNIST-5, and CelebA, outperforming SOTA methods in mode coverage and distribution alignment.

ABSTRACT

Generative adversarial networks (GANs) have shown remarkable success in generation of unstructured data, such as, natural images. However, discovery and separation of modes in the generated space, essential for several tasks beyond naive data generation, is still a challenge. In this paper, we address the problem of imposing desired modal properties on the generated space using a latent distribution, engineered in accordance with the modal properties of the true data distribution. This is achieved by training a latent space inversion network in tandem with the generative network using a divergence loss. The latent space is made to follow a continuous multimodal distribution generated by reparameterization of a pair of continuous and discrete random variables. In addition, the modal priors of the latent distribution are learned to match with the true data distribution using minimal-supervision with negligible increment in number of learnable parameters. We validate our method on multiple tasks such as mode separation, conditional generation, and attribute discovery on multiple real world image datasets and demonstrate its efficacy over other state-of-the-art methods.

Motivation & Objective

  • To address the persistent issue of mode collapse in GANs, particularly under skewed data distributions where true data modes are non-uniformly distributed.
  • To enable precise control over generated data modes by aligning the latent space prior with the true data distribution’s modal structure.
  • To develop a method that leverages minimal-supervision (<1% of labeled data) to guide mode discovery and improve generalization in real-world, imbalanced datasets.
  • To enable unsupervised discovery of meaningful attributes (e.g., writing style, facial features) without relying on standard labels.

Proposed method

  • The method introduces a hybrid latent space composed of continuous and discrete random variables, reparameterized to form a continuous multimodal prior distribution.
  • A latent space inversion network is trained jointly with the generator using a divergence loss to ensure that the latent codes map accurately to real data points.
  • The latent prior is optimized via minimal-supervision to match the true data distribution’s mode priors, using only a small fraction of labeled samples.
  • The model employs a reparameterization trick to enable end-to-end training of the multimodal latent prior, allowing gradient flow through discrete components.
  • The framework is compatible with any GAN architecture and supports both conditional generation and unsupervised mode discovery.
  • The method uses a divergence-based objective to minimize distributional discrepancy between the generated and true data modes.

Experimental results

Research questions

  • RQ1Can a GAN be trained to match the true data distribution’s mode priors even when the data modes are skewed or imbalanced?
  • RQ2How can minimal-supervision (<1% of labeled data) be effectively used to guide latent space learning for mode matching in GANs?
  • RQ3Can the proposed method discover meaningful, disentangled attributes in data (e.g., handwriting style, facial features) without relying on standard labels?
  • RQ4To what extent can the model generalize to high-mode scenarios (e.g., 1000 modes in stacked MNIST) while maintaining full mode coverage?
  • RQ5How does the method compare to SOTA approaches in terms of mode coverage, distribution alignment, and attribute discovery?

Key findings

  • NEMGAN successfully captured all 1000 modes in the stacked MNIST dataset, achieving a mode coverage of 1000 compared to 890 for MAD-GAN, the next best method.
  • On the MNIST-5 and FMNIST-5 datasets, NEMGAN achieved high-quality mode separation with generated samples clearly reflecting user-defined class groupings, even without supervision.
  • In the CelebA dataset, NEMGAN discovered the attribute of 'teeth visibility' as a meaningful mode, despite no such label being present in the original data.
  • The model achieved a KL divergence of 0.21 on the stacked MNIST dataset, significantly lower than BEGAN (1.89), InfoGAN (2.75), and Unrolled GAN (1.29), indicating superior distributional alignment.
  • NEMGAN outperformed existing methods in conditional generation and attribute discovery tasks, demonstrating robustness under class imbalance and minimal supervision.
  • The method required less than 1% of labeled data for prior learning, proving effective even in low-supervision 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.