Introduction
Graph Self-supervised Learning (SSL) has emerged as a powerful paradigm for learning robust node and graph representations without the need for manual labels. Graph Autoencoders (GAEs), a cornerstone of this field, typically operate by masking a portion of node features or edges and training the model to reconstruct the missing information. However, traditional GAEs often struggle with complex structural patterns, particularly in heterophilic graphs where connected nodes possess different labels. This paper identifies a fundamental "spectral gap" in existing GAE masking strategies and proposes GraphPAE (Graph Positional Autoencoder) to overcome this limitation.
The Spectral Gap in Graph SSL
Through rigorous spectral analysis, the authors demonstrate that standard feature and edge masking strategies act as low-pass filters. These methods primarily perturb the low-frequency components of the graph Laplacian, which correspond to homophilic structures (similar nodes connecting). Consequently, models trained with these strategies become "nearsighted," failing to capture the high-frequency signals essential for understanding heterophilic patterns and global graph geometry.
As shown in the spectral analysis above, edge masking is particularly limited, with its impact almost entirely confined to the lowest frequency bin. Feature masking shows a slightly broader impact but still decays rapidly. In contrast, the proposed eigenvector offsetting strategy maintains a high percentage change across the entire frequency spectrum, enabling the model to learn from a much richer set of structural signals.
Methodology: GraphPAE
GraphPAE introduces a dual-path architecture designed to capture both local features and global positions.
Dual-Path Corruption
Instead of simple masking, GraphPAE employs two distinct corruption processes:
- Feature Path: Standard masking of node features to encourage local attribute learning.
- Position Path: Random noise (offsets) are added to the top-$K$ eigenvectors of the graph Laplacian. This "Eigenvector Offsetting" directly targets the spectral components of the graph, forcing the model to reconstruct the underlying global structure.
Dual-Path Encoder and Reconstruction
The architecture utilizes a Position Encoding (PE)-enhanced Message Passing Neural Network (MPNN). The feature path uses positional encodings to distinguish non-isomorphic structures, while the position path refines these embeddings to approximate the true eigenvectors.
To handle the inherent sign and basis ambiguity of eigenvectors (where $u$ and $-u$ are equally valid), GraphPAE employs an Ambiguity-Aware Reconstruction objective. Rather than predicting eigenvectors directly, the model reconstructs relative node distances (Euclidean distances between node pairs), which are invariant to these ambiguities.
Stability through Decoupling
A key finding during development was that simultaneous corruption of features and positions led to training instability. GraphPAE addresses this by corrupting only one path at a time during a training step, allowing the uncorrupted modality to serve as a stable reference for the other.
Experimental Results
GraphPAE was evaluated across 14 diverse datasets, demonstrating state-of-the-art performance in multiple domains:
- Heterophilic Graphs: On the Squirrel dataset, GraphPAE achieved an accuracy of 72.05%, significantly outperforming previous leaders like GraphMAE2 (70.27%).
- Molecular Property Prediction: On OGB regression and classification tasks, the model consistently surpassed both generative and contrastive baselines.
- Transfer Learning: When pre-trained on ZINC15 and fine-tuned on QM9, GraphPAE showed superior generalization compared to domain-specific models like Mole-BERT.
Conclusion and Future Work
GraphPAE effectively addresses the low-frequency bias of traditional GAEs by incorporating positional reconstruction into the self-supervised objective. While the method shows dramatic improvements on heterophilic graphs, its benefits are more modest on highly homophilic graphs where low-frequency information is often sufficient.
Future research may focus on reducing the computational overhead associated with eigen-decomposition ($O(N^2K)$) to enhance scalability for massive, dense graphs. Exploring approximate spectral methods could provide a path toward applying these insights to web-scale social and biological networks.
Summary updated