TMLR 2023

Graph-level Representation Learning with Joint-Embedding Predictive Architectures

G. Skenderi, Hang Li, Jiliang Tang, Marco Cristani

Main figure for Graph-level Representation Learning with Joint-Embedding Predictive Architectures

Abstract

Joint-Embedding Predictive Architectures (JEPAs) have recently emerged as a novel and powerful technique for self-supervised representation learning. They aim to learn an energy-based model by predicting the latent representation of a target signal y from the latent representation of a context signal x. JEPAs bypass the need for negative and positive samples, traditionally required by contrastive learning while avoiding the overfitting issues associated with generative pretraining. In this paper, we show that graph-level representations can be effectively modeled using this paradigm by proposing a Graph Joint-Embedding Predictive Architecture (Graph-JEPA). In particular, we employ masked modeling and focus on predicting the latent representations of masked subgraphs starting from the latent representation of a context subgraph. To endow the representations with the implicit hierarchy that is often present in graph-level concepts, we devise an alternative prediction objective that consists of predicting the coordinates of the encoded subgraphs on the unit hyperbola in the 2D plane. Through multiple experimental evaluations, we show that Graph-JEPA can learn highly semantic and expressive representations, as shown by the downstream performance in graph classification, regression, and distinguishing non-isomorphic graphs. The code is available at https://github.com/geriskenderi/graph-jepa.

Benchmark Results

Tested on 2 datasets

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

TU Dortmund

#ModelAccuracy ↑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
104
Graph-JEPA
0.9125 ±0.0575
This paper
157
F-GIN
0.9041 ±0.0461
This paper
243
BGRL
actual #243 vs paper #716 473 places worse
0.8940 ±0.0100
best reported
actual #243 vs paper #716 473 places worse
paper 0.7499 ±0.0883
paper 0.7499 ±0.0883 Δ today 0.1441
403
MLP
0.8660 ±0.0495
#ModelAccuracy ↑Paper
1
MSH-GNN
0.9410 ±0.0330
2
GRDL
0.8260 ±0.0120
3
GMN
0.8225
32
GIN
0.7880 ±0.0410
149
MLP
0.7600 ±0.0320
179
Graph-JEPA
0.7568 ±0.0378
This paper
394
F-GIN
0.7239 ±0.0276
This paper
442
BGRL
0.7099 ±0.0386
This paper
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper) Global context (other papers) Best today — OK at publication; today's leaderboard best is elsewhere