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

一种用于图学习的端到端基于注意力的方法

An end-to-end attention-based approach for learning on graphs

Department of Computer Science and Technology, University of Cambridge(计算机科学与技术系,剑桥大学);Molecular AI, BioPharmaceuticals R&D, AstraZeneca(分子人工智能,生物制药研发,阿斯利康);Centre for AI, BioPharmaceuticals R&D, AstraZeneca(人工智能中心,生物制药研发,阿斯利康)

David Buterez, Jon Paul Janet, Dino Oglic, Pietro Lio

AI总结:

针对图 Transformer 有效性、可扩展性与预处理复杂等问题,论文将图表示为边集,提出结合交错自注意力编码器和注意力池化的端到端方法,在 70 多项任务及迁移学习中取得领先性能与更优扩展性。

摘要:

近期,基于 transformer 的图学习架构大量涌现,其主要动因是注意力作为一种有效学习机制,以及希望取代消息传递方案所特有的手工算子。然而,人们对这些架构的经验有效性、可扩展性和预处理步骤的复杂性提出了担忧,尤其是与通常在大量基准测试上表现与其相当的简单得多的图神经网络相比。为解决这些不足,我们将图视为边的集合,并提出一种纯基于注意力的方法,该方法由一个编码器和一种注意力池化机制组成。编码器在纵向上交错排列 masked self-attention 和 vanilla self-attention 模块,以学习有效的边表示,同时能够处理输入图中可能存在的错误设定。尽管该方法简单,但在包括具有挑战性的长程基准在内的 70 多项节点级和图级任务上,其表现优于经过微调的消息传递基线以及近期提出的基于 transformer 的方法。此外,我们展示了从分子图到视觉图以及异配节点分类等不同任务上的最先进性能。该方法在迁移学习设置中也优于图神经网络和 transformer,并且与具有相似性能水平或表达能力的替代方法相比,其扩展性要好得多。

英文摘要:

There has been a recent surge in transformer-based architectures for learning on graphs, mainly motivated by attention as an effective learning mechanism and the desire to supersede handcrafted operators characteristic of message passing schemes. However, concerns over their empirical effectiveness, scalability, and complexity of the pre-processing steps have been raised, especially in relation to much simpler graph neural networks that typically perform on par with them across a wide range of benchmarks. To tackle these shortcomings, we consider graphs as sets of edges and propose a purely attention-based approach consisting of an encoder and an attention pooling mechanism. The encoder vertically interleaves masked and vanilla self-attention modules to learn an effective representations of edges, while allowing for tackling possible misspecifications in input graphs. Despite its simplicity, the approach outperforms fine-tuned message passing baselines and recently proposed transformer-based methods on more than 70 node and graph-level tasks, including challenging long-range benchmarks. Moreover, we demonstrate state-of-the-art performance across different tasks, ranging from molecular to vision graphs, and heterophilous node classification. The approach also outperforms graph neural networks and transformers in transfer learning settings, and scales much better than alternatives with a similar performance level or expressive power.

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

↑