Gumbel-MPNN: Graph Rewiring with Gumbel-Softmax
Abstract
Graph homophily has been considered an essential property for message-passing neural networks (MPNN) in node classification. Recent findings suggest that performance is more closely tied to the consistency of neighborhood class distributions. We demonstrate that the MPNN performance depends on the number of components of the overall neighborhood distribution within a class. By breaking down the classes into their neighborhood distribution components, we increase measures of neighborhood distribution informativeness but do not observe an improvement in MPNN performance. We propose a Gumbel-Softmax-based rewiring method that reduces deviations in neighborhood distributions. Our results show that our new method enhances neighborhood informativeness, handles long-range dependencies, mitigates oversquashing, and increases the classification performance of the MPNN. The code is available at.
Benchmark Results
Tested on 7 datasets 18 baseline values reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
Classic
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | CNA | 0.9575
±0.0058 | |
| 2 | IS-GIB | 0.9390
±0.0187 | |
| 3 | EERM | 0.9112
±0.0145 | |
| 35 | GAT | 0.8080
±0.0026 best reported | best at pub: Feature Expansion for Graph Neural Networks (ICML 2023) |
| 44 | GCN | 0.8033
±0.0088 best reported | best at pub: NTFormer: A Composite Node Tokenized Graph Transformer for Node Classification (2024) |
| 61 | GraphSAGE | 0.7923
±0.0053 best reported | best at pub: Gophormer: Ego-Graph Transformer for Node Classification (2021) |
| 131 | SDRF with GCN | 0.7612
±0.0014 | This paper |
| 137 | GCN with DropEdge | 0.7599
±0.0015 | This paper |
| 155 | Gumbel-MPNN | 0.7554
±0.0017 | This paper |
| 259 | SAGE | 0.7361
±0.0190 | |
| 350 | MLP | 0.7289
±0.0010 | prev best: On the Equivalence of Graph Convolution and Mixup (TMLR 2023) Improvement within reported uncertainty; not highlighted. |
Heterophilic Graphs
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | DiGGR | 0.4535
±0.0353 | |
| 2 | TRIGON | 0.4402
±0.0028 | |
| 3 | DoG | 0.4320
±0.0120 | |
| 42 | MLP | 0.4026
±0.0108 best reported | best at pub: Heterophily-Aware Graph Attention Network (2023) |
| 68 | GraphSAGE | 0.3899
±0.0085 best reported | best at pub: A Quasi-Wasserstein Loss for Learning Graph Neural Networks (WWW 2023) |
| 128 | Gumbel-MPNN | 0.3713
±0.0010 | This paper |
| 135 | GCN | 0.3690 best reported | best at pub: Beyond Low-frequency Information in Graph Convolutional Networks (AAAI 2021) |
| 182 | GAT | 0.3605
±0.0035 best reported | best at pub: Hierarchical Graph Transformer with Adaptive Node Sampling (NeurIPS 2022) |
| 226 | SDRF with GCN | 0.3515
±0.0005 | This paper |
| 266 | GIN | 0.3410
±0.0030 | |
| 279 | GCN with DropEdge | 0.3359
±0.0010 | This paper |
Heterophily Benchmark
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | Dir-Poly | 0.9451
±0.0022 | |
| 2 | D-CDE | 0.9387
±0.0041 | |
| 3 | LargeScaleNet | 0.9358
±0.0024 | |
| 26 | GraphSAGE | 0.9106
±0.0027 best reported | best at pub: Directed Semi-Simplicial Learning with Applications to Brain Activity Decoding (2025) |
| 64 | SAGE | 0.8574
±0.0067 | |
| 77 | GCN | 0.8272
±0.0082 best reported | best at pub: HyperAggregation: Aggregating over Graph Edges with Hypernetworks (2024) |
| 79 | Gumbel-MPNN | 0.8223
±0.0007 | This paper |
| 83 | GAT | 0.8145
±0.0009 | prev best: Graph Neural Networks for Graphs with Heterophily: A Survey (2022) |
| 85 | SDRF with GCN | 0.8060
±0.0007 | This paper |
| 101 | GCN with DropEdge | 0.7826
±0.0011 | This paper |
| 135 | MLP | 0.6665
±0.0047 best reported | best at pub: HyperAggregation: Aggregating over Graph Edges with Hypernetworks (2024) |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | UniGAP | 0.6375
±0.0110 | |
| 2 | H2GCN + HalfHop | 0.5961
±0.0100 | |
| 3 | GraphSAGE + HalfHop | 0.5897
±0.0150 | |
| 12 | SAGE | 0.5569
±0.0023 | |
| 14 | GAT | 0.5056
±0.0006 | prev best: Piecewise Constant Spectral Graph Neural Network (TMLR 2025) best today: Graph Transductive Sharpening: Leveraging Unlabeled Predictions in Node Classification (2026) Improvement within reported uncertainty; not highlighted. |
| 15 | GraphSAGE | 0.5540
±0.0020 best reported | |
| 24 | GCN | 0.5411
±0.0034 best reported | |
| 84 | MLP | 0.5058 best reported | best at pub: Understanding Heterophily for Graph Neural Networks (ICML 2024) |
| 91 | Gumbel-MPNN | 0.5008
±0.0006 | This paper |
| 96 | GCN with DropEdge | 0.4984
±0.0013 | This paper |
| 158 | SDRF with GCN | 0.4403
±0.0018 | This paper |
| # | Model | ROC-AUC ↑ | Paper |
|---|---|---|---|
| 1 | BuNN | 0.9899
±0.0016 | |
| 2 | DC-GNN | 0.9850
±0.0021 | |
| 3 | Tango -GPS | 0.9839
±0.0054 | |
| 36 | GAT | 0.9238
±0.0009 | prev best: Graph Neural Networks for Graphs with Heterophily: A Survey (2022) best today: Relieving the Over-Aggregating Effect in Graph Transformers (NeurIPS 2025) Improvement within reported uncertainty; not highlighted. |
| 42 | GraphSAGE | 0.9358
±0.0005 | prev best: Polynormer: Polynomial-Expressive Graph Transformer in Linear Time (ICLR 2024) Improvement within reported uncertainty; not highlighted. |
| 46 | SAGE | 0.9351
±0.0057 | |
| 68 | GCN | 0.9150
±0.0006 | prev best: Graph Neural Networks for Graphs with Heterophily: A Survey (2022) |
| 70 | Gumbel-MPNN | 0.9118
±0.0013 | This paper |
| 86 | GCN with DropEdge | 0.8995
±0.0007 | This paper |
| 87 | SDRF with GCN | 0.8993
±0.0006 | This paper |
| 156 | MLP | 0.5099
±0.0147 best reported | best at pub: Evolving Computation Graphs (ICML 2023) best today: Graph Homophily Booster: Rethinking the Role of Discrete Features on Heterophilic Graphs (2025) Difference within reported uncertainty; not counted as underperformance. |
| # | Model | ROC-AUC ↑ | Paper |
|---|---|---|---|
| 1 | Polynormer-r | 0.8591
±0.0074 | |
| 2 | DC-GNN | 0.8588
±0.0081 | |
| 3 | TANGO-GPS | 0.8566
±0.0101 | |
| 28 | GAT | 0.8443
±0.0100 best reported | best at pub: TopoBench: A Framework for Benchmarking Topological Deep Learning (2024) |
| 50 | GCN | 0.8364
±0.0067 best reported | best at pub: Graph Neural Networks for Graphs with Heterophily: A Survey (2022) |
| 77 | GraphSAGE | 0.8243
±0.0044 best reported | best at pub: Polynormer: Polynomial-Expressive Graph Transformer in Linear Time (ICLR 2024) best today: Relieving the Over-Aggregating Effect in Graph Transformers (NeurIPS 2025) |
| 76 | SAGE | 0.8243
±0.0044 | |
| 81 | Gumbel-MPNN | 0.8156
±0.0041 | This paper |
| 82 | GCN with DropEdge | 0.8149
±0.0011 | This paper |
| 86 | SDRF with GCN | 0.8090
±0.0011 | This paper |
| 139 | MLP | 0.7362
±0.0020 | prev best: Evolving Computation Graphs (ICML 2023) Improvement within reported uncertainty; not highlighted. |
| # | Model | ROC-AUC ↑ | Paper |
|---|---|---|---|
| 1 | NID_GAT | 0.9703
±0.0002 | |
| 2 | NID_GCN | 0.9685
±0.0010 | |
| 3 | UniGAP | 0.8421
±0.0080 | |
| 16 | GCN | 0.7902
±0.0060 best reported | |
| 26 | GAT | 0.7835
±0.0116 best reported | best at pub: Node Identifiers: Compact, Discrete Representations for Efficient Graph Learning (ICLR 2024) |
| 46 | GraphSAGE | 0.7721
±0.0130 best reported | best at pub: UniGAP: A Universal and Adaptive Graph Upsampling Approach to Mitigate Over-Smoothing in Node Classification Tasks (2024) Difference within reported uncertainty; not counted as underperformance. |
| 55 | Gumbel-MPNN | 0.7661
±0.0012 | This paper |
| 58 | SAGE | 0.7644
±0.0062 | |
| 96 | MLP | 0.7082
±0.0010 | prev best: Evolving Computation Graphs (ICML 2023) Improvement within reported uncertainty; not highlighted. |
| 143 | SDRF with GCN | 0.5716
±0.0014 | This paper |
| 146 | GCN with DropEdge | 0.5592
±0.0011 | This paper |
