Title: A HIERARCHY OF GRAPH NEURAL NETWORKS BASED ON LEARNABLE LOCAL FEATURES Anonymous authors Paper under double-blind review

Abstract: Graph neural networks (GNNs) are a powerful tool to learn representations on graphs by iteratively aggregating features from node neighbourhoods. Many variant models have been proposed, but there is limited understanding on both how to compare different architectures and how to construct GNNs systematically. Here, we propose a hierarchy of GNNs based on their aggregation regions. We derive theoretical results about the discriminative power and feature representation capabilities of each class. Then, we show how this framework can be utilized to systematically construct arbitrarily powerful GNNs. As an example, we construct a simple architecture that exceeds the expressiveness of the Weisfeiler-Lehman graph isomorphism test. We empirically validate our theory on both synthetic and real-world benchmarks, and demonstrate our example's theoretical power translates to strong results on node classification, graph classification, and graph regression tasks.

1. INTRODUCTION:

Graphs arise naturally in the world and are key to applications in chemistry, social media, finance, and many other areas. Understanding graphs is important and learning graph representations is a key step. Recently, there has been an explosion of interest in utilizing graph neural networks (GNNs), which have shown outstanding performance across tasks (e.g. Kipf & Welling (2016) , Veličković et al. (2017) ). Generally, we consider node-feature GNNs which operate recursively to aggregate representations from a neighbouring region (Gilmer et al., 2017) .

In this work, we propose a representational hierarchy of GNNs, and derive the discriminative power and feature representation capabilities in each class. Importantly, while most previous work has focused on GNNs aggregating over vertices in the immediate neighbourhood, we consider GNNs aggregating over arbitrary subgraphs containing the node. We show that, under mild conditions, there is only in fact a small class of subgraphs that are valid aggregation regions. These subgraphs provide a systematic way of defining a hierarchy for GNNs.

Using this hierarchy, we can derive theoretical results which provide insight into GNNs. For example, we show that no matter how many layers are added, networks which only aggregate over immediate neighbors cannot learn the number of triangles in a node's neighbourhood. We demonstrate that many popular frameworks, including GCN1 (Kipf & Welling, 2016) , GAT (Veličković et al., 2017) , and N-GCN (Abu-El-Haija et al., 2018) are unified under our framework. We also compare each class using the Weisfeiler-Lehman (WL) isomorphism test (Weisfeiler & Lehman, 1968) , and conclude our hierarchy is able to generate arbitrarily powerful GNNs. Then we utilize it to systematically generate GNNs exceeding the discriminating power of the 1-WL test.

Experiments utilize both synthetic datasets and standard GNN benchmarks. We show that the method is able to learn difficult graph properties where standard GCNs fail, even with multiple layers. On benchmark datasets, our proposed GNNs are able to achieve strong results on multiple datasets covering node classification, graph classification, and graph regression.

2. RELATED WORK:

Numerous works (see Li et al. (2015) , Atwood & Towsley (2016) , Defferrard et al. (2016) , Kipf & Welling (2016) , Niepert et al. (2016) , Santoro et al. (2017) , Veličković et al. (2017) , Verma & Zhang (2018) , Zhang et al. (2018a) , Ivanov & Burnaev (2018) , Wu et al. (2019a) for examples) have constructed different architectures to learn graph representations. Collectively, GNNs have pushed the state-of-the-art on many different tasks on graphs, including node classification, and graph classification/regression. However, there are relatively few works that attempt to understand or categorize GNNs theoretically. Scarselli et al. (2009) presented one of the first works that investigated the capabilities of GNNs. They showed that the GNNs are able to approximate a large class of functions (those satisfying preservation of the unfolding equivalence) on graphs arbitrarily well. A recent work by Xu et al. (2018) also explored the theoretical properties of GNNs. Its definition of GNNs is limited to those that aggregate features in the immediate neighbourhood, and thus is a special case of our general framework. We also show that the paper's conclusion that GNNs are at most as powerful as the Weisfeiler-Lehman test fails to hold in a simple extension. Zhou et al. (2018) and Wu et al. (2019b) give an overview of the current field of research in GNNs, and provide structural classifications of GNNs. We differ in our motivation to categorize GNNs from a computational perspective. We also note that our classification only covers static node feature graphs, though extensions to more general settings are possible.

Survey works including:

The disadvantages of GNNs using localized filter to propagate information are analyzed in Li et al. (2018) . One major problem is their incapability of exploring global graph structures. To alleviate this, there has been two important works in expanding neighbourhoods: N-GCN (Abu-El-Haija et al., 2018) feeds higher-degree polynomials of adjacency matrix to multiple instantiations of GCNs, and Morris et al. (2018) generalizes GNNs to k-GNNs by constructing a set-based k-WL to consider higher-order neighbourhoods and capture information beyond node-level. We compare architectures constructed using our hierarchy to these previous works in the experiments, and show that systematic construction of higher-order neighbourhoods brings an advantage across different tasks.

3. BACKGROUND:

Let G = (V, E) denote an undirected and unweighted graph, where |V | = N , and |E| = Ω. Unless otherwise specified, we include self-loops for every node v ∈ V . Let A be the graph's adjacency matrix. Denote d(u, v) as the distance between two nodes u and v on a graph, defined as the minimum length of walk between u and v. We further write d v as the degree of node v, and N (v) as the set of nodes in the direct neighborhood of v (including v itself).

Graph Neural Networks (GNNs) utilize the structure of a graph G and node features X ∈ R N ×p to learn a refined representation of each node, where p is input feature size, i.e. for each node v ∈ V , we have features

X v ∈ R p .

A GNN is a function that for every layer l at every node v aggregates features over a connected subgraph G v ⊆ G containing the node v, and updates a hidden representation

H (l) = [h (l) 1 , • • • , h (l) N ].

Formally, we can define the lth layer of a GNN (with

h (0) v = X v ): a (l) v = Agg Gv (H (l-1) ) h (l) v = Com(h (l-1) v , a (l) v )

where | is the restriction symbol over the domain G v , the aggregation subgraph. The aggregation function Agg(•) is invariant with respect to the labeling of the nodes. The aggregation function, Agg(•), summarizes information from a neighbouring region G v , while the combination function Com(•) joins such information with the previous hidden features to produce a new representation.

For different tasks, these GNNs are combined with an output layer to coerce the final output into an appropriate shape. Examples include fully-connected layers (Xu et al., 2018) , convolutional layers (Zhang et al., 2018a) , and simple summation (Verma & Zhang, 2018) . These output layers are task-dependent and not graph-dependent, so we would omit these in our framework, and consider the node level output H (L) of the final Lth layer as the output of the GNN.

We consider three representative GNN variants in terms of this notation, where W (l) is a learnable weight matrix at layer l:2 

• Graph Convolutional Networks (GCNs) (Kipf & Welling, 2016) :

Agg(•) = u∈N (v) h (l-1) u Com(•) = ReLu(a (l) v W (l) )

• Graph Attention Networks (GAT) (Veličković et al., 2017) :

Agg(•) = u∈N (v) softmax u∈N (v) MLP(h (l-1) u , h (l-1) v ) h (l-1) u Com(•) = ReLu(a (l) v W (l) )

• N-GCN (Abu- El-Haija et al., 2018) (2-layer case):

Agg(•) = u1∈N (v) u2∈N (u1) h (l-1) u2 Com(•) = ReLu(a (l) v W (l) )

4 HIERARCHICAL FRAMEWORK FOR CONSTRUCTING GNNS

Our proposed framework uses walks to specify a hierarchy of aggregation ranges. The aggregation function over a node v ∈ G is a permutation-invariant function over a connected subgraph G v . Consider the simplest case, using the neighbouring vertices u ∈ N (v), utilized by many popular architectures (e.g. GCN, GAT). Then G v in this case is a star-shaped subgraph, as illustrated below in Figure 1 . We refer to that as D 1 (v), which in terms of walks, is the union of all edges and nodes in length-2 walks that start and end at v.

To build a hierarchy, we consider benefits of longer walks. The next simplest graph feature is the triangles in the neighbourhood of v. Knowledge on connections between the neighbouring nodes of v are necessary for considering triangles. A natural formulation using walks would be length-3 walks that start and end at v. A length-3 returning walk outlines a triangle, and the union of all length-3 returning walks induces a subgraph, formed by all nodes and edges included in those walks. This is illustrated in Figure 1 as L 1 (v). Definition 1. Define the set of all walks of length ≤ m returning to v as W m (v). For k ∈ Z + , we define D k (v) as the subgraph formed by all the edges and nodes in W 2k (v), while L k (v) is defined as the subgraph formed by all the nodes and edges in W 2k+1 (v).

Intuitively, L k (v) is a subgraph of G consisting of all nodes and edges in the k-hop neighbourhood of node v, and D k (v) only differs from L k (v) by excluding the edges between the distance-k neighbors of v. We explore this further in Section 5. An example illustration of the neighbourhoods defined above is shown in Figure 1 .

This set of subgraphs naturally induces a hierarchy with increasing aggregation region: Definition 2. The D-L hierarchy of aggregation regions for a node v,

A D-L (v) in a graph G is, in increasing order: A D-L (v) = {D 1 (v), L 1 (v), • • • , D k (v), L k (v), • • • } (1) Where D 1 (v) ⊆ L 1 (v) ⊆ D 2 (v) ⊆ L 2 (v) • • • .

Next, we consider the properties of this hierarchy. One important property is completeness -that the hierarchy can classify every possible GNN. Note that there is no meaningful complete hierarchy if G v is arbitrary. Therefore, we propose to limit our focus to those G v that can be defined as a function of the distance from v. Absent specific graph structures, distance is a canonical metric between vertices and this definition includes all examples listed in Section 3. With such assumption, we can show that the D-L hierarchy is complete: Theorem 1. Consider a GNN defined by its action at each layer:

EQUATION

Assume G v can be defined as a univariate function of the distance from v. Then both of the following statements are true for all k ∈ Z + :

• If D k (v) ⊆ G v ⊆ L k (v), then G v ∈ {D k (v), L k (v)}. • If L k (v) ⊆ G v ⊆ D k+1 (v), then G v ∈ {L k (v), D k+1 (v)}.

This theorem shows that one cannot create an aggregation region based on node distance that is "in between" the hierarchy defined. With Theorem 1, we can use the D-L aggregation hierarchy to create a hierarchy of GNNs based on their aggregation regions. Definition 3. For k ∈ Z + , G(D k ) is the set of all graph neural networks with aggregation region

G v = D k (v) that is not a member of G(L k ). G(L k )

is the set of all graph neural networks with aggregation region

G v = L k (v) that is not a member of G(D k-1 ).

We explicitly exclude those belonging to a lower aggregation region in order to make the hierarchy well-defined (otherwise a GNN of order G(D 1 ) is trivially one of order G(L 1 )). We also implicitly define D 0 = L 0 = ∅.

4.1. CONSTRUCTING D-L GNNS:

The D-L Hierarchy can be used both to classify existing GNNs and also to construct new models. We first note that all GNNs which aggregate over immediate neighbouring nodes fall in the class of G(D 1 ). For example, Graph Convolutional Networks (GCNs) defined in Section 3 is in

G(D 1 ) since its aggregation is Agg(•) = u∈D1(v) h (l-1) u

, and similarly the N-GCN example is in G(D 2 ). Note that these classes are defined by the subgraph used by Agg, but does not imply that these networks reach the maximum discriminatory power of their class (defined in the next section).

We can use basic building blocks to implement different levels of GNNs. These examples are not meant to be exhaustive and only serve as a glimpse of what could be achieved with this framework. Examples. For every k ∈ Z + :

• Any GNN with Agg(•) = u∈D k (v) (A k ) vu h (l-1) u is a GNN of class G(D k ). • Any GNN with Agg(•) = u∈D k (v) (A k+1 ) vu h (l-1) u is a GNN of class G(L k ). • Any GNN with Agg(•) = (A 2k+1 ) vv • h (l-1) v is a GNN of class G(L k ).

Intuitively, (A k ) vu counts all k-length walks from v to u, which includes all nodes in the k-hop neighbourhood. The difference between the first and the second example above is that in the second one, we allow (k + 1)-length walks from the nodes in the k-hop neighbourhood, which promotes it to be class of G(L k ). Note the simplicity of the first and the last examples: in matrix form the first is A k H (l-1) while the last form is Diag(A 2k+1 ) • H (l-1) .

The building blocks can be gradually added to the original aggregation function. This is particularly useful if an experimenter knows there are higher-level properties that are necessary to compute, for instance to incorporate knowledge of triangles, one can design the following network (see Section 6 for more details):

EQUATION

where w 1 , w 2 ∈ R are learnable weights.

5. THEORETICAL PROPERTIES:

We can prove interesting theoretical properties for each class of graph neural networks on this hierarchy. To do this, we utilize the Weisfeiler-Lehman test, a powerful classical algorithm used to discriminate between potentially isomorphic graphs. In interest of brevity, its introduction is included in the Appendix in Section 8.1.

We define the terminology of "discriminating graphs" formally below:

Definition 4. The discriminative power of a function f over graphs G is the set of graphs S f G such that for every pair of graphs

G 1 , G 2 ∈ S f G , the function has f (G 1 ) = f (G 2 ) iff G 1 ∼ = G 2 and f (G 1 ) = f (G 2 ) iff G 1 ∼ = G 2 . We say f decides G 1 , G 2 as isomorphic if f (G 1 ) = f (G 2 ) and vice versa.

Essentially, S f G is the set of graphs that f can decide correctly whether any two of them are isomorphic or not. We say f has a greater discriminative power than g if S f G S g G . Now we first introduce a theorem proven by Xu et al. (2018) :

Theorem 2. The maximum discriminative power of the set of GNNs in G(D 1 ) is strictly less than or equal to the 1-dimensional WL test.

Their framework only included G(D 1 ) GNNs, and they upper bounded the discriminative power of such GNNs. With our generalized framework, we are able to prove a slightly surprising result: Theorem 3. The maximum discriminative power of the set of GNNs in G(L 1 ) is strictly greater than the 1-dimensional WL test.

This result is central to understanding GNNs. Even though the discriminative power of G(D 1 ) is strictly less than or equal to the 1-WL test, Theorem 3 shows that just by adding the connections between the immediate neighbors of each node (L 1 \D 1 ), we can achieve theoretically greater discriminative power.

One particular implication is that GNNs with maximal discriminative power in G(L 1 ) can count the number of triangles in a graph, while those in G(D 1 ) cannot, no matter how many layers are added. This goes against the intuition that more layers allow GNNs to aggregate information from further nodes, as G(D 1 ) is unable to aggregate the information of triangles from the L 1 region, which is important in many applications (see Frank & Strauss (1986 ), Tsourakakis et al. (2011) , Becchetti et al. (2008) , Eckmann & Moses (2002) ).

Unfortunately, this is the only positive result we are able to establish regarding the WL test as the k-dim WL-test is not a local method for k > 1. Nevertheless, we are able to prove that our hierarchy admits arbitrarily powerful GNNs through the following theorem: This shows that as k → ∞, we are able to discriminate all graphs. We record the full set of results proven in Table 1 . The key ingredients for proving these results are contained in Appendix 8.3 and 8.4. Here we see that at the G(L 1 ) class, theoretically we are able to learn all cliques (as cliques by definition are fully connected). As we gradually move upward in the hierarchy, we are able to learn more far-reaching features such as higher length walks and cycles, while the discriminatory power improves. We also note that the theoretical complexity increases as k increases.

6. EXPERIMENTS:

We consider the capability of two specific GNNs instantiations that are motivated by this framework: w 1 AH (l-1) + w 2 Diag(A3 ) • H (l-1) (GCN-L1) and w 1 AH (l-1) + w 2 Diag(A 3 ) • H (l-1) + w 3 A 2 H (l-1) (GCN-D2). These can be seen as extensions of the GCN introduced in Kipf & Welling (2016). The first, GCN-L1, equips the GNN with the ability to count triangles. The second, GCN-D2, can further count the number of 4-cycles. We note their theoretical power below (proof follows from Theorem 3): Corollary 1. The maximum discriminative power of GCN-L1 and GCN-D2 is strictly greater than the 1-dimensional WL test.

We compare the performance of GCN-L1, GCN-D2 and other state-of-art GNN variants on both synthetic and real-world tasks. 3 For the combine function of GCN, GCN-L1, and GCN-D2, we use

Com(•) = MLP(a (k) v )

, where MLP is a multi-layer perceptron (MLP) with LeakyReLu activation similar to Xu et al. (2018) .

All of our experiments are run with PyTorch 1.2.0, PyTorch-Geometric 1.2.1, and we use NVIDIA Tesla P100 GPUs with 16GB memory.

6.1. SYNTHETIC EXPERIMENTS:

To verify our previous claim that in our proposed hierarchy, GNNs from certain classes are able to learn specific features more effectively, we created two tasks: predict the number of triangles and number of 4-cycles in the graphs. For each task, the dataset contains 1000 graphs and is generated in a procedure as follows: We fix the number of nodes in each graph to be 100 and use the Erdős-Rényi random graph model to generate random graphs with edge probability 0.07. Then we count the number of patterns of interest. In the 4-cycle dataset, the average number of 4-cycles in each graph is 1350 and in the triangle dataset, there are 54 triangles on average in each graph. We perform 10-fold cross-validation and record the average and standard deviation of evaluation metrics across the 10 folds within the cross-validation. We used 16 hidden features, and trained the networks using Adam optimizer with 0.001 initial learning rate, L 2 regularization λ = 0.0005. We further apply early stopping on validation loss with a delay window size of 10. The dropout rate is 0.1. The learning rate is scheduled to reduce 50% if the validation accuracy stops increasing for 10 epochs. We utilized a two-layer MLP in our combine function for GCN, GCN-L1 and GCN-L2, similar to the implementation in Xu et al. (2018) . For training stability, we limited w 1 , w 2 ∈ (0, 1) in our models using the sigmoid function.

Results:

In our testing, we limited GCN-L1 and GCN-D2 to a 1-layer network. This prevents GCN-L1 and GCN-D2 from utilizing higher order features to reverse predict the triangles and 4-cycles. Simultaneously, we ensured GCN had the same receptive field as such networks by using 2-layer and 3-layer GCNs, which provided GCN with additional feature representational capability. The baseline is a model that predicts the training mean on the testing set. The results are in Table 2 . GCN completely fails to learn the features (worse than a simple mean prediction). However, we see that GCN-L1 effectively learns the triangle counts and greatly outperforms the mean baseline, while GCN-D2 is similarly able in providing a good approximation on the count of 4-cycles, without losing the ability to count triangles. This validates the "possible features learned" in Table 1 .

6.2. REAL-WORLD BENCHMARKS:

We next consider standard benchmark datasets for (i) node classification, (ii) graph classification, (iii) graph regression tasks. The details of these datasets are presented in Table 3 .

The setup of the learning rate scheduling and L 2 regularization rate are the same as in synthetic tasks.

For the citation tasks, we used 16 hidden features, while we used 64 for the biological datasets. Since our main modification is the expansion of aggregation region, our main comparison benchmarks are k-GNN (Morris et al., 2018) and N-GCN (Abu-El-Haija et al., 2018) , two previous best attempts in incorporating aggregation regions beyond the immediate nodes. Note that we can view a mth order N-GCN as aggregating over

D 1 , D 2 , • • • , D m .

We further include results on GAT (Verma & Zhang, 2018) , GIN (Xu et al., 2018) , RetGK (Zhang et al., 2018b) , GNTK (Du et al., 2019) , WL-subtree (Shervashidze et al., 2011) , SHT-PATH, (Borgwardt & Kriegel, 2005) and PATCHYSAN (Niepert et al., 2016) to show some best performing architectures. Baseline neural network models use a 1-layer perceptron combine function, with the exception of k-GNN, which uses a 2-layer perceptron combine function. Thus, to illustrate the effectiveness of the framework, we only utilize a 1-layer perceptron combine function for all tasks for our GCN models, with the exception of NCI1. 2-layer perceptrons seemed necessary for good performance in NCI1, and thus we implemented all neural networks with 2-layer perceptrons for this task to ensure a fair comparison. We tuned the learning rates ∈ {0.001, 0.005, 0.01, 0.05} and dropout rates ∈ {0.1, 0.5}.

For numerical stability, we normalize the aggregation function using the degree of v only. For the node classification tasks, we directly utilized the final layer output, while we summed over the node representations for the graph-level tasks.

Results Experimental results on real-world data are summarized in Table 4 . According to our experiments, GCN-L1 and GCN-D2 noticeably improve upon GCN across all datasets, due to its ability to combine node features in more complex and nonlinear ways. The improvement is statistically significant on the 5% level for all datasets except Proteins. The results of GCN-L1 and GCN-D2 match the best performing architectures in most datasets, and lead in numerical averages for Cora, Proteins, QM7b, and QM9 (though not statistically significant for all).

Importantly, the results also show a significant improvement from the two main comparison architectures, k-GNN and N-GCN. We see that further expanding aggregation regions generates diminishing returns on these datasets, and the majority of the benefit is gained in the first-order extension G(L 1 ). This is in contrast to N-GCN which skipped L 1 to only used D-type aggregation regions (D 2 , D 3 , • • • ), which is an incomplete hierarchy of aggregation regions. The differential in results illustrates the power of the complete hierarchy as proven in Theorem 1.

We especially would like to stress the outsized improvement of GCN-L1 on the biological datasets.

As described in 1, GCN-L1 is able to capture information about triangles, which are highly relevant for the properties of biological molecules. The experimental results verify such intuition, and show how knowledge about the task can lead to targeted GNN design using our framework.

7. CONCLUSION:

We propose a theoretical framework to classify GNNs by their aggregation region and discriminative power, proving that the presented framework defines a complete hierarchy for GNNs. We also provide methods to construct powerful GNN models of any class with various building blocks. Our experimental results show that example models constructed in the proposed way can effectively learn the corresponding features exceeding the capability of 1-WL algorithm in graphs. Aligning with our theoretical analysis, experimental results show that these stronger GNNs can better represent the complex properties of a number of real-world graphs.

8.1. INTRODUCTION TO WEISFEILER-LEHMAN TEST:

The 1-dimensional Weisfeiler-Lehman (WL) test is an iterative vertex classification method widely used in checking graph isomorphism. In the first iteration, the vertices are labeled by their valences.

Then at each following step, the labels of vertices are updated by the multiset of the labels of themselves and their neighbors. The algorithm terminates when a stable set of labels is reached. The details of 1-dimensional Weisfeiler-Lehman (WL) is shown in Algorithm 1. Regarding the limitation of 1-dimensional Weisfeiler-Lehman (WL), Cai et al. (1992) described families of non-isomorphic graphs which 1-dimensional WL test cannot distinguish.

Algorithm 1 1-dimensional Weisfeiler-Lehman (WL) 1: Input: G = (V, E), G = (V , E ), initial labels l 0 (v) for all v ∈ V ∪ V 2: Output: stablized labels l(v) for all v ∈ V 3: while l i (v) has not converged do Until the labels reach stabalization 4:

for v ∈ V ∪ V do Sort M i (v) and concatenate them into string s i (v)

8:

l i (v) = f (s i (v))

, where f is any function s.t. f (s i (v) = f (s i (w)) ⇐⇒ s i (v) = s i (w) 9: end while

The k-dimensional Weisfeiler-Lehman (WL) algorithm extends the above procedure from operations on nodes to operations on tuples V (G) k . This is a permutation-invariant function. Note that for the connected graph G 2 and any vertex v in G 2 , this function returns Agg(v) = k + 1 as L k (v) = G 2 . Therefore, every node has the same embedding k + 1.

On the other hand, for the disconnected graph G 1 , let [U 1 , • • • , U m ] be the connected components of G 1 . Then for a vertex u ∈ U i , it is clear that L k (u) = U i , and thus Agg(u) = |V Ui | for all u ∈ U i . And since |V Ui | < k + 1 by construction, Agg(u) < k + 1 for all u ∈ U i , so the embedding of G 1 and G 2 are never equal when G 1 is connected and G 2 is disconnected.

Therefore, this function discriminate all graphs of k + 1 nodes in which one is connected and one is disconnected, so the induction step is proven.

:

Throughout the paper we use GCN to specifically refer to the model proposed inKipf & Welling (2016).

For simplicity we present the version without feature normalization using node degrees.

The code is available at a public github repository. Reviewers have anonymized access through supplementary materials. The synthetic datasets are included in the codebase as well.

Strictly speaking, for consistency of the output length, we would require padding to a length of (k + 1) 2 if the adjacency matrix restricted to the L k (v) subgraph is not the full adjacency matrix. However, since we only care about the behavior of the function when G1 and G2 are both connected, this scenario never happens, so it is not material for any part of the proof below.

Figures and Tables:

Figure 1: Illustration of D-L aggregation regions. Dashed circles represent neighborhoods of different hops. From left to right: D 1 , L 1 , D 2 , and L 2 . Both D k and L k include nodes within the k-hop neighborhood, but D k does not include edges between nodes on the outmost ring whereas L k does.

i (v) = multi-set {l i-1 (u)|u ∈ N (v)}

Properties of different GNN classes. Shows the upper bound computational complexity when the maximum discriminatory power is obtained. Here we assume hidden size p is the same as feature input size. Final column contains some examples of features that can be learned by each class.Theorem 4. For all k ∈ Z + , there exists a GNN within the class of G(L k ) that is able to discriminate all graphs with ≤ k + 1 nodes.

Table content: <table><tr><td colspan="4">GNN Class Computational Complexity Maximum Discriminatory Power Possible Learned Features</td></tr><tr><td>G(D 1 )</td><td>≤ O(Ωp)</td><td>≤1-WL</td><td>Node Degree</td></tr><tr><td>G(L 1 )</td><td>≤ O(ΩN + N p)</td><td>&gt;1-WL All graphs of ≤ 2 nodes</td><td>All Cliques Length 3 cycles (Triangles)</td></tr><tr><td>G(D 2 )</td><td>≤ O(Ωp)</td><td>&gt;1-WL All graphs of ≤ 2 nodes</td><td>Length 2 walks Length 4 cycles</td></tr><tr><td>G(D k )</td><td>≤ O(kΩp)</td><td>&gt;1-WL All graphs of ≤ k nodes</td><td>Length k walks Length 2k cycles</td></tr><tr><td>G(L k )</td><td>≤ O(kΩN + N p)</td><td>&gt;1-WL All graphs of ≤ k + 1 nodes</td><td>Length 2k + 1 cycles</td></tr></table>

Results of experiments on synthetic datasets (i) Count the number of triangles in the graph (ii) Count the number of 4 cycles in the graph. The reported metric is MSE over the testing set.

Table content: <table><tr><td/><td/><td colspan="3">MSE # Triangles MSE # 4 Cycles (×10 3 )</td><td/><td/></tr><tr><td colspan="2">Predict Mean (Baseline)</td><td>125.4 ± 10.7</td><td/><td>36.4 ± 5.6</td><td/><td/></tr><tr><td colspan="2">GCN (2-layer)</td><td>506.2 ± 80.9</td><td/><td>142.3 ± 19.8</td><td/><td/></tr><tr><td colspan="2">GCN (3-layer)</td><td>485.0 ± 92.4</td><td/><td>136.7 ± 18.5</td><td/><td/></tr><tr><td colspan="2">GCN-L1 (1-layer)</td><td>61.2 ± 11.6</td><td/><td>45.2 ± 6.0</td><td/><td/></tr><tr><td colspan="2">GCN-D2 (1-layer)</td><td>57.9 ± 18.0</td><td/><td>3.0 ± 1.0</td><td/><td/></tr><tr><td>Dataset</td><td colspan="6">Category # Graphs # Classes # Nodes Avg. # Edges Avg Task</td></tr><tr><td>Cora (Yang et al., 2016)</td><td>Citation</td><td>1</td><td>7</td><td>2,708</td><td>5,429</td><td>NC</td></tr><tr><td>Citeseer (Yang et al., 2016)</td><td>Citation</td><td>1</td><td>6</td><td>3,327</td><td>4,732</td><td>NC</td></tr><tr><td>PubMed (Yang et al., 2016)</td><td>Citation</td><td>1</td><td>3</td><td>19,717</td><td>44,338</td><td>NC</td></tr><tr><td>NCI1 (Shervashidze et al., 2011)</td><td>Bio</td><td>4,110</td><td>2</td><td>29.87</td><td>32.30</td><td>GC</td></tr><tr><td>Proteins (Kersting et al., 2016)</td><td>Bio</td><td>1,113</td><td>2</td><td>39.06</td><td>72.82</td><td>GC</td></tr><tr><td>PTC-MR (Kersting et al., 2016)</td><td>Bio</td><td>344</td><td>2</td><td>14.29</td><td>14.69</td><td>GC</td></tr><tr><td>MUTAG (Borgwardt et al., 2005)</td><td>Bio</td><td>188</td><td>2</td><td>17.93</td><td>19.79</td><td>GC</td></tr><tr><td>QM7b (Wu et al., 2018)</td><td>Bio</td><td>7,210</td><td>14</td><td>16.42</td><td>244.95</td><td>GR</td></tr><tr><td>QM9 (Wu et al., 2018)</td><td>Bio</td><td>133,246</td><td>12</td><td>18.26</td><td>37.73</td><td>GR</td></tr></table>

Details of benchmark datasets used. Types of tasks are: NC for node classification, GC for graph classification, GR for graph regression.

Table content: <table/>

Results of experiments on real-world datasets. The reported metrics are accuracy on classification tasks and MSE on regression tasks. Figures for comparative methods are from literature except for those with *, which come from our own implementation. The best-performing architectures are highlighted in bold.

Table content: <table><tr><td>Dataset</td><td>Cora</td><td>Citeseer</td><td>PubMed</td><td>NCI1</td><td>Proteins</td><td>PTC-MR</td><td>MUTAG</td><td>QM7b</td><td>QM9</td></tr><tr><td>GAT</td><td colspan="2">83.0 ± 0.7 72.5 ± 0.7</td><td>79.0 ± 0.3</td><td>74.5 ± 3.5  *</td><td>73.7 ± 5.6  *</td><td colspan="2">60.2 ± 3.0  *  84.0 ± 8.0  *</td><td>91.7 ± 5.5  *</td><td>115.0 ± 17.5  *</td></tr><tr><td>GIN</td><td>77.6 ± 1.1</td><td>66.1 ± 0.9</td><td>77.0 ± 1.2</td><td>82.7 ± 1.7</td><td colspan="3">76.2 ± 2.8 64.6 ± 7.0 89.4 ± 8.6</td><td/><td/></tr><tr><td>WL-OA</td><td/><td/><td/><td>86.1</td><td>75.3</td><td>63.6</td><td>84.5</td><td/><td/></tr><tr><td>P.SAN</td><td/><td/><td/><td>78.5 ± 1.8</td><td>75.8 ± 2.7</td><td colspan="2">60.0 ± 4.8 92.6 ± 4.2</td><td/><td/></tr><tr><td>RetGK</td><td/><td/><td/><td>84.5 ± 0.2</td><td>75.8 ± 0.6</td><td colspan="2">62.5 ± 1.6 90.3 ± 1.1</td><td/><td/></tr><tr><td>GNTK</td><td/><td/><td/><td>84.2 ± 1.2</td><td>75.6 ± 4.2</td><td colspan="2">67.9 ± 6.9 90.0 ± 8.5</td><td/><td/></tr><tr><td>S-PATH</td><td/><td/><td/><td>73.0 ± 0.5</td><td>75.0 ± 0.5</td><td>58.5 ± 2.5</td><td>85.7 ± 2.5</td><td/><td/></tr><tr><td>N-GCN</td><td>83.0</td><td>72.2</td><td>79.5</td><td colspan="4">75.8 ± 1.9  *  76.5 ± 1.5  *  61.0 ± 5.0  *  85.0 ± 6.9  *</td><td>82.0 ± 5.4  *</td><td>120.7 ± 8.5  *</td></tr><tr><td>k-GNN</td><td colspan="3">81.6 ± 0.4  *  71.5 ± 0.5  *  79.8 ± 0.3  *</td><td>76.2</td><td>75.5</td><td>60.9</td><td>86.1</td><td>75.1 ± 8.5  *</td><td>104.2 ± 10.4</td></tr><tr><td>GCN</td><td>80.6 ± 1.4</td><td>70.3 ± 1.2</td><td>79.0 ± 0.4</td><td>73.2 ± 1.4</td><td>73.9 ± 2.8</td><td>59.0 ± 2.0</td><td>82.2 ± 5.1</td><td colspan="2">104.3 ± 15.6 160.2 ± 15.4</td></tr><tr><td colspan="4">GCN-L1 82.5 ± 0.3 72.0 ± 0.3 80.2 ± 0.2</td><td>79.5 ± 1.6</td><td colspan="4">77.6 ± 3.8 64.1 ± 2.5 86.8 ± 8.3 52.4 ± 4.3</td><td>78.5 ± 8.6</td></tr><tr><td colspan="4">GCN-D2 82.9 ± 1.0 72.3 ± 0.3 80.2 ± 0.3</td><td>77.0 ± 2.0</td><td colspan="4">77.0 ± 3.0 64.6 ± 4.1 87.8 ± 5.6 49.0 ± 2.9</td><td>72.5 ± 13.0</td></tr></table>

Peer review (iclr2020):
This paper proposes a general class of GNN. The new model class generalizes the aggregation step to multiple levels of neighbors. The new model generalizes existing models. Theoretically, the paper shows the generalized models enjoy better discriminative power. The paper also conducts experiments to demonstrate the effectiveness of the new model class. Comments: 1. The design of new models is straightforward, and the theoretical analysis is trivial, given Xu et al. 2019. The paper would be improved if the author(s) can provide optimization or generalization analysis. 2. The statement about experiments is misleading. The paper claims SOTA results on several datasets. However, this paper does not report recent SOTA results: https://arxiv.org/abs/1809.02670 https://arxiv.org/abs/1810.00826 https://arxiv.org/abs/1905.13192 3. The use of the phrase *random walk* is weird. As there is no randomness at all.