Implicit Regularization of Mini-Batch Training in Graph Neural Networks

Clement Wang, Antoine Vialle, Robin Vaysse, Thomas Bonald
5/21/2026
cs.LGcs.AI
gnn

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026implicit,
  title  = {Implicit Regularization of Mini-Batch Training in Graph Neural Networks},
  author = {Clement Wang and Antoine Vialle and Robin Vaysse and Thomas Bonald},
  year   = {2026},
  eprint = {2605.22480},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.22480v1}
}

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

Discussion