arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2201.08821cs.LG
收藏

具有全局注意力的图神经网络远程上下文表示

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

UC Berkeley(加州大学伯克利分校);Google Brain(谷歌大脑)

Zhanghao Wu, Paras Jain, Matthew A. Wright, Azalia Mirhoseini, Joseph E. Gonzalez, Ion Stoica

摘要:

图神经网络是结构化数据集的强大架构。然而,目前的方法很难表示长期的依赖关系。缩放GNN的深度或宽度不足以拓宽感受野,因为较大的GNN会遇到优化不稳定性,例如梯度消失和表示过度平滑,而基于池化的方法尚未像计算机视觉那样普遍有用。在这项工作中,我们提出了使用基于transformer的自我注意力来学习远程成对关系,并使用一种新的“读出”机制来获得全局图嵌入。受最近计算机视觉结果的启发,发现位置不变的注意力在学习远程关系中表现出色,我们称之为GraphTrans的方法在标准GNN模块之后应用了一个置换不变的Transformer模块。这种简单的架构在几个图分类任务上产生了最先进的结果,优于显式编码图结构的方法。我们的研究结果表明,没有图结构的纯粹基于学习的方法可能适合于学习图上的高层次,长距离关系。GraphTrans的代码可在https://github.com/ucbrise/graphtrans上获得。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑