TL;DR
KEGNAS is a new framework that accelerates Graph Neural Architecture Search (GNAS) by "remembering" what worked on previous datasets. By leveraging prior knowledge from benchmarks like NAS-Bench-Graph, it generates high-performing candidate architectures for new tasks in seconds, achieving up to 11.5% higher accuracy than state-of-the-art differentiable methods.
What Problem Does This Paper Address?
Designing a Graph Neural Network (GNN) is hard. Unlike standard images, graphs vary wildly in size, density, and structure. While Graph Neural Architecture Search (GNAS) automates this design process, most existing methods suffer from a "cold start" problem: they begin searching from a zero-knowledge state.
This means every time you have a new dataset, the algorithm has to spend massive amounts of GPU time training and evaluating thousands of random architectures from scratch. The authors argue that this is wasteful. We already have massive databases (like NAS-Bench-Graph) containing the performance of thousands of GNNs on various tasks. Why not use that data to "warm-start" the search for a new dataset?
Methods
The authors propose KEGNAS, which consists of three main components designed to turn prior data into actionable search strategies:
- The Knowledge Model: This model learns a "dataset-to-architecture" mapping. It uses a Variational Graph Autoencoder (VGAE) to extract features from a graph dataset and an architecture decoder to suggest GNN structures (represented as Directed Acyclic Graphs or DAGs) that are likely to perform well on those features.
- Deep Multi-Output Gaussian Process (DMOGP): Evaluating a GNN requires full training, which is slow. The DMOGP acts as a "surrogate" that predicts both accuracy and the number of parameters (#Params) for a candidate architecture without actually training it. It processes the architecture's DAG and the dataset's features to give a quick performance estimate.
- Warm-start MOEA: Instead of starting an evolutionary algorithm with a random population, KEGNAS uses the Knowledge Model and DMOGP to pick a "starting lineup" of high-potential, non-dominated architectures. It then uses a Multi-Objective Evolutionary Algorithm (specifically NSGA-II) to fine-tune these candidates.
Datasets
The study utilizes a mix of benchmark and real-world datasets:
- NAS-Bench-Graph: A massive library of 26,206 unique GNN architectures evaluated on 9 different graph datasets (Cora, CiteSeer, PubMed, etc.). This serves as the primary source of "prior knowledge."
- Real-world Evaluation: To test generalizability, the authors evaluated KEGNAS on five external datasets: Texas, Wisconsin, Cornell, Actor, and Flickr.
Key Insights and Ideas
- Knowledge Transfer is Fast: The Knowledge Model and DMOGP can generate and evaluate candidate architectures for a new dataset in just a few GPU seconds. This "pre-search" phase is negligible compared to the hours or days required by traditional GNAS.
- Multi-Objective is Mandatory: In the real world, we don't just want the most accurate model; we want the most accurate model that actually fits on our hardware. By optimizing for both accuracy and parameter count, KEGNAS provides a "Pareto front" of options for engineers to choose from.
- Simpler is Often Better for Small Graphs: The authors observed that for small-scale datasets (like Cora or PubMed), the search consistently favored shallower topologies. This aligns with human intuition but is often missed by "zero-knowledge" searchers that get lost in complex search spaces.
Key Results
- Superior Accuracy: KEGNAS achieved 4.27% higher accuracy than advanced evolutionary baselines and a staggering 11.54% higher accuracy than advanced differentiable baselines (like SANE).
- Efficiency: On real-world datasets, KEGNAS consistently found architectures that outperformed those found by Random Search, Reinforcement Learning (SNAG), and Differentiable methods (F2GNN), often in less total search time.
- Robustness: Unlike differentiable methods which can be unstable, the evolutionary approach combined with a surrogate model proved highly robust across different types of graph structures (citation networks vs. social networks).
Limitations and Future Work
- Isomorphic Search Spaces: Currently, the "source" and "target" tasks must share the same search space (i.e., the same set of possible operations like GCN, GAT, etc.). Transferring knowledge across heterogeneous search spaces remains an open challenge.
- Task Diversity: The current work focuses primarily on node and graph classification. The authors suggest that future versions should explore link prediction and other graph-related tasks.
- Complexity Analysis: While the search phase is fast, the authors note that more detailed complexity analysis of the underlying Knowledge Model and DMOGP training would be beneficial for future scaling.
Summary updated