Introduction
Generative Adversarial Networks (GANs) have revolutionized image synthesis, yet their training remains notoriously unstable. While significant research has focused on optimizing loss functions and regularization techniques, the underlying neural architectures have largely remained static, often borrowed directly from image classification tasks. This paper introduces AGAN, the first Neural Architecture Search (NAS) algorithm specifically designed to automate the design of GANs. AGAN demonstrates that the optimal architectures for generative tasks differ fundamentally from their discriminative counterparts.
The Challenge of GAN Architecture
Most popular GAN architectures, such as DCGAN or ResNet-based models, are inspired by discriminative tasks. However, generative models require unique operations, most notably up-sampling to generate high-resolution images from latent vectors. Standard NAS frameworks are typically tailored for down-sampling and classification, lacking the necessary vocabulary to construct effective up-sampling modules. AGAN addresses this gap by providing a search space and controller specifically designed for the dual nature of GANs.
Methodology: The AGAN Framework
AGAN utilizes a Reinforcement Learning (RL) based NAS framework. A two-layer LSTM controller is employed to simultaneously sample architectures for both the generator (G) and discriminator (D).
Three-Segment Controller and Meta-Architecture
To keep the search space tractable, the authors define a fixed meta-architecture while allowing the controller to design the micro-architecture of three distinct module types: up-sampling modules (for G), and down-sampling and normal modules (for D). The LSTM is specifically programmed to handle these three segments independently.
Search Space and Reward Shaping
Unlike previous NAS approaches that restrict node connectivity, AGAN allows for arbitrary Directed Acyclic Graph (DAG) topologies within cells. This enables the discovery of complex, multi-branch "Inception-ResNet" hybrid structures. The controller is updated via the REINFORCE algorithm, using the Inception Score (IS) of generated images as the reward signal. A custom reward shaping function is applied to increase sensitivity as the IS approaches optimal values, guiding the search toward high-performing architectures.
Key Insights and Architectural Preferences
The search process revealed several critical insights into GAN design:
- Generative vs. Discriminative: Optimal cells discovered by AGAN look remarkably different from standard classification cells (like those in Inception or ResNet), suggesting that human intuition borrowed from classification is suboptimal for GANs.
- Module Preferences: The search revealed a strong preference for "upsample-then-convolution" (e.g., nearest-neighbor interpolation followed by a standard convolution) for generation and "convolution-then-downsample" for discrimination.
- Efficiency: Normal modules in the discriminator almost exclusively chose average pooling operations, resulting in parameter-efficient blocks.
Experimental Results
The search, conducted primarily on CIFAR-10, yielded three high-performing architectures: AGAN-A, AGAN-B, and AGAN-C.
Performance on CIFAR-10
In supervised settings, AGAN-B achieved an Inception Score (IS) of 8.82 and a Frechet Inception Distance (FID) of 23.8, outperforming larger ResNet-based models while maintaining a compact size of approximately 20M parameters. In unsupervised settings, AGAN-C set a new state-of-the-art with an IS of 8.29 and FID of 30.5.
Transferability to STL-10
The modules discovered on CIFAR-10 demonstrated excellent transferability. When applied to the STL-10 dataset (resized to 48x48) without further architecture tuning, AGAN-A achieved an IS of 9.23, surpassing several established human-designed architectures.
Conclusion and Future Work
AGAN represents a significant step toward automating GAN design. By moving away from classification-inspired architectures, it discovers more efficient and higher-performing models. While the current search process is computationally intensive—requiring 6 days on 200 GPUs—future work will focus on further reducing model size and optimizing for faster inference.
Summary updated