TL;DR
BLISS (Bandit Layer Importance Sampling Strategy) frames layer-wise neighbor sampling in Graph Neural Networks as a multi-armed bandit problem to combat neighborhood explosion. By dynamically adjusting sampling probabilities with the EXP3 algorithm based on variance-reduction rewards, BLISS continuously balances exploration and exploitation as node representations evolve, outperforming static sampling baselines on both GraphSAGE and attentive architectures like GATv2.
What Problem Does This Paper Address?
Training Graph Neural Networks (GNNs) on massive graphs runs into the classic neighborhood explosion dilemma: aggregating information from all neighbors causes a node’s receptive field to grow exponentially with network depth.
While mini-batching mitigates memory issues, practitioners rely on sampling techniques to make training feasible:
- Node-wise sampling (e.g., GraphSAGE) samples neighbors independently per node, creating redundant calculations across overlapping neighborhoods.
- Layer-wise sampling (e.g., FastGCN, LADIES, PLADIES) jointly selects a fixed number of nodes per layer to bound computational cost, but existing methods rely on static or precomputed importance distributions. As node embeddings evolve during training, static layer-wise samplers risk persistently missing informative nodes or suffering high estimator variance.
Methods
BLISS bridges layer-wise sampling and adaptive learning by formulating neighbor selection as an adversarial multi-armed bandit problem:
- Layer-Wise Bandit Formulation: Each edge acts as an "arm." Edge weights ($w_{ij}$) determine per-node sampling distributions ($q_{ij}$), which are aggregated top-down across layers to produce global layer-wise sampling probabilities ($p_j$).
- Variance-Minimizing Rewards: The sampler’s theoretical goal is to approximate node representations with minimal variance. BLISS assigns rewards ($r_{ij}$) proportional to the neighbor's embedding magnitude and aggregation weight ($\frac{\alpha_{ij}^2}{k \cdot q_j^2} \|h_j\|_2^2$), rewarding neighbors that most effectively reduce estimation variance.
- EXP3 Weight Updates: Using the EXP3 bandit algorithm, BLISS balances exploitation (sampling high-reward nodes) and exploration (ensuring under-sampled nodes still have a chance of being picked via a mixing rate $\eta$).
- Attention Adaptation: For attentive architectures (GATv2), true normalization over the full neighborhood is unavailable during mini-batch sampling. BLISS introduces an adjusted feedback attention mechanism that rescales unnormalized attention scores using the bandit sampling probabilities. The authors also adapt their baseline, PLADIES, to GATs by incorporating skip connections to ensure every node retains at least one neighbor for valid attention computations.
Top-Down Layer Selection (EXP3 probabilities)
↳ Forward Message Passing (Monte Carlo estimation)
↳ Compute Variance-Reduction Rewards
↳ Update Bandit Arm Weights (Exploration vs. Exploitation)
Datasets
The authors evaluate BLISS on six standard node classification benchmarks spanning diverse scales and homophily properties:
- Small citation graphs: Cora, Citeseer, and Pubmed.
- Large-scale graphs: Flickr, Reddit (~233k nodes, 11.6M edges), and Yelp (~717k nodes, 14.0M edges, multi-label classification across 100 classes).
No new datasets were introduced; standard public benchmarks were used.
Key Insights and Ideas
- Dynamic beats static under evolving representations: Traditional layer-wise methods calculate sampling probabilities upfront using fixed topological metrics (e.g., node degrees). However, as latent features update each epoch, the "informativeness" of a neighbor shifts. Bandits adaptively track this moving target.
- Synergy with Graph Attention: BLISS demonstrates stronger relative gains on GATv2 than on GraphSAGE. Because attention mechanisms dynamically modulate edge weights based on feature similarity, they compound the benefits of BLISS’s reward-driven neighbor prioritization.
- Heterogeneous graphs benefit most: The largest accuracy improvements appear in complex or heterogeneous graphs (like Yelp) where neighborhood distributions vary widely, whereas dense, uniform graphs (Reddit, Flickr) show narrower margins.
Key Results
BLISS was evaluated against PLADIES (a state-of-the-art layer-wise sampler based on Poisson sampling) using 3-layer GraphSAGE and GATv2 models:
- Citeseer: BLISS achieved a test F1-score of 70.6% on GAT vs. 68.3% for PLADIES (and 58.0% vs. 60.1% on SAGE).
- Pubmed: Reached 73.1% on GAT vs. 71.8% for PLADIES; on SAGE, BLISS scored 59.7% vs. 55.7%.
- Yelp: On this highly complex multi-label dataset, BLISS improved SAGE test F1 to 52.9% compared to 50.2% for PLADIES.
- Large Graphs (Reddit/Flickr): Performance was on par with or marginally ahead of PLADIES (Reddit GAT: 94.9% vs. 95.0%; SAGE: 96.2% for both).
- Runtime Overhead: Per-iteration wall-clock time was only slightly higher than PLADIES (e.g., on Reddit GAT: 0.207s vs. 0.156s per step), despite relying on an unoptimized Python loop implementation.
Limitations and Future Work
- Memory Footprint: Tracking bandit weights across all edges for $L$ layers adds an $\mathcal{O}(L|E|)$ memory cost, which can strain memory on massive graphs.
- Implementation Efficiency: The current open-source implementation uses unvectorized loops for bandit updates, creating wall-clock overhead that could be eliminated with custom CUDA kernels.
- Overfitting on Yelp: Both BLISS and PLADIES experienced severe overfitting when paired with GAT on Yelp, suggesting that attentive architectures need tailored regularization on dense multi-label graphs.
- Future Directions: The authors propose extending the framework to Contextual Multi-Armed Bandits (CMAB), incorporating richer edge/node side information, and applying BLISS to GNN-augmented Large Language Models (LLMs) and graph-based vision architectures.
Summary updated