Ensembles of Generative Adversarial Networks for Disconnected Data

Lorenzo Luzi, Randall Balestriero, Richard G. Baraniuk

TL;DR

Standard GANs struggle with datasets containing distinct, non-overlapping classes (like zebras and badgers) because they try to continuously map a connected latent space to a disconnected data space, resulting in unrealistic "in-between" images. This paper proves that ensembles of GANs mathematically resolve this topological mismatch and demonstrates that regularized ensembles can outperform both single GANs and conditional GANs while using fewer total parameters.

What Problem Does This Paper Address?

Most real-world image datasets are topologically disconnected—for instance, the set of all zebra images is completely separate from the set of all badger images, with no realistic continuous morph existing between them. However, standard generative models like Generative Adversarial Networks (GANs) are continuous functions that map a connected latent space ($\mathbb{R}^\ell$) to the data space.

The authors mathematically prove that a continuous function cannot map a connected space to a disconnected one without generating samples outside the true data distribution. This means single continuous GANs inherently suffer from irreducible error when dealing with multi-class data. While truncating the latent space can theoretically fix this, it is practically impossible because the true distribution's geometry is unknown.

Methods

To tackle the problem of disconnected data, the authors propose and analyze Ensembles of GANs:

  • Ensemble Framework: Instead of one massive network, the authors train an ensemble where individual networks focus on specific connected components (classes) of the data.
  • Regularized Optimization: To understand how single GANs, conditional GANs (cGANs), and Gaussian Mixture GANs (GM-GANs) relate, they introduce a hybrid optimization function with an $\ell_0$ penalty to control parameter sharing.
  • Differentiable Relaxation: Because $\ell_0$ optimization is computationally intractable, they relax it to an $\ell_1$ regularization penalty ($\lambda$). This allows backpropagation during training and lets them tune the degree of parameter sharing between ensemble components.
  • Theoretical Unification: They prove that cGANs and GM-GANs are simply special, highly constrained cases of their ensemble framework where parameter sharing is forced everywhere except the first layer.

Datasets

The experiments are conducted on the CIFAR-10 dataset. The paper also references MNIST and ILSVRC2012 (ImageNet) as real-world examples to illustrate the properties of disconnected data models.

Key Insights and Ideas

  • The Topological Mismatch: The core "aha" moment is the mathematical proof that single continuous GANs are topologically forced to generate garbage or unrealistic hybrid samples in the gaps between distinct data classes.
  • More than just Capacity: One might assume ensembles perform better simply because they have more parameters. Crucially, the authors show that an ensemble constrained to have fewer total parameters than a single baseline GAN still beats it. The performance gain comes from matching the data's topology, not brute-force capacity.
  • The Regularization "Sweet Spot": Parameter sharing isn't all-or-nothing. By using $\ell_1$ regularization, ensemble networks can share low-level features (like image backgrounds) while remaining distinct for class-specific features.

Key Results

  • On CIFAR-10, the "full ensemble" significantly outperformed the baseline WGAN across FID, Average MSE, Precision, and Recall.
  • Parameter Efficiency: The "equivalent ensemble" (using ~3.12M parameters compared to the baseline WGAN's ~3.48M parameters) still achieved a better FID score and lower MSE, proving that splitting the task across smaller networks is structurally superior.
Figure 1: Ensembles of WGANs with fewer total parameters than a single WGAN perform better on CIFAR-10. We do not have to sacrifice computation to achieve better performance, we just need models that capture the underlying structure of the data. The dotted red line is the baseline WGAN, the solid blue line is the equivalent ensemble, and the dashed black line is the full ensemble.
  • Optimal Sharing: Hyperparameter tuning of the regularization penalty ($\lambda$) revealed a clear performance peak at $\lambda = 0.001$. This sweet spot outperformed both completely independent networks ($\lambda = 0$) and overly restricted networks ($\lambda = 0.01$).
Tuning the regularization penalty reveals a performance sweet spot.
  • Outperforming cGANs: Ensembles outperformed conditional WGANs (cWGAN), showing that allowing more parameters to vary across classes is superior to just changing the first-layer bias.

Limitations and Future Work

  • Supervised Reliance: The current approach relies on supervised learning (using class labels) to define the disconnected components. Extending this specific regularized framework to fully unsupervised settings remains an open challenge.
  • Simplistic Compression: To create the "equivalent ensemble," the authors simply reduced layer widths. They note that this was an easy and effective choice for the paper, but likely not the optimal way to compress the network.
  • Strictly Disconnected Assumption: The theoretical analysis assumes perfectly disconnected sets. However, some datasets feature overlapping or poorly separated classes (e.g., the digits 1 and 7 in MNIST), which violates the strict disconnected data model.

Summary updated

BibTeX
@misc{luzi2020ensembles,
  author = {Lorenzo Luzi and Randall Balestriero and Richard G. Baraniuk},
  title = {{Ensembles of Generative Adversarial Networks for Disconnected Data}},
  year = {2020},
  eprint = {2006.14600},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.14600},
}
Figure