Skip to main content
QUICK REVIEW

[Paper Review] Alleviating Mode Collapse in GAN via Diversity Penalty Module

Sen Pei, Richard Yi Da Xu|arXiv (Cornell University)|Aug 5, 2021
Generative Adversarial Networks and Image SynthesisComputer Science25 references10 citations
TL;DR

This paper proposes a pluggable diversity penalty module (PDPM) to alleviate mode collapse in GANs by enforcing consistency between the similarity of latent vectors and the similarity of their generated image features. By using normalized Gram matrices to measure feature similarity and penalizing mismatched similarities, PDPM improves mode coverage, image quality, and generalization across diverse tasks like image generation, data augmentation, and domain translation, achieving state-of-the-art results with minimal computational overhead.

ABSTRACT

The vanilla GAN (Goodfellow et al. 2014) suffers from mode collapse deeply, which usually manifests as that the images generated by generators tend to have a high similarity amongst them, even though their corresponding latent vectors have been very different. In this paper, we introduce a pluggable diversity penalty module (DPM) to alleviate mode collapse of GANs. It reduces the similarity of image pairs in feature space, i.e., if two latent vectors are different, then we enforce the generator to generate two images with different features. The normalized Gram matrix is used to measure the similarity. We compare the proposed method with Unrolled GAN (Metz et al. 2016), BourGAN (Xiao, Zhong, and Zheng 2018), PacGAN (Lin et al. 2018), VEEGAN (Srivastava et al. 2017) and ALI (Dumoulin et al. 2016) on 2D synthetic dataset, and results show that the diversity penalty module can help GAN capture much more modes of the data distribution. Further, in classification tasks, we apply this method as image data augmentation on MNIST, Fashion- MNIST and CIFAR-10, and the classification testing accuracy is improved by 0.24%, 1.34% and 0.52% compared with WGAN GP (Gulrajani et al. 2017), respectively. In domain translation, diversity penalty module can help StarGAN (Choi et al. 2018) generate more accurate attention masks and accelarate the convergence process. Finally, we quantitatively evaluate the proposed method with IS and FID on CelebA, CIFAR-10, MNIST and Fashion-MNIST, and the results suggest GAN with diversity penalty module gets much higher IS and lower FID compared with some SOTA GAN architectures.

Motivation & Objective

  • To address the persistent problem of mode collapse in GANs, where generators produce highly similar samples despite diverse latent vectors.
  • To develop a generalizable, architecture-agnostic module that improves training stability and diversity without modifying GAN architectures.
  • To enforce consistency between latent vector similarity and generated image feature similarity in feature space rather than pixel space.
  • To enable effective application of GANs in downstream tasks such as data augmentation and domain translation with improved sample quality and diversity.

Proposed method

  • PDPM computes the similarity of latent vectors using their normalized Gram matrices to establish a reference similarity distribution.
  • It extracts feature maps from the discriminator for fake images and computes their normalized Gram matrices to measure feature-level similarity.
  • The method enforces that if two latent vectors are dissimilar, their corresponding fake images must have dissimilar features, penalizing violations via a diversity penalty.
  • The penalty is applied during generator training using a balance coefficient λ, with no additional parameters beyond this scalar.
  • The framework is designed as a plug-in module, compatible with various GAN architectures including DCGAN, WGAN-GP, and StarGAN.
  • It operates in feature space, which is more robust than pixel space and avoids issues like noisy pixel generation seen in other methods.

Experimental results

Research questions

  • RQ1Can a general-purpose module be designed to alleviate mode collapse in GANs without modifying the underlying architecture?
  • RQ2Does enforcing consistency between latent vector similarity and generated image feature similarity improve mode coverage and sample diversity?
  • RQ3Can a feature-space-based penalty mechanism outperform existing loss-based or architectural modifications in terms of image quality and diversity?
  • RQ4How effective is the proposed module in downstream tasks such as data augmentation and domain translation?
  • RQ5Does the PDPM module maintain performance across different GAN architectures and datasets?

Key findings

  • PDPM achieved state-of-the-art FID scores of 21.76 on CelebA with DCGAN and 24.18 with WGAN-GP, significantly outperforming vanilla GANs and other SOTA methods.
  • On the 2D synthetic dataset, GAN with PDPM captured four additional modes compared to the vanilla GAN, demonstrating superior mode coverage.
  • In image data augmentation, PDPM improved ResNet accuracy by 0.24% on MNIST, 1.33% on Fashion-MNIST, and 0.55% on CIFAR-10 over WGAN-GP.
  • Linear interpolation in latent space showed that PDPM-generated transitions were smoother and free of noisy pixels, unlike the MS regularization group.
  • In domain translation, PDPM enabled faster convergence and more accurate attention masks for facial attribute transfer compared to vanilla StarGAN.
  • The PDPM module achieved high performance across diverse tasks—including image generation, data augmentation, and domain translation—demonstrating strong transferability and low computational cost.

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.