Graph neural networks have been widely used on modeling graph data, achieving impressive results on node classification and link prediction tasks. Yet, obtaining an accurate representation for a graph further requires a pooling function that maps a set of node representations into a compact form. A simple sum or average over all node representations considers all node features equally without consideration of their task relevance, and any structural dependencies among them. Recently proposed hierarchical graph pooling methods, on the other hand, may yield the same representation for two different graphs that are distinguished by the Weisfeiler-Lehman test, as they suboptimally preserve information from the node features. To tackle these limitations of existing graph pooling methods, we first formulate the graph pooling problem as a multiset encoding problem with auxiliary information about the graph structure, and propose a Graph Multiset Transformer (GMT) which is a multi-head attention based global pooling layer that captures the interaction between nodes according to their structural dependencies. We show that GMT satisfies both injectiveness and permutation invariance, such that it is at most as powerful as the Weisfeiler-Lehman graph isomorphism test. Moreover, our methods can be easily extended to the previous node clustering approaches for hierarchical graph pooling. Our experimental results show that GMT significantly outperforms state-of-the-art graph pooling methods on graph classification benchmarks with high memory and time efficiency, and obtains even larger performance gain on graph reconstruction and generation tasks.
翻译:在模拟图表数据中广泛使用了图表神经网络,在节点分类和将预测任务连接起来方面取得了令人印象深刻的结果。然而,要获得精确的图表进一步代表,则需要一个集合功能,将一组节点表示方式映射成一个紧凑的形式。所有节点表示方式的简单和平均数都同等地考虑所有节点特征,而没有考虑到其任务的相关性和它们之间的任何结构依赖性。另一方面,最近提出的分级图表集合方法可能为两个不同的图表产生相同的表示方式,这两个图表被Weisfeiler-Lehman测试区分,因为它们在节点特性下保存信息。要解决现有图表集合方法的这些局限性,我们首先将图形集合问题设计成一个多套编码问题,同时提供图形结构的辅助信息,并提议一个基于全球集合层的图形多端点关注点,根据它们的结构依赖性能捕捉到节点之间的相互作用。我们显示,GMT既满足了预测性与变异性,因为它们在节点中保存着从节点中保存的信息。为了应对现有图表集合方法的这些局限性,Wisfefer-Lehlemand Growd Stalgolegold resmolgolgilling roduction 测试我们前的硬化方法。