ICML 2024

Graph as Point Set

Xiyuan Wang, Pan Li, Muhan Zhang

Main figure for Graph as Point Set

Abstract

Graph is a fundamental data structure to model interconnections between entities. Set, on the contrary, stores independent elements. To learn graph representations, current Graph Neural Networks (GNNs) primarily use message passing to encode the interconnections. In contrast, this paper introduces a novel graph-to-set conversion method that bijectively transforms interconnected nodes into a set of independent points and then uses a set encoder to learn the graph representation. This conversion method holds dual significance. Firstly, it enables using set encoders to learn from graphs, thereby significantly expanding the design space of GNNs. Secondly, for Transformer, a specific set encoder, we provide a novel and principled approach to inject graph information losslessly, different from all the heuristic structural/positional encoding methods adopted in previous graph transformers. To demonstrate the effectiveness of our approach, we introduce Point Set Transformer (PST), a transformer architecture that accepts a point set converted from a graph as input. Theoretically, PST exhibits superior expressivity for both short-range substructure counting and long-range shortest path distance tasks compared to existing GNNs. Extensive experiments further validate PST's outstanding real-world performance. Besides Transformer, we also devise a Deepset-based set encoder, which achieves performance comparable to representative GNNs, affirming the versatility of our graph-to-set method.

Benchmark Results

Tested on 1 dataset

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

Classic

#ModelMAE ↓Paper
1
TIGT
0.0140 ±0.0010
2
FloydNet
0.0160
3
GSSC
0.0190 ±0.0010
7
CIN
actual #7 vs paper #8 1 place worse
0.0210 ±0.0010
best reported
actual #7 vs paper #8 1 place worse
paper 0.0220 ±0.0020

Difference within reported uncertainty; not counted as underperformance.

paper 0.0220 ±0.0020 Δ at pub 0.0010
10
SSWL+
0.0220 ±0.0020
This paper
11
GRIT
actual #11 vs paper #14 3 places worse
0.0230 ±0.0010
best reported
actual #11 vs paper #14 3 places worse
paper 0.0240 ±0.0030

Difference within reported uncertainty; not counted as underperformance.

paper 0.0240 ±0.0030 Δ at pub 0.0010 Δ today 0.0010
21
SUN
0.0240 ±0.0030
This paper
19
SignNet
0.0240 ±0.0030
This paper
24
DRFWL
0.0250 ±0.0030
This paper
22
Graphormer
actual #22 vs paper #56 34 places worse
0.0250
best reported
actual #22 vs paper #56 34 places worse
paper 0.0520 ±0.0050
33
ESAN
0.0290 ±0.0030
This paper
31
NGNN
0.0290 ±0.0010
This paper
61
PST
0.0630 ±0.0030
This paper
69
GIN
0.0880 ±0.0020
86
PSDS
0.1620 ±0.0070
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