Partition-Guided GANs

Mohammadreza Armandpour, Ali Sadeghian, Chunyuan Li, Mingyuan Zhou

Abstract

Despite the success of Generative Adversarial Networks (GANs), their training suffers from several well-known problems, including mode collapse and difficulties learning a disconnected set of manifolds. In this paper, we break down the challenging task of learning complex high dimensional distributions, supporting diverse data samples, to simpler sub-tasks. Our solution relies on designing a partitioner that breaks the space into smaller regions, each having a simpler distribution, and training a different generator for each partition. This is done in an unsupervised manner without requiring any labels. We formulate two desired criteria for the space partitioner that aid the training of our mixture of generators: 1) to produce connected partitions and 2) provide a proxy of distance between partitions and data samples, along with a direction for reducing that distance. These criteria are developed to avoid producing samples from places with non-existent data density, and also facilitate training by providing additional direction to the generators. We develop theoretical constraints for a space partitioner to satisfy the above criteria. Guided by our theoretical analysis, we design an effective neural architecture for the space partitioner that empirically assures these conditions. Experimental results on various standard benchmarks show that the proposed unsupervised model outperforms several recent methods.

Introduction

Generative Adversarial Networks (GANs) have revolutionized image synthesis but continue to face fundamental challenges. Two primary hurdles are mode collapse, where the generator produces a limited variety of samples, and mode connecting. Mode connecting occurs because real-world data distributions often reside on disconnected manifolds—isolated "islands" of data in a high-dimensional space. Standard neural networks, being continuous functions, struggle to represent these gaps, often generating unrealistic "mush" or artifacts in the empty space between data clusters.

Methodology: The Divide and Conquer Approach

Partition-Guided GANs (PGMGAN) address these issues by breaking down the complex task of learning a high-dimensional distribution into simpler sub-tasks. The framework follows a three-stage unsupervised pipeline:

  1. Semantic Embedding: Using self-supervised contrastive learning, the model maps images into a feature space where semantically similar objects are clustered together.
  2. Unsupervised Partitioning: This feature space is divided into $k$ regions using a differentiable clustering objective. This ensures that disconnected data manifolds are assigned to different partitions.
  3. Mixture of Generators and the Partition Guide: Instead of a single generator, PGMGAN employs a mixture of $k$ generators that share most parameters but have unique final layers. To ensure each generator stays within its assigned region, the authors introduce a Partition Guide ($R_i$). This distance-based loss function acts as a "GPS," providing a gradient that pushes a generator back to its territory if it begins producing samples belonging to another partition.

Experimental Results

The PGMGAN framework was evaluated across several benchmarks, demonstrating significant improvements in both sample quality and diversity.

Quantitative Performance

  • Stacked-MNIST: While standard GANs often recover only a fraction of modes, PGMGAN successfully captured all 1,000 modes.
  • ImageNet (128x128): In a purely unsupervised setting, the model achieved a Frechet Inception Distance (FID) of 21.73, a massive improvement over previous unsupervised methods like Self-Cond-GAN (FID 40.30).
  • CIFAR-10: The model reached an Inception Score (IS) of 8.81, surpassing several supervised models that utilize class labels.

Qualitative Analysis

The visual fidelity of the generated samples is high, with the model effectively avoiding the "mode connecting" artifacts common in vanilla GANs.

Comparison of real and generated deer samples, showcasing the model's ability to capture complex textures and structures.
Real vs. generated bird samples. The generated images maintain high diversity and sharp features without manual labels.

Conclusion

PGMGAN demonstrates that the continuity of standard neural networks can be a hindrance when modeling disconnected data distributions. By introducing a "piecewise continuous" architecture through a mixture of generators and a guided partitioning strategy, the model achieves state-of-the-art unsupervised performance. Future work may involve extending this guided logic to supervised settings to further refine class boundaries and image fidelity.

Summary updated

BibTeX
@inproceedings{armandpour2021partition,
  author = {Mohammadreza Armandpour and Ali Sadeghian and Chunyuan Li and Mingyuan Zhou},
  title = {{Partition-Guided GANs}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  url = {https://openreview.net/forum?id=q17DaV7dDSs},
}
Figure