[Paper Review] Layer-Neighbor Sampling -- Defusing Neighborhood Explosion in GNNs
This paper proposes LABOR, a novel graph sampling method for Graph Neural Networks (GNNs) that combines neighbor and layer sampling via Poisson sampling to reduce neighborhood explosion. By correlatively sampling overlapping neighborhoods across seeds, LABOR reduces vertex and edge counts by up to 7× and 13× respectively, enabling 112× larger batch sizes than Neighbor Sampling while maintaining or improving model convergence and performance.
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. 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.
Motivation & Objective
- Address the neighborhood explosion problem in GNNs during mini-batch training on large-scale graphs.
- Overcome the limitations of existing neighbor and layer sampling methods—specifically, the high variance of neighbor sampling and poor convergence of layer sampling.
- Design a sampling strategy that maintains the variance properties of neighbor sampling while drastically reducing the number of sampled vertices and edges.
- Enable significantly larger batch sizes under the same sampling budget, accelerating training convergence.
- Provide a flexible, efficient sampling framework that can be tuned based on hardware characteristics like feature access speed.
Proposed method
- Introduce Poisson sampling as a replacement for sampling without replacement in layer-based sampling, reducing variance and improving computational efficiency.
- Propose LABOR (LAyer-neighBOR sampling), a vertex-variance-centric framework that correlates sampling across seed nodes to maximize neighborhood overlap.
- Formulate the sampling problem as an optimization task: minimize the number of sampled vertices while matching the variance of neighbor sampling for each vertex.
- Use fixed-point iterations to solve the optimization problem, iteratively refining the sampling distribution until convergence.
- Introduce LABOR-*, LABOR-1, and LABOR-0 variants, where * applies fixed-point iterations until convergence, and lower numbers prioritize faster feature access.
- Integrate Poisson sampling into the LADIES layer-sampling framework to create PLADIES, a superior baseline method.
Experimental results
Research questions
- RQ1Can a sampling method be designed that maintains the low-variance estimator of neighbor sampling while avoiding neighborhood explosion?
- RQ2How can layer-based sampling be improved to reduce the number of sampled vertices and edges without sacrificing model quality?
- RQ3To what extent can batch size be increased under a fixed sampling budget using a more efficient sampling strategy?
- RQ4What is the impact of fixed-point iterations on convergence and sampling efficiency in the context of GNN training?
- RQ5How does the choice of sampling variant (e.g., LABOR-0 vs. LABOR-*) affect performance under different hardware I/O characteristics?
Key findings
- LABOR reduces the number of sampled vertices by up to 7× and edges by up to 13× compared to Neighbor Sampling, significantly mitigating neighborhood explosion.
- Under the same vertex sampling budget, LABOR enables batch sizes up to 112× larger than Neighbor Sampling on the Reddit dataset, accelerating convergence.
- LABOR converges faster than both Neighbor Sampling and LADIES, with smoother and more stable training and validation loss curves.
- Fixed-point iterations reduce the number of sampled vertices in the final layer by 14%–33%, with most of the improvement occurring in the first iteration.
- LABOR-0 achieves the best runtime performance due to fewer sampled edges and no fixed-point iteration overhead, making it optimal for slow storage systems.
- PLADIES, the Poisson-sampled variant of LADIES, outperforms the original LADIES by up to 2% in F1-score, demonstrating the benefit of Poisson sampling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.