Graph in Graph Neural Network
Abstract
Existing Graph Neural Networks (GNNs) are limited to process graphs each of whose vertices is represented by a vector or a single value, limited their representing capability to describe complex objects. In this paper, we propose a novel GNN (called Graph in Graph Neural (GIG) Network) which can process graph-style data (called GIG sample) whose vertices are further represented by graphs. Given a set of graphs or a data sample whose components can be represented by a set of graphs (called multi-graph data sample), our GIG network starts with a GIG sample generation (GSG) module which encodes the input as a GIG sample, where each GIG vertex includes a graph. Then, a set of GIG hidden layers are stacked, with each consisting of: (1) a GIG vertex-level updating (GVU) module that individually updates the graph in every GIG vertex based on its internal information; and (2) a global-level GIG sample updating (GGU) module that updates graphs in all GIG vertices based on their relationships, making the updated GIG vertices become global context-aware. This way, both internal cues within the graph contained in each GIG vertex and the relationships among GIG vertices could be utilized for down-stream tasks. Experimental results demonstrate that our GIG network generalizes well for not only various generic graph analysis tasks but also real-world multi-graph data analysis (e.g., human skeleton video-based action recognition), which achieved the new state-of-the-art results on 15 out of 16 evaluated datasets. Our code is publicly available at https://github.com/wangjs96/Graph-in-Graph-Neural-Network.
Benchmark Results
Tested on 5 datasets 5 baseline values reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
Classic
| # | Model | MAE ↓ | Paper |
|---|---|---|---|
| 1 | TIGT | 0.0140
±0.0010 | |
| 2 | FloydNet | 0.0160 | |
| 3 | GSSC | 0.0190
±0.0010 | |
| 35 | CNNs | 0.0290
±0.0010 | This paper |
| 69 | GIN | 0.0880
±0.0020 |
OGB
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | A-NLSF | 0.8149
±0.0067 | |
| 2 | differential encoding | 0.8096
±0.0029 | |
| 3 | MPNN + VN + NoPE | 0.8055
±0.0038 | |
| 4 | CNNs | 0.8017 | This paper |
| 5 | GPS | 0.8015 | This paper |
| 8 | ExpC | 0.7976 | This paper |
| 10 | DeeperGCN+FLAG | 0.7752 | This paper |
| 13 | DeeperGCN | 0.7712 | This paper |
| 16 | GatedGCN | 0.7531
±0.0083 | |
| 33 | GIN | 0.7037
±0.0107 |
GNNBenchmark
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | Schrödinger | 0.9913
±0.0004 | |
| 2 | CNN | 0.9907
±0.0007 | |
| 3 | MPNN | 0.9895
±0.0006 | |
| 5 | GIG-GatedGCN | 0.9880
±0.0003 | This paper |
| 11 | GatedGCN | 0.9855
±0.0002 best reported | best at pub: RandAlign: A Parameter-Free Method for Regularizing Graph Convolutional Networks (2024) |
| 13 | Exphormer | 0.9855
±0.0004 | This paper |
| 32 | GIN | 0.9833
±0.0011 best reported | best at pub: Graph-Coupled Oscillator Networks (ICML 2022) |
| 47 | EGT | 0.9817
±0.0009 best reported | best at pub: Recipe for a General, Powerful, Scalable Graph Transformer (NeurIPS 2022) Difference within reported uncertainty; not counted as underperformance. |
| 68 | GNAS-MP | 0.9801
±0.0010 | This paper |
| 75 | PNA | 0.9794
±0.0012 | This paper |
| 86 | GAT | 0.9755
±0.0003 best reported | best at pub: RandAlign: A Parameter-Free Method for Regularizing Graph Convolutional Networks (2024) |
| 95 | GraphSAGE | 0.9731
±0.0010 | |
| 126 | MLP | 0.9534
±0.0014 | |
| 135 | GCN | 0.9405
±0.0005 best reported | best at pub: RandAlign: A Parameter-Free Method for Regularizing Graph Convolutional Networks (2024) |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | DeepGraph (48) | 0.9066
±0.0006 | |
| 2 | GRIT (our run) | 0.9041
±0.0023 | |
| 3 | GRIT 2-QiQRW | 0.9016
±0.0045 | |
| 13 | GIG-GatedGCN | 0.8687
±0.0001 | This paper |
| 66 | GatedGCN | 0.8651
±0.0008 best reported | best at pub: IJCAI--23 Formatting Instructions (IJCAI 2023) |
| 88 | GCN | 0.8561
±0.0003 | |
| 123 | MLP | 0.5052 |
| # | Model | F1 ↑ | Paper |
|---|---|---|---|
| 1 | TGT-Agx4 | 0.8710
±0.0010 | |
| 2 | TGT-Agx3 | 0.8660
±0.0010 | |
| 3 | GIG-GatedGCN | 0.8630
±0.0010 | This paper |
| 8 | GatedGCN | 0.8380
±0.0020 | This paper |
| 18 | GAT | 0.6710
±0.0020 | This paper |
| 19 | GraphSAGE | 0.6650
±0.0030 | |
| 20 | GIN | 0.6560
±0.0030 | This paper |
| 21 | GCN | 0.6430
±0.0010 | This paper |
| 24 | MLP | 0.5440
±0.0010 |
