1 Introduction
Recent years have seen increasing attention to Graph Neural Nets (GNNs) [14, 12, 2, 10], which have achieved superior performance in many graph tasks, such as node classification [10, 17] and graph classification [16, 18]
. Different from traditional neural networks that are defined on regular structures such as sequences or images, graphs provide a more general abstraction for structured data, which subsume regular structures as special cases. The power of GNNs is that they can directly define learnable compositional function on (arbitrary) graphs, thus extending classic networks (e.g. CNNs, RNNs) to more irregular and general domains.
Despite their success, it is unclear what GNNs have learned, and how sophisticated the learned graph functions are. It is shown in [22] that traditional CNNs used in image recognition have learned complex hierarchical and compositional features, and that deep nonlinear computation can be beneficial [6]. Is this also the case when applying GNNs to common graph problems? Recently, [17]
showed that, for common node classification benchmarks, nonlinearity can be removed in GNNs without suffering much loss of performance. The resulting linear GNNs collapse into a logistic regression on graph propagated features. This raises doubts on the necessity of complex GNNs, which require much more expensive computation, for node classification benchmarks. Here we take a step further dissecting GNNs, and examine the necessity of complex GNN parts on more challenging graph classification benchmarks
[20, 23, 18].To better understand GNNs on graph classification, we dissect it into two parts/stages: 1) the graph filtering part, where graphbased neighbor aggregations are performed, and 2) the set function part, where a set of hidden node features are composed for prediction. We aim to test the importance of both parts separately, and seek answers to the following questions. Do we need a sophisticated graph filtering function for a particular task or dataset? And if we have a powerful set function, is it enough to use a simple graph filtering function?
To answer these questions, we first propose Graph Feature Network (GFN), a simple lightweight neural net defined on a set of graph augmented features. Unlike GNNs, which learn a multistep neighbor aggregation function on graphs [1, 4], the GFN only utilizes graphs in constructing its input features. It first augments nodes with graph structural and propagated features, and then learns a neural net directly on the set
of nodes (i.e. a bag of graph preprocessed feature vectors), which makes GFN a fast approximation to GNN. We then prove that GFN can be derived by linearizing the graph filtering part of a GNN, and leverage this connection to design experiments to probe both GNN parts separately.
Empirically, we perform evaluations on common graph classification benchmarks [20, 23, 18], and find that GFN can match or exceed the best accuracies produced by recently proposed GNNs, at a fraction of the computation cost. This result casts doubts on the necessity of nonlinear graph filtering, and suggests that the existing GNNs may not have learned more sophisticated graph functions than linear neighbor aggregation on these benchmarks. Our ablations on GFN further demonstrate the importance of nonlinear set function, as its linearization can hurt performance significantly.
Summary of contributions. We propose Graph Feature Network (GFN): a simple and lightweight model for graph classification. We dissect GNNs on graph classification and leverage GFN to study the necessity of complex GNN parts. Empirically we show GFN trains faster and matches the best performance of GNNs. Our results provide new perspectives on the functions that GNNs learn, and also suggest the current benchmarks for evaluating them are inadequate (not sufficiently differentiating).
2 Preliminaries
Graph classification problem.
We use to denote a graph, where is a set of vertices/nodes, and is a set of edges. We further denote an attributed graph as , where are node attributes with . It is assumed that each attributed graph is associated with some label , where is a set of predefined categories. The goal in graph classification problem is to learn a mapping function , such that we can predict the target class for unseen graphs accurately. Many real world problems can be formulated as graph classification problems, such as social and biological graph classification [20, 10].
Graph neural networks.
Graph Neural Networks (GNNs) define functions on the space of attributed graph . Typically, the graph function, , learns a multiplestep transformation of the original attributes/signals for final node level or graph level prediction. In each of the step , a new node presentation, is learned. Initially, is initialized with the node attribute vector, and during each subsequent step, a neighbor aggregation function is applied to generate the new node representation. More specifically, common neighbor aggregation functions for the th node take the following form:
(1) 
where is a set of neighboring nodes of node . To instantiate this neighbor aggregation function, [10] proposes the Graph Convolutional Network (GCN) aggregation scheme as follows.
(2) 
where is the learnable transformation weight, is the normalized adjacency matrix with as a constant ( in [10]) and .
is a nonlinear activation function, such as ReLU. This transformation can also be written as
, where are the hidden states of all nodes at th step.More sophisticated neighbor aggregation schemes are also proposed, such as GraphSAGE [5] which allows pooling and recurrent aggregation over neighboring nodes. Most recently, in Graph Isomorphism Network (GIN) [19], a more powerful aggregation function is proposed as follows.
(3) 
where MLP abbreviates for multilayer perceptrons and
can either be zero or a learnable parameter.Finally, in order to generate graph level representation , a readout function is used, which generally takes the following form:
(4) 
This can be instantiated by a global sum pooling, i.e. followed by fully connected layers to generate the categorical or numerical output.
3 Approach
3.1 Graph feature network
Our model is motivated by the question whether, with a powerful graph readout function, we can simplify the sophisticated multistep neighbor aggregation functions (such as Eq. 2 and 3). Therefore we propose Graph Feature Network (GFN): a neural set function defined on a set of graph augmented features.
Graph augmented features.
In GFN, we replace the sophisticated neighbor aggregation functions (such as Eq. 2 and 3) with graph augmented features based on . Here we consider two categories as follows: 1) graph structural/topological features, which are related to the intrinsic graph structure, such as node degrees, or node centrality scores^{2}^{2}2We only use node degree in this work as it is very efficient to calculate during both training and inference., but do not rely on node attributes; 2) graph propagated features, which leverage the graph as a medium to propagate node attributes. The graph augmented features
can be seen as the output of a feature extraction function defined on the attributed graph, i.e.
, and Eq. 5 below gives a specific form, which combine node degree features and multiscale graph propagated features as follows:(5) 
where is the degree vector for all nodes, and is similar to that in [10], but other designs of propagation operator are possible [11]. Features separated by comma are concatenated to form .
Neural set function.
To build a powerful graph readout function based on graph augmented features , we use a neural set function. The neural set function discards the graph structures and learns purely based on the set of augmented node features. Motivated by the general form of a permutationinvariant set function shown in [21], we define our neural set function for GFN as follows:
(6) 
Both and are parameterized by neural networks. Concretely, we parameterize the function as a multilayer perceptron (MLP), i.e. . Note that a single layer of resembles a graph convolution layer with adjacency matrix
replaced by identity matrix
(a.k.a. convolution). As for the function , we parameterize it with another MLP (i.e. fully connected layers in this case).Computation efficiency.
GFN provides a way to approximate GNN with less computation overheads, especially during the training process. Since the graph augmented features can be precomputed before training starts, the graph structures are not involved in the iterative training process. This brings the following advantages. First, since there is no neighbor aggregation step in GFN, it reduces computational complexity. To see this, one can compare a single layer feature transformation function in GFN, i.e. , against the neighbor aggregation function in GCN, i.e. . Secondly, since graph augmented features of different scales are readily available from the input layer, GFN can leverage them much earlier, thus may require fewer transformation layers. Lastly, it also eases the implementation related overhead, since the neighbor aggregation operation in graphs are typically implemented by sparse matrix operations.
3.2 From GNN to GFN: a dissection of GNNs
To better understand GNNs on graph classification, we propose a formal dissection/decomposition of GNNs into two parts/stages: the graph filtering part and the set function part. As we shall see shortly, the simplification of the graph filtering part allows us to derive GFN from GNN, and also be able to assess the importance of the two GNN parts separately.
To make concepts more clear, we first give formal definitions of the two GNN parts in the dissection.
Definition 1.
(Graph filtering) A graph filtering function, , performs a transformation of input signals based on the graph , which takes a set of signals and outputs another set of filtered signals .
Graph filtering in most existing GNNs consists of multistep neighbor aggregation operations, i.e. multiple steps of Eq. 1. For example, in GCN [10], the multistep neighbor aggregation can be expressed as .
Definition 2.
(Set function) A set function, , takes a set of vectors where their order does not matter, and outputs a task specific prediction .
The graph readout function in Eq. 4 is a set function, which enables the graph level prediction that is permutation invariant w.r.t. nodes in the graph. Although a typical readout function is simply a global pooling [19], the set function can be as complicated as Eq. 6.
Claim 1.
A GNN that is a mapping of can be decomposed into a graph filtering function followed by a set function, i.e. .
This claim is obvious for the neighbor aggregation framework defined by Eq. 1 and 4, where most existing GNN variants such as GCN, GraphSAGE and GIN follow. This claim is also general, even for unforeseen GNN variants that do not explicitly follow this framework ^{3}^{3}3We can absorb the set function into . That is, let the output
be final logits for predefined classes and set
to softmax function with zero temperature, i.e. with .We aim to assess the importance of two GNN parts separately. However, it is worth pointing out that the above decomposition is not unique in general, and the functionality of the two parts can overlap: if the graph filtering part has fully transformed graph features, then a simple set function may be used for prediction. This makes it challenging to answer the question: do we need a sophisticated graph filtering part for a particular task or dataset, especially when a powerful set function is used? To better disentangle these two parts and study their importance more independently, similar to [17], we propose to simplify the graph filtering part by linearizing it.
Definition 3.
(Linear graph filtering) We say a graph filtering function is linear w.r.t. iff it can be expressed as , where is a linear map of , and is the only learnable parameter.
Intuitively, one can construct a linear graph filtering by removing the nonlinear operations from graph filtering part in existing GNNs, such as nonlinear activation function in Eq. 2 or 3
. By doing so, the graph filtering becomes linear w.r.t. X, thus multilayer weights collapse into a single linear transformation, described by
. More concretely, let us consider a linearized GCN [10], its th layer can be written as , and we can rewrite the weights with .The linearization of graph filtering part enables us to disentangle graph filtering and the set function more thoroughly: the graph filtering part mainly constructs graph augmented features (by setting ), and the set function learns to compose them for the graphlevel prediction. This leads to the proposed GFN. In other words, GNNs with a linear graph filtering part can be expressed as GFN with appropriate graph augmented features. This is shown more formally in the following proposition 1.
Proposition 1.
Let be a mapping of that has a linear graph filtering part, i.e. , then we have , where .
The proof can be found in the appendix.
Why GFN?
We have shown that GFN can be derived from GNN by linearizing its graph filtering function ^{4}^{4}4A small exception is GFNs whose feature extraction function is not a linear map of (the one defined by Eq. 5 is not the case)., and GFN can be more efficient than GNN counterpart. Beyond being a fast approximation, GFN can also help us design experiments to understand the functions that GNNs learned and the current benchmarks for evaluating them. First, by comparing GNN with linear graph filtering (i.e. GFN) against standard GNN with nonlinear graph filtering, we can assess the importance of nonlinear graph filtering part. Secondly, by comparing GFN with linear set function against standard GFN with nonlinear set function, we can assess the importance of nonlinear set function. The outcomes of these comparisons can also help us judge the complexity of the benchmark, assuming complex tasks/datasets require both nonlinear GNN parts.
4 Experiments
4.1 Datasets and settings
Datasets.
The main datasets we consider are commonly used graph classification benchmarks [20, 18, 19]. The graphs in the collection can be categorized into two categories: (1) biological graphs, including MUTAG, NCI1, PROTEINS, D&D, ENZYMES; and (2) social graphs, including COLLAB, IMDBBinary (IMDBB), IMDBMulti (IMDBM), RedditMulti5K (REM5K), RedditMulti12K (REM12K). It is worth noting that the social graphs have no node attributes, while the biological graphs come with categorical node attributes. The detailed statistics can be found in the appendix. In addition to the common graph benchmarks, we also consider image classification on MNIST where pixels are treated as nodes and eight nearest neighbors in the grid, with an extra selfloop, are used to construct the graph.
Baselines.
We compare with two families of baselines. The first family of baselines are kernelbased, namely the WeisfeilerLehman subtree kernel (WL) [15], Deep Graph Kernel (DGK) [20] and AWE [8] that incorporate kernelbased methods with learningbased approach to learn embeddings. The second family of baselines are GNNbased models, which include recently proposed PATCHYSAN (PSCN) [13], Deep Graph CNN (DGCNN) [23], CapsGNN [18] and GIN [19].
For the above baselines, we use their accuracies reported in the original papers, following the same evaluation setting as in [19]. Architecture and hyperparameters can make a difference, so to enable a better controlled comparison between GFN and GNN, we also implement Graph Convolutional Networks (GCN) from [10]. More specifically, our GCN model contains a dense feature transformation layer, i.e. , followed by three GCN layers, i.e.
. We also vary the number of GCN layers in our ablation study. To enable graph level prediction, we add a global sum pooling, followed by two fullyconnected layers that produce categorical probability over predefined categories.


Algorithm  MUTAG  NCI1  PROTEINS  D&D  ENZYMES  Average 
WL  82.050.36  82.190.18  74.680.49  79.780.36  52.221.26  74.18 
AWE  87.879.76      71.514.02  35.775.93   
DGK  87.442.72  80.310.46  75.680.54  73.501.01  53.430.91  74.07 
PSCN  88.954.37  76.341.68  75.002.51  76.272.64     
DGCNN  85.831.66  74.440.47  75.540.94  79.370.94  51.007.29  73.24 
CapsGNN  86.676.88  78.351.55  76.283.63  75.384.17  54.675.67  74.27 
GIN  89.405.60  82.701.70  76.202.80       
GCN  87.205.11  83.651.69  75.653.24  79.123.07  66.506.91  78.42 
GFN  90.847.22  82.771.49  76.464.06  78.783.49  70.175.58  79.80 
GFNlight  89.897.14  81.431.65  77.443.77  78.625.43  69.507.37  79.38 



Algorithm  COLLAB  IMDBB  IMDBM  REM5K  REM12K  Average 
WL  79.021.77  73.404.63  49.334.75  49.442.36  38.181.30  57.87 
AWE  73.931.94  74.455.83  51.543.61  50.461.91  39.202.09  57.92 
DGK  73.090.25  66.960.56  44.550.52  41.270.18  32.220.10  51.62 
PSCN  72.602.15  71.002.29  45.232.84  49.100.70  41.320.42  55.85 
DGCNN  73.760.49  70.030.86  47.830.85  48.704.54     
CapsGNN  79.620.91  73.104.83  50.272.65  52.881.48  46.621.90  60.50 
GIN  80.201.90  75.105.10  52.302.80  57.501.50     
GCN  81.721.64  73.305.29  51.205.13  56.812.37  49.311.44  62.47 
GFN  81.502.42  73.004.35  51.805.16  57.592.40  49.431.36  62.66 
GFNlight  81.341.73  73.004.29  51.205.71  57.111.46  49.751.19  62.48 

Model configurations.
For the proposed GFN, we mirror our GCN model configuration to allow direct comparison. Therefore, we use the same architecture, parameterization and training setup, but replace the GCN layer with feature transformation layers (totaling four such layers). Converting GCN layer to feature transformation layer is equivalent to setting in in GCN layers. We also construct a faster GFN, namely “GFNlight”, that contains only a single feature transformation layer, which can further reduce the training time while maintaining similar performance.
For both our GCN and GFN, we utilize ReLU activation and batch normalization
[7], and fix the hidden dimensionality to 128. No regularization is applied. Furthermore we use batch size of 128, a fixed learning rate of 0.001, and the Adam optimizer [9]. To compare with existing work, we follow [18, 19]and perform 10fold cross validation. We run the model for 100 epochs, and select the epoch in the same way as
[19], i.e., a single epoch with the best crossvalidation accuracy averaged over the 10 folds is selected. We report the average and standard deviation of test accuracies at the selected epoch over 10 folds.
In terms of input node features for the proposed GFN, by default, we use both degree and multiscale propagated features (up to ), that is . We turn discrete features into onehot vectors, and also discretize degree features into onehot vectors, as suggested in [3]. We set for the social graphs we consider as there are no node attributes. By default, we also augment node features in our GCN with an extra node degree feature (to counter that the normalized adjacency matrix may lose the degree information). Other graph augmented features are also studied for GCN.
For MNIST, we train and evaluate on the given train/test split. Additionally, since MNIST benefits more from deeper GCN layers, we parameterize our GCN model using a residual network [6] with multiple GCN blocks, the number of blocks are kept the same for GCN and GFN, and varied according to the size of total receptive field. GFN utilizes the same multiscale features as in Eq. 5. All experiments are run on Nvidia GTX 1080 Ti GPU.
4.2 Performance comparison between GFN and existing GNN variants
Biological and social datasets.
Table 1 and 2 show the results of different methods in both biological and social datasets. It is worth noting that in both datasets, GFN achieves similar performances with our GCN, and match or exceed existing stateoftheart results on multiple datasets. This suggests that GFN could very well approximate GCN (and other GNN variants) for these benchmarks. This result also casts doubt on the necessity of nonlinear graph filtering for these benchmarks.


Receptive size  GCN  GFN 
3  91.47  87.73 
5  95.16  91.83 
7  96.14  92.68 

MNIST pixel graphs.
We report the accuracies under different total receptive field sizes (i.e. the number of hops a pixel could condition its computation on). Results in Table 3 show that, in all three different receptive field sizes, GCN with nonlinear neighbor aggregation outperforms GFN with linear graph propagated features. This indicates that nonlinear graph filtering is essential for performing well in this dataset. Note that our results are not directly comparable to traditional CNN’s, as our GNN does not distinguish the neighbor pixel direction in its parameterization, and a global sum pooling of pixels does not leverage spatial information. For context, when using coordinates as features both GCN and GFN achieve nearly 99% accuracy.
4.3 Training time comparisons between GFNs and GCNs
We compare the training time of our GCN and the proposed GFNs. Figure 1 shows that a significant speedup (from 1.4 to as fast) by utilizing GFN compared to GCN, especially for datasets with denser edges such as the COLLAB dataset. Also since our GFN can work with fewer transformation layers, GFNlight can achieve better speedup by reducing the number of transformation layers. Note that our GCN is already very efficient as it is built on a highly optimized framework [3].
4.4 Ablations on features, architectures, and visualization


Graphs  Model  None  
Bio.  GCN  78.52  78.51  78.23  78.24  78.68  79.10  79.26  79.69 
GFN  76.27  77.84  78.78  79.09  79.17  78.71  79.21  79.13  
Soical  GCN  34.02  62.35  59.20  60.39  60.28  62.45  62.71  62.77 
GFN  30.45  60.79  58.04  59.83  60.09  62.47  62.63  62.60  

Node features.
To better understand the impact of features, we test both models with different input node features. Table 4 shows that 1) graph features are very important for both GFN and GCN, 2) the node degree feature is surprisingly important, and multiscale features can further improve on that, and 3) even with multiscale features, GCN still performs similarly to GFN, which further suggests that linear graph filtering is enough. More detailed results (per dataset) can be found in the appendix.
Architecture depth and linear set function.
We vary the number of convolutional layers (with two FClayers after sum pooling kept the same), and also test the necessity of a nonlinear set function by constructing GFNflat. GFNflat contains no feature transform layer, but just the global sum pooling followed by a single fully connected layer (mimicking multiclass logistic regression). Table 5 shows that 1) GCN benefits from multiple grpah convolutional layers with a significant diminishing return, 2) GFN with single feature transformation layer works pretty well already, likely due to the availability of multiscale input node features, which otherwise require multiple GCN layers to obtain, and 3) by collapsing GFN into a linear model (i.e. linearizing set function) the performance degenerates significantly, which demonstrates the importance of nonlinear set function.


Flat  1  2  3  4  5  
Bio.  GCN    77.17  79.38  78.86  78.75  78.21 
GFN  69.54  79.59  79.77  79.78  78.99  78.14  
Soical  GCN    60.69  62.12  62.37  62.70  62.46 
GFN  58.41  62.70  62.88  62.81  62.80  62.60  

Visualization.
Figure 2 shows visualization of random and misclassified samples from the IMDBB dataset. We could not clearly distinguish graphs from different classes easily based on their appearance, suggesting that both GFN and GCN are capturing underlying nontrivial features. More visualization from different datasets can be found in the appendix.
5 Discussion
In this work, we conduct a dissection of GNNs based on the proposed Graph Feature Network. GFN can be seen as a simplified GNN with linear graph filtering and nonlinear set function, thus it can be used as a tool to assess and understand the complexity of learned GNNs. Empirically, we evaluate the approach on common graph classification benchmarks, and show that GFN can match or exceed the best results by recently proposed GNNs, with a fraction of computation cost. Our results also provide the following new perspectives on both the functions that GNNs learn and the current benchmarks for evaluating them.
First, the fact that GCN with linear graph filtering (i.e. our GFN) performs comparably to our GCN under the same hyperparameter settings on the tested benchmarks, suggests that nonlinear graph filtering is not essential, and the GCN, potentially other GNN variants as well, may not have learned more sophisticated graph functions than linear neighbor aggregation. However, we find the nonlinear set function is important, and its linearization leads to poor results.
Secondly, when we test on graphs constructed from image dataset (MNIST), the similarly configured GCN outperforms GFN by a large margin, indicating the importance of nonlinear graph filtering for this type of graph dataset.
Finally, the contrasting results on the two types of graphs above seem to suggest that the commonly used graph classification benchmarks [20, 23, 18] are inadequate and not sufficiently differentiating, since linear graph filtering is powerful enough to perform well. For this reason, we encourage the community to explore and adopt more convincing benchmarks for testing advanced GNN variants, or include GFN as a standard baseline to provide a sanity check.
Acknowledgements
We would like to thank Yunsheng Bai and Zifeng Kang for their help in a related project prior to this work. We also thank Jascha Sohldickstein, Yasaman Bahri, Yewen Wang, Ziniu Hu and Allan Zhou for helpful discussions and feedbacks. This work is partially supported by NSF III1705169, NSF CAREER Award 1741634, and Amazon Research Award.
References

Dai et al. [2016]
Hanjun Dai, Bo Dai, and Le Song.
Discriminative embeddings of latent variable models for structured
data.
In
International conference on machine learning
, 2016.  Defferrard et al. [2016] Michaël Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks on graphs with fast localized spectral filtering. In Advances in neural information processing systems, 2016.

Fey and Lenssen [2019]
Matthias Fey and Jan E. Lenssen.
Fast graph representation learning with PyTorch Geometric.
In ICLR Workshop on Representation Learning on Graphs and Manifolds, 2019.  Gilmer et al. [2017] Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. Neural message passing for quantum chemistry. In Proceedings of the 34th International Conference on Machine Learning, 2017.
 Hamilton et al. [2017] Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems, 2017.

He et al. [2016]
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun.
Identity mappings in deep residual networks.
In
European conference on computer vision
, 2016.  Ioffe and Szegedy [2015] Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv preprint arXiv:1502.03167, 2015.
 Ivanov and Burnaev [2018] Sergey Ivanov and Evgeny Burnaev. Anonymous walk embeddings. arXiv preprint arXiv:1805.11921, 2018.
 Kingma and Ba [2014] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
 Kipf and Welling [2016] Thomas N Kipf and Max Welling. Semisupervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016.
 Klicpera et al. [2019] Johannes Klicpera, Aleksandar Bojchevski, and Stephan Günnemann. Combining neural networks with personalized pagerank for classification on graphs. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id=H1gL2A9Ym.
 Li et al. [2015] Yujia Li, Daniel Tarlow, Marc Brockschmidt, and Richard Zemel. Gated graph sequence neural networks. arXiv preprint arXiv:1511.05493, 2015.
 Niepert et al. [2016] Mathias Niepert, Mohamed Ahmed, and Konstantin Kutzkov. Learning convolutional neural networks for graphs. In International conference on machine learning, 2016.
 Scarselli et al. [2009] Franco Scarselli, Marco Gori, Ah Chung Tsoi, Markus Hagenbuchner, and Gabriele Monfardini. The graph neural network model. IEEE Transactions on Neural Networks, 2009.
 Shervashidze et al. [2011] Nino Shervashidze, Pascal Schweitzer, Erik Jan van Leeuwen, Kurt Mehlhorn, and Karsten M Borgwardt. Weisfeilerlehman graph kernels. Journal of Machine Learning Research, 2011.

Simonovsky and Komodakis [2017]
Martin Simonovsky and Nikos Komodakis.
Dynamic edgeconditioned filters in convolutional neural networks on
graphs.
In
Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition
, 2017.  Wu et al. [2019] Felix Wu, Tianyi Zhang, Amauri Holanda de Souza Jr, Christopher Fifty, Tao Yu, and Kilian Q Weinberger. Simplifying graph convolutional networks. arXiv preprint arXiv:1902.07153, 2019.
 Xinyi and Chen [2019] Zhang Xinyi and Lihui Chen. Capsule graph neural network. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id=Byl8BnRcYm.
 Xu et al. [2019] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id=ryGs6iA5Km.
 Yanardag and Vishwanathan [2015] Pinar Yanardag and SVN Vishwanathan. Deep graph kernels. In Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2015.
 Zaheer et al. [2017] Manzil Zaheer, Satwik Kottur, Siamak Ravanbakhsh, Barnabas Poczos, Ruslan R Salakhutdinov, and Alexander J Smola. Deep sets. In Advances in neural information processing systems, 2017.
 Zeiler and Fergus [2014] Matthew D Zeiler and Rob Fergus. Visualizing and understanding convolutional networks. In European conference on computer vision, 2014.

Zhang et al. [2018]
Muhan Zhang, Zhicheng Cui, Marion Neumann, and Yixin Chen.
An endtoend deep learning architecture for graph classification.
InThirtySecond AAAI Conference on Artificial Intelligence
, 2018.
Appendix A Proofs
Here we provide the proof for Proposition 1.
Appendix B Detailed statistics of datasets
Detailed statistics of the biological and social graph datasets are listed in Table 6 and 7, respectively.


Dataset  MUTAG  NCI1  PROTEINS  D&D  ENZYMES 
# graphs  188  4110  1113  1178  600 
# classes  2  2  2  2  6 
# features  7  37  3  82  3 
Avg # nodes  17.93  29.87  39.06  284.32  32.63 
Avg # edges  19.79  32.30  72.82  715.66  62.14 



Dataset  COLLAB  IMDBB  IMDBM  REM5K  RE12K 
# graphs  5000  1000  1500  4999  11929 
# classes  3  2  3  5  11 
# features  1  1  1  1  1 
Avg # nodes  74.49  19.77  13.00  508.52  391.41 
Avg # edges  2457.78  96.53  65.94  594.87  456.89 

Appendix C Detailed performances with different features


Dataset  Model  None  
MUTAG  GCN  83.48  87.09  83.35  83.43  85.56  87.18  87.62  88.73 
GFN  82.21  89.31  87.59  87.17  86.62  89.42  89.28  88.26  
NCI1  GCN  80.15  83.24  82.62  83.11  82.60  83.38  83.63  83.50 
GFN  70.83  75.50  80.95  82.80  83.50  81.92  82.41  82.84  
PROTEINS  GCN  74.49  76.28  74.48  75.47  76.54  77.09  76.91  77.45 
GFN  74.93  76.63  76.01  75.74  76.64  76.37  76.46  77.09  
DD  GCN  79.29  78.78  78.70  77.67  78.18  78.35  78.79  79.12 
GFN  78.70  77.77  77.85  77.43  78.28  77.34  76.92  78.11  
ENZYMES  GCN  75.17  67.17  72.00  71.50  70.50  69.50  69.33  69.67 
GFN  74.67  70.00  71.50  72.33  70.83  68.50  71.00  69.33  
COLLAB  GCN  39.69  82.14  76.62  76.98  77.22  82.14  82.24  82.20 
GFN  31.57  80.36  76.40  77.08  77.04  81.28  81.62  81.26  
IMDBB  GCN  51.00  73.00  70.30  71.10  72.20  73.50  73.80  73.70 
GFN  50.00  73.30  72.30  71.30  71.70  74.40  73.20  73.90  
IMDBM  GCN  35.00  50.33  45.53  46.33  45.73  50.20  50.73  51.00 
GFN  33.33  51.20  46.80  46.67  46.47  51.93  51.93  51.73  
REM5K  GCN  28.48  56.99  54.97  57.43  56.55  56.67  56.75  57.01 
GFN  20.00  54.23  51.11  55.85  56.35  56.45  57.01  56.71  
REM12K  GCN  15.93  49.28  48.58  50.11  49.71  49.73  50.03  49.92 
GFN  17.33  44.86  43.61  48.25  48.87  48.31  49.37  49.39  

Table 8 show the performances under different graph features for GNNs and GFNs. It is evident that both model benefit significantly from graph features, especially GFNs.
Appendix D Detailed performances with different architecture depths
Table 9 shows performance per datasets under different number of layers.


Dataset  Method  Flat  1  2  3  4  5 
MUTAG  GCN    88.32  90.89  87.65  88.31  87.68 
GFN  82.85  90.34  89.39  88.18  87.59  87.18  
NCI1  GCN    75.62  81.41  83.04  82.94  83.31 
GFN  68.61  81.77  83.09  82.85  82.80  83.09  
PROTEINS  GCN    76.91  76.99  77.00  76.19  75.29 
GFN  75.65  77.71  77.09  77.17  76.28  75.92  
DD  GCN    77.34  77.93  78.95  79.46  78.77 
GFN  76.75  78.44  78.78  79.04  78.45  76.32  
ENZYMES  GCN    67.67  69.67  67.67  66.83  66.00 
GFN  43.83  69.67  70.50  71.67  69.83  68.17  
COLLAB  GCN    80.36  81.86  81.40  81.90  81.78 
GFN  75.72  81.24  82.04  81.36  82.18  81.72  
IMDBB  GCN    72.60  72.30  73.30  73.80  73.40 
GFN  73.10  73.50  73.30  74.00  73.90  73.60  
IMDBM  GCN    51.53  51.07  50.87  51.53  50.60 
GFN  50.40  51.73  52.13  51.93  51.87  51.40  
REM5K  GCN    54.05  56.49  56.83  56.73  56.89 
GFN  52.97  57.45  57.13  57.21  56.61  57.03  
REM12K  GCN    44.91  48.87  49.45  49.52  49.61 
GFN  39.84  49.58  49.82  49.54  49.44  49.27  

Appendix E Detailed visualizations
Figure 3, 4, 6, and 5 show the random and misclassified samples for MUTAG, PROTEINS, IMDBB, and IMDBM, respectively. In general, it is difficult to find the patterns of each class by visually examining the graphs. And the misclassified patterns are not visually distinguishable, except for IMDBB/IMDBM datasets where there are some graphs seem ambiguous.
Comments
There are no comments yet.