Introduction
Neural Architecture Search (NAS) aims to automate the design of high-performance neural networks, moving away from labor-intensive manual "trial-and-error." However, the search space for architectures is discrete and vast, making optimization difficult. Existing methods often struggle with high computational costs (discrete methods like RL) or rigid constraints (differentiable methods).
A promising direction involves mapping discrete architectures into a continuous latent space using Graph Variational Autoencoders (VAEs). While models like D-VAE have made strides, they remain computationally expensive and often fail to reconstruct complex graphs accurately. Smooth Variational Graph Embeddings (SVGe) addresses these limitations by providing a faster, more accurate framework that produces a "smooth" latent space optimized for search.
Methods: The SVGe Framework
SVGe treats neural architectures as Directed Acyclic Graphs (DAGs) and introduces a novel two-sided architecture for both encoding and decoding.
Two-Sided Encoding and Decoding
Standard Graph Neural Networks (GNNs) typically aggregate neighbor information uniformly. SVGe differentiates between the forward pass (information flow) and the backward pass (gradient flow) using separate GNN modules. These representations are concatenated into a single latent vector ($h_G$).
The decoder mirrors this approach, generating the graph from both the input node forward and the output node backward. This "no loose ends" strategy ensures that every node in the generated network belongs to a functional path, significantly improving the validity of generated architectures.
Continuous Optimization
By training as a VAE, SVGe ensures that structurally similar networks are clustered together in the embedding space. This smoothness allows for efficient optimization using techniques like Bayesian Optimization (BO) to navigate the latent space and identify high-performing models.
Key Insights
- Extrapolation Capabilities: SVGe demonstrates a remarkable ability to extrapolate. When trained on architectures with up to 7 nodes (from NAS-Bench-101), it accurately predicted the performance of 8-node architectures. This suggests the model captures fundamental design principles rather than simple memorization.
- Computational Efficiency: By decoupling the forward and backward passes, SVGe achieves a significant reduction in training time—approximately 3x faster than previous state-of-the-art models like D-VAE—without compromising reconstruction accuracy.
- Isomorphism Handling: The model effectively handles graph isomorphism, mapping mathematically different but functionally identical representations of the same network to the same point in latent space.
Key Results
The authors evaluated SVGe across major benchmarks, including NAS-Bench-101, ENAS, and NAS-Bench-201.
- Performance Gains: On the ENAS search space, SVGe identified an architecture with 95.11% accuracy, surpassing D-VAE's 94.80%.
- Zero-Shot Discovery: Leveraging its extrapolation ability, SVGe found a new architecture in the NAS-Bench-101 space with 95.18% accuracy, exceeding the best architecture originally documented in the benchmark.
- Transferability: Architectures discovered on smaller datasets transferred effectively to ImageNet-16-120, outperforming standard ResNet baselines.
Conclusion
SVGe transforms NAS from a discrete "needle-in-a-haystack" search into a smooth, continuous optimization task. Its two-sided design not only improves reconstruction accuracy and validity but also delivers a 3x speedup in training. The model's ability to extrapolate to larger architectures opens new avenues for efficient search in complex, high-dimensional spaces. Future work may extend this "smooth" embedding approach to other graph-based domains like molecular discovery or hardware design.
Summary updated