Evaluating Deep Graph Neural Networks

Wentao Zhang, Zeang Sheng, Jiang Yuezihan, Yikuan Xia, Jun Gao, Zhi Yang, Bin CuiICLR 2021

Abstract

Graph Neural Networks (GNNs) have already been widely applied in various graph mining tasks. However, they suffer from the shallow architecture issue, which is the key impediment that hinders the model performance improvement. Although several relevant approaches have been proposed, none of the existing studies provides an in-depth understanding of the root causes of performance degradation in deep GNNs. In this paper, we conduct the first systematic experimental evaluation to present the fundamental limitations of shallow architectures. Based on the experimental results, we answer the following two essential questions: (1) what actually leads to the compromised performance of deep GNNs; (2) when we need and how to build deep GNNs. The answers to the above questions provide empirical insights and guidelines for researchers to design deep and well-performed GNNs. To show the effectiveness of our proposed guidelines, we present Deep Graph Multi-Layer Perceptron (DGMLP), a powerful approach that helps guide deep GNN designs. Experimental results demonstrate three advantages of DGMLP: 1) high accuracy -- it achieves state-of-the-art node classification performance on various datasets; 2) high flexibility -- it can flexibly choose different propagation and transformation depths according to graph size and sparsity; 3) high scalability and efficiency -- it supports fast training on large-scale graphs.

Introduction

In the world of Computer Vision, "going deeper" by stacking more layers led to a revolution in model performance. However, in Graph Machine Learning, GNNs typically perform best with only 2 or 3 layers. If you add more, performance usually plummets. The research community has long attributed this to over-smoothing—the idea that as node representations aggregate information from neighbors over many steps, they become identical and indistinguishable.

This paper systematically investigates why GNNs fail when they get deep, debunking the common belief that over-smoothing is the sole culprit. The authors identify "model degradation" in feature transformation as a more significant bottleneck and propose DGMLP, a deep GNN architecture that uses node-adaptive propagation and residual transformations to achieve state-of-the-art performance.

Methods: Disentangling GNN Operations

The authors begin by decomposing a standard GNN layer into two distinct operations:

  1. Embedding Propagation (EP): Smoothing node features with their neighbors (the "graph" part).
  2. Embedding Transformation (ET): Applying neural network weights and activations (the "deep learning" part).
Decomposition of GNN operations into Embedding Propagation and Transformation.

By disentangling these, they find that "model degradation" (the difficulty of training deep non-linear transformations) often hurts performance long before over-smoothing does. To solve this, they introduce Deep Graph Multi-Layer Perceptron (DGMLP). Its key innovations include:

  • Disentangled Design: It precomputes the propagation (EP) and then feeds the results into a transformation (ET) pipeline, making it incredibly fast and scalable.
  • Node-Adaptive Combination: Instead of picking a fixed number of propagation steps (hops), DGMLP learns a unique weighting for each node to capture appropriate local or global context.
  • Residual Transformations: To allow for a deep feature extractor without performance loss, they use residual connections in the MLP stages.

Key Insights: The Myth of Over-smoothing

A central finding of this research is that over-smoothing is often overstated as the primary cause of performance drops. The authors show that even when a graph is significantly smoothed, accuracy often remains stable if the transformation depth is controlled.

Comparison of test accuracy between vanilla GCN and a GCN with fixed transformation depth ($D_t=2$) as propagation depth ($D_p$) increases.

As shown in the experimental results, when the transformation depth ($D_t$) is kept small (e.g., $D_t=2$), accuracy remains high even as the propagation depth ($D_p$) increases to 10. The "sharp decline" seen in vanilla GCNs (where $D_t = D_p$) is actually caused by the inability to train the deep, entangled transformation layers, not just the smoothing itself.

Other key insights include:

  • Sparsity Demands Depth: Sparse graphs benefit significantly from deeper propagation to capture enough structural context.
  • Size Demands Transformation Depth: While small graphs can be handled by shallow MLPs, larger, more complex graphs require deeper transformation layers to extract meaningful features.
  • One Size Does Not Fit All: Nodes with high degrees smooth much faster than isolated nodes, necessitating node-adaptive smoothing.

Experimental Results

The authors evaluated DGMLP on a wide range of benchmarks, from small citation networks to the massive ogbn-papers100M (111 million nodes).

  • State-of-the-Art Accuracy: DGMLP outperformed all baselines across almost all datasets, achieving 65.7% accuracy on the 111M-node ogbn-papers100M dataset.
  • Massive Speedups: Because DGMLP precomputes the graph propagation, it is significantly faster than traditional GNNs. On a 1-million node graph, DGMLP was 17.1x faster than GCN.
  • Memory Efficiency: Unlike GCN, which see GPU memory usage explode as graphs grow, DGMLP’s memory requirement grows linearly and stays within reasonable bounds (e.g., ~3GB for a 1M node graph).

Conclusion

This paper provides a robust framework for designing deep GNNs by identifying model degradation in transformation layers as a primary bottleneck. The proposed DGMLP architecture demonstrates that disentangled, node-adaptive designs can overcome the limitations of shallow GNNs, providing high accuracy and scalability on massive real-world graphs.

Summary updated

BibTeX
@inproceedings{zhang2021evaluating,
  author = {Wentao Zhang and Zeang Sheng and Jiang Yuezihan and Yikuan Xia and Jun Gao and Zhi Yang and Bin CUI},
  title = {{Evaluating Deep Graph Neural Networks}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=1Ddzpw96AZVS},
}
Figure