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

OpenGT:面向图Transformer的综合基准

OpenGT: A Comprehensive Benchmark For Graph Transformers

Zhejiang Key Laboratory of Accessible Perception and Intelligent Systems, College of Computer Science, Zhejiang University(浙江可感知与智能系统重点实验室,计算机科学学院,浙江大学);School of Software Technology, Zhejiang University(软件技术学院,浙江大学)

Jiachen Tang, Zhonghao Wang, Sirui Chen, Sheng Zhou, Jiawei Chen, Jiajun Bu

AI总结:

本文提出OpenGT综合基准与库,通过标准化实验设置和广泛模型对比,系统评估图Transformer在不同任务与数据集上的表现,揭示其迁移困难、局部注意力局限及位置编码适用场景等关键问题。

摘要:

图Transformer(GTs)近期在多个领域展现出卓越性能。通过利用注意力机制,GTs能够建模超出局部邻域的长程依赖关系和复杂结构关系。然而,其适用场景仍未得到充分探索,这凸显了识别它们在何时以及为何表现出色的必要性。此外,与主要依赖消息传递机制的图神经网络(GNNs)不同,GTs在位置编码、注意力机制以及针对图的特定适配等方面呈现出多样化的设计空间。然而,目前仍不清楚这些设计选择中哪些真正有效,以及在何种条件下有效。因此,社区目前缺乏一个全面的基准和库来促进对GTs的更深入理解和进一步发展。为弥补这一空白,本文提出了OpenGT,一个面向图Transformer的综合基准。OpenGT通过建立标准化的实验设置,并纳入广泛的当前最优GNNs和GTs,实现了公平比较和多维分析。我们的基准从多个角度评估GTs,涵盖具有不同性质的各种任务和数据集。通过大量实验,我们的基准揭示了若干关键见解,包括模型在不同任务层级之间迁移的困难、局部注意力的局限性、若干模型的效率权衡、特定位置编码的适用场景,以及某些位置编码的预处理开销。我们希望这项工作能够为未来图Transformer研究奠定基础,强调公平性、可复现性和泛化性。我们开发了一个易于使用的库OpenGT,用于训练和评估现有GTs。基准代码可在https://github.com/eaglelab-zju/OpenGT获取。

英文摘要:

Graph Transformers (GTs) have recently demonstrated remarkable performance across diverse domains. By leveraging attention mechanisms, GTs are capable of modeling long-range dependencies and complex structural relationships beyond local neighborhoods. However, their applicable scenarios are still underexplored, this highlights the need to identify when and why they excel. Furthermore, unlike GNNs, which predominantly rely on message-passing mechanisms, GTs exhibit a diverse design space in areas such as positional encoding, attention mechanisms, and graph-specific adaptations. Yet, it remains unclear which of these design choices are truly effective and under what conditions. As a result, the community currently lacks a comprehensive benchmark and library to promote a deeper understanding and further development of GTs. To address this gap, this paper introduces OpenGT, a comprehensive benchmark for Graph Transformers. OpenGT enables fair comparisons and multidimensional analysis by establishing standardized experimental settings and incorporating a broad selection of state-of-the-art GNNs and GTs. Our benchmark evaluates GTs from multiple perspectives, encompassing diverse tasks and datasets with varying properties. Through extensive experiments, our benchmark has uncovered several critical insights, including the difficulty of transferring models across task levels, the limitations of local attention, the efficiency trade-offs in several models, the application scenarios of specific positional encodings, and the preprocessing overhead of some positional encodings. We aspire for this work to establish a foundation for future graph transformer research emphasizing fairness, reproducibility, and generalizability. We have developed an easy-to-use library OpenGT for training and evaluating existing GTs. The benchmark code is available at https://github.com/eaglelab-zju/OpenGT.

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

↑