Layer-Neighbor Sampling -- Defusing Neighborhood Explosion in GNNs

Muhammed Fatih Balın, Ümit V. Çatalyürek
10/24/2022
cs.LG
gnn

Official code: dmlc/dgl (14,292 stars, Python, Apache-2.0, last commit 2025-07-31).

Abstract

Graph Neural Networks (GNNs) have received significant attention recently, but training them at a large scale remains a challenge. Mini-batch training coupled with sampling is used to alleviate this challenge.

Show full abstract

However, existing approaches either suffer from the neighborhood explosion phenomenon or have poor performance. To address these issues, we propose a new sampling algorithm called LAyer-neighBOR sampling (LABOR). It is designed to be a direct replacement for Neighbor Sampling (NS) with the same fanout hyperparameter while sampling up to 7 times fewer vertices, without sacrificing quality. By design, the variance of the estimator of each vertex matches NS from the point of view of a single vertex. Moreover, under the same vertex sampling budget constraints, LABOR converges faster than existing layer sampling approaches and can use up to 112 times larger batch sizes compared to NS.

View on arXivView PDF

Code Implementations(1)

dmlc/dglOfficial100%
Apache-2.0

Python package built to ease deep learning on graph, on top of existing DL frameworks.

14,2923,059Python, C++Apr 20, 20181 years agoApache-2.0
deep-learninggraph-neural-networks

Similar Papers

Cite this paper

@article{baln2022layerneighbor,
  title  = {Layer-Neighbor Sampling -- Defusing Neighborhood Explosion in GNNs},
  author = {Muhammed Fatih Balın and Ümit V. Çatalyürek},
  year   = {2022},
  eprint = {2210.13339},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.13339}
}

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

Discussion