Graph Transformer Networks: Learning Meta-path Graphs to Improve GNNs

Seongjun Yun, Minbyul Jeong, Sungdong Yoo, Seunghun Lee, Sean S. Yi +3 more
6/11/2021
cs.LGcs.AIcs.SI
transformer-attentiongnn

Official code: seongjunyun/Graph_Transformer_Networks (1,083 stars, Jupyter Notebook, last commit 2023-02-15).

Abstract

Graph Neural Networks (GNNs) have been widely applied to various fields due to their powerful representations of graph-structured data. Despite the success of GNNs, most existing GNNs are designed to learn node representations on the fixed and homogeneous graphs.

Show full abstract

The limitations especially become problematic when learning representations on a misspecified graph or a heterogeneous graph that consists of various types of nodes and edges. To address this limitations, we propose Graph Transformer Networks (GTNs) that are capable of generating new graph structures, which preclude noisy connections and include useful connections (e.g., meta-paths) for tasks, while learning effective node representations on the new graphs in an end-to-end fashion. We further propose enhanced version of GTNs, Fast Graph Transformer Networks (FastGTNs), that improve scalability of graph transformations. Compared to GTNs, FastGTNs are 230x faster and use 100x less memory while allowing the identical graph transformations as GTNs. In addition, we extend graph transformations to the semantic proximity of nodes allowing non-local operations beyond meta-paths. Extensive experiments on both homogeneous graphs and heterogeneous graphs show that GTNs and FastGTNs with non-local operations achieve the state-of-the-art performance for node classification tasks. The code is available: https://github.com/seongjunyun/Graph_Transformer_Networks

View on arXivView PDF

Code Implementations(1)

Graph Transformer Networks (Authors' PyTorch implementation for the NeurIPS 19 paper)

1,083187Jupyter Notebook, PythonSep 9, 20193 years ago

Similar Papers

Cite this paper

@article{yun2021graph,
  title  = {Graph Transformer Networks: Learning Meta-path Graphs to Improve GNNs},
  author = {Seongjun Yun and Minbyul Jeong and Sungdong Yoo and Seunghun Lee and Sean S. Yi and Raehyun Kim and Jaewoo Kang and Hyunwoo J. Kim},
  year   = {2021},
  eprint = {2106.06218},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.06218}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.06218.svg)](https://codeofpaper.com/paper/2106.06218)

Discussion