Generalization Guarantee of Training Graph Convolutional Networks with Graph Topology Sampling

Hongkang Li, Meng Wang, Sijia Liu, Pin-Yu Chen, Jinjun Xiong

Abstract

Graph topology sampling is a widely used technique to address the "neighbor explosion" problem in Graph Convolutional Networks (GCNs). While empirically successful, its theoretical generalization properties have remained largely unexplored. This paper provides the first theoretical proof that graph topology sampling guarantees good generalization performance for GCNs up to three layers. We introduce the concept of an "effective adjacency matrix" ($A^*$) to model the interaction between graph structure and sampling strategy. Our analysis shows that sampling can improve performance by balancing the influence of high-degree nodes. Numerical experiments on synthetic datasets validate our theoretical bounds, demonstrating that testing error decreases with more labeled nodes and increased network width.

Introduction

Graph Convolutional Networks (GCNs) are powerful for learning from graph-structured data, but they suffer from a major scalability bottleneck: neighbor explosion. Because GCNs recursively aggregate information from a node's neighbors, the number of nodes involved in a single calculation grows exponentially with the network's depth. To mitigate this, researchers use "graph topology sampling," where only a subset of neighbors is used during training. While this works well in practice, there was no formal theoretical explanation for why it works or under what conditions it is guaranteed to generalize. This paper bridges that gap for GCNs up to three layers deep.

Methods

The authors analyze a three-layer GCN in a semi-supervised node classification setting. Their core innovation is the introduction of the effective adjacency matrix ($A^*$). This matrix represents a directed graph that combines the original graph structure with the specific sampling strategy used.

Key components of their approach include:

  • Group-wise Uniform Sampling: A strategy where nodes are grouped by their degrees, and each group is sampled at a different frequency.
  • Optimization Framework: Analysis of a training process using Stochastic Gradient Descent (SGD) with specific weight decay and regularization terms to handle the non-convex nature of deep GCNs.
  • Generalization Analysis: Characterization of the "concept class" of functions a GCN can learn, proving that generalization error diminishes as the number of labeled nodes and hidden neurons increases.

Key Results

The theoretical findings were backed by numerical experiments on synthetic datasets. The study primarily used graphs of 2,000 nodes to precisely verify theoretical bounds. By controlling degree distributions and node correlations, the authors tested scenarios with both balanced and highly unbalanced topologies.

Sampling as a "Balancer"

In many real-world graphs, a few "hub" nodes have massive degrees and dominate the learning process. The authors found that sampling these high-degree nodes more frequently reduces their overwhelming impact, leading to a more balanced $A^*$ and better generalization. Training with sampling is mathematically equivalent to training on a modified graph represented by $A^*$.

Diminishing Error and Model Width

As predicted by the theoretical bounds, the testing error consistently decreases as the number of labeled nodes increases. This relationship is shown for different sampling probabilities in Figure 1.

Testing error vs. number of labeled nodes for different sampling probabilities.

Furthermore, the paper shows that the number of labeled nodes required for good generalization grows only logarithmically with the number of neurons ($m$). Increasing the number of hidden neurons leads to lower testing errors, as illustrated in Figure 2, confirming the benefits of wider networks in over-parameterized settings.

Testing error vs. total number of hidden neurons for different values of the effective adjacency matrix norm.

Conclusion

This work provides a significant theoretical step forward by proving generalization guarantees for GCNs trained with graph topology sampling. It highlights how sampling acts as a balancer for unbalanced graph topologies. While currently limited to three-layer networks, this analysis opens the door for future research into deeper architectures and more complex tasks like link prediction or graph-level classification.

Summary updated

BibTeX
@inproceedings{li2022generalization,
  author = {Hongkang Li and Meng Wang and Sijia Liu and Pin-Yu Chen and Jinjun Xiong},
  title = {{Generalization Guarantee of Training Graph Convolutional Networks with Graph Topology Sampling}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=BmFp-r1ViID},
}
Figure