Abstract
Standard adversarial training involves two agents, namely a generator and a discriminator, playing a mini-max game. However, even if the players converge to an equilibrium, the generator may only recover a part of the target data distribution, in a situation commonly referred to as mode collapse. In this work, we present the Domain Partitioning Network (DoPaNet), a new approach to deal with mode collapse in generative adversarial learning. We employ multiple discriminators, each encouraging the generator to cover a different part of the target distribution. To ensure these parts do not overlap and collapse into the same mode, we add a classifier as a third agent in the game. The classifier decides which discriminator the generator is trained against for each sample. Through experiments on toy examples and real images, we show the merits of DoPaNet in covering the real distribution and its superiority with respect to the competing methods. Besides, we also show that we can control the modes from which samples are generated using DoPaNet.
Introduction
Generative Adversarial Networks (GANs) are powerful generative models, but they frequently suffer from mode collapse. This occurs when the generator learns to produce only a limited subset of the target distribution's diversity—for instance, generating only a single digit class in a multi-digit dataset—because it finds a specific "shortcut" that successfully fools the discriminator. DoPaNet addresses this by employing a "divide and conquer" strategy, partitioning the data space to ensure the generator captures the full complexity of the target distribution.
Architecture and Methodology
DoPaNet evolves the traditional two-player GAN into a three-player framework involving a Generator ($G$), a set of $N$ independent Discriminators ($\{D_i\}$), and a Classifier ($Q$).
As shown in the architecture above, the workflow is structured as follows:
- The Generator ($G$): Produces samples conditioned on a categorical code $c$ and noise $z$.
- The Classifier ($Q$): Acts as a referee. For real data, $Q$ learns to cluster similar points into domains. For generated data, it ensures the sample is evaluated by the specific discriminator $D_i$ corresponding to the input code $c$.
- The Discriminators ($\{D_i\}$): Each discriminator becomes an "expert" on a specific partition of the data.
By partitioning the training environment, each discriminator simplifies the optimization landscape, forcing the generator to spread its output across all identified domains to succeed.
Domain Partitioning and Mode Coverage
A critical insight of DoPaNet is the relationship between the number of discriminators ($N$) and the number of underlying modes ($M$) in the data. Ideally, $N$ should match or exceed $M$ to ensure every mode is represented by at least one expert discriminator.
As illustrated in the figure:
- $M < N$: The model provides redundant coverage, splitting modes across multiple discriminators.
- $M = N$: Each discriminator specializes in exactly one mode.
- $M > N$: While some modes may be merged within a single discriminator's domain, the overall diversity remains significantly higher than in standard adversarial training.
Experimental Results
The authors evaluated DoPaNet across several benchmarks to demonstrate its robustness:
- Synthetic Data: On a 1D Gaussian Mixture Model, DoPaNet achieved a KL-Divergence of 0.02, vastly outperforming variants like InfoGAN (0.210) and GMAN (0.69).
- Stacked-MNIST: In a complex 1,000-mode environment, DoPaNet captured significantly more modes than competitors, scoring a KL-Div of 0.13 compared to the next best competitor (MAD-GAN) at 0.91.
- Real-World Datasets: On CIFAR-10 and CelebA, the model demonstrated superior qualitative diversity, capturing various orientations, lighting conditions, and facial features that are often lost in standard GAN training.
Conclusion
DoPaNet offers a robust solution to mode collapse by partitioning the data manifold among multiple expert discriminators. While it introduces some computational overhead and requires tuning the number of discriminators, the resulting stability and diversity in generation represent a significant advancement. Future work may involve integrating this partitioning logic into high-resolution architectures like StyleGAN to push the boundaries of diverse image synthesis.
Summary updated