Skip to main content
QUICK REVIEW

[Paper Review] Pre-training Graph Neural Networks with Kernels

Nicolò Navarin, Tran Van Dinh|arXiv (Cornell University)|Nov 16, 2018
Advanced Graph Neural NetworksComputer Science25 references18 citations
TL;DR

This paper proposes a task-agnostic pre-training method for Graph Neural Networks (GNNs) that uses a siamese network to learn representations aligned with state-of-the-art graph kernels, such as the Weisfeiler-Lehman (WL) kernel. The approach improves GNN performance through kernel-induced representation learning, achieving consistent gains across multiple graph benchmark datasets, including a 3.27% accuracy increase on MUTAG and a 2.69% gain on PTC over standard DGCNN training.

ABSTRACT

Many machine learning techniques have been proposed in the last few years to process data represented in graph-structured form. Graphs can be used to model several scenarios, from molecules and materials to RNA secondary structures. Several kernel functions have been defined on graphs that coupled with kernelized learning algorithms, have shown state-of-the-art performances on many tasks. Recently, several definitions of Neural Networks for Graph (GNNs) have been proposed, but their accuracy is not yet satisfying. In this paper, we propose a task-independent pre-training methodology that allows a GNN to learn the representation induced by state-of-the-art graph kernels. Then, the supervised learning phase will fine-tune this representation for the task at hand. The proposed technique is agnostic on the adopted GNN architecture and kernel function, and shows consistent improvements in the predictive performance of GNNs in our preliminary experimental results.

Motivation & Objective

  • To address the limited performance of GNNs in graph classification despite advances in graph kernel methods.
  • To develop a pre-training technique that leverages the inductive bias of established graph kernels to improve GNN generalization.
  • To enable GNNs to benefit from unlabeled graph data by learning kernel-induced representations before fine-tuning on labeled data.
  • To create a kernel-agnostic, architecture-agnostic pre-training framework applicable to any GNN and graph kernel.

Proposed method

  • Train a siamese GNN architecture to predict kernel similarity between graph pairs using a fixed graph kernel (e.g., WL, PK, RW) as target.
  • Use mean squared error loss during pre-training to minimize the difference between predicted and true kernel values.
  • Initialize the GNN with the learned siamese network weights before fine-tuning on downstream classification tasks.
  • Employ a two-stage training pipeline: unsupervised pre-training on unlabeled graphs followed by supervised fine-tuning on labeled data.
  • Use DGCNN as the base GNN architecture with ReLU activations for 1D convolutions and dense layers, and tanh for graph convolutions.
  • Apply Adam optimizer with mean squared error for pre-training and negative log-likelihood for fine-tuning.

Experimental results

Research questions

  • RQ1Can pre-training a GNN using a siamese network to approximate a graph kernel improve downstream classification performance?
  • RQ2Does kernel-induced representation learning generalize across different GNN architectures and graph datasets?
  • RQ3How does pre-training with a suboptimal kernel (e.g., WL with h=2) affect GNN performance compared to random initialization?
  • RQ4Can pre-training close the performance gap between graph kernels and GNNs on large-scale datasets like NCI1?

Key findings

  • Pre-trained DGCNN achieved 88.10% ± 1.05 accuracy on MUTAG, outperforming standard DGCNN (85.83% ± 1.66) by 2.27 percentage points.
  • On PTC, the pre-trained model reached 61.03% ± 2.86, a 2.44% improvement over DGCNN's 58.59%.
  • On NCI1, the pre-trained DGCNN achieved 77.13% ± 0.45, improving upon DGCNN's 74.44% but still lagging behind the WL kernel's 84.46%.
  • Even when the kernel used for pre-training (WL with h=2) is not the best-performing kernel (e.g., PK on PTC), the method still improves over random initialization.
  • The pre-training phase was effective even with limited epochs (2 for NCI1), suggesting robustness to training duration constraints.
  • Results indicate that pre-training with a single kernel is beneficial, but using multiple kernels may further close the gap to kernel-only performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.