Skip to content

Files

Latest commit

2584f3a · Aug 3, 2023

History

History
This branch is 257 commits behind dmlc/dgl:master.

hgt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 10, 2020
Feb 19, 2023
Aug 3, 2023

Heterogeneous Graph Transformer (HGT)

Alternative PyTorch-Geometric implementation

Heterogeneous Graph Transformer is a graph neural network architecture that can deal with large-scale heterogeneous and dynamic graphs.

This toy experiment is based on DGL's official tutorial. As the ACM datasets doesn't have input feature, we simply randomly assign features for each node. Such process can be simply replaced by any prepared features.

The reference performance against R-GCN and MLP running 5 times:

Model Test Accuracy # Parameter
2-layer HGT 0.465 ± 0.007 2,176,324
2-layer RGCN 0.392 ± 0.013 416,340
MLP 0.132 ± 0.003 200,974