Abstract
Neuroevolutionary algorithms, which automate the search for neural network structures using evolutionary techniques, are powerful but computationally expensive. Typically, the final outcome of these processes is the single best structure found, while the vast amount of data generated during the search is discarded. This paper proposes an approach to extract this "residual information" to build a metamodel that can significantly enhance future neural architecture searches. By analyzing successful Generative Adversarial Network (GAN) structures, we develop a Bayesian network-based model. This metamodel can identify strong neural structures, initialize searches for new problems, and guide optimization algorithms to avoid local optima, leading to more efficient and effective architecture discovery.
Introduction
Designing deep neural networks (DNNs) has transitioned from manual "architecture engineering" to automated Neural Architecture Search (NAS). Neuroevolution (NE) is a prominent NAS approach that uses evolutionary algorithms to iteratively improve network structures. However, NE is notoriously resource-intensive, often requiring massive GPU time to evolve populations from random initializations.
Crucially, most researchers keep only the "winner" of a search, discarding the thousands of other evaluated architectures. We argue that this discarded data is a goldmine of knowledge regarding the structural dependencies that lead to high performance. By recycling this information, we can learn the "signatures" of successful models and jumpstart future searches.
Methodology: The Bayesian Metamodel
We propose a two-level metamodel based on Bayesian Networks (BNs) to capture the probabilistic relationships between architectural components, such as layer counts, activation functions, and layer sizes.
As illustrated in Figure 1, the approach is structured hierarchically:
- The Supermodel: This level manages the macro-structure, specifically the number of layers in both the Generator ($d_g$) and the Discriminator ($d_d$).
- The Submodels: For every specific depth combination, a dedicated BN is learned to model micro-dependencies—for example, how the width of one layer correlates with the optimal activation function of the next.
We utilize the ARACNE algorithm to learn these network structures from search data. Once trained, the metamodel serves three primary functions: Discrimination (evaluating the likelihood of new architectures), Sampling (generating new high-potential candidates), and Guidance (informing local search algorithms about promising neighboring structures).
Experimental Evaluation
The metamodel was validated across three distinct domains to test its versatility:
- Synthetic Benchmarks: Eight multi-objective functions (F1–F9) used to evolve MLP-based GANs for Pareto set approximation.
- Distributional Tasks: 2D 8-Gaussian and 25-Gaussian mixture problems designed to evaluate a GAN's resilience to mode collapse.
- Image Data: The MNIST and Fashion-MNIST datasets were used to evaluate complex CNN-based GAN architectures.
Results and Discussion
Our experiments yielded several key insights into the efficiency of informed searches:
Likelihood and Generalization
The metamodel successfully assigned significantly higher probability scores to high-performing architectures compared to random ones. Remarkably, a metamodel trained on simple mathematical functions could successfully initialize searches for Gaussian distribution problems. This suggests that "good" GAN structures share universal traits that transcend specific datasets.
The Warm Start Advantage
In Gaussian mixture experiments, populations initialized using the metamodel (the "Warm Start") began with a Maximum Mean Discrepancy (MMD) score already superior to what random populations achieved after multiple generations of evolution. This confirms that the BN captures essential structural signatures that provide a significant head start.
Informed Hill Climbing
When applying the metamodel to guide local searches for CNN-GANs on MNIST, the "Informed" search outperformed the random baseline. As shown in Figure 5, while random search often plateaus, the informed search continues to find improvements in Fréchet Inception Distance (FID).
Conclusion
This research demonstrates that the residual information from neuroevolutionary searches is a valuable asset. By using Bayesian Networks to model the dependencies of successful architectures, we can move away from "blind" searches toward informed optimization. While current limitations include the discretization of continuous variables and a lack of problem-specific features, the ability of these metamodels to generalize across tasks and prevent stagnation in local optima represents a significant step forward for efficient Neural Architecture Search.
Summary updated