GraphFormers: GNN-nested Transformers for Representation Learning on Textual Graph

Junhan Yang, Zheng Liu, Shitao Xiao, Chaozhuo Li, Defu Lian +4 more
5/6/2021
cs.CLcs.AIcs.IR
transformer-attentiongnn

Official code: microsoft/GraphFormers (129 stars, Python, MIT, last commit 2022-11-29).

Abstract

The representation learning on textual graph is to generate low-dimensional embeddings for the nodes based on the individual textual features and the neighbourhood information. Recent breakthroughs on pretrained language models and graph neural networks push forward the development of corresponding techniques.

Show full abstract

The existing works mainly rely on the cascaded model architecture: the textual features of nodes are independently encoded by language models at first; the textual embeddings are aggregated by graph neural networks afterwards. However, the above architecture is limited due to the independent modeling of textual features. In this work, we propose GraphFormers, where layerwise GNN components are nested alongside the transformer blocks of language models. With the proposed architecture, the text encoding and the graph aggregation are fused into an iterative workflow, {making} each node's semantic accurately comprehended from the global perspective. In addition, a {progressive} learning strategy is introduced, where the model is successively trained on manipulated data and original data to reinforce its capability of integrating information on graph. Extensive evaluations are conducted on three large-scale benchmark datasets, where GraphFormers outperform the SOTA baselines with comparable running efficiency.

View on arXivView PDF

Code Implementations(1)

MIT
12919PythonOct 11, 20214 years agoMIT

Similar Papers

Cite this paper

@article{yang2021graphformers,
  title  = {GraphFormers: GNN-nested Transformers for Representation Learning on Textual Graph},
  author = {Junhan Yang and Zheng Liu and Shitao Xiao and Chaozhuo Li and Defu Lian and Sanjay Agrawal and Amit Singh and Guangzhong Sun and Xing Xie},
  year   = {2021},
  eprint = {2105.02605},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.02605}
}

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/2105.02605.svg)](https://codeofpaper.com/paper/2105.02605)

Discussion