Graph Self-Supervised Learning with Learnable Structural and Positional Encodings
Asiri Wijesinghe, Hao Zhu, Piotr Koniusz
TL;DR
Graph Self-Supervised Learning (GSSL) often fails to capture global topology due to limitations in conventional GNN expressiveness and SSL's focus on final graph representations. The paper introduces GenHopNet, a $k$-hop message-passing GNN, and StructPosGSSL, a topology-aware SSL framework that jointly leverages structural and Laplacian-based positional encodings to learn topology-sensitive representations. The authors prove GenHopNet surpasses the $1$-WL test in expressiveness and demonstrate that StructPosGSSL effectively distinguishes non-isomorphic graphs with similar local patterns while remaining computationally scalable. Empirically, StructPosGSSL achieves state-of-the-art performance across small, large, and synthetic graph benchmarks, with extensive ablations highlighting the complementary roles of closed-walks, structural and positional encodings, and the NT-Xent/VICReg loss combination, underscoring its practical impact on topology-aware graph learning.
Abstract
Traditional Graph Self-Supervised Learning (GSSL) struggles to capture complex structural properties well. This limitation stems from two main factors: (1) the inadequacy of conventional Graph Neural Networks (GNNs) in representing sophisticated topological features, and (2) the focus of self-supervised learning solely on final graph representations. To address these issues, we introduce \emph{GenHopNet}, a GNN framework that integrates a $k$-hop message-passing scheme, enhancing its ability to capture local structural information without explicit substructure extraction. We theoretically demonstrate that \emph{GenHopNet} surpasses the expressiveness of the classical Weisfeiler-Lehman (WL) test for graph isomorphism. Furthermore, we propose a structural- and positional-aware GSSL framework that incorporates topological information throughout the learning process. This approach enables the learning of representations that are both sensitive to graph topology and invariant to specific structural and feature augmentations. Comprehensive experiments on graph classification datasets, including those designed to test structural sensitivity, show that our method consistently outperforms the existing approaches and maintains computational efficiency. Our work significantly advances GSSL's capability in distinguishing graphs with similar local structures but different global topologies.
