arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.12674cs.LG
收藏

用于图神经网络的带位置编码重连方法

Rewiring with Positional Encodings for Graph Neural Networks

Massachusetts Institute of Technology(麻省理工学院);MIT-IBM Watson AI Lab(MIT-IBM沃森人工智能实验室);IBM Research(IBM研究院)

Rickard Brüel-Gabrielsson, Mikhail Yurochkin, Justin Solomon

AI总结:

针对现有GNN位置编码扩展感受野成本高、改架构复杂的问题,提出在输入前用位置编码增广图的节点边扩展r跳邻域,模型无关且无损,小r即可缓解过挤压、提性能,在多模型数据集达有竞争力表现。

摘要:

近期多项研究采用位置编码来扩展配备注意力机制的图神经网络(GNN)层的感受野。然而,这些技术要么将感受野扩展至全图,计算成本极高,且存在改变传统GNN归纳偏置的风险,要么需要复杂的架构调整。作为一种保守的替代方案,我们使用位置编码将感受野扩展至r跳邻域。更具体地说,我们的方法通过添加额外的节点/边来增强输入图,并将位置编码用作节点和/或边特征。我们因此在将图输入下游GNN模型之前修改图结构,而非修改模型本身。这使得我们的方法具有模型无关性,即与任何现有GNN架构兼容。我们还提供了位置编码的示例,这类位置编码是无损的,在原始图与修改后的图之间存在一一映射。我们证明,通过位置编码和一个虚拟全连接节点扩展感受野,可显著提升GNN性能,并在r值较小的情况下缓解过挤压问题。我们在多种模型和数据集上取得了性能提升,并且使用传统GNN或图Transformer达到了具有竞争力的性能。

英文摘要:

Several recent works use positional encodings to extend the receptive fields of graph neural network (GNN) layers equipped with attention mechanisms. These techniques, however, extend receptive fields to the complete graph, at substantial computational cost and risking a change in the inductive biases of conventional GNNs, or require complex architecture adjustments. As a conservative alternative, we use positional encodings to expand receptive fields to $r$-hop neighborhoods. More specifically, our method augments the input graph with additional nodes/edges and uses positional encodings as node and/or edge features. We thus modify graphs before inputting them to a downstream GNN model, instead of modifying the model itself. This makes our method model-agnostic, i.e., compatible with any of the existing GNN architectures. We also provide examples of positional encodings that are lossless with a one-to-one map between the original and the modified graphs. We demonstrate that extending receptive fields via positional encodings and a virtual fully-connected node significantly improves GNN performance and alleviates over-squashing using small $r$. We obtain improvements on a variety of models and datasets and reach competitive performance using traditional GNNs or graph Transformers.

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

↑