ICML 2023

Node Embedding from Neural Hamiltonian Orbits in Graph Neural Networks

Qiyu Kang, Kai Zhao, Yang Song, Sijie Wang, Wee Peng Tay

Main figure for Node Embedding from Neural Hamiltonian Orbits in Graph Neural Networks

Abstract

In the graph node embedding problem, embedding spaces can vary significantly for different data types, leading to the need for different GNN model types. In this paper, we model the embedding update of a node feature as a Hamiltonian orbit over time. Since the Hamiltonian orbits generalize the exponential maps, this approach allows us to learn the underlying manifold of the graph in training, in contrast to most of the existing literature that assumes a fixed graph embedding manifold with a closed exponential map solution. Our proposed node embedding strategy can automatically learn, without extensive tuning, the underlying geometry of any given graph dataset even if it has diverse geometries. We test Hamiltonian functions of different forms and verify the performance of our approach on two graph node embedding downstream tasks: node classification and link prediction. Numerical experiments demonstrate that our approach adapts better to different types of graph datasets than popular state-of-the-art graph node embedding GNNs. The code is available at.

Benchmark Results

Tested on 2 datasets

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

OGB

Hypergraph Benchmarks

#ModelAccuracy ↑Paper
1
HAN (full batch)
0.8404 ±0.0102
2
AllSetTransformer
0.8363 ±0.0147
3
UniGCNII
0.8360 ±0.0114
7
GIL
0.8204 ±0.0127
This paper
11
HGCN
0.7872 ±0.0042
This paper
20
GCN
0.7516 ±0.0065
This paper
21
MLP
0.7431 ±0.0189
SOTA performance (not significantly different from the best) Baseline / comparison (this paper) Global context (other papers)