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

具有双粒度核化注意力的簇级图Transformer

Cluster-wise Graph Transformer with Dual-granularity Kernelized Attention

Shanghai Jiao Tong University(上海交通大学);Paris Elite Institute of Technology(巴黎精英理工学院)

Siyuan Huang, Yunchong Song, Jiayue Zhou, Zhouhan Lin

AI总结:

针对层次图方法因固定图粗化导致簇表示同质化及节点信息丢失的问题,提出簇级图Transformer架构,通过引入结合多核学习的节点到簇注意力机制,实现线性复杂度下的双粒度信息融合,在图级任务上表现卓越。

摘要:

在图学习领域,有一类方法将图概念化为层次结构,利用节点聚类来捕获更广泛的结构信息。虽然这些方法通常有效,但它们往往依赖固定的图粗化例程,导致簇表示过于同质化并丢失节点级信息。在本文中,我们将图视为相互连接的节点集网络,而不将每个簇压缩为单一嵌入。为了实现这些节点集之间的有效信息传递,我们提出了节点到簇注意力(N2C-Attn)机制。N2C-Attn将多核学习技术融入核化注意力框架,有效捕获节点和簇级别的信息。随后,我们利用簇级消息传递框架为N2C-Attn设计了一种高效形式,实现了线性时间复杂度。我们进一步分析了N2C-Attn如何结合查询和键的双层特征图,展示了其融合双粒度信息的能力。由此产生的架构Cluster-wise Graph Transformer(Cluster-GT),使用节点簇作为令牌并采用我们提出的N2C-Attn模块,在各种图级任务上表现出卓越性能。代码可在https://github.com/LUMIA-Group/Cluster-wise-Graph-Transformer获取。

英文摘要:

In the realm of graph learning, there is a category of methods that conceptualize graphs as hierarchical structures, utilizing node clustering to capture broader structural information. While generally effective, these methods often rely on a fixed graph coarsening routine, leading to overly homogeneous cluster representations and loss of node-level information. In this paper, we envision the graph as a network of interconnected node sets without compressing each cluster into a single embedding. To enable effective information transfer among these node sets, we propose the Node-to-Cluster Attention (N2C-Attn) mechanism. N2C-Attn incorporates techniques from Multiple Kernel Learning into the kernelized attention framework, effectively capturing information at both node and cluster levels. We then devise an efficient form for N2C-Attn using the cluster-wise message-passing framework, achieving linear time complexity. We further analyze how N2C-Attn combines bi-level feature maps of queries and keys, demonstrating its capability to merge dual-granularity information. The resulting architecture, Cluster-wise Graph Transformer (Cluster-GT), which uses node clusters as tokens and employs our proposed N2C-Attn module, shows superior performance on various graph-level tasks. Code is available at https://github.com/LUMIA-Group/Cluster-wise-Graph-Transformer.

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

↑