Dynamically Grown Generative Adversarial Networks

Lanlan Liu, Yuting Zhang, Jia Deng, Stefano Soatto

Introduction

Training Generative Adversarial Networks (GANs) remains a significant challenge due to the delicate balance required between the generator (G) and discriminator (D). Traditional approaches often suffer from vanishing gradients or training collapse when one network outpaces the other. Progressive Growing (ProgGAN) mitigated some of these issues by incrementally increasing resolution, yet it relied on manually designed, symmetric architectures. This work introduces Dynamically Grown GAN (DGGAN), which automates the architectural design process by searching for optimal, potentially asymmetric configurations during training.

Methodology

DGGAN treats architecture design as an optimization problem interleaved with standard training phases. The process follows a "Grow-and-Train" cycle:

  1. Dynamic Growing: Training periodically pauses to evaluate potential "child" architectures derived from the current "parent." These modifications include adding convolutional layers with varying filter sizes (e.g., 3x3 or 7x7) or increasing image resolution.
  2. Asymmetric Search: Unlike rigid symmetric models, DGGAN allows G and D to evolve independently. This flexibility enables the discovery of architectures where, for instance, a deeper generator might be paired with a shallower discriminator to maintain equilibrium.
  3. Weight Inheritance: To ensure computational efficiency, child architectures inherit weights from their parents. Only newly added layers are initialized randomly, drastically reducing the time required to evaluate new candidates.
  4. Top-K Greedy Pruning: To manage the search space, a greedy approach is employed where only the top $K$ performing models at each stage are retained for further growth.
Overview of the DGGAN dynamic growing process and weight inheritance mechanism.

Experimental Setup

The framework was evaluated on two primary benchmarks:

  • CIFAR-10: 50,000 images at 32x32 resolution.
  • LSUN (Bedrooms): Over one million images at 256x256 resolution.

Notably, DGGAN is the first automated GAN framework demonstrated to scale effectively to 256x256 resolutions, whereas previous automated methods were largely restricted to lower resolutions (e.g., 48x48).

Key Insights

  • Optimal Asymmetry: The search frequently identified that asymmetric G and D pairs outperform symmetric ones. The parameter ratio between G and D can vary significantly without degrading performance, suggesting that the traditional symmetry constraint is sub-optimal.
  • Filter Size Preferences: Analysis revealed that discriminators are particularly sensitive to filter size, performing poorly with larger 7x7 filters. Conversely, generators exhibit greater flexibility across different filter sizes.
  • Efficiency of Greedy Search: The authors observed that early pruning of sub-optimal parents rarely missed "superstar" children in later stages, validating the use of efficient greedy search over exhaustive methods.

Results

DGGAN achieved state-of-the-art performance across benchmarks, consistently outperforming both manual and automated baselines.

  • CIFAR-10: DGGAN reached a Fréchet Inception Distance (FID) of 12.10, surpassing AutoGAN (12.42) and the manual ProgGAN (18.33).
  • LSUN (256x256): The model achieved an FID of 8.22, marking the best performance among non-part-based GANs at this resolution.
  • Resolution Consistency: DGGAN maintained a performance lead over ProgGAN at every intermediate resolution step, including a 58% FID improvement at the 64x64 stage.
Visual comparison of generated images from ProgGAN, AutoGAN, and DGGAN on the CIFAR-10 dataset.

Limitations and Future Work

Despite its success, DGGAN entails significant computational costs, requiring 580 GPU days for CIFAR-10 and 1720 GPU days for LSUN. Future research could focus on more efficient search algorithms, such as Differentiable Architecture Search (DARTS), or integrating advanced loss functions and regularization techniques to further enhance image quality and training stability.

Summary updated

BibTeX
@inproceedings{liu2021dynamically,
  author = {Lanlan Liu and Yuting Zhang and Jia Deng and Stefano Soatto},
  title = {{Dynamically Grown Generative Adversarial Networks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i10.17052},
}
Figure