Meta-GPS++: Enhancing Graph Meta-Learning with Contrastive Learning and Self-Training

Yonghao Liu, Mengyu Li, Ximing Li, Lan Huang, Fausto Giunchiglia, Yanchun Liang, Xiaoyue Feng, Renchu Guan

Main figure for Meta-GPS++: Enhancing Graph Meta-Learning with Contrastive Learning and Self-Training

Abstract

Node classification is an essential problem in graph learning. However, many models typically obtain unsatisfactory performance when applied to few-shot scenarios. Some studies have attempted to combine meta-learning with graph neural networks to solve few-shot node classification on graphs. Despite their promising performance, some limitations remain. First, they employ the node encoding mechanism of homophilic graphs to learn node embeddings, even in heterophilic graphs. Second, existing models based on meta-learning ignore the interference of randomness in the learning process. Third, they are trained using only limited labeled nodes within the specific task, without explicitly utilizing numerous unlabeled nodes. Finally, they treat almost all sampled tasks equally without customizing them for their uniqueness. To address these issues, we propose a novel framework for few-shot node classification called Meta-GPS++. Specifically, we first adopt an efficient method to learn discriminative node representations on homophilic and heterophilic graphs. Then, we leverage a prototype-based approach to initialize parameters and contrastive learning for regularizing the distribution of node embeddings. Moreover, we apply self-training to extract valuable information from unlabeled nodes. Additionally, we adopt S$^2$ (scaling & shifting) transformation to learn transferable knowledge from diverse tasks. The results on real-world datasets show the superiority of Meta-GPS++. Our code is available redhere.

Benchmark Results

Tested on 1 dataset 3 baseline values reported too low

Tables show presented results in global context (best 3 papers + GCN + MLP).

Classic

#ModelF1 ↑Paper
1
EnGCN
0.9714 ±0.0003
2
SAGN+SLE
0.9710
3
GAMLP(JK)
0.9704 ±0.0001
14
GraphSAGE
0.9660
58
GCN
actual #58 vs paper #140 82 places worse
0.9530 ±0.0010
best reported
actual #58 vs paper #140 82 places worse
paper 0.3810
paper 0.3810 Δ at pub 0.5720
73
SGC
actual #73 vs paper #140 67 places worse
0.9490
best reported
actual #73 vs paper #140 67 places worse
paper 0.4210
paper 0.4210 Δ at pub 0.5280 Δ today 0.5280
121
Meta-GPS++
0.8100
This paper
124
TGRM
0.7280
This paper
125
IA-FSNC
0.7250
This paper
126
G-Meta
0.7210
This paper
128
GPN
0.6620
This paper
134
Meta-GNN
0.5830
This paper
142
ProtoNet
0.3330
This paper
143
DeepWalk
actual #143 vs paper #144 1 place worse
0.3240
best reported
actual #143 vs paper #144 1 place worse
paper 0.2610
paper 0.2610 Δ at pub 0.0630 Δ today 0.0630
144
MAML
0.2680
This paper
145
Node2Vec
0.2560
This paper
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper) Global context (other papers) Best at pub — reported result worse than the best known when published (best reported in green)