Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Implicit Regularization of Mini-Batch Training in Graph Neural Networks

About

Mini-batch training of Graph Neural Networks (GNNs) is fundamentally different from training on i.i.d. data: sampling a subgraph alters the topology and introduces boundary effects, leading prior work to develop structure-aware samplers that preserve local connectivity and reduce embedding variance. Surprisingly, we demonstrate that the simplest possible scheme, Random Node Sampling (RNS), training on the induced subgraph of uniformly sampled nodes, matches or outperforms full-graph training on 8 of 10 datasets at a fraction of the wall-clock time and memory. To explain this, we apply backward error analysis to graph mini-batch Stochastic Gradient Descent (SGD) and show that it implicitly minimizes the sampled loss plus a regularizer proportional to the mini-batch gradient variance, a quantity directly shaped by the sampler. Although RNS discards local structure, it produces mini-batches whose expected loss is closer to the full-graph loss, and whose per-batch gradients have lower variance, yielding a better implicit objective. Our analysis reframes the choice of graph sampler as a form of implicit regularization, and identifies RNS as a strong, theoretically grounded method for scalable GNN training.

Clement Wang, Antoine Vialle, Robin Vaysse, Thomas Bonald• 2026

Related benchmarks

TaskDatasetResultRank
Node ClassificationPokec
Accuracy83.98
95
Node ClassificationOGBN-Products
Accuracy83.11
88
Binary Classificationcity-reviews (RL)
Average Precision78.05
21
Binary Classificationtolokers 2 (RL (Random Low))
AP54.41
21
Binary ClassificationARTNET-EXP RL
AP42.78
2
Binary ClassificationTOLOKERS RH 2
Average Precision (AP)61.34
2
Binary ClassificationCITY-REVIEWS RH
Average Precision80.84
2
Binary ClassificationARTNET-EXP RH
Average Precision (AP)49.28
2
Multiclass ClassificationPOKEC-REGIONS RL
Accuracy41.25
2
Multiclass ClassificationWEB-TOPICS RL
Accuracy47.76
2
Showing 10 of 16 rows

Other info

Follow for update