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

论MPNN与图Transformer之间的联系

On the Connection Between MPNN and Graph Transformer

University of California San Diego(加州大学圣地亚哥分校)

Chen Cai, Truong Son Hy, Rose Yu, Yusu Wang

AI总结:

本文证明带虚拟节点的MPNN能任意近似图Transformer的自注意力层,并在多个基准上超越GT,为图学习提供了理论支撑和强基线。

摘要:

图Transformer(GT)近年来作为一种新的图学习算法范式出现,在多个基准上超越了先前流行的消息传递神经网络(MPNN)。先前的工作(Kim等人,2022)表明,通过适当的位置嵌入,GT可以任意近似MPNN,这意味着GT至少与MPNN一样强大。在本文中,我们研究逆联系,并表明带有虚拟节点(VN)的MPNN(一种常用但缺乏理论理解的启发式方法)足以任意近似GT的自注意力层。具体而言,我们首先表明,如果我们考虑一种线性Transformer,即所谓的Performer/线性Transformer(Choromanski等人,2020;Katharopoulos等人,2020),那么具有O(1)深度和O(1)宽度的MPNN+VN可以近似Performer/线性Transformer中的自注意力层。接下来,通过MPNN+VN与DeepSets之间的联系,我们证明具有O(n^d)宽度和O(1)深度的MPNN+VN可以任意近似自注意力层,其中d是输入特征维度。最后,在某些假设下,我们提供了具有O(1)宽度和O(n)深度的MPNN+VN的显式构造,以任意近似GT中的自注意力层。在实证方面,我们证明:1)MPNN+VN是一个令人惊讶的强基线,在最近提出的长程图基准(LRGB)数据集上优于GT;2)我们的MPNN+VN在广泛的OGB数据集上优于早期实现;3)MPNN+VN在气候建模任务上优于线性Transformer和MPNN。

英文摘要:

Graph Transformer (GT) recently has emerged as a new paradigm of graph learning algorithms, outperforming the previously popular Message Passing Neural Network (MPNN) on multiple benchmarks. Previous work (Kim et al., 2022) shows that with proper position embedding, GT can approximate MPNN arbitrarily well, implying that GT is at least as powerful as MPNN. In this paper, we study the inverse connection and show that MPNN with virtual node (VN), a commonly used heuristic with little theoretical understanding, is powerful enough to arbitrarily approximate the self-attention layer of GT. In particular, we first show that if we consider one type of linear transformer, the so-called Performer/Linear Transformer (Choromanski et al., 2020; Katharopoulos et al., 2020), then MPNN + VN with only O(1) depth and O(1) width can approximate a self-attention layer in Performer/Linear Transformer. Next, via a connection between MPNN + VN and DeepSets, we prove the MPNN + VN with O(n^d) width and O(1) depth can approximate the self-attention layer arbitrarily well, where d is the input feature dimension. Lastly, under some assumptions, we provide an explicit construction of MPNN + VN with O(1) width and O(n) depth approximating the self-attention layer in GT arbitrarily well. On the empirical side, we demonstrate that 1) MPNN + VN is a surprisingly strong baseline, outperforming GT on the recently proposed Long Range Graph Benchmark (LRGB) dataset, 2) our MPNN + VN improves over early implementation on a wide range of OGB datasets and 3) MPNN + VN outperforms Linear Transformer and MPNN on the climate modeling task.

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

↑