UGSL: A Unified Framework for Benchmarking Graph Structure Learning
Abstract
Graph neural networks (GNNs) demonstrate outstanding performance in a broad range of applications. While the majority of GNN applications assume that a graph structure is given, some recent methods substantially expanded the applicability of GNNs by showing that they may be effective even when no graph structure is explicitly provided. The GNN parameters and a graph structure are jointly learned. Previous studies adopt different experimentation setups, making it difficult to compare their merits. In this paper, we propose a benchmarking strategy for graph structure learning using a unified framework. Our framework, called Unified Graph Structure Learning (UGSL), reformulates existing models into a single model. We implement a wide range of existing models in our framework and conduct extensive analyses of the effectiveness of different components in the framework. Our results provide a clear and concise understanding of the different methods in this area as well as their strengths and weaknesses. The benchmark code is available at.
Benchmark Results
Tested on 3 datasets 8 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: Language is All a Graph Needs (2023) best today: Understanding Heterophily for Graph Neural Networks (ICML 2024) |
| 39 | SAGE | 0.8911
±0.0012 | |
| 165 | GIN | 0.8660
±0.0091 best reported | best at pub: Weisfeiler and Leman Go Infinite: Spectral and Combinatorial Pre-Colorings (TMLR 2022) best today: Large Language Model Meets Graph Neural Network in Knowledge Distillation (AAAI 2024) |
| 724 | MLP | 0.7768 best reported | best at pub: From Node Interaction to Hop Interaction: New Effective and Scalable Graph Learning Paradigm (2022) best today: Understanding Heterophily for Graph Neural Networks (ICML 2024) |
| 805 | Cora (best) | 0.7230 | This paper |
| 811 | contrastive loss | 0.7140 | This paper |
| 819 | denoising loss | 0.7021 | This paper |
| 831 | sparse-connect, log-barrier | 0.6860 | This paper |
| 836 | Spectral Roles | 0.6810 | This paper |
| 837 | d-kNN | 0.6800 | This paper |
| 838 | Closeness | 0.6800 | This paper |
| 841 | FP | 0.6770 | This paper |
| 843 | sparse-connect | 0.6750 | This paper |
| 846 | activation-symmetrize | 0.6712 | This paper |
| 848 | log-barrier | 0.6690 | This paper |
| 849 | symmetrize | 0.6680 | This paper |
| 850 | smoothness | 0.6620 | This paper |
| 851 | activation | 0.6610 | This paper |
| 856 | Raw features | 0.6530 | prev best: HomoGCL: Rethinking Homophily in Graph Contrastive Learning (KDD 2023) |
| 858 | KNN | 0.6530 | This paper |
| 857 | None | 0.6530 | This paper |
| 859 | one adjacency | 0.6530 | This paper |
| 860 | per layer adjacency | 0.6522 | This paper |
| 861 | psilonNN | 0.6520 | This paper |
| 863 | Random d-kNN | 0.6500 | This paper |
| 895 | ATT | 0.5330 | This paper |
| 904 | WL Roles | 0.4960 | This paper |
| 905 | Bernoulli relaxation | 0.4540 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | CNA | 0.9575
±0.0058 | |
| 2 | IS-GIB | 0.9390
±0.0187 | |
| 3 | EERM | 0.9112
±0.0145 | |
| 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 | |
| 350 | MLP | 0.7289
±0.0010 | |
| 389 | GIN | 0.7250
±0.0080 best reported | best at pub: Towards Self-Explainable Graph Neural Network (2021) |
| 543 | Citeseer | 0.7120 | This paper |
| 566 | None | 0.7090
±0.0070 best reported | best at pub: AutoGL: A Library for Automated Graph Learning (ICLR 2021) |
| 628 | FP | 0.6990 | This paper |
| 673 | contrastive loss | 0.6841 | This paper |
| 682 | Spectral Roles | 0.6810 | This paper |
| 698 | sparse-connect, log-barrier | 0.6770 | This paper |
| 707 | sparse-connect | 0.6740 | This paper |
| 709 | Raw features | 0.6730 | |
| 710 | KNN | 0.6730 | This paper |
| 711 | one adjacency | 0.6730 | This paper |
| 722 | per layer adjacency | 0.6700 | This paper |
| 731 | smoothness | 0.6660 | This paper |
| 740 | Closeness | 0.6630 | This paper |
| 748 | d-kNN | 0.6620 | This paper |
| 749 | Random d-kNN | 0.6620 | This paper |
| 757 | symmetrize | 0.6590 | This paper |
| 760 | denoising loss | 0.6571 | This paper |
| 792 | Bernoulli relaxation | 0.6410 | This paper |
| 807 | activation | 0.6300 | This paper |
| 813 | activation-symmetrize | 0.6230 | This paper |
| 826 | psilonNN | 0.6060 | This paper |
| 854 | log-barrier | 0.5600 | This paper |
| 856 | ATT | 0.5440 | This paper |
| 893 | WL Roles | 0.2990 | 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) |
| 39 | contrastive loss | 0.9104 | This paper |
| 116 | SAGE | 0.8881
±0.0015 | |
| 157 | GIN | 0.8810 | prev best: Learning Conjoint Attentions for Graph Neural Nets (NeurIPS 2021) |
| 209 | activation-symmetrize | 0.8693 | This paper |
| 210 | MLP | 0.8690
±0.0074 | |
| 215 | symmetrize | 0.8680 | This paper |
| 233 | sparse-connect | 0.8593 | This paper |
| 258 | Closeness | 0.8500 | This paper |
| 279 | smoothness | 0.8400 | This paper |
| 309 | sparse-connect, log-barrier | 0.8284 | This paper |
| 337 | activation | 0.8183 | This paper |
| 710 | denoising loss | 0.7757 | This paper |
| 772 | Pubmed (best) | 0.7600 | This paper |
| 823 | FP | 0.7220 | This paper |
| 828 | Raw features | 0.7140
±0.0020 best reported | best at pub: HomoGCL: Rethinking Homophily in Graph Contrastive Learning (KDD 2023) |
| 830 | Random d-kNN | 0.7140 | This paper |
| 837 | per layer adjacency | 0.7027 | This paper |
| 838 | d-kNN | 0.7010 | This paper |
| 842 | KNN | 0.6960 | This paper |
| 843 | one adjacency | 0.6960 | This paper |
| 844 | None | 0.6960 | This paper |
| 853 | Spectral Roles | 0.6790 | This paper |
| 857 | ATT | 0.6650 | This paper |
| 860 | psilonNN | 0.6600 | This paper |
| 869 | WL Roles | 0.5850 | This paper |
| 878 | Bernoulli relaxation | 0.4130 | This paper |
| 883 | log-barrier | 0.4036 | This paper |
