SUREL+: Moving from Walks to Sets for Scalable Subgraph-based Graph Representation Learning

Haoteng Yin, Muhan Zhang, Jianguo Wang, Pan Li
3/6/2023
13 citations
cs.LGcs.DBcs.DC

Official code: Graph-COM/SUREL_Plus (17 stars, C, BSD-2-Clause, last commit 2025-04-10).

Abstract

Subgraph-based graph representation learning (SGRL) has recently emerged as a powerful tool in many prediction tasks on graphs due to its advantages in model expressiveness and generalization ability. Most previous SGRL models face computational challenges associated with the high cost of subgraph extraction for each training or test query.

Show full abstract

Recently, SUREL was proposed to accelerate SGRL, which samples random walks offline and joins these walks online as a proxy of subgraph for representation learning. Thanks to the reusability of sampled walks across different queries, SUREL achieves state-of-the-art performance in terms of scalability and prediction accuracy. However, SUREL still suffers from high computational overhead caused by node duplication in sampled walks. In this work, we propose a novel framework SUREL+ that upgrades SUREL by using node sets instead of walks to represent subgraphs. This set-based representation eliminates repeated nodes by definition but can also be irregular in size. To address this issue, we design a customized sparse data structure to efficiently store and access node sets and provide a specialized operator to join them in parallel batches. SUREL+ is modularized to support multiple types of set samplers, structural features, and neural encoders to complement the structural information loss after the reduction from walks to sets. Extensive experiments have been performed to validate SUREL+ in the prediction tasks of links, relation types, and higher-order patterns. SUREL+ achieves 3-11$\times$ speedups of SUREL while maintaining comparable or even better prediction performance; compared to other SGRL baselines, SUREL+ achieves $\sim$20$\times$ speedups and significantly improves the prediction accuracy.

View on arXivView PDF

Code Implementations(1)

BSD-2-Clause

[VLDB'23] SUREL+ is a novel set-based computation framework for scalable subgraph-based graph representation learning.

171C, PythonJan 1, 20231 years agoBSD-2-Clause
graph-representation-learningopen-graph-benchmarkscalable-graph-learning

Similar Papers

Cite this paper

@article{yin2023surel,
  title  = {SUREL+: Moving from Walks to Sets for Scalable Subgraph-based Graph Representation Learning},
  author = {Haoteng Yin and Muhan Zhang and Jianguo Wang and Pan Li},
  year   = {2023},
  eprint = {2303.03379},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.03379v3}
}

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/2303.03379.svg)](https://codeofpaper.com/paper/2303.03379)

Discussion