potentialpaper

When Microbatching Changes the Training Rule: Statistic Scope and Gradient Bias

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Recomputing shared statistics inside microbatches can change the training rule; we characterize the effect, demonstrate it on Qwen3-4B, and show how to preserve global-statistic gradients efficiently.

Abstract. Gradient accumulation is widely used to fit a large training batch into memory and is normally assumed to preserve the update. This equivalence silently relies on splitting the batch without changing the quantities used by the loss. Many modern training rules violate this condition: reward and advantage normalization, contrastive losses, and metric-based objectives compute statistics shared across examples. If those statistics are recomputed inside each microbatch, the compute partition also changes the training rule—even when the global examples, effective batch size, and optimizer step are unchanged. We isolate this effect by varying only the set of examples used to compute the shared statistic, which we call its statistic scope. Two intuitive mechanisms explain the resulting mean-gradient shift: self-inclusion, where an example helps determine the statistic used to evaluate itself, and nonlinear plug-in bias from applying nonlinear functions to estimated statistics. We show that the shift grows predictably as statistic scope narrows and corresponds, to leading order, to optimizing a different effective objective. Across controlled non-decomposable objectives and frozen Qwen3-4B rollouts, the measured effect follows the predicted scaling. On Qwen3-4B, four separately normalized microbatches of 32 produce a 14.74% mean-gradient gap relative to one statistic over all 128 examples, and 20 paired SGD steps produce a path separation equal to 20.4% of the global-statistic displacement. Finally, global statistics can be computed over the full batch while backpropagation remains chunked, preserving the exact global-statistic gradient with chunk-sized activation memory.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
19 Sep 2026ICLR 2027 (under review)submittedICLR 2027Desk rejectedreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Desk rejected · OpenReview

Updated 24 Nov 2026, 17:24 UTC.

The venue hasn't published any reviews yet.

Missing a submission?

Loading the discussion…