EAGAN: Efficient Two-Stage Evolutionary Architecture Search for GANs

Guohao Ying, Xin He, Bin Gao, Bo Han, Xiaowen Chu

Abstract

Generative Adversarial Networks (GANs) are notoriously difficult to optimize through Neural Architecture Search (NAS) due to the unstable adversarial training process and the complex coupling between the Generator (G) and Discriminator (D). This paper introduces EAGAN (Efficient Two-stage Evolutionary Architecture Search for GANs), a novel framework that decouples the search process into two distinct stages. By utilizing a weight-sharing SuperNet and a unique weight-resetting strategy, EAGAN achieves state-of-the-art results on the CIFAR-10 dataset with a search cost of only 1.2 GPU days.

Introduction

The success of GANs depends on a delicate balance between the Generator and Discriminator. In the context of NAS, searching for both architectures simultaneously often leads to instability; a poorly performing candidate in one network can negatively impact the training of its partner, leading to unfair evaluations and potential mode collapse. Previous NAS-GAN approaches either searched only the Generator, leading to sub-optimal pairings, or attempted simultaneous search at the cost of extreme computational overhead and instability.

Methodology

EAGAN addresses these challenges through a decoupled evolutionary search strategy and a weight-sharing SuperNet to make the search both stable and efficient.

The search process is split into two sequential stages to stabilize the adversarial game:

  1. Stage 1: Generator Search: The Discriminator architecture is fixed, and multiple candidate Generators ($G_1, ..., G_p$) are evolved using a many-to-one training strategy against a shared Discriminator ($D$).
  2. Stage 2: Discriminator Search: Using the best Generator ($G^*$) found in Stage 1, the algorithm searches for the optimal Discriminator. This stage employs a one-to-one training strategy where each candidate Discriminator is paired with a copy of $G^*$.
The two-stage search pipeline of EAGAN, showing the transition from searching G with a fixed D to searching D with the best G*.

Weight-Sharing and Candidate Operations

To maintain efficiency, EAGAN utilizes a SuperNet where all candidate sub-networks share weights, avoiding the need to train every candidate from scratch. The search space includes various up-sampling, down-sampling, and normal operations such as dilated convolutions and skip-connections.

The SuperNet-G and SuperNet-D architectures along with the candidate operations for cells.

Weight-Resetting and Multi-Objective Optimization

A critical innovation in Stage 2 is weight-resetting. To prevent a "bad" Discriminator from permanently ruining the weights of the optimal Generator, the weights of all $G^*$ copies are reset to the best-performing weights from the previous evolution round at the start of each iteration. This ensures a fair evaluation of Discriminator candidates.

Furthermore, EAGAN employs multi-objective optimization using non-dominated sorting to find a Pareto-front of architectures. This allows the search to balance conflicting goals: Inception Score (IS), Fréchet Inception Distance (FID), and model size.

Experiments and Results

The framework was primarily evaluated on the CIFAR-10 dataset (32x32 resolution) and tested for transferability on STL-10.

  • Efficiency: The entire search process was completed in just 1.2 GPU days, a significant improvement over prior NAS-GAN methods that could take up to 580 GPU days.
  • Performance: On CIFAR-10, the discovered architecture achieved an IS of 8.81 ± 0.10 and an FID of 9.91, which is highly competitive with both human-designed and other NAS-generated models.
  • Generalization: When the CIFAR-searched architecture was trained on the STL-10 dataset (resized to 48x48), it achieved an IS of 10.44, outperforming previous NAS-GANs and demonstrating robustness across different data distributions.

Conclusion

EAGAN demonstrates that decoupling the search for Generators and Discriminators, combined with a robust weight-resetting strategy, can significantly stabilize and accelerate NAS for GANs. While the current work focuses on low-resolution images, the efficiency and stability of this two-stage approach provide a promising foundation for scaling evolutionary architecture search to high-resolution generative tasks.

Summary updated

BibTeX
@inproceedings{ying2022eagan,
  author = {Guohao Ying and Xin He and Bin Gao and Bo Han and Xiaowen Chu},
  title = {{EAGAN: Efficient Two-Stage Evolutionary Architecture Search for GANs}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19787-1\_3},
}
Figure