Graph Neural Architecture Search (GraphNAS) aims to automate the design of Graph Neural Networks (GNNs), but the field currently suffers from two major bottlenecks: inconsistency and computational cost. Without a consensus on experimental settings—such as dataset splits, hyperparameters, or evaluation protocols—it is nearly impossible to tell if a new NAS algorithm is genuinely superior or just benefiting from a lucky setup. Furthermore, training thousands of GNNs to find the optimal architecture requires immense hardware resources, creating a massive barrier to entry.
To solve these challenges, researchers have introduced NAS-Bench-Graph, the first tabular benchmark specifically designed for GraphNAS. By pre-training and evaluating over 26,000 unique GNN architectures across nine representative datasets, this benchmark provides a "look-up table" that allows researchers to test new NAS algorithms in seconds rather than weeks, ensuring fair and reproducible comparisons without the massive computational overhead.
Constructing the Benchmark
The researchers constructed a unified search space and exhaustively evaluated every architecture within it.
Search Space Design: The GNN structures are represented using Directed Acyclic Graphs (DAGs). The DAG contains 6 nodes, where edges represent operations. By constraining each intermediate node to have exactly one incoming edge, the authors created a tractable yet expressive space of 26,206 unique architectures.
Operations: The search space includes seven widely-used GNN layers: GCN, GAT, GraphSAGE, GIN, ChebNet, ARMA, and k-GNN, plus an "Identity" operation for residual connections.
The Tabular Approach: Instead of requiring users to train models from scratch, the authors spent approximately 8,000 GPU hours training every single architecture in the search space. For every architecture, they logged training, validation, and test performance at every epoch, alongside model latency and the number of parameters.
Datasets: The benchmark covers nine representative graph datasets varying in size and domain, including citation networks (Cora, CiteSeer, PubMed), co-authorship graphs (Coauthor-CS, Coauthor-Physics), e-commerce graphs (Amazon-Photo, Amazon-Computers), and large-scale benchmarks (ogbn-arxiv and ogbn-proteins).
Key Insights and Discoveries
By analyzing the exhaustive benchmark data, the authors uncovered several interesting phenomena in GraphNAS:
- The "Rare Excellence" Phenomenon: While many architectures achieve "reasonably good" results, truly top-tier architectures are rare. Interestingly, these high-performers have widely varying latencies, meaning you can often find a model that is both highly accurate and very fast (Pareto-optimal).
- Transferability is a Trap: The best architecture for one dataset (e.g., Cora) is rarely the best for another (e.g., PubMed). This suggests that blindly "transferring" architectures between even similar-looking datasets is suboptimal.
- The Search Space is "Smooth": Small mutations in an architecture typically lead to small changes in performance. This provides strong empirical justification for using evolutionary algorithms in GraphNAS.
- Suffixes Matter More than Prefixes: Using variance analysis, the authors discovered that the "deeper" parts of a GNN architecture (the suffixes) have a much higher impact on final performance than the initial layers (the prefixes). This challenges the common practice of generating architectures in a simple "natural" order from input to output.
Results and Impact
The authors used NAS-Bench-Graph to evaluate existing NAS strategies, including Random Search, Evolutionary Algorithms (EA), Reinforcement Learning (RL), and DARTS. Surprisingly, simple Random Search remains a very strong baseline, even outperforming more complex RL and EA methods on certain datasets.
The primary triumph of NAS-Bench-Graph is efficiency. By using the look-up table, researchers can now simulate a full NAS search process in just a few seconds on a standard laptop. To facilitate adoption, the benchmark is already compatible with popular NAS libraries like AutoGL and Microsoft’s NNI.
Limitations and Future Work
While 26,206 architectures is a significant milestone, it remains a "compact" space compared to the near-infinite possibilities in GNN design. Additionally, the current version focuses primarily on node classification tasks. The authors acknowledge the need to extend this to other tasks like link prediction and graph-level classification. To handle even larger search spaces in the future, they suggest using this data to build "surrogate benchmarks"—predictive models that can estimate the performance of architectures not explicitly contained in the table.
Summary updated