Leveraging Label Non-Uniformity for Node Classification in Graph Neural Networks
Abstract
In node classification using graph neural networks (GNNs), a typical model generates logits for different class labels at each node. A softmax layer often outputs a label prediction based on the largest logit. We demonstrate that it is possible to infer hidden graph structural information from the dataset using these logits. We introduce the key notion of label non-uniformity, which is derived from the Wasserstein distance between the softmax distribution of the logits and the uniform distribution. We demonstrate that nodes with small label non-uniformity are harder to classify correctly. We theoretically analyze how the label non-uniformity varies across the graph, which provides insights into boosting the model performance: increasing training samples with high non-uniformity or dropping edges to reduce the maximal cut size of the node set of small non-uniformity. These mechanisms can be easily added to a base GNN model. Experimental results demonstrate that our approach improves the performance of many benchmark base models.
Benchmark Results
Tested on 6 datasets 14 baseline values reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
Classic
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | GraphSAGE+CNA | 0.9418
±0.0033 | |
| 2 | GCN+CNA | 0.9366
±0.0048 | |
| 3 | TransformerConv | 0.9350
±0.0058 | |
| 21 | GCN | 0.9004 best reported | best at pub: SplineCNN: Fast Geometric Deep Learning with Continuous B-Spline Kernels (2017) best today: Understanding Heterophily for Graph Neural Networks (ICML 2024) |
| 39 | SAGE | 0.8911
±0.0012 | |
| 43 | DropEdge | 0.8900 best reported | best at pub: Tackling Over-Smoothing for General Graph Convolutional Networks (2020) |
| 44 | GAT | 0.8897
±0.0014 best reported | best at pub: Learned Low Precision Graph Neural Networks (2020) |
| 220 | wGNN | 0.8523
±0.0069 | This paper |
| 260 | PTDNet | 0.8440
±0.0230 best reported | best at pub: Learning to Drop: Robust Graph Neural Network via Topological Denoising (2020) Difference within reported uncertainty; not counted as underperformance. |
| 484 | GraphCON | 0.8236
±0.0084 | This paper |
| 504 | Self-training | 0.8227
±0.0033 | This paper |
| 527 | MaskGAE | 0.8203
±0.0076 | This paper |
| 586 | ReNode | 0.8128
±0.0075 | This paper |
| 671 | GIL | 0.7965
±0.0138 | This paper |
| 724 | MLP | 0.7768 |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | CNA | 0.9575
±0.0058 | |
| 2 | IS-GIB | 0.9390
±0.0187 | |
| 3 | EERM | 0.9112
±0.0145 | |
| 24 | DropEdge | 0.8130 best reported | best at pub: Tackling Over-Smoothing for General Graph Convolutional Networks (2020) |
| 35 | GAT | 0.8080
±0.0026 best reported | best at pub: Gophormer: Ego-Graph Transformer for Node Classification (2021) best today: Feature Expansion for Graph Neural Networks (ICML 2023) |
| 44 | GCN | 0.8033
±0.0088 best reported | best at pub: Gophormer: Ego-Graph Transformer for Node Classification (2021) |
| 61 | GraphSAGE | 0.7923
±0.0053 | |
| 82 | PTDNet | 0.7840 best reported | best at pub: Training Robust Graph Neural Networks with Topology Adaptive Edge Dropping (2021) |
| 177 | MaskGAE | 0.7510
±0.0007 best reported | |
| 235 | wGNN | 0.7395
±0.0046 | This paper |
| 300 | Self-training | 0.7324
±0.0044 | prev best: Self-supervised Learning on Graphs: Deep Insights and New Directions (2020) |
| 350 | MLP | 0.7289
±0.0010 | |
| 573 | GraphCON | 0.7080
±0.0140 | This paper |
| 636 | ReNode | 0.6954
±0.0079 | This paper |
| 735 | GIL | 0.6643
±0.0156 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | LGTL | 0.9518
±0.0011 | |
| 2 | MixHop (LO) | 0.9513
±0.0038 | |
| 3 | GraphSAGE (LO) | 0.9511
±0.0036 | |
| 18 | GCN | 0.9296
±0.0015 best reported | best at pub: Tackling Over-Smoothing for General Graph Convolutional Networks (2020) |
| 20 | GAT | 0.9233
±0.0018 best reported | best at pub: Tackling Over-Smoothing for General Graph Convolutional Networks (2020) |
| 43 | DropEdge | 0.9090 best reported | best at pub: Training Robust Graph Neural Networks with Topology Adaptive Edge Dropping (2021) |
| 116 | SAGE | 0.8881
±0.0015 | |
| 187 | MaskGAE | 0.8748
±0.0020 best reported | |
| 210 | MLP | 0.8690
±0.0074 | |
| 246 | PTDNet | 0.8540 best reported | best at pub: Training Robust Graph Neural Networks with Topology Adaptive Edge Dropping (2021) |
| 339 | simple multi-step model | 0.8178
±0.0022 | This paper |
| 418 | Self-training | 0.8032
±0.0018 | prev best: Self-supervised Learning on Graphs: Deep Insights and New Directions (2020) |
| 487 | ReNode | 0.7962
±0.0038 | This paper |
| 574 | GraphCON | 0.7911
±0.0178 | This paper |
| 729 | GIL | 0.7718
±0.0100 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | GraphTARIF | 0.9703
±0.0019 | |
| 2 | GAT | 0.9669
±0.0014 best reported | best at pub: Node-oriented Spectral Filtering for Graph Neural Networks (2022) |
| 3 | GAT+T | 0.9660
±0.0007 | |
| 7 | SAGE | 0.9643
±0.0027 | |
| 8 | GCN | 0.9632
±0.0008 best reported | best at pub: Node-oriented Spectral Filtering for Graph Neural Networks (2022) |
| 154 | simple multi-step model | 0.9350
±0.0028 | This paper |
| 161 | MaskGAE* | 0.9342
±0.0026 best reported | |
| 324 | DropEdge | 0.9221 best reported | best at pub: NCGNN: Node-Level Capsule Graph Neural Network for Semisupervised Classification (2020) |
| 390 | MLP | 0.9128
±0.0063 | |
| 448 | GraphCON | 0.9004
±0.0054 | This paper |
| 461 | GIL | 0.8960
±0.0130 | This paper |
Heterophilic Graphs
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | P^2GNN | 0.9672
±0.0147 | |
| 2 | DoG | 0.9660
±0.0210 | |
| 3 | GPF-plus | 0.9583
±0.0419 | |
| 34 | MLP | 0.9230
±0.0070 | |
| 53 | GraphSAGE | 0.9000
±0.0365 | |
| 536 | simple multi-step model | 0.5811
±0.0972 | This paper |
| 537 | ReNode | 0.5811
±0.0472 | This paper |
| 564 | wGNN1 | 0.5541
±0.0735 | This paper |
| 573 | Self-training | 0.5414
±0.0745 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | Hetero-S (GAT 8-layer) | 0.8693 | |
| 2 | Dir-GNN+CNA | 0.8586
±0.0180 | |
| 3 | GAT | 0.8560 | |
| 52 | GCN | 0.7033 | |
| 97 | simple multi-step model | 0.6445
±0.0240 | This paper |
| 98 | wGNN2 | 0.6428
±0.0194 | This paper |
| 100 | Self-training | 0.6397
±0.0233 | This paper |
| 101 | wGNN1 | 0.6395
±0.0194 | This paper |
| 169 | MLP | 0.5429 | |
| 174 | ReNode | 0.5298
±0.0284 | This paper |
| 194 | PTDNet | 0.5035
±0.0193 | This paper |
