TL;DR
This paper introduces LELM, a novel self-supervised pre-training method for Graph Neural Networks (GNNs) that leverages the low-frequency eigenvectors of the graph Laplacian. LELM helps GNNs better capture global graph structure and overcome oversmoothing, leading to improved performance on downstream tasks like molecular property prediction.
What Problem Does This Paper Address?
Graph Neural Networks (GNNs) are powerful for learning from graph-structured data, but pre-training them effectively, especially for capturing global structural information, remains a challenge. Traditional GNNs often suffer from "oversmoothing" as they get deeper, making it hard to learn long-range dependencies. While feature-based self-supervised learning is common, structure-based pre-training methods, which use graph topology to generate labels, are less explored. This paper aims to bridge this gap by proposing a structure-based pre-training method that explicitly learns from the inherent structural properties of graphs, specifically the low-frequency Laplacian eigenvectors, which encode global and regional information.
Methods
The core of the proposed method is the Laplacian Eigenvector Learning Module (LELM). It consists of three main components:
- Node Feature Augmentation: To provide richer structural context, the authors augment the input node features. This includes:
- Wavelet Positional Embeddings: Encoding relative positional information between nodes.
- Diffused Dirac Embeddings: Capturing local connectivity structures around each node using the graph diffusion operator.
- Graph-level MLP: A standard GNN is used as a "base GNN" to generate node representations. Crucially, these node representations are then aggregated into a graph-level representation and fed into a graph-level MLP head. This graph-level MLP is key to overcoming oversmoothing, as it allows the model to learn long-range interactions without needing excessively deep message-passing layers in the base GNN.
- Eigenvector Prediction: The pre-training task is to predict the k lowest-frequency eigenvectors of the graph Laplacian. This is achieved by minimizing a weighted sum of two loss functions:
- Energy Loss: Based on Rayleigh quotients, this loss encourages the predicted eigenvectors to span the same subspace as the ground-truth eigenvectors.
- Eigenvector Loss: This loss enforces a strict ordering and basis on the predicted eigenvectors, ensuring they more closely match the ground-truth ones. The authors also employ forced orthogonality via QR decomposition on the predicted eigenvectors to prevent the model from outputting multiple copies of the same trivial eigenvector.
Datasets
The authors evaluate their method on three molecular datasets:
- ZINC: A dataset of small molecules.
- ZINC-12k: A larger version of the ZINC dataset.
- QM9: A dataset containing quantum chemistry properties for small organic molecules.
Key Insights and Ideas
- Low-frequency Laplacian eigenvectors are rich structural targets: These eigenvectors naturally capture global, regional, and local graph structure, making them ideal for pre-training GNNs to understand graph topology.
- Graph-level MLP is crucial for overcoming oversmoothing: By processing an aggregated graph representation, this MLP allows GNNs to learn long-range dependencies without requiring deeper, more prone-to-oversmoothing architectures.
- Structure-based pre-training can outperform feature-based methods: The paper shows that LELM, a structure-based method, yields better results than alternative structure-based targets and even augments existing pre-training pipelines.
- LELM is flexible: It can be used as a standalone pre-training method or integrated into existing GNN pre-training pipelines.
Key Results
- Models pre-trained with LELM consistently outperform baseline GNN models (GIN and GPS) on downstream molecular property prediction tasks on the ZINC and QM9 datasets. For example, on the ZINC full dataset, GIN + LELM achieved a Test MAE of 0.130, compared to 0.228 for baseline GIN.
- LELM also outperforms other alternative structure-based pre-training targets like node degree, local clustering coefficient, and cycle counting on the ZINC dataset.
- Ablation studies show that using the graph-level MLP head is more effective than a standard node-wise MLP for pre-training with LELM.
- When augmenting an existing pre-training method (ContextPred) on molecular datasets, LELM consistently improves performance for the masking pre-training pipeline across all five downstream datasets.
Limitations and Future Work
- Transfer Learning: The authors acknowledge that they have primarily demonstrated LELM's effectiveness for pre-training and fine-tuning on the same or domain-related datasets. They suggest exploring LELM's viability as a transfer learning framework by pre-training on synthetic graphs or cross-domain datasets.
- Error Bars: The paper notes that error bars are not reported due to computational expense, which is a limitation for assessing statistical significance.
- Absolute Energy Loss: While not used in their main experiments, the authors suggest that absolute energy loss (which matches predicted eigenvectors to ground-truth eigenvalues) remains an interesting avenue to explore, as it might offer stronger guarantees than the standard energy loss.
Summary updated