Bag of Tricks for Training Deeper Graph Neural Networks: A Comprehensive Benchmark Study

Tianlong Chen, Kaixiong Zhou, Keyu Duan, Wenqing Zheng, Peihao Wang, Xia Hu, Zhangyang Wang

TL;DR

This paper presents the first fair and reproducible benchmark for training deep Graph Neural Networks (GNNs), disentangling the effects of various "training tricks" from architecture depth. By unifying hyperparameter settings and exhaustively testing combinations of skip connections, normalization, and dropout, the authors identify an optimal "best combo" that achieves new state-of-the-art results on large-scale graph benchmarks.

What Problem Does This Paper Address?

While deep architectures have revolutionized computer vision and NLP, Graph Neural Networks (GNNs) have traditionally struggled to scale in depth. Increasing layers in GNNs often leads to over-smoothing, where node representations become indistinguishable, and information squashing, where the exponential growth of receptive fields bottlenecks information into fixed-size vectors.

While many "tricks"—like residual connections or specialized normalization—have been proposed to fix this, the field has lacked a standardized benchmark. Previous studies often used inconsistent hyperparameter settings, making it nearly impossible to tell if a performance gain came from a clever new architecture or just a better-tuned learning rate. This paper aims to provide a "level playing field" to finally understand what actually works when training deep GNNs.

Methods

The authors systematically categorize and evaluate dozens of training techniques across three main groups:

  1. Skip Connections: Residual, initial, dense, and jumping connections.
  2. Graph Normalization: BatchNorm, PairNorm, NodeNorm, MeanNorm, and GroupNorm.
  3. Random Dropping: Dropout, DropEdge, DropNode, and LADIES (a sampling-based approach).

To ensure a fair comparison, they first established a "sweet point" hyperparameter set (learning rate, weight decay, dropout, hidden dimension) through an exhaustive grid search for each dataset. They then evaluated these tricks using two common backbones: Graph Convolutional Networks (GCN) and Simple Graph Convolutional (SGC) networks, scaling up to 32 layers.

Datasets

The study utilizes a diverse set of benchmarks to ensure generalizability:

  • Core Benchmark: Cora, Citeseer, PubMed (standard citation networks), and OGBN-ArXiv (a large-scale citation network from the Open Graph Benchmark).
  • Transfer Study: To test the robustness of their findings, they applied their "best combo" to eight additional datasets: Coauthor (CS, Physics), Amazon (Computers, Photo), WebKB (Texas, Wisconsin, Cornell), and the Actor dataset.

Key Insights and Ideas

  • Hyperparameter Sensitivity: The "tricks" are highly sensitive to basic settings. Unifying these is a prerequisite for any fair comparison; otherwise, the "noise" of tuning hides the true signal of the technique.
  • Initial Connections are King: For very deep GNNs (≥16 layers), initial connections (connecting back to the input layer) and jumping connections (combining all previous layers at the end) are far more effective than standard residual connections at mitigating over-smoothing.
  • The "Trick Combo" Trap: More is not always better. For example, while initial and jumping connections are both beneficial alone, combining them can actually degrade performance.
  • GroupNorm's Versatility: Group normalization emerged as a consistently strong performer across various scales of datasets, often outperforming more specialized graph-specific norms.
  • Identity Mapping: Borrowed from the GCNII architecture, identity mapping is a powerful, lightweight addition that significantly boosts deep GNN performance on small graphs by preventing overfitting.
  • Stability Trade-offs: While dense connections can improve accuracy on large datasets, they often sacrifice training stability, leading to high performance variance.

Key Results

The authors discovered that an "organic combo" of initial connections, identity mapping, and group/batch normalization sets new state-of-the-art benchmarks for deep GNNs.

  • Training Acceleration: Skip connections don't just improve accuracy; they substantially accelerate training convergence. As shown in Figure 1, techniques like Initial and Jumping connections reach low training loss much faster than vanilla architectures. Training loss acceleration with skip connections
  • State-of-the-Art Performance: Their best trick combinations consistently outperformed previous elaborately crafted frameworks like DAGNN and GCNII. For instance, on OGBN-ArXiv, their 16-layer GCNII-based combo reached 72.70% accuracy.
  • The Benefit of Depth: With the right combination of tricks, increasing depth finally pays off. On Cora, a 64-layer SGC with their "best combo" achieved 85.48% accuracy, significantly higher than shallow variants.
  • Ablation Synergy: Figure 2 illustrates how adding or removing specific tricks from their "best combo" affects performance across different datasets, highlighting that the synergy between specific techniques is dataset-dependent. Ablation study of trick combinations
Training loss acceleration with skip connections
Fig. 2. Average test accuracy (%) from 100 independent repetitions on Cora, PubMed, and OGBN-ArXiv graphs respectively. Ours indicates our best combo of tricks on the corresponding dataset. −/+ means add/remove certain tricks from the trick combos. The top-performing setups are highlighted with red points.

Limitations and Future Work

The authors note that some promising tricks, like certain subgraph sampling methods, are difficult to integrate into standard deep GNN frameworks because they deviate from the common message-passing paradigm.

Additionally, while this study focuses on node classification, the effectiveness of these tricks on other tasks like link prediction or graph classification remains an open question. Future work could also explore more complex backbones beyond GCN and SGC to see if these "tricks" generalize to more sophisticated attention-based or message-passing architectures.

Summary updated

Abstract

Training deep graph neural networks (GNNs) is notoriously hard. Besides the standard plights in training deep architectures such as vanishing gradients and overfitting, it also uniquely suffers from over-smoothing, information squashing, and so on, which limits their potential power for encoding the high-order neighbor structure in large-scale graphs. Although numerous efforts are proposed to address these limitations, such as various forms of skip connections, graph normalization, and random dropping, it is difficult to disentangle the advantages brought by a deep GNN architecture from those "tricks" necessary to train such an architecture. Moreover, the lack of a standardized benchmark with fair and consistent experimental settings poses an almost insurmountable obstacle to gauge the effectiveness of new mechanisms. In view of those, we present the first fair and reproducible benchmark dedicated to assessing the "tricks" of training deep GNNs. We categorize existing approaches, investigate their hyperparameter sensitivity, and unify the basic configuration. Comprehensive evaluations are then conducted on tens of representative graph datasets including the recent large-scale Open Graph Benchmark, with diverse deep GNN backbones. We demonstrate that an organic combo of initial connection, identity mapping, group and batch normalization attains the new state-of-the-art results for deep GNNs on large datasets. Codes are available: https://github.com/VITA-Group/Deep_GCN_Benchmarking.
BibTeX
@article{chen2021bag,
  author = {Tianlong Chen and Kaixiong Zhou and Keyu Duan and Wenqing Zheng and Peihao Wang and Xia Hu and Zhangyang Wang},
  title = {{Bag of Tricks for Training Deeper Graph Neural Networks: A Comprehensive Benchmark Study}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2021},
  doi = {10.1109/tpami.2022.3174515},
}
Figure