arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.14425cs.LGcs.AImath.GT
收藏

PatchGT:用于学习图表示的非可训练簇上的 Transformer

PatchGT: Transformer over Non-trainable Clusters for Learning Graph Representations

University of Notre Dame(圣母大学);Tufts University(塔夫茨大学);University of Pennsylvania(宾夕法尼亚大学)

Han Gao, Xu Han, Jiaoyang Huang, Jian-Xun Wang, Li-Ping Liu

AI总结:

提出 PatchGT,一种基于非可训练谱聚类图块的 Transformer 图神经网络,结合 GNN 与 Transformer 优势,实现更高表达能力并在基准数据集上取得竞争力且具可解释性。

摘要:

最近,Transformer 结构在图学习任务中表现出良好的性能。然而,这些 Transformer 模型直接作用于图节点,可能难以学习高层信息。受适用于图像块的 vision transformer 启发,我们提出了一种新的基于 Transformer 的图神经网络:Patch Graph Transformer (PatchGT)。与以往用于学习图表示的基于 transformer 的模型不同,PatchGT 从非可训练的图块中学习,而不是直接从节点学习。这有助于节省计算并提升模型性能。其核心思想是在没有任何可训练参数的情况下,基于谱聚类将图分割成块,模型可先利用 GNN 层学习块级表示,然后使用 Transformer 获取图级表示。该架构利用图的谱信息,并结合 GNN 和 Transformer 的优势。此外,我们从理论和经验上展示了以往分层可训练簇的局限性。我们还证明所提出的非可训练谱聚类方法具有置换不变性,可帮助解决图中的信息瓶颈。PatchGT 实现了比 1-WL 型 GNN 更高的表达能力,实证研究表明 PatchGT 在基准数据集上取得具竞争力的性能,并为其预测提供可解释性。我们的算法实现已在 Github 仓库发布:https://github.com/tufts-ml/PatchGT。

英文摘要:

Recently the Transformer structure has shown good performances in graph learning tasks. However, these Transformer models directly work on graph nodes and may have difficulties learning high-level information. Inspired by the vision transformer, which applies to image patches, we propose a new Transformer-based graph neural network: Patch Graph Transformer (PatchGT). Unlike previous transformer-based models for learning graph representations, PatchGT learns from non-trainable graph patches, not from nodes directly. It can help save computation and improve the model performance. The key idea is to segment a graph into patches based on spectral clustering without any trainable parameters, with which the model can first use GNN layers to learn patch-level representations and then use Transformer to obtain graph-level representations. The architecture leverages the spectral information of graphs and combines the strengths of GNNs and Transformers. Further, we show the limitations of previous hierarchical trainable clusters theoretically and empirically. We also prove the proposed non-trainable spectral clustering method is permutation invariant and can help address the information bottlenecks in the graph. PatchGT achieves higher expressiveness than 1-WL-type GNNs, and the empirical study shows that PatchGT achieves competitive performances on benchmark datasets and provides interpretability to its predictions. The implementation of our algorithm is released at our Github repo: https://github.com/tufts-ml/PatchGT.

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

↑