Representing Long-Range Context for Graph Neural Networks with Global Attention

By Zhanghao Wu, Paras Jain, Matthew A. Wright, Azalia Mirhoseini, Joseph E. Gonzalez, Ion Stoica. Neural Information Processing Systems, 2022

423 citations recorded by the source corpus.

Graph neural networks are powerful architectures for structured datasets. However, current methods struggle to represent long-range dependencies. Scaling the depth or width of GNNs is insufficient to broaden receptive fields as larger GNNs encounter optimization instabilities such as vanishing gradients and representation oversmoothing, while pooling-based approaches have yet to become as universally useful as in computer vision. In this work, we propose the use of Transformer-based self-attention to learn long-range pairwise relationships, with a novel"readout"mechanism to obtain a global graph embedding. Inspired by recent computer vision results that find position-invariant attention performant in learning long-range relationships, our method, which we call GraphTrans, applies a permutation-invariant Transformer module after a standard GNN module. This simple architecture leads to state-of-the-art results on several graph classification tasks, outperforming methods that explicitly encode graph structure. Our results suggest that purely-learning-based approaches without graph structure may be suitable for learning high-level, long-range relationships on graphs. Code for GraphTrans is available at https://github.com/ucbrise/graphtrans.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Materials Chemistry

View Paper: https://www.semanticscholar.org/paper/2b8a207189bc02d73d1dce850bcde24dbd984483

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Anh Tuan Luu
  2. Dominique Beaini
  3. Karsten M. Borgwardt
  4. Leslie O’Bray
  5. Dexiong Chen
  6. Ladislav Rampášek
  7. Guy Wolf
  8. Mikhail Galkin

In Computer Vision and Pattern Recognition

  1. Vijay Prakash Dwivedi
  2. Karsten M. Borgwardt
  3. Leslie O’Bray
  4. Mikhail Galkin
  5. Ladislav Rampášek
  6. Anh Tuan Luu
  7. Guy Wolf
  8. Dominique Beaini

In Materials Chemistry

  1. Anh Tuan Luu
  2. Dominique Beaini
  3. Karsten M. Borgwardt
  4. Leslie O’Bray
  5. Dexiong Chen
  6. Mikhail Galkin
  7. Ladislav Rampášek
  8. Guy Wolf

Citations in the corpus