Towards Deeper Graph Neural Networks

Meng Liu, Hongyang Gao, Shuiwang Ji

Introduction

Graphs, representing entities and their relationships, are ubiquitous in the real world, such as social networks, point clouds, traffic networks, knowledge graphs, and molecular structures. Recently, many studies focus on developing deep learning approaches for graph data, leading to rapid development in the field of graph neural networks. Great successes have been achieved for many applications, such as node classification (Kipf and Welling, 2017; Hamilton et al., 2017; Veličković et al., 2018; Monti et al., 2017; Gao et al., 2018; Xu et al., 2018; Klicpera et al., 2019; Wu et al., 2019), graph classification (Gilmer et al., 2017; Ying et al., 2018; Zhang et al., 2018; Xu et al., 2019; Gao and Ji, 2019; Lee et al., 2019; Ma et al., 2019; Yuan and Ji, 2020) and link prediction (Zhang and Chen, 2017, 2018; Cai and Ji, 2020). Graph convolutions adopt a neighborhood aggregation (or message passing) scheme to learn node representations by considering the node features and graph topology information together, among which the most representative method is Graph Convolutional Networks (GCNs) (Kipf and Welling, 2017). GCN learns representation for a node by aggregating representations of its neighbors iteratively. However, a common challenge faced by GCN and most other graph convolutions is that one layer of graph convolutions only consider immediate neighbors and the performance degrades greatly when we apply multiple layers to leverage large receptive fields. Several recent works attribute this performance degradation to the over-smoothing issue (Li et al., 2018; Xu et al., 2018; Chen et al., 2020), which states that representations from different classes become inseparable due to repeated propagation. In this work, we study this performance deterioration systematically and develop new insights towards deeper graph neural networks.

We first systematically analyze the performance degradation when stacking multiple GCN layers by using our quantitative metric for node representation smoothness measurement and a data visualization technique. We observe and argue that the main factor compromising the performance greatly is the entanglement of representation transformation and propagation. After decoupling these two operations, it is demonstrated that deeper graph neural networks can be deployed to learn graph node representations from larger receptive fields without suffering from performance deterioration. The over-smoothing issue is shown to affect performance only when extremely large receptive fields are utilized. We further give a theoretical analysis of the above observation when building very deep models, which shows that graph node representations will become indistinguishable when depth goes infinity. This aligns with the over-smoothing issue. The previous descriptions of the over-smoothing issue simplify the assumption of non-linear activation function (Li et al., 2018; Xu et al., 2018) or make approximations of different probabilities (Xu et al., 2018). Our theoretical analysis can serve as a more rigorous and gentle description of the over-smoothing issue. Based on our theoretical and empirical analysis, we propose an efficient and effective network, termed as Deep Adaptive Graph Neural Network, to learn node representations by adaptively incorporating information from large receptive fields. Extensive experiments on citation, co-authorship, and co-purchase datasets demonstrate the reasonability of our insights and the superiority of our proposed network.

Background and Related Works

2. Related Works

From Eq.(2), one layer GCN only considers immediate neighbors, i.e. one-hop neighborhood. Multiple layers should be applied if multi-hop neighborhood is needed. In practice, however, the performance of GCN degrades greatly when multiple layers are stacked. Several works reveal that stacking many layers can bring the over-smoothing issue, which means that representations of nodes converge to indistinguishable limits. To our knowledge, (Li et al., 2018) is the first attempt to demystify the over-smoothing issue in the GCN model. The authors first demonstrate that the propagation process of the GCN model is a special symmetric form of Laplacian smoothing (Taubin, 1995), which makes the representations of nodes in the same class similar, thus significantly easing the classification task. Then they show that repeatedly stacking many layers may make representations of nodes from different classes indistinguishable. The same problem is studied in (Xu et al., 2018) by analyzing the connection of nodes’ influence distribution and random walk (Lovász et al., 1993). Recently, SGC (Wu et al., 2019) is proposed by reducing unnecessary complexity in GCN. The authors show that SGC corresponds to a low-pass-type filter on the spectral domain, thus deriving smoothing features across a graph. Another recent work (Chen et al., 2020) verify that smoothing is the nature of most typical graph convolutions. It is showed that reasonable smoothing makes graph convolutions work and over-smoothing results in poor performance.

Due to the potential concern of the over-smoothing issue, a limited neighborhood is usually used in practice and it is difficult to extend. However, long-range dependencies should be taken into consideration, especially for peripheral nodes. Also, small receptive fields are not enough to propagate training signals to the whole graph when the number of training nodes is limited under a semi-supervised learning setting. (Li et al., 2018) applies co-training and self-training to overcome the limitation of shallow architectures. A smoothness regularizer term and adaptive edge optimization are proposed in (Chen et al., 2020) to relieve the over-smoothing problem. Jumping Knowledge Network (Xu et al., 2018) deploys a layer-aggregation mechanism to adaptively select a node’s sub-graph features at different ranges rather than to capture equally smoothed representations for all nodes. (Klicpera et al., 2019) utilizes the relationship between GCN and PageRank (Page et al., 1999) to develop a propagation mechanism based on personalize PageRank, which can preserve the node’s local information while gather information from a large neighborhood. Recently, Geom-GCN (Pei et al., 2020) and non-local GNNs (Liu et al., 2020) are proposed to capture long-range dependencies for disassortative graph by designing non-local aggregators.

Empirical and Theoretical Analysis of Deep GNNs

In this section, we first propose a quantitative metric to measure the smoothness of graph node representations. Then we utilize this metric, along with a data visualization technique, to rethink the performance degradation when utilizing GCN layer to build deep graph neural networks. We observe and argue that the entanglement of representation transformation and propagation is a prominent factor that compromises the network performance. After decoupling these two operations, deeper graph neural networks can be built to learn graph node representations from large receptive fields without suffering from performance degradation. The over-smoothing issue is shown to influence the performance only when extremely large receptive fields are adopted. Further, we provide a theoretical analysis of the above observation when building very deep models, which aligns with the conclusion of over-smoothing issue and can serve as a rigorous description of the over-smoothing issue.

Smoothness is a metric that reflects the similarity of node representations. Here, we first define a similarity metric between the representations of node ii and node jj with their Euclidean distance:

where xi\boldsymbol{x}_{i} is the feature representation of node ii and ∥⋅∥\lVert\cdot\rVert denotes the Euclidean norm. The Euclidean distance is a simple but effective way to measure the similarity of two representations, especially in high dimensional space. Smaller Euclidean distance value incidates higher similarity of two representations. To remove the influence of the magnitude of feature representations, we use normalized node representations to compute their Euclidean distance, thus constraining D(xi,xj)D(\boldsymbol{x}_{i},\boldsymbol{x}_{j}) in the range of $$.

Based on the similarity metric in Eq.(3), we further propose a smoothness metric SMViSMV_{i} for node ii, which is computed as the average distance between node ii to other nodes:

Hence, SMViSMV_{i} measures the similarity of node ii’s representations to the entire graph. For instance, a node in the periphery or a leaf node usually has a large smoothness metric value. Further, we can use SMVGSMV_{G} to represent the smoothness metric value of the whole graph GG. Its mathematical expression is defined as:

Here, SMVGSMV_{G} is negatively related to the overall smoothness of nodes’ representations in graph GG.

2. Why Deeper GNNs Fail?

In this section, we utilize our proposed smoothness metric to investigate the performance deterioration phenomenon in deep graph neural networks. Here, we mainly use the GCN layer for analysis, but the main results can be easily applied to other graph deep learning methods. Besides using our proposed metric from the quantitative perspective, we employ a data visualization technique t-SNE (Maaten and Hinton, 2008). t-SNE provides an interpretable visualization, especially on high-dimensional data. t-SNE is capable of capturing both the local structure and the global structure like clusters in high-dimensional data, which is consistent with the classification of nodes. Hence, we utilize t-SNE to demonstrate the discriminative power of node representations in the graph.

We develop a series of graph neural networks (GNNs) with different depths in terms of the number of GCN layers, and evaluate them on three citation datasets; those are Cora, CiteSeer and PubMed (Sen et al., 2008). In particular, we also include a graph neural network with depth of 0, which is approximated with a multi-layer perceptron network. A GNN with depth of 0 can be viewed as aggregating information from a 0-hop neighborhood, which only considers node features while with the graph structure ignored. We conduct 100 runs for each model on each dataset, using the same data split scheme as (Kipf and Welling, 2017).

The result on Cora is illustrated in Figure 2. We provide results on other datasets in Section A.1 in the appendix. We can observe that test accuracy increases as the rise of the number of layers in the beginning, but degrades dramatically from 3 layers. Besides, from the t-SNE visualization on Cora in Figure 1 (t-SNE visualization results of other datasets are provided in Appendix A.3.), the discriminative power of the node representations derived by different numbers of GCN layers has the similar trend. The node representations generated by multiple GCN layers, like 6 layers, are very difficult to be separated.

Several studies (Li et al., 2018; Chen et al., 2020) attribute this performance degradation phenomenon to the over-smoothing issue. However, we question this view for the following two reasons. First, we hold that the over-smoothing issue only happens when node representations propagate repeatedly for a large number of iterations, especially for a graph with sparsely connected edges. As shown in Table 1, all these three citation datasets have a small value of edge density, hence several propagation iterations are not enough to make over-smoothing happen, theoretically. Second, as shown in Figure 2, the smoothness metric value of graph node representations has a slight downward trend as the number of propagation iterations increases. According to (Li et al., 2018), the node representations suffering from the over-smoothing issue will converge to the same value or be proportional to the square root of the node degree, where the corresponding smoothness metric value should be close to , computed by our quantitative metric. However, the metric value in our experiments is relatively far from the ideal over-smoothing situation.

In this work, we argue that it is the entanglement of transformation and propagation that significantly compromise the performance of deep graph neural networks. Our argument is originated from the following two intuitions. First, the entanglement of representation transformation and propagation makes the number of parameters in transformation intertwined with the receptive fields in propagation. As illustrated in Eq.(1), one hop propagation requires a transformation function, thus leading to a large number of parameters when considering a large receptive field. Hence, it might be hard to train a deep GNN with a large number of parameters. This can possibly explain why the performance of multiple GCN layers in Figure 2 fluctuates greatly. Second, representation propagation and transformation should be viewed as two separate operations. Note that the class of a node can be totally predictable by its initial features, which explains why MLP, as shown in Figure 2 and 1, performs well without using any graph structure information. Propagation based on the graph structure can help to ease the classification task by making node representations in the same class to be similar, under the assumption that connected nodes usually belong to the same class. For instance, intuitively, the class of a document is completely determined by its content (i.e. its feature derived by word embedding), instead of the references relationships with other documents. Utilizing its neighbors’ features just eases the classification of documents. Hence, representation transformation and propagation play their distinct roles from feature and structure aspects, respectively.

To support and verify our argument, we decouple the propagation and transformation in Eq.(2), leading to the following model:

The test accuracy and smoothness metric value of representations with different numbers of layers adopted in Eq.(6) on Cora are illustrated in Figure 4 (Results for other datasets are shown in Appendix A.2). After resolving the entanglement of feature transformation and propagation, deeper models is capable of leveraging larger receptive fields without suffering from performance degradation. We can observe that the over-smoothing issue starts compromising the performance at an extremely large receptive field, such as 75-hop on Cora. The smoothness metric value decreases greatly after that, which is demonstrated by the metric value of nearly 0. Besides, from the t-SNE visualization in Figure 3 (The t-SNE visualization results of other datasets are provided in Appendix A.4), deep models with large receptive fields, like 50-hop, still generating distinguishable node representations, which is impressive compared to the regular GCN model. In practice, we usually do not need an extremely large receptive field because the highest shortest path distance in a connected component usually is an acceptable small number. Thus training signals can be propagated to the entire graph with a small number of layers. This is demonstrated by the fact that graph neural networks with 2 or 3 GCN layers usually perform competitively. However, deep models with large receptive fields are necessary to incorporate more information, especially with limited training nodes under a semi-supervised learning setting.

3. Theoretical Analysis of Very Deep Models

The empirical analysis in the previous section shows that decoupling transformation and propagation can help to build much deeper models which can leverage larger receptive fields to incorporate more information. In this section, we provide a theoretical analysis of the above observation when building very deep graph neural networks, which aligns with the over-smoothing issue. (Li et al., 2018) and (Xu et al., 2018) study the over-smoothing issue from the perspective of Laplacian smoothing and nodes’ influence distribution, with several simplified assumptions like non-linear transformation and probability approximations. After decoupling transformation from propagation, our theoretical analysis can serve as a more rigorous and gentle description of the over-smoothing issue. In this section, we strictly describe the over-smoothing issue for 2 typical propagation mechanisms.

A^⊕=D~−1A~\widehat{\boldsymbol{A}}_{\oplus}=\widetilde{\boldsymbol{D}}^{-1}\widetilde{\boldsymbol{A}} and A^⊙=D~−12A~D~−12\widehat{\boldsymbol{A}}_{\odot}=\widetilde{\boldsymbol{D}}^{-\frac{1}{2}}\widetilde{\boldsymbol{A}}\widetilde{\boldsymbol{D}}^{-\frac{1}{2}}, where A~=A+I\widetilde{\boldsymbol{A}}=\boldsymbol{A}+\boldsymbol{I}, are two frequently utilized propagation mechanisms. The row-averaging normalization A^⊕\widehat{\boldsymbol{A}}_{\oplus} is adopted in GraphSAGE (Hamilton et al., 2017) and DGCNN (Zhang et al., 2018). The symmetrical normalization scheme A^⊙\widehat{\boldsymbol{A}}_{\odot} is applied in GCN (Kipf and Welling, 2017). In the following, we describe the over-smoothing issue by proving the convergence of A^⊕k\widehat{\boldsymbol{A}}_{\oplus}^{k} and A^⊙k\widehat{\boldsymbol{A}}_{\odot}^{k}, respectively, when kk goes to infinity.

Given a connected graph GG, lim⁡k→∞A^⊕k=Π⊕\lim_{k\to\infty}\widehat{\boldsymbol{A}}_{\oplus}^{k}=\boldsymbol{\Pi}_{\oplus}, where Π⊕\boldsymbol{\Pi}_{\oplus} is the matrix with all rows are π⊕\boldsymbol{\pi}_{\oplus} and π⊕=Ψ(eD~)\boldsymbol{\pi}_{\oplus}=\Psi(\boldsymbol{e}\widetilde{\boldsymbol{D}}).

Given a connected graph GG, lim⁡k→∞A^⊙k=Π⊙\lim_{k\to\infty}\widehat{\boldsymbol{A}}_{\odot}^{k}=\boldsymbol{\Pi}_{\odot}, where Π⊙=Φ(D~12eT)(Φ(D~12eT))T\boldsymbol{\Pi}_{\odot}=\Phi(\widetilde{\boldsymbol{D}}^{\frac{1}{2}}\boldsymbol{e}^{T})(\Phi(\widetilde{\boldsymbol{D}}^{\frac{1}{2}}\boldsymbol{e}^{T}))^{T}.

From the above two theorems, we can derive the exact convergence value of A^⊕k\widehat{\boldsymbol{A}}_{\oplus}^{k} and A^⊙k\widehat{\boldsymbol{A}}_{\odot}^{k}, respectively, when kk goes to infinity in an infinite deep model. Hence, applying infinite layers to propagate information iteratively is equivalent to utilizing Π⊕\boldsymbol{\Pi}_{\oplus} or Π⊙\boldsymbol{\Pi}_{\odot} to propagate features by one step. Rows of Π⊕\boldsymbol{\Pi}_{\oplus} are the same and rows of Π⊙\boldsymbol{\Pi}_{\odot} are proportional to the square root value of the corresponding nodes’ degrees. Therefore, rows of Π⊕\boldsymbol{\Pi}_{\oplus} or Π⊙\boldsymbol{\Pi}_{\odot} are linearly inseparable and utilizing them as propagation mechanism will generate indistinguishable representations, thereby leading to the over-smoothing issue.

To prove these two theorems, we first introduce the following two lemmas. The proofs of these two lemmas can be found in Appendix A.5 and A.6.

(of Theorem 3.1) A^⊕\widehat{\boldsymbol{A}}_{\oplus} can be viewed as a transition matrix because all entries are nonnegative and each row sums to 11. The graph GG can be further regarded as a Markov chain, whose transition matrix P\boldsymbol{P} is A^⊕\widehat{\boldsymbol{A}}_{\oplus}. This Markov chain is irreducible and aperiodic because the graph GG is connected and self-loops are included in the connectivity. If a Markov chain is irreducible and aperiodic, then lim⁡k→∞Pk=Π\lim_{k\to\infty}\boldsymbol{P}^{k}=\boldsymbol{\Pi}, where Π\boldsymbol{\Pi} is the matrix with all rows equal to π\boldsymbol{\pi} and π\boldsymbol{\pi} can be computed by πP=π\boldsymbol{\pi}\boldsymbol{P}=\boldsymbol{\pi}, s.t. ∑iπi=1\sum_{i}\boldsymbol{\pi}_{i}=1(Kumar and Varaiya, 2015). It is obvious that π\boldsymbol{\pi} is the unique left eigenvector of P\boldsymbol{P} and is normalized such that all entries sum to 11. Hence, lim⁡k→∞A^⊕k=Π⊕\lim_{k\to\infty}\widehat{\boldsymbol{A}}_{\oplus}^{k}=\boldsymbol{\Pi}_{\oplus}, where Π⊕\boldsymbol{\Pi}_{\oplus} is the matrix with all rows are π⊕\boldsymbol{\pi}_{\oplus} and π⊕=Ψ(eD~)\boldsymbol{\pi}_{\oplus}=\Psi(\boldsymbol{e}\widetilde{\boldsymbol{D}}) from Lemma 3.4. ∎

(of Theorem 3.2) Although A^⊙\widehat{\boldsymbol{A}}_{\odot} cannot be processed as a transition matrix like A^⊕\widehat{\boldsymbol{A}}_{\oplus}, it is a symmetric matrix, which is diagonalizable. We have A^⊙=QΛQT\widehat{\boldsymbol{A}}_{\odot}=\boldsymbol{Q}\boldsymbol{\Lambda}\boldsymbol{Q}^{T}, where Q\boldsymbol{Q} is an orthogonal matrix whose columns are normalized eigenvectors of A^⊙\widehat{\boldsymbol{A}}_{\odot} and Λ\boldsymbol{\Lambda} is the diagonal matrix whose diagonal entries are the eigenvalues. Then the kk-th power of A^⊙\widehat{\boldsymbol{A}}_{\odot} can be computed by

where vi\boldsymbol{v}_{i} is the normalized right eigenvector associated with λi\lambda_{i}. From Lemma 3.4, A^⊙\widehat{\boldsymbol{A}}_{\odot} always has an eigenvalue 11 with unique associated eigenvectors and all other eigenvalues λ\lambda satisfy ∣λ∣<1\lvert\lambda\rvert<1. Hence, lim⁡k→∞A^⊙k=Φ(D~12eT)(Φ(D~12eT))T\lim_{k\to\infty}\widehat{\boldsymbol{A}}_{\odot}^{k}=\Phi(\widetilde{\boldsymbol{D}}^{\frac{1}{2}}\boldsymbol{e}^{T})(\Phi(\widetilde{\boldsymbol{D}}^{\frac{1}{2}}\boldsymbol{e}^{T}))^{T}. ∎

These two theorems hold for connected graphs that are frequently studied in graph neural networks. For a disconnected graph, these theorems can also be applied to each of its connected components, which means that applying these propagation mechanisms infinite times will generate indistinguishable node representations in each connected components.

The above theorems reveal that over-smoothing will make node representations inseparable and provide the exact convergence value of frequently used propagation mechanisms. Theoretically, we have proved that the over-smoothing issue is inevitable in very deep models. Further, the convergence speed is a more important factor that we should consider in practice. Mathematically, according to Eq.(7), the convergence speed depends on the other eigenvalues except 11 of the propagation matrix, especially the second largest eigenvalue. Intuitively, the propagation matrix is determined by the topology information of the corresponding graph. This might be the reason for our observation in Section 3.2 that a sparsely connected graph suffers from the over-smoothing only when extremely deep models are applied.

Deep Adaptive Graph Neural Network

In this section, we propose Deep Adaptive Graph Neural Network (DAGNN) based on the above insights. Our DAGNN contributes two prominent advantages. First, it decouples the representation transformation from propagation so that large receptive fields can be applied without suffering from performance degradation, which has been verified in Section 3.2. Second, it utilizes an adaptive adjustment mechanism that can adaptively balance the information from local and global neighborhoods for each node, thus leading to more discriminative node representations. The mathematical expression of DAGNN is defined as

Notably, there are no fully-connected layers utilized as a classifier at the end of this model. In our DAGNN, the final representations Xout\boldsymbol{X}_{out} are used as the final prediction. Thus, the cross-entropy loss for all labeled examples can be calculated as

Experimental Studies

In this section, we conduct extensive experiments on node classification tasks to evaluate the superiority of our proposed DAGNN. We begin by introducing datasets and experimental setup we utilized. We then compare DAGNN with prior state-of-the-art baselines to demonstrate the effectiveness of DAGNN. Also, we deploy some performance studies to further verify the proposed model.

We conduct experiments on 77 datasets based on citation, co-authorship, or co-purchase graphs for semi-supervised node classification tasks; those are Cora (Sen et al., 2008), CiteSeer (Sen et al., 2008), PubMed (Sen et al., 2008), Coauthor CS (Shchur et al., 2018), Coauthor Physics (Shchur et al., 2018), Amazon Computers (Shchur et al., 2018), and Amazon Photo (Shchur et al., 2018). The statistics of these datasets are summarized in Table 1. The detailed description of these datasets are provided in Appendix A.7.

We implemented our proposed DAGNN and some necessary baselines using Pytorch (Paszke et al., 2017) and Pytorch Geometric (Fey and Lenssen, 2019), a library for deep learning on irregularly structured data built upon Pytorch. We consider the following baselines: Logistic Regression (LogReg), Multilayer Perceptron (MLP), Label Propagation (LabelProp) (Chapelle et al., 2009), Normalized Laplacian Label Propagation (LabelProp NL) (Chapelle et al., 2009), ChebNet (Defferrard et al., 2016), Graph Convolutional Network (GCN) (Kipf and Welling, 2017), Graph Attention Network(GAT) (Veličković et al., 2018), Mixture Model Network (MoNet) (Monti et al., 2017), GraphSAGE (Hamilton et al., 2017), APPNP (Klicpera et al., 2019), and SGC (Wu et al., 2019). We aim to provide a rigorous and fair comparison between different models on each dataset by using the same dataset splits and training procedure. We tune hyperparameters for all models individually and some baselines even achieve better results than their original reports. For our DAGNN, we tune the following hyperparameters: (1) k ∈\in {5, 10, 20}, (2) weight decay ∈\in {0, 2e-2, 5e-3, 5e-4, 5e-5}, and (3) dropout rate ∈\in {0.5, 0.8}. Our code is publicly available https://github.com/divelab/DeeperGNN.

2. Overall Results

The results on citation datasets are summarized in Table 2. To ensure a fair comparison, we use 20 labeled nodes per class as the training set, 500 nodes as the validation set, and 1000 nodes as the test set for all models. For each model, we conduct 100100 runs for the fixed training/validation/test split from (Kipf and Welling, 2017), which is commonly used to evaluate performance by the community. Also, we conduct 100100 runs for each model on randomly training/validation/test splits, where we additionally ensure uniform class distribution on the train split as (Fey and Lenssen, 2019). We compute the average test accuracy of 100100 runs. As shown in Table 2, our DAGNN model performs better than the representative baselines by significant margins. Also, the fact that DAGNN achieves state-of-the-art performance on random splits demonstrates the strong robustness of DAGNN. Quantitatively, for the randomly split data, the improvements of DAGNN over GCN are 4.6%, 3.0%, and 3.0% on Cora, CiteSeer, and PubMed, respectively.

The results on co-authorship and co-purchase datasets are summarized in Table 3. We utilize 20 labeled nodes per class as the training set, 30 nodes per class as the validation set, and the rest as the test set. The results of baselines are obtained from (Shchur et al., 2018). For DAGNN, we conduct 100100 runs for randomly training/validation/test splits as (Shchur et al., 2018) to ensure a fair comparison with baselines. Our DAGNN model achieves better performance over the current state-of-the-art models by significant margins of 1.5%, 1.0%, 1.0%, and 0.6% on the Coauthor CS, Coauthor Physics, Amazon Computers, and Amazon Photo, respectively. Note that DAGNN reduces the error rate by 11%11\% on average.

In summary, our DAGNN achieves superior performance on all these seven datasets, which significantly demonstrates the effectiveness of our proposed model. These results verify the superiority of learning node representations from large and adaptive receptive fields, which is achieved by decoupling transformation from propagation and utilizing an adaptive adjustment mechanism in DAGNN.

3. Training Set Sizes

The number of training samples is usually limited in the real world graph. Hence, it is necessary to explore how models perform with different training set sizes. To further demonstrate the advantage that our DAGNN is capable of capturing information from large and adaptive receptive fields, we conduct experiments with different training set sizes for several representative baselines. MLP only utilizes node features to learn representations. GCN and GAT include the structure information by propagation representations through edges, however, only limited receptive fields can be taken into consideration and it is shown in Section 3.2 that performance degrades when stacking multiple GCN layers to enable large receptive fields. APPNP, SGC, and our DAGNN all have the ability to deploy a large receptive field. Note that for a fair comparison, we set the depth in APPNP, SGC, and DAGNN as 10, where information in the 10-hop neighborhood can be included. For each model, we conduct 100100 runs on randomly training/validation/test splits for every training set size on Cora dataset. The results are present in Table 4 where our improvements over GCN are also highlighted. Our DAGNN achieves the best performance under different training set sizes. Notably, The superiority of our DAGNN can be demonstrated more obviously when fewer training nodes are used. The improvement of DAGNN over GCN increases greatly when the number of training nodes decreases. Extremely, only utilizing one training node per class, DAGNN achieves an overwhelming result over GCN by a significant margin of 23.7%. These considerable improvements are mainly attributed to the advantage that DAGNN can incorporate information from large receptive fields by removing the entanglement of representation transformation and propagation. Reachable large receptive fields are beneficial for propagating training signals to distant nodes, which is very essential when the number of training nodes is limited. APPNP and SGC also can gather information from a large neighborhood, but they perform not as good as DAGNN. This performance gap is mainly caused by the adaptive adjustment of DAGNN, which can adjust the information from different receptive fields for each node adaptively.

4. Model Depths

In order to investigate when over-smoothing happens in our DAGNN, we conduct experiments for DAGNN with different depths. For each dataset, we choose different hyperparameter kk in DAGNN, which means the kk-hop neighborhood is visible by each node, and conduct 100100 runs for each setting. The results are illustrated in Figure 6. For citation and co-authorship datasets, very deep models with large numbers of propagation iterations can be applied with keeping stable or slightly decreasing performance, which can be attributed to the design that we decouple the transformation from propagation and utilize adaptive receptive fields to learn node representations in DAGNN. Note that performances on co-purchase datasets decrease obviously with the increment of depth. This should be resulted by their larger value of edge density than other datasets, as shown in Table 1. Intuitively, when nodes are more densely connected, their representations will become indistinguishable by applying a smaller number of propagation iterations, which aligns with our assumption in Section 3.3 that further connection exists between the graph topology information and convergence speed.

Conclusion

In this paper, we consider the performance deterioration problem existed in current deep graph neural networks and develop new insights towards deeper graph neural networks. We first provide a systematical analysis on this issue and argue that the key factor that compromises the network performance is the entanglement of representation transformation and propagation. We propose to decouple these two operations and show that deep graph neural networks without this entanglement can leverage large receptive fields without suffering from performance deterioration. Further, we provide a theoretically analysis of the above strategy when building very deep models, which can serve as a rigorous and gentle description of the over-smoothing issue. Utilizing our insights, DAGNN is proposed to conduct node representation learning with the ability to capture information from large and adaptive receptive fields. According to our comprehensive experiments, our DAGNN achieves a better performance than current state-of-the-art models by significant margins, especially when training samples are limited, which demonstrates its superiority.

References

Appendix A Appendix

In this section, we provide necessary information for reproducing our insights and experimental results. These include the quantitative results and qualitative visualization on more datasets that can further support our insights, the proofs of lemmas, and the detailed description of datasets.

Test accuracy and smoothness metric value of node representations with different numbers of GCN layers are shown in Figure 7 for CiteSeer and PubMed. They have the same trends as we discussed in Section 3.2.

A.2. Test Accuracy and Smoothness Metric Value of Models as Eq.(6)

Test accuracy and smoothness metric value of node representations with different numbers of layers adopted in models as Eq.(6) are shown in Figure 8 for CiteSeer and PubMed. It is illustrated that after decoupling transformation from propagation, we can apply deeper models without suffering from performance degradation.

A.3. Visualization of Representations Derived by GCNs

The t-SNE visualization of node representations derived by different numbers of GCN layers are shown in Figure 9 and 10 for CiteSeer and PubMed, respectively. The node representations become indistinguishable when several layers are deployed.

A.4. Visualization of Representations Derived by Models as Eq.(6)

The t-SNE visualization of node representations derived by model as Eq.(6) with different numbers of layers are shown in Figure 11 and 12 for CiteSeer and PubMed, respectively. It is shown that after the entanglement of representation transformation and propagation is removed, the model with a large receptive field, such as 50-hop, still generating distinguishable node representations. The over-smoothing issue affects the distinguishability only when an extremely receptive field, like 200-hop, is adopted.

A.5. Proof for Lemma 3.3

If λ\lambda is an eigenvalue of A^⊕\widehat{\boldsymbol{A}}_{\oplus} with left eigenvector vl\boldsymbol{v}_{l} and right eigenvector vr\boldsymbol{v}_{r}, we have vlA^⊕=λvl\boldsymbol{v}_{l}\widehat{\boldsymbol{A}}_{\oplus}=\lambda\boldsymbol{v}_{l} and A^⊕vr=λvr\widehat{\boldsymbol{A}}_{\oplus}\boldsymbol{v}_{r}=\lambda\boldsymbol{v}_{r}, i.e. vlD~−1A~=λvl\boldsymbol{v}_{l}\widetilde{\boldsymbol{D}}^{-1}\widetilde{\boldsymbol{A}}=\lambda\boldsymbol{v}_{l} and D~−1A~vr=λvr\widetilde{\boldsymbol{D}}^{-1}\widetilde{\boldsymbol{A}}\boldsymbol{v}_{r}=\lambda\boldsymbol{v}_{r}. We right multiply the first eigenvalue equation with D~−12\widetilde{\boldsymbol{D}}^{-\frac{1}{2}} and left multiply the second eigenvalue equation with D~12\widetilde{\boldsymbol{D}}^{\frac{1}{2}}, respectively. Then we can derive (vlD~−12)D~−12A~D~−12=λ(vlD~−12)(\boldsymbol{v}_{l}\widetilde{\boldsymbol{D}}^{-\frac{1}{2}})\widetilde{\boldsymbol{D}}^{-\frac{1}{2}}\widetilde{\boldsymbol{A}}\widetilde{\boldsymbol{D}}^{-\frac{1}{2}}=\lambda(\boldsymbol{v}_{l}\widetilde{\boldsymbol{D}}^{-\frac{1}{2}}) and D~−12A~D~−12(D~12vr)=λ(D~12vr)\widetilde{\boldsymbol{D}}^{-\frac{1}{2}}\widetilde{\boldsymbol{A}}\widetilde{\boldsymbol{D}}^{-\frac{1}{2}}(\widetilde{\boldsymbol{D}}^{\frac{1}{2}}\boldsymbol{v}_{r})=\lambda(\widetilde{\boldsymbol{D}}^{\frac{1}{2}}\boldsymbol{v}_{r}). Hence, λ\lambda is also an eigenvalue of A^⊙\widehat{\boldsymbol{A}}_{\odot} with left eigenvector vlD~−12\boldsymbol{v}_{l}\widetilde{\boldsymbol{D}}^{-\frac{1}{2}} and right eigenvector D~12vr\widetilde{\boldsymbol{D}}^{\frac{1}{2}}\boldsymbol{v}_{r}. From A^⊙\widehat{\boldsymbol{A}}_{\odot} to A^⊕\widehat{\boldsymbol{A}}_{\oplus}, we can prove it in the same way. ∎

A.6. Proof for Lemma 3.4

We first prove that A^⊕\widehat{\boldsymbol{A}}_{\oplus} and A^⊙\widehat{\boldsymbol{A}}_{\odot} always have an eigenvalue 1 and all eigenvalues λ\lambda satisfy ∣λ∣≤1\lvert\lambda\rvert\leq 1. We have A^⊕eT=eT\widehat{\boldsymbol{A}}_{\oplus}\boldsymbol{e}^{T}=\boldsymbol{e}^{T} because each row of A^⊕\widehat{\boldsymbol{A}}_{\oplus} sums to 11. Therefore, 11 is an eigenvalue of A^⊕\widehat{\boldsymbol{A}}_{\oplus}. Suppose that there exists an eigenvalue λ\lambda that ∣λ∣>1\lvert\lambda\rvert>1 with eigenvector v\boldsymbol{v}, then the length of the right side in A^⊕kv=λkv\widehat{\boldsymbol{A}}_{\oplus}^{k}\boldsymbol{v}=\lambda^{k}\boldsymbol{v} grows exponentially when kk goes to infinity. This indicates that some entries of A^⊕k\widehat{\boldsymbol{A}}_{\oplus}^{k} shoulde be larger than 11. Nevertheless, all entries of A^⊕k\widehat{\boldsymbol{A}}_{\oplus}^{k} are positive and each row of A^⊕k\widehat{\boldsymbol{A}}_{\oplus}^{k} always sums to 11, hence no entry of A^⊕k\widehat{\boldsymbol{A}}_{\oplus}^{k} can be larger than 11, which leads to contradiction. From Lemma 3.3, A^⊕\widehat{\boldsymbol{A}}_{\oplus} and A^⊙\widehat{\boldsymbol{A}}_{\odot} have the same eigenvalues. Therefore, A^⊕\widehat{\boldsymbol{A}}_{\oplus} and A^⊙\widehat{\boldsymbol{A}}_{\odot} always have an eigenvalue 1 and all eigenvalues λ\lambda satisfy ∣λ∣≤1\lvert\lambda\rvert\leq 1.

According to the Perron-Frobenius Theorem for Primitive Matrices (Seneta, 2006), there exists an eigenvalue rr for an n×nn\times n non-negative primitive matrix such that r>∣λ∣r>\lvert\lambda\rvert for any eigenvalue λ≠r\lambda\neq r and the eigenvectors associated with rr are unique. The property that the given graph is connected can guarantee that for ∀i,j\forall i,j: ∃k\exists k s.t. A^⊕k[i,j]>0\widehat{\boldsymbol{A}}^{k}_{\oplus}[i,j]>0. Furthermore, there must exsit some kk that can make all entries of A^k\widehat{\boldsymbol{A}}^{k} to be simultaneously positive because self-loops are included in the graph. Formally, ∃k\exists k: A^⊕k[i,j]>0\widehat{\boldsymbol{A}}^{k}_{\oplus}[i,j]>0 for ∀i,j\forall i,j. Hence, A^⊕\widehat{\boldsymbol{A}}_{\oplus} is a non-negative primitive matrix. From the Perron-Frobenius Theorem for Primitive Matrices, A^⊕\widehat{\boldsymbol{A}}_{\oplus} always has an eigenvalue 11 with unique associated eigenvectors and all other eigenvalues λ\lambda satisfy ∣λ∣<1\lvert\lambda\rvert<1. Based on Lemma 3.3, this property can be extended to A^⊙\widehat{\boldsymbol{A}}_{\odot}. We then compute the eigenvectors associated with eigenvalue 11. Obviously, eT\boldsymbol{e}^{T} is the right eigenvector of A^⊕\widehat{\boldsymbol{A}}_{\oplus} associated with eigenvalue 11. Next, assume vl\boldsymbol{v}_{l} is the left eigenvector of A^⊕\widehat{\boldsymbol{A}}_{\oplus} associated with eigenvalue 11 and thus vlD~−12\boldsymbol{v}_{l}\widetilde{\boldsymbol{D}}^{-\frac{1}{2}} is the left eigenvector of A^⊙\widehat{\boldsymbol{A}}_{\odot} associated with eigenvalue 11. We know A^⊙\widehat{\boldsymbol{A}}_{\odot} is a symmetric matrix, whose left and right eigenvectors associated with the same eigenvalue are simply each other’s transpose. Hence, we utilize vlD~−12=(D~12eT)T\boldsymbol{v}_{l}\widetilde{\boldsymbol{D}}^{-\frac{1}{2}}=(\widetilde{\boldsymbol{D}}^{\frac{1}{2}}\boldsymbol{e}^{T})^{T} to obtain vl=eD~\boldsymbol{v}_{l}=\boldsymbol{e}\widetilde{\boldsymbol{D}}. After deriving the eigenvectors of A^⊕\widehat{\boldsymbol{A}}_{\oplus} associated with eigenvalue 11, corresponding eigenvectors of A^⊙\widehat{\boldsymbol{A}}_{\odot} can be computed by Lemma 3.3. ∎

A.7. Datasets Description and Statistics

Citation datasets. Cora, CiteSeer and PubMed (Sen et al., 2008) are representative citation network datasets where nodes and edges denote documents and their citation relationships, respectively. Node features are formed by bay-of-words representations for documents. Each node has a label indicating what field the corresponding document belongs to.

Co-authorship datasets. Coauthor CS and Coauthor Physics (Shchur et al., 2018) are co-authorship graphs datasets. Nodes denote authors, which are connected by an edge if they co-authored a paper. Node features represent paper keywords for each author’s papers. Each node has a label denoting the most active fields of study for the corresponding author.

Co-purchase datasets. Amazon Computers and Amazon Photo (Shchur et al., 2018) are segments of the Amazon co-purchase graph (McAuley et al., 2015) where nodes are goods and edges denote that two goods are frequently bought together. Node features are derived from bag-of-words representations for product reviews and class labels are given by the product category.

The datasets statistics are summarized in Table 1.