Introduction
Training Graph Neural Networks (GNNs) on billion-scale graphs is notoriously difficult due to the Neighborhood Explosion Phenomenon (NEP). Because GNNs update a node's representation by recursively aggregating information from its neighbors, a multi-layer GNN can end up requiring almost the entire graph to compute a single update for a small batch of nodes. Existing solutions typically fall into two categories: node-based sampling (like Neighbor Sampling), which leads to massive redundant subgraphs, or layer-based sampling (like LADIES), which often results in "shallow" subgraphs with poor connectivity.
Methodology
The authors introduce two primary techniques to address these inefficiencies: Poisson Layer Sampling (PLADIES) and LABOR Sampling.
Poisson Layer Sampling (PLADIES)
PLADIES improves upon the existing LADIES method by utilizing Poisson sampling—independently "flipping a coin" for each node based on a calculated probability—rather than sampling with replacement. This shift reduces estimator variance and improves computational efficiency, allowing gradients to stabilize more naturally as sample sizes increase.
LABOR Sampling
LABOR (LAyer-neighBOR) is designed as a drop-in replacement for standard Neighbor Sampling (NS). While it uses the same "fanout" hyperparameter (e.g., sampling 10 neighbors per node), it changes how those neighbors are chosen. By correlating the random variables used for sampling, LABOR ensures that if two nodes share a neighbor, they are highly likely to pick that same neighbor. This maximizes overlap and drastically reduces the total number of unique vertices that must be loaded into memory.
Experimental Results
The researchers evaluated their methods on four standard large-scale GNN benchmarks: Reddit, ogbn-products, Yelp, and Flickr.
As illustrated in Figure 1, LABOR variants achieve competitive validation F1-scores and training loss convergence while requiring significantly fewer sampled vertices and edges over time.
Efficiency and Performance
Quantitative analysis (Table 1) reveals that LABOR provides massive reductions in sampling overhead without sacrificing model quality.
- Massive Reductions: On the Reddit dataset, LABOR sampled 6.9x fewer vertices in the third layer compared to Neighbor Sampling.
- Batch Size Scaling: Due to its memory efficiency, LABOR can support batch sizes up to 112x larger than NS on the same hardware.
- Faster Convergence: LABOR reached target accuracy faster in wall-clock time than both NS and LADIES. For example, on the Products dataset, it reached 91.5% accuracy in ~38 seconds, while NS took ~44 seconds.
- Edge Efficiency: LABOR-0 (the fastest variant) sampled up to 13x fewer edges than LADIES while maintaining superior performance.
Discussion and Limitations
The gains provided by LABOR are dependent on the underlying graph structure. In dense graphs with high neighbor overlap (like Reddit), the reductions are dramatic, whereas in sparse graphs (like Flickr), the reduction in sampled vertices is more modest (1.3x). Additionally, while LABOR is mathematically engineered to match the estimator variance of standard Neighbor Sampling for any single vertex, finding the optimal balance between sampling efficiency and the computational overhead of its fixed-point iterations remains a task for the user.
Summary updated