利用加权图行走自动机桥接Transformer的图位置编码
Bridging Graph Position Encodings for Transformers with Weighted Graph-Walking Automata
AI总结:
本文提出基于加权图行走自动机的新图位置编码GAPE,在机器翻译和图结构任务上验证其性能并证明其能泛化多种现有PE方案,同时对图Transformer中多种PE进行了独立于边特征的理论与实验比较。
摘要:
图神经网络文献当前的一个目标是使Transformer能够处理图结构数据,鉴于其在语言和视觉任务上的成功。由于Transformer原始的正弦位置编码(PEs)不适用于图,最近的工作集中在开发图PE,其根植于谱图理论或图的各种空间特征。在本研究中,我们引入了一种新的图PE,即图自动机PE(GAPE),它基于加权图行走自动机(图行走自动机的一种新颖扩展)。我们在机器翻译和图结构任务上比较了GAPE与其他PE方案的性能,并表明它泛化了其他几种PE。本研究的另一项贡献是对图Transformer中许多最近的PE进行了理论和受控实验比较,且独立于边特征的使用。
英文摘要:
A current goal in the graph neural network literature is to enable transformers to operate on graph-structured data, given their success on language and vision tasks. Since the transformer's original sinusoidal positional encodings (PEs) are not applicable to graphs, recent work has focused on developing graph PEs, rooted in spectral graph theory or various spatial features of a graph. In this work, we introduce a new graph PE, Graph Automaton PE (GAPE), based on weighted graph-walking automata (a novel extension of graph-walking automata). We compare the performance of GAPE with other PE schemes on both machine translation and graph-structured tasks, and we show that it generalizes several other PEs. An additional contribution of this study is a theoretical and controlled experimental comparison of many recent PEs in graph transformers, independent of the use of edge features.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。