AutoGraph: Automated Graph Neural Network

Yaoman Li, Irwin KingICONIP 2020 · DOI

Abstract: Graphs play an important role in many applications. Recently, Graph Neural Networks (GNNs) have achieved promising results in graph analysis tasks. Some state-of-the-art GNN models have been proposed, e.g., Graph Convolutional Networks (GCNs), Graph Attention Networks (GATs), etc. Despite these successes, most of the GNNs only have shallow structure. This causes the low expressive power of the GNNs. To fully utilize the power of the deep neural network, some deep GNNs have been proposed recently. However, the design of deep GNNs requires significant architecture engineering. In this work, we propose a method to automate the deep GNNs design. In our proposed method, we add a new type of skip connection to the GNNs search space to encourage feature reuse and alleviate the vanishing gradient problem. We also allow our evolutionary algorithm to increase the layers of GNNs during the evolution to generate deeper networks. We evaluate our method in the graph node classification task. The experiments show that the GNNs generated by our method can obtain state-of-the-art results in Cora, Citeseer, Pubmed and PPI datasets.

Introduction

Graph Neural Networks (GNNs) have revolutionized the analysis of non-Euclidean data, such as social networks and protein interactions. However, standard GNNs like GCN or GAT are typically shallow, often limited to two layers. Increasing depth in GNNs introduces significant challenges: over-smoothing, where node representations become indistinguishable, and vanishing gradients, which destabilize training. Manually designing deep architectures to overcome these hurdles is labor-intensive. While Neural Architecture Search (NAS) has been successful in other domains, existing graph NAS methods often produce fixed-length, shallow architectures that do not solve the fundamental depth problem.

Methodology

AutoGraph addresses these challenges through an Aging Evolution Algorithm that explores a specialized, dynamic GNN search space. The framework includes several key components:

Dynamic Search Space and Evolution

The search space encompasses standard parameters such as attention functions, hidden dimensions, and aggregation methods. A key innovation is the "Layer Add" mutation, which allows the evolutionary process to dynamically increase network depth if it improves performance. The Aging Evolution strategy maintains search vitality by removing older individuals from the population, focusing on the most recent high-performers.

Evolutionary mutation process within the AutoGraph search space showing a transition from GAT to COS attention.

Skip Connections and Depth

To mitigate vanishing gradients and encourage feature reuse, AutoGraph introduces a flexible skip connection mechanism. By using binary encoding, any layer can connect to any preceding layer. This allows the discovery of complex, "DenseNet-like" structures that are essential for GNNs deeper than two layers.

Binary encoding of multi-layer skip connections used to enable deep GNN architectures.

To ensure robust evaluation, the framework employs Tree-structured Parzen Estimator (TPE) for hyperparameter optimization of every generated architecture during the search.

Experimental Evaluation and Results

The researchers evaluated AutoGraph on transductive learning tasks (Cora, Citeseer, Pubmed) and inductive learning tasks (Protein-Protein Interaction - PPI).

Key Findings

  • State-of-the-Art Performance: AutoGraph achieved SOTA results across all benchmarks. On Cora, it reached 83.5% accuracy; on Citeseer, 74.4%; and on Pubmed, 80.3%. For the PPI dataset, it achieved a Micro-F1 score of 0.987, outperforming handcrafted models like GeniePath and GAT.
  • Efficiency: AutoGraph is significantly more efficient than previous automated methods. It found superior models in approximately 3 GPU hours, compared to 10 GPU hours for reinforcement learning-based methods like GraphNAS.
  • Depth and Scalability: While baseline methods often plateau at 2 layers, AutoGraph-generated models frequently utilized 4 layers and maintained high accuracy even when scaled up to 9 layers deep.

Conclusion

AutoGraph demonstrates that automated design can effectively overcome the limitations of shallow GNNs. By incorporating flexible skip connections and dynamic layer addition, it discovers deep architectures that outperform handcrafted baselines while remaining computationally efficient. Future work will explore "one-shot" NAS methods to further reduce search time and expand the search space to include novel graph convolution operations.

Summary updated

BibTeX
@inproceedings{li2020autograph,
  author = {Yaoman Li and Irwin King},
  title = {{AutoGraph: Automated Graph Neural Network}},
  booktitle = {ICONIP},
  year = {2020},
  doi = {10.1007/978-3-030-63833-7\_16},
}
Figure