TL;DR
This paper introduces KGNN, a novel approach for semi-supervised graph classification that combines the strengths of Graph Neural Networks (GNNs) and graph kernels. By jointly training these two complementary modules using a posterior regularization framework, KGNN effectively leverages both labeled and unlabeled data to achieve state-of-the-art performance on various benchmark datasets.
What Problem Does This Paper Address?
Graph classification is a crucial task with applications in fields like social network analysis and bioinformatics. Traditional methods often rely heavily on labeled data, which is expensive and time-consuming to obtain. While Graph Neural Networks (GNNs) have shown promise in learning graph representations, they struggle to effectively utilize unlabeled data and fully capture graph similarity. Existing semi-supervised GNN approaches often fail to adequately explore graph similarity and are limited by the scarcity of labeled data. This paper aims to bridge this gap by developing a method that can effectively leverage both labeled and unlabeled data, explicitly consider graph similarity, and overcome the challenge of limited labeled examples.
Methods
The core of the proposed solution is the Kernel-based Graph Neural Network (KGNN), which integrates two distinct modules:
- GNN-based Network: This module, parameterized by existing GNN architectures (specifically GIN in their experiments), learns graph representations through message passing. It implicitly captures similarities between graphs by projecting them into a latent space.
- Kernel-based Network: This module employs a memory network that stores labeled graphs. It explicitly measures graph similarity using graph kernels, comparing query graphs against all graphs in the memory.
These two networks are trained jointly using a novel posterior regularization (PR) framework. This framework encourages the two networks to collaborate and maximize their agreement on unlabeled data. The training process follows an EM-style algorithm:
- E-step: The kernel-based network is updated by projecting the GNN-based network into a regularized subspace, effectively enhancing its ability to capture graph similarity.
- M-step: Knowledge from the kernel-based network is distilled into the GNN-based network, improving its graph representation learning and its ability to handle scarce labeled data. This joint optimization allows the unlabeled data to act as a bridge, enabling mutual enhancement between the two modules.
Datasets
The paper evaluates KGNN on seven benchmark datasets:
- Bioinformatics: PROTEINS, DD
- Social Networks: IMDB-B, IMDB-M, REDDIT-B, REDDIT-M-5k
- Scientific Collaboration: COLLAB
For experimental purposes, each dataset was split into training, validation, and testing sets. A portion of the training data was designated as labeled (TRAIN-L), and the remainder as unlabeled (TRAIN-U).
Key Insights and Ideas
- Complementary Strengths: The paper highlights that GNNs excel at implicit similarity learning through message passing, while graph kernels provide explicit, structured similarity measures. Combining these offers a more comprehensive understanding of graph relationships.
- Unlabeled Data as a Bridge: The core innovation lies in using unlabeled data not just for regularization but as a mechanism for the GNN and kernel modules to learn from each other, improving both their representations and their agreement.
- Posterior Regularization for Collaboration: The PR framework provides a principled way to enforce structured constraints (from graph kernels) on the GNN's learning process, guiding it towards better similarity-aware representations.
- Memory Network for Explicit Similarity: The kernel-based network's use of a memory network allows it to explicitly compare query graphs against a set of labeled examples, directly leveraging graph kernel computations.
Key Results
KGNN achieved state-of-the-art performance on six out of the seven benchmark datasets, demonstrating its effectiveness in semi-supervised graph classification. Specifically, KGNN outperformed competitive baselines, including traditional graph methods, traditional semi-supervised learning methods, and other graph-specific semi-supervised learning approaches like GraphCL and ASGN. The paper also showed that KGNN's performance improves with more labeled data, and its effectiveness is attributed to the synergistic combination of graph kernels and the posterior regularization framework.
Limitations and Future Work
- Limitations: The paper acknowledges that while KGNN-Sep (a variant without the intersection strategy for filtering noisy labels) outperforms other models, the original KGNN's intersection strategy is crucial for eliminating the influence of incorrect annotations from unlabeled data. The performance of the kernel-based network can be sensitive to the number of hops in the memory network, with too many hops potentially leading to overfitting.
- Future Work: The authors plan to extend KGNN to broader applications such as drug discovery and material science. Further research could explore more sophisticated graph kernel functions or memory network architectures to enhance performance and generalization.
Summary updated