Auto-GNN: Neural architecture search of graph neural networks

Kaixiong Zhou, Xiao Huang, Qingquan Song, Rui Chen

Abstract

Designing Graph Neural Networks (GNNs) is a complex task due to the high sensitivity of performance to minor architectural choices. Traditional Neural Architecture Search (NAS) methods often fail in the GNN domain because of large-step exploration in a "jagged" performance landscape and instabilities in weight-sharing across heterogeneous models. This paper introduces Auto-GNN (AGNN), a framework that utilizes a Reinforced Conservative Controller (RCNAS) and a novel constrained parameter-sharing strategy. By performing incremental architectural modifications and enforcing strict weight-sharing constraints, AGNN identifies high-performing GNNs more efficiently and accurately than existing automated methods or manual designs.

Introduction

The performance of GNNs is notoriously sensitive to architectural details, such as the choice of aggregation functions or attention mechanisms. Existing NAS approaches struggle with two primary issues:

  1. Exploration Instability: Controllers often sample entirely new architectures, missing subtle performance peaks in the complex GNN search space.
  2. Weight-Sharing Heterogeneity: Sharing weights between models with different activation functions or output statistics often leads to gradient explosion or training failure.

Methodology

The AGNN framework addresses these challenges through two primary innovations:

Reinforced Conservative Controller (RCNAS)

Instead of sampling architectures from scratch, the RCNAS controller employs "conservative exploitation." It starts with the best-known architecture and modifies only a single dimension (e.g., changing one activation function) per step. This incremental approach allows the reinforcement learning agent to isolate the impact of specific changes.

The Auto-GNN framework utilizes a reinforced conservative controller to iteratively refine architectures through incremental updates.

Constrained Parameter Sharing

To accelerate the search without sacrificing stability, AGNN implements a constrained sharing strategy. Weights are only shared between an "ancestor" and its "offspring" if they maintain consistent shapes and functional components (e.g., same attention type). Crucially, it avoids sharing weights for Batch Normalization and Skip Connections, which are highly architecture-specific.

The constrained parameter sharing strategy ensures stability by only transferring weights between layers with matching shapes and functions.

Experimental Evaluation

AGNN was evaluated across diverse benchmarks, including transductive node classification (Cora, Citeseer, Pubmed), inductive learning (PPI), and large-scale graphs (Reddit, ogbn-products).

Key Results

  • Performance: AGNN-discovered models outperformed human-designed baselines like GAT and GraphSAGE by an average of 2.8% across benchmarks.
  • Efficiency: The framework identified optimal architectures significantly faster than previous methods like GraphNAS by leveraging the conservative search strategy.
  • Scalability: On the massive ogbn-products dataset, AGNN achieved 79.37% accuracy, surpassing specialized scalable models like Cluster-GCN and GraphSAINT.
  • Deep GNNs: The framework successfully designed 16-layer GNNs by optimizing skip connections, effectively mitigating the over-smoothing problem that typically plagues deep graph architectures.

Conclusion

Auto-GNN demonstrates that a "less is more" approach to architecture search—combining incremental exploration with disciplined weight sharing—is highly effective for the graph domain. While a small performance gap remains between weight-shared and scratch-trained models, AGNN provides a robust and scalable path for automating GNN design. Future work will explore expanding the search space to dynamic graphs and link prediction tasks.

Summary updated

BibTeX
@article{zhou2022auto,
  author = {Kaixiong Zhou and Xiao Huang and Qingquan Song and Rui Chen 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