Abstract
Neural Architecture Search (NAS) has traditionally been a computationally intensive process. While recent Neural Architecture Generation (NAG) methods using diffusion models offer speed improvements, they remain burdened by expensive "score networks" and susceptibility to local optima. We present EDNAG (Evolutionary Diffusion-based Neural Architecture Generation), a framework that replaces the noise-prediction network with a fitness-guided evolutionary process. By treating denoising as reversed evolution, EDNAG achieves state-of-the-art accuracy across diverse benchmarks while providing a 50× average speedup in generation time compared to previous diffusion-based methods.
Introduction
Automating the design of deep learning models through Neural Architecture Search (NAS) is a cornerstone of modern AI research. However, the search space for optimal architectures is often vast and non-convex, making traditional search methods resource-heavy. Neural Architecture Generation (NAG) emerged to address this by treating architecture design as a generative task. Diffusion models, in particular, have shown promise but face two significant challenges: the high computational cost of training and running "score networks" (like UNets) for noise estimation, and a tendency to converge to local optima in complex search spaces.
The EDNAG Framework
EDNAG addresses these limitations by marrying the iterative refinement of diffusion models with the global search capabilities of evolutionary algorithms. The core innovation is a network-free denoising strategy.
Fitness-guided Denoising (FD)
Unlike traditional diffusion models that rely on a trained neural network to estimate noise at each step, EDNAG utilizes a Fitness-guided Denoising strategy. It maps the predicted performance (fitness) of a population of architectures to a probability density. This density guides the Denoising Diffusion Implicit Model (DDIM) formula to generate the subsequent "generation" of architectures. This approach effectively treats the denoising process as a form of reversed evolution.
Evolutionary Selection Strategies
To maintain population variety and avoid local optima, EDNAG incorporates three distinct selection mechanisms:
- Elitism (10%): Preserves the top-performing architectures.
- Diversity Strategy (20%): Selects individuals based on Euclidean distance to ensure broad exploration of the search space.
- Roulette Wheel (70%): Provides a probabilistic selection to balance exploration and exploitation.
To guide this evolution, a transferable neural predictor is used. Its stability is enhanced by selecting a "coreset" of representative data points via K-means clustering, ensuring the predictor is trained on a diverse subset of the task dataset.
Experimental Results
The researchers evaluated EDNAG across multiple benchmarks, including NAS-Bench-201, TransNASBench-101, and massive search spaces like AutoFormer (with over $1.7 \times 10^{16}$ architectures).
Efficiency and Performance
EDNAG demonstrates remarkable efficiency gains. The generative component is entirely training-free, reducing GPU hours for this stage to zero. During inference, EDNAG is up to 100× faster than previous diffusion-based methods on datasets like CIFAR-10. Despite this speed, it consistently achieves SOTA results. On TransNASBench-101, it improved accuracy by up to 10.45% over baselines. Furthermore, it successfully navigated the ImageNet-1k search space, finding vision transformers that rival manually designed models.
Conclusion
EDNAG represents a significant step forward in efficient NAS by conceptualizing diffusion as a reversed evolutionary process. By eliminating the need for a generative score network, it drastically reduces computational overhead while improving search quality through evolutionary diversity. While the framework still requires a neural predictor for fitness estimation, future work exploring zero-cost proxies could lead to a fully training-free, end-to-end architecture generation pipeline.
Summary updated