Abstract
Neural architectures can be naturally viewed as computational graphs. Motivated by this perspective, we, in this paper, study neural architecture search (NAS) through the lens of learning random graph models. In contrast to existing NAS methods which largely focus on searching for a single best architecture, i.e, point estimation, we propose GraphPNAS a deep graph generative model that learns a distribution of well-performing architectures. Relying on graph neural networks (GNNs), our GraphPNAS can better capture topologies of good neural architectures and relations between operators therein. Moreover, our graph generator leads to a learnable probabilistic search method that is more flexible and efficient than the commonly used RNN generator and random search methods. Finally, we learn our generator via an efficient reinforcement learning formulation for NAS. To assess the effectiveness of our GraphPNAS, we conduct extensive experiments on three search spaces, including the challenging RandWire on TinyImageNet, ENAS on CIFAR10, and NAS-Bench-101/201. The complexity of RandWire is significantly larger than other search spaces in the literature. We show that our proposed graph generator consistently outperforms RNN-based one and achieves better or comparable performances than state-of-the-art NAS methods.
Introduction
Most Neural Architecture Search (NAS) methods treat the problem as a "point estimation" task, aiming to find a single optimal architecture within a vast search space. This approach often leads to underexploration and can easily trap optimization in local minima. Furthermore, traditional NAS generators, such as Recurrent Neural Networks (RNNs), process architectures as sequences. This is fundamentally at odds with the graph-like nature of neural networks, where topological relationships between operations like convolutions and pooling are paramount.
GraphPNAS reimagines NAS by learning a distribution of high-performing architectures. By modeling the probability of "goodness" across the graph space, the framework can sample multiple high-quality candidates, avoid local optima through probabilistic sampling, and more accurately represent complex structural dependencies.
Methodology: The GraphPNAS Framework
The core of this work is a deep graph generative model designed specifically for the NAS task. Unlike sequence-based models, GraphPNAS employs an auto-regressive graph generation process.
GNN-based Generator and Message Passing
The generator adds nodes (operations) and edges (connections) sequentially. At each step, a Graph Neural Network (GNN) performs message passing across the partially constructed graph. This allows the model to "understand" the existing topology before deciding on the next architectural component.
Reinforcement Learning and Exploration
The generator is trained using a REINFORCE-based objective. To mitigate the high variance of validation accuracy rewards, the authors use a reweighted log-likelihood objective that balances the influence of various samples. To ensure robust exploration, an epsilon-greedy strategy is employed, where the model initially samples from a prior random graph distribution (e.g., Watts-Strogatz) to prevent premature convergence to a single architecture.
Experimental Evaluation
GraphPNAS was evaluated across several diverse and challenging environments, including the massive RandWire space on Tiny-ImageNet (approx. $2.1 \times 10^{149}$ configurations), ENAS Macro on CIFAR-10, and standardized benchmarks like NAS-Bench-101.
Key Results and Insights
The shift from sequences to graphs proves critical. RNN-based generators often degenerate into sampling overly dense or fully connected graphs. In contrast, GraphPNAS learns to generate sparser, more efficient topologies reminiscent of state-of-the-art manual designs.
On Tiny-ImageNet, GraphPNAS achieved a top-1 accuracy of 62.57%, outperforming RNN-based generators (61.73%). In the ENAS Macro space on CIFAR-10, it reached a best error rate of 3.55%, surpassing the original ENAS and other competitive methods like PNAS. Furthermore, as shown in the search efficiency plots, GraphPNAS finds high-performing architectures with significantly fewer queries than standard RL or Random Search.
Conclusion and Future Work
GraphPNAS demonstrates that learning a distribution of architectures via graph-based priors is essential for scaling NAS to complex search spaces. By treating architectures as graphs rather than sequences, the model captures the underlying "neighborhood" of high performance more effectively. Future research directions include exploring hierarchical generation—simultaneously learning macro-structures and micro-wiring—and leveraging the learned distribution for model ensembling.
Summary updated