Structure-Aware Prototypical Neural Process for Few-Shot Graph Classification
- 20 May 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Neural Networks and Learning Systems
- Vol. 35 (4) , 4607-4621
Abstract
Graph classification plays an important role in a wide range of applications from biological prediction to social analysis. Traditional graph classification models built on graph kernels are hampered by the challenge of poor generalization as they are heavily dependent on the dedicated design of handcrafted features. Recently, graph neural networks (GNNs) become a new class of tools for analyzing graph data and have achieved promising performance. However, it is necessary to collect a large number of labeled graph data for training an accurate GNN, which is often unaffordable in real-world applications. Therefore, it is an open question to build GNNs under the condition of few-shot learning where only a few labeled graphs are available. In this article, we introduce a new Structure-aware Prototypical Neural Process (SPNP for short) for a few-shot graph classification. Specifically, at the encoding stage, SPNP first employs GNNs to capture graph structure information. Then, SPNP incorporates such structural priors into the latent path and the deterministic path for representing stochastic processes. At the decoding stage, SPNP uses a new prototypical decoder to define a metric space where unseen graphs can be predicted effectively. The proposed decoder, which contains a self-attention mechanism to learn the intraclass dependence between graphs, can enhance the class-level representations, especially for new classes. Furthermore, benefited from such a flexible encoding-decoding architecture, SPNP can directly map the context samples to a predictive distribution without any complicated operations used in previous methods. Extensive experiments demonstrate that SPNP achieves consistent and significant improvements over state-of-the-art methods. Further discussions are provided toward model efficiency and more detailed analysis.Keywords
Funding Information
- National Key Research and Development Program of China (2021YFB3100600)
- NSFC (11688101, 61872360, U20B2046)
- CAS Project for Young Scientists in Basic Research (YSBR-008)
- Guangdong Higher Education Innovation Group (2020KCXTD007)
- Guangzhou Higher Education Innovation Group (202032854)
- Alibaba Group through Alibaba Innovative Research Program
This publication has 28 references indexed in Scilit:
- A survey on graph kernelsApplied Network Science, 2020
- Optimized Graph Convolution Recurrent Neural Network for Traffic PredictionIEEE Transactions on Intelligent Transportation Systems, 2020
- Meta-GNN2019
- Variational Few-Shot Learning2019
- MeLU2019
- Variational Prototyping-Encoder: One-Shot Learning With Prototypical Images2019
- Graph Convolutional Neural Networks for Web-Scale Recommender Systems2018
- LINE2015
- DeepWalk2014
- The Graph Neural Network ModelIEEE Transactions on Neural Networks, 2008