GRANOLA: Adaptive Normalization for Graph Neural Networks
Abstract
Despite the widespread adoption of Graph Neural Networks (GNNs), these models often incorporate off-the-shelf normalization layers like BatchNorm or InstanceNorm, which were not originally designed for GNNs. Consequently, these normalization layers may not effectively capture the unique characteristics of graph-structured data, potentially even weakening the expressive power of the overall architecture. While existing graph-specific normalization layers have been proposed, they often struggle to offer substantial and consistent benefits. In this paper, we propose Granola, a novel graph-adaptive normalization layer. Unlike existing normalization layers, Granola\ normalizes node features by adapting to the specific characteristics of the graph, particularly by generating expressive representations of its nodes, obtained by leveraging Random Node Features (RNF) in the graph. We provide theoretical results that support our design choices as well as an extensive empirical evaluation demonstrating the superior performance of Granola\ over existing normalization techniques. Furthermore, Granola\ emerges as the top-performing method among all baselines in the same time complexity class of Message Passing Neural Networks (MPNNs).
Benchmark Results
Tested on 3 datasets
Tables show presented results in global context (best 3 papers + GCN + MLP).
TU Dortmund
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | MSH-GNN | 0.9910
±0.0030 | |
| 2 | ID-GNN+BEC | 0.9830
±0.0360 | |
| 3 | SupCosine | 0.9830
±0.0250 | |
| 39 | GIN | 0.9330
±0.0290 | |
| 65 | GIN + Granola | 0.9220
±0.0460 | This paper |
| 69 | SUN (GIN) (EGO+) | 0.9210
±0.0580 | This paper |
| 85 | GIN+GraphNorm | 0.9160
±0.0650 | This paper |
| 98 | GIN + Identity | 0.9140
±0.0560 best reported | best today: DiGRAF: Diffeomorphic Graph-Adaptive Activation Function (NeurIPS 2024) Difference within reported uncertainty; not counted as underperformance. |
| 133 | GIN + BatchNorm + RNF-PE | 0.9080
±0.0480 | This paper |
| 150 | GIN + InstanceNorm | 0.9050
±0.0780 | This paper |
| 168 | GIN + LayerNorm-graph | 0.9040
±0.0610 | This paper |
| 184 | GIN + LayerNorm-node | 0.9010
±0.0590 | This paper |
| 185 | GIN + MeanSubtractionNorm | 0.9010
±0.0540 | This paper |
| 219 | GIN + Granola-no-rnf | 0.8970
±0.0540 | This paper |
| 249 | GraphConv + ID-GNN | 0.8940
±0.0410 | This paper |
| 250 | GIN + BatchNorm | 0.8940
±0.0560 | This paper |
| 261 | GIN + SuperNorm | 0.8930
±0.0560 | This paper |
| 284 | GIN + RNF-NORM | 0.8890
±0.0510 | This paper |
| 320 | GIN + NodeNorm | 0.8830
±0.0700 | This paper |
| 326 | GIN + GraphSizeNorm | 0.8820
±0.0630 | This paper |
| 346 | GIN + PairNorm | 0.8780
±0.0710 | This paper |
| 347 | GIN + DiffGroupNorm | 0.8780
±0.0760 | This paper |
| 403 | MLP | 0.8660
±0.0495 |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | WL-MLP | 0.9954 | |
| 2 | GIN | 0.9934 | |
| 3 | GCN | 0.9727 | |
| 19 | CIN | 0.8530
±0.0120 best reported | best at pub: CIN++: Enhancing Topological Message Passing (2023) best today: Weisfeiler and Lehman Go Paths: Learning Topological Features via Path Complexes (AAAI 2023) Difference within reported uncertainty; not counted as underperformance. |
| 22 | GNN-AK+ | 0.8500
±0.0200 | This paper |
| 38 | SUN (GIN) (EGO+) | 0.8420
±0.0150 | This paper |
| 39 | GIN + Granola | 0.8400
±0.0170 | This paper |
| 47 | DSS-GNN (GIN) (EGO+) | 0.8370
±0.0180 | This paper |
| 50 | GSN | 0.8350
±0.0200 | This paper |
| 58 | GraphConv + ID-GNN | 0.8340
±0.0240 | This paper |
| 71 | GIN + Granola-no-rnf | 0.8310
±0.0120 | This paper |
| 75 | GIN + SuperNorm | 0.8300
±0.0150 | This paper |
| 82 | SIN | 0.8280
±0.0220 best reported | best at pub: Weisfeiler and Lehman Go Topological: Message Passing Simplicial Networks (ICML 2021) Difference within reported uncertainty; not counted as underperformance. |
| 84 | GIN + Identity | 0.8280
±0.0200 best reported | best today: DiGRAF: Diffeomorphic Graph-Adaptive Activation Function (NeurIPS 2024) Difference within reported uncertainty; not counted as underperformance. |
| 95 | GIN + BatchNorm | 0.8270
±0.0170 | This paper |
| 117 | DropEdge | 0.8230
±0.0010 best reported | best at pub: SoftEdge: Regularizing Graph Classification with Random Soft Edges (2022) Difference within reported uncertainty; not counted as underperformance. |
| 126 | GIN + BatchNorm + RNF-PE | 0.8210
±0.0150 | This paper |
| 134 | DS-GNN (GIN) (EGO+) | 0.8200
±0.0140 | This paper |
| 135 | GIN + LayerNorm-graph | 0.8200
±0.0160 | This paper |
| 131 | GraphSAGE | 0.8200
±0.0100 | |
| 138 | GIN + LayerNorm-node | 0.8190
±0.0150 | This paper |
| 142 | GIN + RNF-NORM | 0.8180
±0.0220 | This paper |
| 157 | GIN+GraphNorm | 0.8140
±0.0240 | This paper |
| 173 | GIN + InstanceNorm | 0.8120
±0.0180 | This paper |
| 174 | GIN + NodeNorm | 0.8120
±0.0140 | This paper |
| 233 | GIN + GraphSizeNorm | 0.7980
±0.0150 | This paper |
| 258 | GIN + MeanSubtractionNorm | 0.7920
±0.0120 | This paper |
| 352 | GIN + DiffGroupNorm | 0.7720
±0.0260 | This paper |
| 399 | GIN + PairNorm | 0.7580
±0.0210 | This paper |
OGB
| # | Model | ROC-AUC ↑ | Paper |
|---|---|---|---|
| 1 | Multi-RF Fusion with Multi-GNN Blending | 0.8476
±0.0002 | |
| 2 | HyperFusion | 0.8475
±0.0003 | |
| 3 | PAS+FPs | 0.8420
±0.0015 | |
| 6 | GSN + Granola | 0.8112
±0.0079 | This paper |
| 9 | GatedGCN | 0.8090
±0.0160 | |
| 18 | GSN | 0.8039
±0.0090 | This paper |
| 66 | GIN + Granola | 0.7898
±0.0117 | This paper |
| 97 | GIN+GraphNorm | 0.7808
±0.0116 | prev best: GraphNorm: A Principled Approach to Accelerating Graph Neural Network Training (ICML 2020) Improvement within reported uncertainty; not highlighted. |
| 109 | GIN | 0.7780
±0.0182 | |
| 115 | GIN + RNF-NORM | 0.7761
±0.0164 | This paper |
| 118 | GIN + InstanceNorm | 0.7754
±0.0127 best reported | best at pub: GraphNorm: A Principled Approach to Accelerating Graph Neural Network Training (ICML 2020) Difference within reported uncertainty; not counted as underperformance. |
| 149 | GIN + Granola-no-rnf | 0.7709
±0.0149 | This paper |
| 169 | GIN + BatchNorm | 0.7661
±0.0097 best reported | best at pub: GraphNorm: A Principled Approach to Accelerating Graph Neural Network Training (ICML 2020) Difference within reported uncertainty; not counted as underperformance. |
| 172 | GIN + SuperNorm | 0.7655
±0.0176 | This paper |
| 182 | GIN + MeanSubtractionNorm | 0.7637
±0.0140 | This paper |
| 191 | GIN + PairNorm | 0.7618
±0.0147 | This paper |
| 193 | GIN + LayerNorm-graph | 0.7613
±0.0184 | This paper |
| 205 | GIN + BatchNorm + RNF-PE | 0.7598
±0.0163 | This paper |
| 223 | GIN + NodeNorm | 0.7550
±0.0132 | This paper |
| 227 | GIN + GraphSizeNorm | 0.7544
±0.0151 | This paper |
| 232 | GIN + LayerNorm-node | 0.7524
±0.0171 | This paper |
| 236 | GIN + Identity | 0.7512
±0.0077 best reported | best today: DiGRAF: Diffeomorphic Graph-Adaptive Activation Function (NeurIPS 2024) |
| 251 | GIN + DiffGroupNorm | 0.7437
±0.0168 | This paper |
