Translating Subgraphs to Nodes Makes Simple GNNs Strong and Efficient for Subgraph Representation Learning

Dongkwan Kim, Alice Oh
4/9/2022
cs.LGcs.AIcs.SI
gnn

Official code: dongkwan-kim/S2N (6 stars, Python, last commit 2025-05-07).

Abstract

Subgraph representation learning has emerged as an important problem, but it is by default approached with specialized graph neural networks on a large global graph. These models demand extensive memory and computational resources but challenge modeling hierarchical structures of subgraphs.

Show full abstract

In this paper, we propose Subgraph-To-Node (S2N) translation, a novel formulation for learning representations of subgraphs. Specifically, given a set of subgraphs in the global graph, we construct a new graph by coarsely transforming subgraphs into nodes. Demonstrating both theoretical and empirical evidence, S2N not only significantly reduces memory and computational costs compared to state-of-the-art models but also outperforms them by capturing both local and global structures of the subgraph. By leveraging graph coarsening methods, our method outperforms baselines even in a data-scarce setting with insufficient subgraphs. Our experiments on eight benchmarks demonstrate that fined-tuned models with S2N translation can process 183 -- 711 times more subgraph samples than state-of-the-art models at a better or similar performance level.

View on arXivView PDF

Code Implementations(1)

dongkwan-kim/S2NOfficial100%

[ICML 2024] Translating Subgraphs to Nodes Makes Simple GNNs Strong and Efficient for Subgraph Representation Learning

61Python, ShellNov 30, 20211 years ago

Similar Papers

Cite this paper

@article{kim2022translating,
  title  = {Translating Subgraphs to Nodes Makes Simple GNNs Strong and Efficient for Subgraph Representation Learning},
  author = {Dongkwan Kim and Alice Oh},
  year   = {2022},
  eprint = {2204.04510},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.04510}
}

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

Discussion