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

邻域变换器:用于单相性的图学习可切换注意力

Neighbourhood Transformer: Switchable Attention for Monophily-Aware Graph Learning

Laboratory of Intelligent Collaborative Computing, University of Electronic Science and Technology of China(电子科技大学智能协同计算实验室);School of Computer Science and Engineering, University of Electronic Science and Technology of China(电子科技大学计算机科学与工程学院);Ubiquitous Intelligence and Trusted Services Key Laboratory of Sichuan Province(四川省泛在智能与可信服务重点实验室)

Yi Luo, Xu Sun, Guangchun Luo, Aiguo Chen

AI总结:

本文提出邻域变换器,通过在每个局部邻域内应用自注意力机制,解决图学习中异相图的表达问题,实验表明其在节点分类任务中优于现有方法。

摘要:

图神经网络(GNNs)已被广泛应用于社交网络分析、化学研究和计算机视觉等领域。然而,其效果受到固有同相性假设的严重限制,这种假设在异相图中不成立,因为不同节点经常相连。为解决图学习中的这一根本限制,我们首先受到现实图中最近发现的单相性性质的启发,提出邻域变换器(NT),一种新的范式,通过在每个局部邻域内应用自注意力机制,而不是像传统消息传递GNNs那样将消息聚合到中心节点。这种设计使NT本质上具有单相性意识,并且理论上保证其表达能力不弱于传统消息传递框架。对于实际工程部署,我们进一步开发了一种邻域划分策略,配备可切换注意力,这将NT的空间消耗降低了超过95%,时间消耗降低了高达92.67%,显著扩展了其在更大图中的适用性。在10个真实世界数据集(5个异相图和5个同相图)上的广泛实验表明,NT在节点分类任务中优于所有当前最先进的方法,证明了其优越的性能和跨领域适应性。本工作的完整实现代码已公开在https://github.com/cf020031308/MoNT,以促进可重复性和工业应用。

英文摘要:

Graph neural networks (GNNs) have been widely adopted in engineering applications such as social network analysis, chemical research and computer vision. However, their efficacy is severely compromised by the inherent homophily assumption, which fails to hold for heterophilic graphs where dissimilar nodes are frequently connected. To address this fundamental limitation in graph learning, we first draw inspiration from the recently discovered monophily property of real-world graphs, and propose Neighbourhood Transformers (NT), a novel paradigm that applies self-attention within every local neighbourhood instead of aggregating messages to the central node as in conventional message-passing GNNs. This design makes NT inherently monophily-aware and theoretically guarantees its expressiveness is no weaker than traditional message-passing frameworks. For practical engineering deployment, we further develop a neighbourhood partitioning strategy equipped with switchable attentions, which reduces the space consumption of NT by over 95% and time consumption by up to 92.67%, significantly expanding its applicability to larger graphs. Extensive experiments on 10 real-world datasets (5 heterophilic and 5 homophilic graphs) show that NT outperforms all current state-of-the-art methods on node classification tasks, demonstrating its superior performance and cross-domain adaptability. The full implementation code of this work is publicly available at https://github.com/cf020031308/MoNT to facilitate reproducibility and industrial adoption.

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

↑