Skip to main content
QUICK REVIEW

[Paper Review] Training Graph Neural Networks with 1000 Layers

Guohao Li, Matthias Müller|arXiv (Cornell University)|Jun 14, 2021
Neural Networks and ApplicationsComputer Science8 citations
TL;DR

This paper proposes reversible graph neural networks (RevGNN) that enable training of GNNs with up to 1001 layers on a single GPU by reducing memory complexity from O(L) to O(1) through reversible connections, weight tying, and equilibrium models. The method achieves state-of-the-art performance, with RevGNN-Deep attaining 87.74 ± 0.13 AUC on ogbn-proteins, setting a new depth record by an order of magnitude.

ABSTRACT

Deep graph neural networks (GNNs) have achieved excellent results on various tasks on increasingly large graph datasets with millions of nodes and edges. However, memory complexity has become a major obstacle when training deep GNNs for practical applications due to the immense number of nodes, edges, and intermediate activations. To improve the scalability of GNNs, prior works propose smart graph sampling or partitioning strategies to train GNNs with a smaller set of nodes or sub-graphs. In this work, we study reversible connections, group convolutions, weight tying, and equilibrium models to advance the memory and parameter efficiency of GNNs. We find that reversible connections in combination with deep network architectures enable the training of overparameterized GNNs that significantly outperform existing methods on multiple datasets. Our models RevGNN-Deep (1001 layers with 80 channels each) and RevGNN-Wide (448 layers with 224 channels each) were both trained on a single commodity GPU and achieve an ROC-AUC of $87.74 \pm 0.13$ and $88.24 \pm 0.15$ on the ogbn-proteins dataset. To the best of our knowledge, RevGNN-Deep is the deepest GNN in the literature by one order of magnitude. Please visit our project website https://www.deepgcns.org/arch/gnn1000 for more information.

Motivation & Objective

  • To address the high GPU memory consumption that limits the scalability of deep graph neural networks (GNNs) in real-world applications.
  • To enable training of extremely deep GNNs (over 1000 layers) without increasing memory footprint, overcoming the O(L) memory complexity of standard architectures.
  • To improve parameter and memory efficiency while maintaining or enhancing model performance on large-scale graph benchmarks.
  • To explore reversible connections, weight tying, and equilibrium models as alternatives to mini-batch sampling or subgraph partitioning for scalable GNN training.

Proposed method

  • Utilizes reversible residual connections in GNNs to eliminate the need to store intermediate activations, reducing memory complexity from O(L) to O(1) with respect to depth L.
  • Employs group convolutions and weight tying to reduce parameter count, enabling wide or deep networks with minimal memory overhead.
  • Introduces a deep graph equilibrium GNN (DEQ-GNN) that solves for the equilibrium point of an infinite-depth network using implicit differentiation and root-finding methods.
  • Applies implicit differentiation to backpropagate through the equilibrium point without storing intermediate states, maintaining constant memory usage.
  • Combines reversible GNNs with mini-batch sampling to further reduce memory consumption with respect to the number of nodes.
  • Uses learnable message aggregation and GraphNorm for improved training stability and performance on graph property prediction tasks.

Experimental results

Research questions

  • RQ1Can reversible connections in GNNs achieve constant memory complexity regardless of network depth, enabling training of extremely deep models?
  • RQ2How do reversible GNNs compare to standard GNNs and other parameter-efficient architectures in terms of memory, parameter count, and performance on large-scale graph benchmarks?
  • RQ3Can overparameterized GNNs trained with reversible connections outperform existing state-of-the-art models despite higher training time?
  • RQ4What is the impact of normalization techniques like GraphNorm versus BatchNorm on the performance of deep reversible GNNs?
  • RQ5Can equilibrium models (DEQ-GNN) achieve similar performance to deep reversible GNNs while maintaining O(1) memory and parameter complexity?

Key findings

  • RevGNN-Deep, a 1001-layer GNN with 80 channels per layer, was successfully trained on a single commodity GPU, setting a new depth record in GNNs.
  • RevGNN-Deep achieved an ROC-AUC of 87.74 ± 0.13 on the ogbn-proteins dataset, outperforming existing methods.
  • RevGNN-Wide, a 448-layer model with 224 channels, achieved 88.24 ± 0.15 AUC on the same benchmark, demonstrating superior performance with high depth and width.
  • Reversible GNNs consistently outperformed baseline models using only a fraction of the memory, with memory cost independent of depth.
  • The use of GraphNorm in RevGNN improved performance on ogbg-molhiv, achieving 78.62 AUC compared to 77.82 with BatchNorm.
  • RevGNN outperformed SGC and SIGN on ogbn-products, achieving 82.16% test accuracy versus 74.87% and 77.60%, respectively, with significantly lower memory usage.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.