TL;DR
This paper tackles the challenge of training deep Graph Neural Networks (GNNs) by proposing three key principles for initialization and architecture design. They introduce a GNN-specific He-initialization, demonstrate how residual aggregation operators combat oversmoothing, and show that residual connections prevent feature correlation collapse, leading to significantly faster and more reliable training of deep GNNs.
What Problem Does This Paper Address?
Training deep neural networks is notoriously tricky, and Graph Neural Networks (GNNs) are no exception. As GNNs get deeper, they often suffer from several failure modes at initialization:
- Exponential Outputs: Network outputs and gradients can grow or shrink exponentially with depth, leading to vanishing or exploding values that cripple training.
- Oversmoothing: In deep GNNs, node features tend to become indistinguishable, losing their discriminative power, especially when using fixed aggregation methods.
- Correlation Collapse: Features in the final hidden layers become highly correlated across different graph nodes, hindering the network's ability to learn distinct representations.
These issues make it difficult to train deep GNNs effectively, especially on complex graph structures. The authors aim to provide principled solutions to these problems, drawing inspiration from spectral graph theory and deep information propagation.
Methods
The paper introduces three main contributions:
- GNN-Specific He-Initialization: They generalize the well-known He-initialization for standard neural networks to GNNs. This new initialization scheme takes into account the spectral radius of the GNN's aggregation operator, ensuring that the scale of network outputs and gradients remains stable (order one) at initialization, even for deep networks.
- Residual Aggregation Operators: To combat oversmoothing, they propose using "residual aggregation operators." These are formed by interpolating a fixed aggregation operator with the identity operator. Theoretically, they prove that this approach mitigates oversmoothing, allowing for better feature differentiation at initialization, even without skip connections.
- Residual Connections and Fixup-Type Initialization: For correlation collapse, they show that the common practice of using residual connections, combined with a "fixup-type" initialization, effectively prevents the collapse of feature correlations in the final hidden layers.
These theoretical findings are then validated through extensive ablation studies.
Datasets
The experiments were conducted on:
- Citation Networks: Cora, Citeseer, and PubMed. These are real-world graphs where nodes represent publications and edges represent citations. Vertex features are binary, and nodes are classified based on their research field.
- Stochastic Block Models (SSBMs): Specifically, 2-SSBM(a, b) graphs. These are synthetic graph models used to study community detection. They are generated with specific parameters (a and b) that modulate the difficulty of clustering nodes into their respective communities.
Key Insights and Ideas
- He-initialization needs a GNN twist: The standard He-initialization isn't sufficient for GNNs. The spectral properties of the graph's aggregation operator are crucial and must be incorporated for proper initialization.
- Oversmoothing is inherent to fixed aggregations: The paper theoretically proves that oversmoothing is unavoidable in deep GNNs with fixed aggregation operators, regardless of initialization. This highlights the need for architectural changes.
- Residual connections are not just for gradients: While residual connections are known to help with gradient flow, this paper shows they are also critical for preventing feature correlation collapse, a distinct problem from oversmoothing.
- Combining principles yields significant gains: The synergy between the proposed initialization, residual aggregation operators, and residual connections leads to substantial improvements in training speed and stability, especially for deep GNNs.
Key Results
- Faster Training: Ablation studies (Figures 1 and 2) demonstrate that using the proposed initialization, residual aggregation operators, and residual connections significantly speeds up early training dynamics in deep ReLU GNNs across various tasks and datasets. For instance, Figure 2 shows a dramatic reduction in the number of gradient descent steps required to reach a target accuracy.
- Mitigating Failure Modes:
- Figure 3 and 4 show that the proposed initialization (Eq. 9) effectively avoids exponential growth/decay of output distortion, a key factor in training slowdowns.
- Figure 6 and 7 illustrate how residual aggregation operators (Eq. 13) reduce the oversmoothing rate, leading to better performance.
- Figure 8 and 9 demonstrate that residual connections (Eq. 15) prevent correlation collapse, as indicated by lower class condition numbers.
- Theoretical Guarantees: The paper provides theoretical guarantees for avoiding exponential outputs and controlling oversmoothing under specific conditions.
Limitations and Future Work
- Focus on ReLU Activations: The theoretical results are primarily derived for ReLU activations. While empirically tested on ReLU GNNs, extending these principles to other activation functions might be a future direction.
- Fixed Aggregation Operator Assumption: Some theoretical results assume a fixed aggregation operator across layers. The paper explores residual aggregation operators as a solution, but further work could investigate dynamic or learned aggregation strategies.
- Empirical Validation: While the paper presents strong empirical evidence, further validation on a wider range of graph structures and tasks could be beneficial.
- Practical Implementation: The authors suggest practical recommendations for normalizing aggregation operators to have a top eigenvalue of 1, which is a useful takeaway for practitioners.
The paper concludes by emphasizing that the combination of these principles offers a robust framework for training deep GNNs, addressing fundamental challenges in initialization and architecture design.
Summary updated