Graph Self-Supervised Learning with Learnable Structural and Positional Encodings

Asiri Wijesinghe, Hao Zhu, Piotr Koniusz
2/22/2025
cs.LGcs.AI

No official code found. Best implementation: wokas36/StructPosGSSL (1 star, MIT, last commit 2025-06-12).

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.

View on arXivView PDF

Code Implementations(1)

MIT

StructPosGSSL

11Python, MakefileOct 13, 20241 years agoMIT

Similar Papers

Cite this paper

@article{wijesinghe2025graph,
  title  = {Graph Self-Supervised Learning with Learnable Structural and Positional Encodings},
  author = {Asiri Wijesinghe and Hao Zhu and Piotr Koniusz},
  year   = {2025},
  eprint = {2502.16233},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.16233v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.16233.svg)](https://codeofpaper.com/paper/2502.16233)

Discussion