TL;DR
This paper introduces AlphaGAN, a novel, fully differentiable neural architecture search (NAS) framework specifically designed for Generative Adversarial Networks (GANs). By formulating GAN architecture search as a bi-level optimization problem that targets pure Nash Equilibrium, AlphaGAN efficiently discovers high-performing GAN architectures, achieving state-of-the-art results on challenging datasets and even improving upon the already impressive StyleGAN2.
What Problem Does This Paper Address?
Generative Adversarial Networks (GANs) are powerful tools for generating realistic data, but their performance is highly sensitive to network architecture. Manually designing optimal GAN architectures is a complex and time-consuming process, requiring significant expertise. While Neural Architecture Search (NAS) has shown great success in other domains like image classification, applying it to GANs is challenging due to the inherent minimax nature of GAN training, which makes standard evaluation metrics non-differentiable and difficult to monitor during the search process. Existing NAS methods for GANs often rely on indirect metrics or are computationally prohibitive. This paper aims to bridge this gap by developing an efficient, differentiable NAS method that directly optimizes GAN architectures towards a stable equilibrium.
Methods
The core contribution is AlphaGAN, a fully differentiable NAS framework for GANs. It tackles the problem by:
- Bi-level Optimization: Formulating the search as a bi-level minimax optimization problem. The outer loop optimizes the architecture parameters to achieve a pure Nash Equilibrium, while the inner loop trains the GAN's weight parameters for a given architecture.
- Differentiable Evaluation Metric: Introducing a differentiable metric, the "duality gap," to guide the architecture search. This metric quantifies how close the current GAN is to a Nash Equilibrium, providing a more suitable objective than traditional GAN losses for guiding architecture search.
- First-Order Optimization: Solving the bi-level optimization problem using a first-order, alternating minimization approach, making the search process efficient and fully differentiable.
- Adaptation to StyleGAN2: Demonstrating the framework's versatility by adapting it to search architectures for the state-of-the-art StyleGAN2, including searching for intermediate latent representations.
Datasets
- CIFAR-10: Used for training and evaluating conventional GAN architectures.
- STL-10: Used for evaluating the transferability of architectures found on CIFAR-10.
- CelebA: Used for training and evaluating StyleGAN2-based architectures.
- LSUN-church: Used for training and evaluating StyleGAN2-based architectures.
- FFHQ: Used for training and evaluating StyleGAN2-based architectures.
Key Insights and Ideas
- Nash Equilibrium as a Search Target: The paper convincingly argues that optimizing GAN architectures towards a pure Nash Equilibrium, using the duality gap as a metric, is a more principled and effective approach than relying on traditional GAN losses.
- Differentiable Search for GANs is Feasible and Efficient: AlphaGAN demonstrates that a fully differentiable NAS approach can be successfully applied to GANs, achieving competitive results with significantly reduced computational cost compared to previous methods.
- Architecture Matters for StyleGAN2: Even for highly optimized architectures like StyleGAN2, AlphaGAN can find improvements, suggesting that there's still room for automated architecture discovery in advanced generative models.
- Transferability of Found Architectures: Architectures searched on one dataset (e.g., CIFAR-10) can be effectively retrained on other datasets (e.g., STL-10), showcasing the generalizability of the discovered architectural principles.
Key Results
- State-of-the-Art Performance: AlphaGAN achieves state-of-the-art results on CIFAR-10, STL-10, CelebA, LSUN-church, and FFHQ datasets.
- Improved StyleGAN2: When applied to StyleGAN2, AlphaGAN-discovered architectures achieve superior FID scores compared to the original StyleGAN2 on CelebA (1.94 vs 2.17), LSUN-church (2.86 vs 3.86), and FFHQ (2.75 vs 2.84).
- Computational Efficiency: AlphaGAN can find high-performing architectures in just 3 GPU hours on CIFAR-10, significantly faster than previous NAS-GAN methods.
- Reduced Search Space Complexity: The framework can explore a vast search space (e.g., ~2x10^11 configurations for conventional GANs) efficiently.
Limitations and Future Work
- Guaranteeing Nash Equilibrium: The authors acknowledge that while the duality gap guides the search towards Nash Equilibrium, it cannot be strictly guaranteed due to the non-convex nature of GAN optimization.
- Sub-optimal Architectures from Simultaneous Search: Searching both generator and discriminator architectures simultaneously can lead to sub-optimal results, suggesting that focusing on generator architecture search might be more effective.
- Parameter Size vs. Performance for StyleGAN2: For complex models like StyleGAN2, achieving better performance often comes with larger model sizes, and finding a trade-off remains an open challenge.
- Failure Cases: Like other NAS methods, AlphaGAN can encounter failure cases, particularly related to deconvolution operations. Future work could explore strategies to mitigate these.
- Accelerating GAN Training: The authors suggest that accelerating GAN training through AutoML is a critical area for future research.
- Single-Level Optimization: Exploring more robust single-level optimization formulations for NAS-GANs is also suggested.
Summary updated