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

VCR-Graphormer:一种基于虚拟连接的小批量图Transformer

VCR-Graphormer: A Mini-batch Graph Transformer via Virtual Connections

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Meta AI;Georgia Institute of Technology(佐治亚理工学院)

Dongqi Fu, Zhigang Hua, Yan Xie, Jin Fang, Si Zhang, Kaan Sancak, Hao Wu, Andrey Malevich, Jingrui He, Bo Long

AI总结:

针对图Transformer小批量训练中样本不足导致密集注意力失效的问题,提出VCR-Graphormer,通过PPR令牌化解耦训练与拓扑,并引入虚拟连接编码多维度上下文信息。

摘要:

图Transformer已被证明是一种有效的图学习方法,它采用能够从图复杂的拓扑和特征信息中捕获具有表达力表示的注意力机制。图Transformer通常对每对节点执行密集注意力(或全局注意力)来学习节点表示向量,导致二次方的计算开销,这对于大规模图数据来说是难以承受的。因此,图Transformer的小批量训练是一个有前景的方向,但每个小批量中有限的样本无法支持有效的密集注意力来编码信息丰富的表示。面对这一瓶颈,(1)我们首先为每个节点分配一个通过个性化PageRank(PPR)采样的令牌列表,然后仅在该列表上应用标准的多头自注意力来计算其节点表示。这种PPR令牌化方法将模型训练与复杂的图拓扑信息解耦,并使得繁重的特征工程在离线状态下独立进行,从而通过批量加载每个节点的令牌列表使图Transformer的小批量训练成为可能。我们进一步证明,这种PPR令牌化作为一种具有固定多项式滤波器和跳跃知识的图卷积网络是可行的。然而,仅使用个性化PageRank可能会限制令牌列表所携带的信息,这无法支持模型训练的不同图归纳偏置。为此,(2)我们通过基于结构和内容的超级节点引入多种类型的虚拟连接来重连图,使PPR令牌化能够将局部和全局上下文、长程交互以及异配信息编码到每个节点的令牌列表中,随后形式化了我们基于虚拟连接排序的图Transformer(VCR-Graphormer)。

英文摘要:

Graph transformer has been proven as an effective graph learning method for its adoption of attention mechanism that is capable of capturing expressive representations from complex topological and feature information of graphs. Graph transformer conventionally performs dense attention (or global attention) for every pair of nodes to learn node representation vectors, resulting in quadratic computational costs that are unaffordable for large-scale graph data. Therefore, mini-batch training for graph transformers is a promising direction, but limited samples in each mini-batch can not support effective dense attention to encode informative representations. Facing this bottleneck, (1) we start by assigning each node a token list that is sampled by personalized PageRank (PPR) and then apply standard multi-head self-attention only on this list to compute its node representations. This PPR tokenization method decouples model training from complex graph topological information and makes heavy feature engineering offline and independent, such that mini-batch training of graph transformers is possible by loading each node's token list in batches. We further prove this PPR tokenization is viable as a graph convolution network with a fixed polynomial filter and jumping knowledge. However, only using personalized PageRank may limit information carried by a token list, which could not support different graph inductive biases for model training. To this end, (2) we rewire graphs by introducing multiple types of virtual connections through structure- and content-based super nodes that enable PPR tokenization to encode local and global contexts, long-range interaction, and heterophilous information into each node's token list, and then formalize our Virtual Connection Ranking based Graph Transformer (VCR-Graphormer).

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

↑