arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.13987cs.LGcs.AI
收藏

论图Transformer的结构表达能力

On Structural Expressive Power of Graph Transformers

Peking University(北京大学);Alibaba Group(阿里巴巴集团)

Wenhao Zhu, Tianyu Wen, Guojie Song, Liang Wang, Bo Zheng

AI总结:

针对图Transformer结构表达能力缺乏理论分析的问题,提出SEG-WL测试作为广义图同构算法,证明其为多种图Transformer表达能力上界,并据此开发了更强的SPIS结构编码方法。

摘要:

图Transformer近期因其出色的性能而在研究界受到广泛关注,但其结构表达能力尚未得到充分分析。受Weisfeiler-Lehman (WL) 图同构测试与图神经网络 (GNN) 之间联系的启发,我们引入了SEG-WL测试(结构编码增强的全局Weisfeiler-Lehman测试),这是一种广义图同构测试算法,可作为探索图Transformer结构判别能力的强大理论工具。我们在理论上证明,SEG-WL测试是广泛图Transformer表达能力的一个上界,并且在特定条件下,SEG-WL测试的表示能力可以被一个简单的Transformer网络任意逼近。借助SEG-WL测试,我们展示了图Transformer的表达能力如何由结构编码的设计所决定,并提出了使图Transformer表达能力超越WL测试和GNN的条件。此外,受流行的最短路径距离编码启发,我们遵循面向理论的原则,开发了一种可证明更强的结构编码方法——最短路径诱导子图 (SPIS) 编码。我们的理论发现为研究图Transformer的表达能力提供了一种新颖且实用的范式,并且大量合成和真实世界实验从经验上验证了我们提出方法的优势。

英文摘要:

Graph Transformer has recently received wide attention in the research community with its outstanding performance, yet its structural expressive power has not been well analyzed. Inspired by the connections between Weisfeiler-Lehman (WL) graph isomorphism test and graph neural network (GNN), we introduce \textbf{SEG-WL test} (\textbf{S}tructural \textbf{E}ncoding enhanced \textbf{G}lobal \textbf{W}eisfeiler-\textbf{L}ehman test), a generalized graph isomorphism test algorithm as a powerful theoretical tool for exploring the structural discriminative power of graph Transformers. We theoretically prove that the SEG-WL test is an expressivity upper bound on a wide range of graph Transformers, and the representational power of SEG-WL test can be approximated by a simple Transformer network arbitrarily under certain conditions. With the SEG-WL test, we show how graph Transformers' expressive power is determined by the design of structural encodings, and present conditions that make the expressivity of graph Transformers beyond WL test and GNNs. Moreover, motivated by the popular shortest path distance encoding, we follow the theory-oriented principles and develop a provably stronger structural encoding method, Shortest Path Induced Subgraph (\textit{SPIS}) encoding. Our theoretical findings provide a novel and practical paradigm for investigating the expressive power of graph Transformers, and extensive synthetic and real-world experiments empirically verify the strengths of our proposed methods.

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

↑