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

Polynormer:线性时间的多项式表达能力图 Transformer

Polynormer: Polynomial-Expressive Graph Transformer in Linear Time

Cornell University(康奈尔大学)

Chenhui Deng, Zichao Yue, Zhiru Zhang

AI总结:

针对图 Transformer 表达能力与线性可扩展性难以兼顾的问题,提出 Polynormer,通过局部到全局等变注意力学习高次多项式,并在13个数据集上验证其性能优势。

摘要:

图 Transformer(GT)已成为一种很有前景的架构,其在理论上比消息传递图神经网络(GNN)具有更强的表达能力。然而,典型的 GT 模型至少具有二次复杂度,因此无法扩展到大规模图。尽管最近已经提出了若干线性 GT,但它们在多个常用图数据集上的表现仍落后于相应的 GNN,这引发了对其实际表达能力的严重担忧。为了平衡 GT 在表达能力与可扩展性之间的权衡,我们提出了 Polynormer,这是一个具有线性复杂度的多项式表达能力 GT 模型。Polynormer 建立在一个新颖的基础模型之上,该模型学习输入特征上的高次多项式。为了使基础模型具备置换等变性,我们将其分别与图拓扑和节点特征相结合,从而得到局部和全局等变注意力模型。因此,Polynormer 采用线性的局部到全局注意力机制来学习高次等变多项式,这些多项式的系数由注意力分数控制。Polynormer 已在 13 个同配和异配数据集上接受评估,其中包括具有数百万节点的大规模图。我们大量的实验结果表明,即使不使用非线性激活函数,Polynormer 在大多数数据集上也优于最先进的 GNN 和 GT 基线。

英文摘要:

Graph transformers (GTs) have emerged as a promising architecture that is theoretically more expressive than message-passing graph neural networks (GNNs). However, typical GT models have at least quadratic complexity and thus cannot scale to large graphs. While there are several linear GTs recently proposed, they still lag behind GNN counterparts on several popular graph datasets, which poses a critical concern on their practical expressivity. To balance the trade-off between expressivity and scalability of GTs, we propose Polynormer, a polynomial-expressive GT model with linear complexity. Polynormer is built upon a novel base model that learns a high-degree polynomial on input features. To enable the base model permutation equivariant, we integrate it with graph topology and node features separately, resulting in local and global equivariant attention models. Consequently, Polynormer adopts a linear local-to-global attention scheme to learn high-degree equivariant polynomials whose coefficients are controlled by attention scores. Polynormer has been evaluated on $13$ homophilic and heterophilic datasets, including large graphs with millions of nodes. Our extensive experiment results show that Polynormer outperforms state-of-the-art GNN and GT baselines on most datasets, even without the use of nonlinear activation functions.

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

↑