Graph Multihead Attention Pooling with Self-Supervised Learning

Entropy (Basel). 2022 Nov 29;24(12):1745. doi: 10.3390/e24121745.

Abstract

Graph neural networks (GNNs), which work with graph-structured data, have attracted considerable attention and achieved promising performance on graph-related tasks. While the majority of existing GNN methods focus on the convolutional operation for encoding the node representations, the graph pooling operation, which maps the set of nodes into a coarsened graph, is crucial for graph-level tasks. We argue that a well-defined graph pooling operation should avoid the information loss of the local node features and global graph structure. In this paper, we propose a hierarchical graph pooling method based on the multihead attention mechanism, namely GMAPS, which compresses both node features and graph structure into the coarsened graph. Specifically, a multihead attention mechanism is adopted to arrange nodes into a coarsened graph based on their features and structural dependencies between nodes. In addition, to enhance the expressiveness of the cluster representations, a self-supervised mechanism is introduced to maximize the mutual information between the cluster representations and the global representation of the hierarchical graph. Our experimental results show that the proposed GMAPS obtains significant and consistent performance improvements compared with state-of-the-art baselines on six benchmarks from the biological and social domains of graph classification and reconstruction tasks.

Keywords: graph multihead attention; graph neural networks; network analysis; self-supervised learning.

Grants and funding

This study was funded by the National Natural Science Foundation of China under grant no. 61701190; the Science Foundation of Jilin Province of China under grant no. 2020122209JC, Youth Sci-Tech Innovation Leader and Team Project of Jilin Province of China under grant no. 20170519017JH; Key Technology Innovation Cooperation Project of Government and University for the whole Industry Demonstration under grant no. SXGJSF2017-4; Key scientific and technological R&D Plan of Jilin Province of China under grant no. 20180201103GX; and the Project of Jilin Province Development and Reform Commission no. 2019FGWTZC001.