Training is faster on many accelerators when each update uses a large batch of examples. The cost is that large batches remove the randomness in each update ("gradient noise"), and that randomness helps the trained network generalize. Batch normalization adds a second, separate source of randomness: each example is normalized using statistics computed from the examples it happens to share a batch with. Ghost batch normalization lets practitioners control that second source independently, by computing the statistics over small sub-batches ("ghost batches") even when the update uses a huge batch. Until now this knob has been set once and left fixed.
This note proposes to turn the knob during training. As the update batch grows and gradient noise disappears, ghost batches would shrink so that normalization noise rises to replace it. The schedule would be driven by an online estimate of how much gradient noise is left. The scientific question underneath is whether the two noises are interchangeable for generalization. If they are, large-batch training could keep the step savings of batch growth without losing the late-training regularization that small batches supply. If they are not, the experiments will show it directly and cheaply.
Core Claim
Two adaptive batch-size results already exist. Don't Decay the Learning Rate, Increase the Batch Size grows the update batch in place of learning-rate decay, using the noise scale $g \approx \epsilon N/B$, where $\epsilon$ is the learning rate, $N$ the dataset size and $B$ the batch size. It uses ghost batch normalization with a fixed sub-batch size so that normalization does not degrade as $B$ grows, and it reports that batch growth stops working near $B \approx N/10$. On the Generalization Benefit of Noise in Stochastic Gradient Descent models SGD as a noisy continuous process with temperature $\epsilon/B$. It finds an optimal temperature for test accuracy and shows that the learning rate that generalizes best stays high late in training even when the one that minimizes training loss decays. That paper also uses fixed-size ghost batches, purely as an experimental control.
Together, these results describe a tension. Batch growth deliberately removes noise late in training, while generalization seems to want noise late in training. A New Look at Ghost Normalization adds a clue: ghost normalization acts as a regularizer specifically late in training, making the loss landscape less smooth.
Our claim is that normalization noise can stand in for the gradient noise that batch growth removes. A ghost batch size that shrinks as the update batch grows, under feedback control, should recover most of the large-batch generalization gap at a fixed step budget, which a fixed ghost size cannot do. The new element is not ghost normalization itself, and not adaptive batch sizing. It is treating the ghost batch size as a second, time-varying temperature, controlled jointly with the first.
We model the two noise sources as adding together:
$$T_{\text{eff}}(t) = \frac{\epsilon(t)}{B(t)} + \frac{c}{B_{\text{ghost}}(t)}$$
Here $B(t)$ is the update batch size at step $t$, $B_{\text{ghost}}(t)$ is the ghost batch size, and $c$ is an exchange rate measured empirically. The $1/B_{\text{ghost}}$ form comes from the variance of a sample mean over $B_{\text{ghost}}$ examples. The controller holds $T_{\text{eff}}$ near the value that generalizes best at small batch, solving for $B_{\text{ghost}}$ as $B$ rises. Whether a single exchange rate $c$ exists is itself the first hypothesis we test.
Research Program
The work has three stages, and each stage gates the next.
Stage 1: measure whether the noises substitute. We train Wide-ResNet 16-4 and ResNet-56 on CIFAR-10 and CIFAR-100 over a grid of update batch sizes (128 to 16384) and ghost sizes (4 to 128). Learning rate is tuned per cell, under the constant-step-budget protocol of On the Generalization Benefit of Noise in Stochastic Gradient Descent. We also run "switch" experiments: training proceeds at one ghost size, then changes it at 25, 50 or 75 percent of training. This tells us when normalization noise matters.
Substitution predicts two things. First, the best ghost size should shrink as $B$ grows. Second, curves of equal test accuracy in the grid should roughly follow constant $T_{\text{eff}}$ for some $c$. If instead the best ghost size is flat across $B$, the idea reduces to ordinary tuning. We would publish that negative result and stop.
Stage 2: build the controller. Gradient noise is estimated online from the cosine similarity between gradients computed on independent replica groups, which SimiGrad: Fine-Grained Adaptive Batching for Large Scale Training using Gradient Similarity Measurement showed costs only milliseconds per iteration at scale. We reuse that measurement, but route it to the normalization layer rather than only to $B$. The update batch follows the step growth schedule of Smith et al. (2018). The ghost size is then set each epoch from the measured noise, using the exchange rate $c$ from Stage 1 and rounding to a power of two.
Shrinking ghost batches has a known cost: the training-time statistics drift further from the population statistics used at test time. To address this, we also implement the knob through Ghost Noise Injection from Understanding the Role of Noisy Statistics in the Regularization Effect of Batch Normalization. That method shifts and scales activations with statistics from randomly sampled ghost batches, which reduces the train-test mismatch. The same paper notes that many tiny reductions are slow without fused kernels, so we report wall-clock time as well as accuracy.
Stage 3: probe the $N/10$ limit. We push the batch-growth schedule past $N/10$ on CIFAR. The question is whether the controller moves the point where accuracy collapses. If it does, the collapse Smith et al. (2018) saw was partly a loss of noise. If the collapse point is unchanged, the limit is a curvature effect, which matches the curvature-dominated regime described in the 2020 paper.
Baselines
The naive reference point is small-batch SGD (batch 128, standard batch normalization, cosine learning-rate decay) trained for the same number of epochs. It sets the accuracy ceiling the large-batch methods are trying to reach, and it shows the step count they are trying to beat.
The strongest existing method is batch growth with a fixed, tuned ghost size, as in Don't Decay the Learning Rate, Increase the Batch Size. For fairness, it gets the same growth schedule, the same total steps and epochs, and the same tuning budget of 20 trials over learning rate and ghost size jointly, while our method spends its 20 trials on learning rate and the target temperature. Every method is run with five seeds.
At the fixed large-batch endpoint, the reference figures from On the Generalization Benefit of Noise in Stochastic Gradient Descent are, for Wide-ResNet 16-4 on CIFAR-10 at a constant step budget, 94.9% test accuracy at batch 2048 and 92.5% at batch 16384, with ghost batch normalization used as a control. Beating the strongest baseline means two things at batch 16384 under the same step budget. First, our method must close at least half of that 2.4-point gap. Second, it must exceed the best fixed ghost size by more than two seed standard deviations.
For ImageNet, the reference is the 76.1% ResNet-50 validation accuracy reported by Smith et al. (2018). We plan to run one ResNet-50 configuration and compare at matched step counts. Beating it there means matching that accuracy in fewer steps, or exceeding it at an equal number of steps.
Two ablations isolate the key ingredient. The first is a hand-designed open-loop schedule in which the ghost size halves every time $B$ doubles. Comparing it with the controller tells us whether feedback matters or whether the schedule's shape is enough. The second is the "wrong-direction" control, in which the ghost size grows with $B$. If noise substitution is real, this control should hurt.
A third comparison, Ghost Noise Injection at a constant scale, separates "noise exists" from "noise is scheduled."
Why not just…?
Why not just tune a single fixed ghost size? This is the real threat. Fixed ghost normalization already keeps normalization noise constant while $B$ grows, and it might already supply enough noise. Stage 1 settles this directly. If the best ghost size does not depend on $B$ or on training phase, a single tuned value is the right answer and we will say so. The baseline is tuned at equal budget so that any advantage cannot come from search effort.
Why not just stop growing the batch, or keep the learning rate high late in training? On the Generalization Benefit of Noise in Stochastic Gradient Descent suggests that late noise from a high learning rate helps generalization. However, capping $B$ gives up the step savings that motivate batch growth: Critical Batch Size Revisited: A Simple Empirical Approach to Large-Batch Language Model Training reports 43% fewer gradient steps from batch warmup. We include a capped-growth baseline at equal steps. If it matches our method on accuracy, then gradient noise is not replaceable and our hypothesis fails.
Why not just add dropout or weight noise? Understanding the Role of Noisy Statistics in the Regularization Effect of Batch Normalization reports that its ghost-batch noise outperforms dropout on CIFAR-100 with ResNet-18. A New Look at Ghost Normalization shows that ghost normalization changes how activations rank across examples within a batch, which dropout applied to individual units does not do. Still, we run dropout with a scheduled rate under the same controller. If it does as well, the finding is about scheduling regularization in general, not about normalization noise.
Decisive Checks
Three outcomes decide the project. The first is the shape of the Stage 1 grid: does the best ghost size move with $B$? The second is whether the controller beats the tuned fixed ghost size at batch 16384 on CIFAR-10 and CIFAR-100 under equal steps and equal tuning budget. The third is whether the wrong-direction control degrades accuracy, which is the sharpest test that this is substitution rather than generic regularization.
Secondary measures are the batch size at which accuracy collapses relative to $N/10$, wall-clock overhead, and the gap between training-mode and test-mode activation statistics. We report the overhead and statistics gap separately for ghost batch normalization and Ghost Noise Injection.
Extending the controller to Transformers, which use layer normalization and therefore have no batch noise, through Ghost Noise Injection during the batch warmup of Critical Batch Size Revisited: A Simple Empirical Approach to Large-Batch Language Model Training is a natural follow-up. It is pursued only if the CIFAR results are positive.
References
- Don't Decay the Learning Rate, Increase the Batch Size
- On the Generalization Benefit of Noise in Stochastic Gradient Descent
- A New Look at Ghost Normalization
- SimiGrad: Fine-Grained Adaptive Batching for Large Scale Training using Gradient Similarity Measurement
- Understanding the Role of Noisy Statistics in the Regularization Effect of Batch Normalization
- Critical Batch Size Revisited: A Simple Empirical Approach to Large-Batch Language Model Training