Auto-GNN: Neural Architecture Search of Graph Neural Networks

Kaixiong Zhou, Qingquan Song, Xiao Huang

Introduction

Graph Neural Networks (GNNs) have become the standard for modeling graph-structured data. However, designing an optimal GNN architecture is a laborious process. Unlike standard Convolutional Neural Networks (CNNs), GNNs involve a complex interplay of aggregation, combination, and activation functions. Small variations in these components can lead to significant performance fluctuations, making manual tuning difficult and inefficient.

Existing Neural Architecture Search (NAS) methods often struggle with GNNs due to a mismatch in search spaces, inefficient controllers that sample architectures from scratch, and unstable parameter sharing that leads to "output explosion." Auto-GNN (AGNN) addresses these challenges through a reinforced conservative controller and a novel constrained parameter sharing strategy.

The AGNN Framework

The core of AGNN is the Reinforced Conservative Neural Architecture Search (RCNAS). Unlike traditional NAS controllers that sample entirely new architectures at each step, RCNAS employs a "Conservative Explorer." This explorer starts with the best-performing architecture found so far and makes guided, incremental mutations.

The AGNN framework utilizes independent RNN encoders and an action guider to perform conservative architecture mutations based on decision entropy.

RCNAS uses independent RNN encoders for different action classes, such as hidden dimensions, attention functions, and aggregation methods. By calculating the decision entropy of these encoders, the controller identifies which parts of the architecture are most uncertain and focuses its modifications there. This approach allows the system to learn the causal relationship between specific architectural choices and performance improvements.

Constrained Parameter Sharing

To mitigate the instability common in GNN weight sharing, AGNN introduces Constrained Parameter Sharing. Standard NAS often shares weights between radically different architectures, which can lead to numerical instability when activation functions or layer shapes differ significantly.

AGNN enforces a "homogeneity" constraint: weights are only shared between architectures that have the same input/output tensor shapes and identical attention and activation functions. This ensures that shared weights operate on similar data distributions, maintaining training stability while still benefiting from the speed of weight sharing.

Experimental Evaluation

AGNN was evaluated on four benchmark datasets: Cora, Citeseer, and Pubmed for transductive learning, and PPI for inductive learning. The search space encompassed approximately $2.8 \times 10^{12}$ possible architectures.

Comparison of AGNN, GraphNAS, and Random Search across PPI, Cora, Citeseer, and Pubmed datasets. AGNN demonstrates faster convergence and higher final performance.

The results demonstrate that AGNN consistently outperforms handcrafted state-of-the-art models and existing NAS baselines. For instance, on the PPI dataset, AGNN achieved an F1 score of 0.992, significantly higher than GAT's 0.973. Furthermore, AGNN is highly efficient, discovering optimal architectures in approximately 0.5 GPU days on a single Nvidia GTX 1080Ti.

Conclusion

Auto-GNN provides a robust and efficient framework for automating GNN design. By combining conservative search with constrained parameter sharing, it overcomes the stability and efficiency issues of previous NAS methods. Future work will explore extending AGNN to graph-level tasks and incorporating more diverse graph convolution operations into the search space.

Summary updated

BibTeX
@article{zhou2022auto,
  author = {Kaixiong Zhou and Qingquan Song and Xiao Huang and Xia Hu},
  title = {{Auto-GNN: Neural Architecture Search of Graph Neural Networks}},
  journal = {Frontiers Big Data},
  year = {2022},
  doi = {10.3389/fdata.2022.1029307},
}
Figure