Hierarchical Mixtures of Generators for Adversarial Learning

Alper Ahmetoglu, Ethem Alpaydin

Introduction

Generative Adversarial Networks (GANs) have revolutionized the field of generative modeling, yet they remain notoriously difficult to train. Two primary obstacles hinder their performance: mode collapse, where the generator ignores significant portions of the data distribution to focus on a "safe" subset, and vanishing gradients, where the signal for updating the generator becomes too weak as it propagates through deep architectures.

This paper introduces the Hierarchical Mixture of Generators (HMoG), a novel architecture that addresses these issues by replacing a single global generator with a tree-structured ensemble of local generators. By adopting a "divide-and-conquer" strategy, HMoG improves image diversity, training stability, and provides an interpretable hierarchical view of the learned data distribution.

The HMoG Architecture

The core innovation of HMoG is its organization as a binary tree, inspired by the classic "Hierarchical Mixture of Experts" framework.

The Hierarchical Mixture of Generators (HMoG) architecture, featuring a tree-structured ensemble of local generators controlled by gating nodes.

Tree Structure and Gating

Instead of a single deep network, the model uses internal gating nodes to route latent vectors $z$. These nodes utilize a sigmoid function to determine the probability of a sample following a specific branch. These are "soft" splits, meaning the final output is a weighted combination of paths rather than a hard assignment. This allows for smooth transitions between different data styles or categories.

Leaf Generators and Shared Blocks

The actual generation begins at the leaf generators, which are designed as simple linear models. The weighted sum of these leaf outputs produces an intermediate representation $h$. This representation is then processed by a shared deconvolutional block ($B_s$), similar to the architecture used in DCGAN, to generate the final image.

By utilizing simple leaf generators and a tree structure, the path for gradients is shortened, directly mitigating the vanishing gradient problem. This structure also allows the model to perform hierarchical clustering during the generative process, where generators sharing a common ancestor produce semantically similar images.

The flat Mixture of Generators (MoG) architecture, serving as a non-hierarchical baseline for comparison.

Key Insights and Results

The authors evaluated HMoG against several benchmarks, including toy 2D Gaussian mixtures, MNIST, FashionMNIST, UTZap50K, Oxford Flowers, and CelebA.

  • Superior Diversity: HMoG consistently outperformed existing multi-generator models (such as MADGAN and MEGAN) in terms of Frechet Inception Distance (FID), a standard metric for measuring both image quality and diversity.
  • Mode Coverage: On toy data tasks, HMoG was uniquely successful in capturing all modes of the distribution without overlap or missing components, demonstrating its robustness against mode collapse.
  • Interpretability: Visualizing the "average" image at each node reveals a clear progression. Root nodes represent general concepts (e.g., a generic face), while leaf nodes specialize in specific details (e.g., a smiling face or a face with a hat).
  • Stability: The model exhibited lower performance variance across different training runs compared to standard fully-connected GAN baselines, likely due to the more direct gradient flow provided by the tree structure.

Conclusion

HMoG represents a significant step toward more structured and interpretable GAN architectures. By decomposing a complex global distribution into local regions managed by a hierarchy of generators, the model achieves better coverage of diverse datasets while maintaining training stability. Future work may explore dynamic tree growth to automate the selection of the hierarchy's depth and breadth.

Summary updated

BibTeX
@inproceedings{ahmetoglu2020hierarchical,
  author = {Alper Ahmetoglu and Ethem Alpaydin},
  title = {{Hierarchical Mixtures of Generators for Adversarial Learning}},
  booktitle = {ICPR},
  year = {2020},
  url = {https://openreview.net/forum?id=hdL-grCjxXY},
}
Figure