arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.05213cs.LGcs.CLstat.ML
收藏

Graph-Aware Transformer:所有的图都需要注意力吗?

Graph-Aware Transformer: Is Attention All Graphs Need?

Samsung Advanced Institute of Technology(三星先进技术研究院)

Sanghyun Yoo, Young-Seok Kim, Kang Hyun Lee, Kuhwan Jeong, Junhwi Choi, Hoshik Lee, Young Sang Choi

摘要:

图是表示许多领域中的关系和结构信息的自然数据结构。为了覆盖包括图分类以及图生成的广泛的图数据应用,期望具有由可以处理图数据的编码器和解码器组成的通用且灵活的模型。虽然有代表性的编码器-解码器模型,Transformer,在各种任务,特别是自然语言处理,表现出优越的性能,它不是立即可用于图,由于其非顺序特性。为了解决这种不兼容性,我们提出了GRaph-Aware Transformer(GRAT),这是第一个基于Transformer的模型,可以以端到端的方式对整个图进行编码和解码。GRAT具有自适应边缘信息的自注意机制和基于双路径方法的自回归解码机制,该双路径方法包括子图编码路径和每个解码步骤的节点和边缘生成路径。我们在多个设置上经验性地评估了GRAT,包括基于编码器的任务,例如对QM 9数据集的分子性质预测和基于编码器-解码器的任务,例如有机分子合成领域中的分子图生成。GRAT已经显示出非常有前途的结果,包括在QM 9基准测试中的4个回归任务上的最新性能。

英文摘要:

Graphs are the natural data structure to represent relational and structural information in many domains. To cover the broad range of graph-data applications including graph classification as well as graph generation, it is desirable to have a general and flexible model consisting of an encoder and a decoder that can handle graph data. Although the representative encoder-decoder model, Transformer, shows superior performance in various tasks especially of natural language processing, it is not immediately available for graphs due to their non-sequential characteristics. To tackle this incompatibility, we propose GRaph-Aware Transformer (GRAT), the first Transformer-based model which can encode and decode whole graphs in end-to-end fashion. GRAT is featured with a self-attention mechanism adaptive to the edge information and an auto-regressive decoding mechanism based on the two-path approach consisting of sub-graph encoding path and node-and-edge generation path for each decoding step. We empirically evaluated GRAT on multiple setups including encoder-based tasks such as molecule property predictions on QM9 datasets and encoder-decoder-based tasks such as molecule graph generation in the organic molecule synthesis domain. GRAT has shown very promising results including state-of-the-art performance on 4 regression tasks in QM9 benchmark.

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

↑