Hierarchical Modes Exploring in Generative Adversarial Networks

Mengxiao Hu, Jinlong Li, Maolin Hu, Tao Hu

Introduction

Generative Adversarial Networks (GANs) have revolutionized data generation, yet they remain plagued by mode collapse—a phenomenon where the generator produces a limited subset of the target distribution. This issue is particularly acute in conditional GANs (cGANs), where the strong signal from the input condition often suppresses the influence of random noise, leading to nearly identical outputs for different noise vectors. This paper introduces Hierarchical Modes Exploring (HMGAN), a regularization technique that enforces an "Expected Ratio of Expansion" (ERE) across convolutional layers to enable multi-scale diversity control.

The Challenge of Mode Collapse

In cGANs, the generator receives both a condition (e.g., a source image or class label) and a noise vector. Ideally, the noise should drive stochastic variations in the output. However, the upsampling process in standard architectures often causes the distance between samples to shrink, allowing the condition to overwhelm the noise. Previous solutions often maximized distance at the final output layer, but these "global" approaches can lead to unstable training or a loss of visual fidelity.

The HMGAN Methodology

HMGAN addresses mode collapse by treating diversity as a hierarchical property. The core of the method is the Expected Ratio of Expansion (ERE), implemented through a novel regularization term $L_h$.

  1. Layer-wise Distance Ratios: The authors measure the distance between pairs of samples at every convolutional layer.
  2. Regularization: A hyperparameter $\lambda^{(i)}$ (the target ERE) is defined for each layer. The loss function penalizes deviations from these targets, acting as a "counter-pressure" against the natural tendency of cGANs to collapse distances.
  3. Hierarchical Control: By setting different $\lambda$ values for different layers, researchers can precisely tune diversity at different feature scales—from global structure to fine-grained textures.

Experimental Evaluation

The authors validated HMGAN across diverse tasks, including categorical generation (CIFAR-10), paired image-to-image translation (Facades, Maps), and unpaired translation (Yosemite, Cat2Dog).

Qualitative comparison of HMGAN against Pix2Pix on Facades and Maps datasets. HMGAN demonstrates significantly higher visual diversity while maintaining ground truth fidelity.

HMGAN consistently outperformed baselines across key metrics:

  • Diversity: In the Cat2Dog task, HMGAN achieved an LPIPS score of 0.280, surpassing the DRIT baseline (0.250).
  • Quality: On CIFAR-10, it improved the FID score from 32.21 (DCGAN) to 28.84, demonstrating that increased diversity does not necessitate a trade-off in realism.
  • Mode Coverage: Lower NDB scores in categorical generation indicated better capture of the underlying data distribution.

Granular Control and Insights

A key insight of HMGAN is the ability to decouple different types of diversity. By adjusting the ERE at specific layers, the model can be forced to explore variations in posture or layout versus variations in color or texture.

Demonstration of granular diversity control on the CUB-200-2011 dataset. Adjusting λ at different layers allows for independent control over global structure (posture) and fine-grained features (color/texture).

As shown in the figure above, setting a high ERE at early layers (left) encourages diverse bird postures, while a high ERE at later layers (right) results in variations in plumage color and texture while maintaining similar poses.

Conclusion

HMGAN provides a computationally efficient and architecturally agnostic solution to mode collapse in cGANs. By managing diversity layer-by-layer, it offers unprecedented control over generative outputs. Future work will focus on automating hyperparameter selection and exploring the mathematical dependencies between ratios across the network hierarchy.

Summary updated

BibTeX
@inproceedings{hu2020hierarchical,
  author = {Mengxiao Hu and Jinlong Li and Maolin Hu and Tao Hu},
  title = {{Hierarchical Modes Exploring in Generative Adversarial Networks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i07.6732},
}
Figure