HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Are Powerful Graph Neural Nets Necessary? A Dissection on Graph Classification

Ting Chen; Song Bian; Yizhou Sun

Are Powerful Graph Neural Nets Necessary? A Dissection on Graph Classification

Abstract

Graph Neural Nets (GNNs) have received increasing attentions, partially due to their superior performance in many node and graph classification tasks. However, there is a lack of understanding on what they are learning and how sophisticated the learned graph functions are. In this work, we propose a dissection of GNNs on graph classification into two parts: 1) the graph filtering, where graph-based neighbor aggregations are performed, and 2) the set function, where a set of hidden node features are composed for prediction. To study the importance of both parts, we propose to linearize them separately. We first linearize the graph filtering function, resulting Graph Feature Network (GFN), which is a simple lightweight neural net defined on a \textit{set} of graph augmented features. Further linearization of GFN's set function results in Graph Linear Network (GLN), which is a linear function. Empirically we perform evaluations on common graph classification benchmarks. To our surprise, we find that, despite the simplification, GFN could match or exceed the best accuracies produced by recently proposed GNNs (with a fraction of computation cost), while GLN underperforms significantly. Our results demonstrate the importance of non-linear set function, and suggest that linear graph filtering with non-linear set function is an efficient and powerful scheme for modeling existing graph classification benchmarks.

Code Repositories

chentingpc/gfn
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
graph-classification-on-collabGFN-light
Accuracy: 81.34%
graph-classification-on-collabGFN
Accuracy: 81.50%
graph-classification-on-ddGFN-light
Accuracy: 78.62%
graph-classification-on-ddGFN
Accuracy: 78.78%
graph-classification-on-enzymesGFN-light
Accuracy: 69.50%
graph-classification-on-enzymesGFN
Accuracy: 70.17%
graph-classification-on-imdb-bGFN
Accuracy: 73.00%
graph-classification-on-imdb-bGFN-light
Accuracy: 73.00%
graph-classification-on-imdb-mGFN-light
Accuracy: 51.20%
graph-classification-on-imdb-mGFN
Accuracy: 51.80%
graph-classification-on-mutagGFN
Accuracy: 90.84%
graph-classification-on-mutagGFN-light
Accuracy: 89.89%
graph-classification-on-nci1GFN
Accuracy: 83.65%
graph-classification-on-nci1GFN-light
Accuracy: 81.43%
graph-classification-on-proteinsGFN
Accuracy: 76.46%
graph-classification-on-proteinsGFN-light
Accuracy: 77.44%
graph-classification-on-re-m12kGFN-light
Accuracy: 49.75%
graph-classification-on-re-m12kGFN
Accuracy: 49.43%
graph-classification-on-re-m5kGFN-light
Accuracy: 49.75%
graph-classification-on-re-m5kGFN
Accuracy: 49.43%

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Are Powerful Graph Neural Nets Necessary? A Dissection on Graph Classification | Papers | HyperAI