EGANS: Evolutionary Generative Adversarial Network Search for Zero-Shot Learning

Shiming Chen, Shuhuang Chen, Wenjin Hou, Weiping Ding, Xinge You

TL;DR

EGANS (Evolutionary Generative Adversarial Network Search) automates the design of GAN architectures specifically for Zero-Shot Learning (ZSL). By using a two-stage cooperative evolution strategy, it discovers dataset-specific architectures that synthesize higher-quality visual features for unseen classes, significantly outperforming traditional hand-crafted models.

What Problem Does This Paper Address?

Zero-Shot Learning (ZSL) aims to recognize objects from classes that were never seen during training (e.g., identifying a "zebra" having only seen "horses" and "tigers" and knowing the semantic description "striped horse"). Modern ZSL often uses Generative Adversarial Networks (GANs) to "imagine" visual features for these unseen classes based on their text or attribute descriptions.

However, existing GAN-based ZSL methods rely on hand-crafted architectures (usually simple multi-layer perceptrons). These fixed designs suffer from two major flaws:

  1. Poor Adaptation: A GAN designed for coarse-grained animal datasets might fail on fine-grained bird or flower datasets.
  2. Instability: GANs are notoriously difficult to train; a fixed architecture often leads to "mode collapse," where the generator produces repetitive, non-diverse samples.

Methods

The authors propose EGANS, which applies Neural Architecture Search (NAS) via evolutionary algorithms to find the optimal generator ($G$) and discriminator ($D$) for a given ZSL task.

Key Innovations:

  • Cooperative Dual Evolution: Instead of searching for $G$ and $D$ simultaneously—which is computationally explosive and unstable—EGANS uses a two-stage approach. It first evolves a population of generators against a fixed baseline discriminator. Once the optimal $G^*$ is found, it evolves a population of discriminators to find the best $D^*$ to match it.
  • Weight-Sharing Supernet: To avoid the massive cost of training thousands of candidate networks from scratch, EGANS uses a "Large_Generator" and "Large_Discriminator." All candidate architectures are sub-graphs of these "supernets" and share weights, making the search process remarkably efficient.
  • Multi-Objective Fitness Function: The "fitness" of an architecture isn't just based on how well it fools the discriminator (quality). It also includes a penalty for architecture complexity, encouraging the search to find efficient models that don't overfit.
  • Many-to-One Training: During the generator search, multiple candidate generators are trained against a single discriminator. This prevents the discriminator from becoming "too strong" too quickly, which is a common cause of GAN training failure.

Datasets

The method was evaluated on four standard ZSL benchmarks:

  • CUB (Caltech-UCSD Birds 200): 200 bird species (fine-grained).
  • SUN (Scene Attribute): 717 scene categories.
  • FLO (Oxford Flowers): 102 flower classes (fine-grained).
  • AWA2 (Animals with Attributes 2): 50 animal classes (coarse-grained).

Key Insights and Ideas

  • Complexity is Dataset-Dependent: The search discovered that fine-grained datasets (CUB, FLO) require significantly more complex generator architectures than coarse-grained ones (AWA2). Hand-crafted models typically ignore this distinction.
  • Generator Importance: The experiments suggest that the generator's architecture has a much higher impact on final ZSL accuracy than the discriminator's architecture.
  • Transferability Gap: Architectures optimized for one dataset (e.g., CUB) performed poorly when forced to work on another (e.g., AWA2). This confirms that the "universal" architectures used in prior research are sub-optimal.
  • Solving Mode Collapse: Qualitative t-SNE visualizations showed that EGANS-generated features are much more diverse and better separated than those from standard GANs, which tended to cluster too tightly (mode collapse).

Key Results

EGANS was integrated into two popular ZSL baselines (CLSWGAN and LisGAN) and showed consistent improvements:

  • Generalized ZSL (GZSL): On the FLO dataset, EGANS improved the Harmonic Mean (the primary ZSL metric) of LisGAN by 3.2%. On AWA2, it boosted CLSWGAN by 3.5%.
  • Conventional ZSL (CZSL): It achieved state-of-the-art results across the board, such as 70.6% accuracy on AWA2.
  • Efficiency: Despite being an evolutionary search, the weight-sharing strategy allowed the search on the CUB dataset to complete in roughly 140 minutes on a single NVIDIA 1080Ti GPU.

Limitations and Future Work

  • Fitness Metric Refinement: Currently, the fitness function relies on the discriminator's output. The authors suggest that incorporating the final classification accuracy of the ZSL model directly into the fitness function could yield even better results.
  • Search Space Constraints: The search is currently limited to MLP-based architectures (standard for feature-level ZSL). Expanding this to search for convolutional or transformer-based generators for pixel-level synthesis remains a future challenge.

Summary updated

BibTeX
@article{chen2024egans,
  author = {Shiming Chen and Shuhuang Chen and Wenjin Hou and Weiping Ding and Xinge You},
  title = {{EGANS: Evolutionary Generative Adversarial Network Search for Zero-Shot Learning}},
  journal = {IEEE Trans. Evol. Comput.},
  year = {2024},
  doi = {10.1109/tevc.2023.3307245},
}
Figure