Normalizing Only the Backward Pass: Batch-Free Stability Without Constraining Activations

When a network has to be trained one or two examples at a time, as with 3D medical volumes or federated edge devices, batch normalization cannot estimate its statistics. The usual replacements either normalize activations within each example, as group normalization does, or fix the weights so that signals behave well when training begins, as normalizer-free ResNets do. Both carry a cost. The first constrains the forward features. The second holds only near initialization and can still collapse at high learning rates. This note proposes a third option. It is a layer that does nothing in the forward pass. In the backward pass, it centers and rescales the gradient flowing through it, separately for each example. If this layer recovers the stability of normalization with batch size 1, it would show that the useful part of normalization in this setting lives in the backward pass. It would also give a normalizer that costs nothing at inference.

The motivation comes from two older ideas that pull in opposite directions. "Internal covariate shift" is the idea that layers struggle because the distribution of their inputs keeps changing as earlier layers learn. It was the original rationale for batch normalization (Batch Normalization). That rationale has largely been taken apart. Injecting deliberate distribution shift after batch-norm layers barely hurts training, and the real benefit appears to be a smoother loss surface (How Does Batch Normalization Help Optimization?). Forcing activations to stay exactly Gaussian actively hurts (CDF Normalization for Controlling the Distribution of Hidden Nodes). Yet unnormalized networks do collapse when activation means drift with depth (Characterizing signal propagation to close the performance gap in unnormalized ResNets), or when the average gradient of convolutional filters drifts from zero (Delving into Variance Transmission and Normalization). Our reading is that the harmful "shift" is mostly a property of gradients, and that forward activations can be left free.

Core Claim

We claim that the late-training collapse of deep batch-free networks at high learning rates is driven by drift in the per-example backward signal, not the forward one. We further claim that a forward-identity operator that normalizes that signal is enough to remove the collapse. This operator is computed per example over channel groups, with no batch statistics, no learned scale or shift, and no injected noise.

Concretely, let $x$ be one example's activations in a channel group and $g$ the gradient arriving from above. Let $\hat{x}$ be $x$ centered and divided by its standard deviation $\sigma$ within that group. The operator passes $x$ forward unchanged and sends back

$$\tilde{g} = \frac{1}{\sigma}\Big(g - \mathrm{mean}(g) - \hat{x}\,\mathrm{mean}(g \odot \hat{x})\Big).$$

This is exactly the backward map of group normalization. The difference is that the forward normalization has been removed.

The construction is the mirror image of the DetachNorm experiment in Understanding and Improving Layer Normalization. That paper kept the forward normalization, removed the backward terms of the mean and variance, and found that training degraded. That is evidence that LayerNorm's benefit sits in the backward pass. Its tests were almost entirely on Transformers and NLP tasks, and it never built a normalizer that operates only backward. We keep the backward terms, remove the forward normalization, and test the result in deep convolutional networks at micro-batch sizes.

There is an honest complication. Because the forward map is the identity, $\tilde{g}$ is not the gradient of any loss. Whether optimization still converges is an empirical question, and we treat it as one of the main risks.

Research Program

The work has three parts.

Diagnosis. We start from normalizer-free ResNets that use Scaled Weight Standardization. This method rescales each filter to zero mean and fixed variance so that signals stay well behaved at initialization. Training at batch size 1–4 per device, we track four quantities per layer over training, rather than only at initialization as Signal Propagation Plots do:

  • the forward activation mean and variance;
  • the per-example gradient mean;
  • the filter-gradient shift defined by Liu et al.;
  • local loss Lipschitzness and gradient smoothness, measured with the step-wise procedure of Santurkar et al.

The diagnosis hypothesis is that, in the runs that collapse at high learning rates, gradient-side drift rises before forward drift does.

Factorial intervention. At batch size 1, we clamp or free each of four quantities independently: the activation mean and variance in the forward pass, and the gradient mean and the radial gradient component in the backward pass. The radial component is the part of the gradient pointing along $\hat{x}$. This answers the open question of which statistical moments must be bounded and which can stay free. Without it, the method is just one more normalizer.

Method. We build the backward-only group operator described above. Each variant is tested alone and paired with Scaled Weight Standardization. In each pairing, we check whether the hand-tuned residual constants of NF-ResNets and the damping constant of Parametric Weights Standardization become unnecessary.

Baselines

Naive reference. A ResNet-50 with plain batch normalization at the same small batch. It is the reference point and shows the collapse being fixed. Characterizing signal propagation reports 55.7% ImageNet top-1 at batch size 4, against 69.9% for its NF-ResNet-50.

Strongest activation-normalizing competitor. Group Normalization combined with Weight Standardization (Group Normalization; Weight Standardization). It is the strongest because it already works at batch size 1. Weight Standardization reports 23.72% ImageNet top-1 error for ResNet-50 at batch size 1, below large-batch BN's 24.30%. It also reports Mask R-CNN AP on COCO rising from 39.8 to 40.8 when WS is added to GN.

Strongest activation-free competitor. Constrained Weight Optimization (Constrained Weight Optimization), which keeps weights on a zero-mean hyperplane and a fixed-norm sphere and injects noise into activations. It reports 75.15% ImageNet top-1, within 0.55% of BN, and 15.12% CIFAR-100 error at batch size 4, where BN degrades to about 18%.

Weight-standardization competitor. Parametric Weights Standardization (Delving into Variance Transmission and Normalization) reports Pascal VOC07 mAP moving only from 77.66% to 76.93% when batch size drops from 8 to 2. Over the same change, BN drops from 76.74% to 72.97%.

Fair comparison. All methods use the same architecture, data pipeline, epoch count, and per-device batch size. Each gets the same learning-rate and weight-decay sweep of equal size. We report each method's best setting and its maximum stable learning rate. Published numbers come from differing setups, so we treat them as sanity anchors and re-run every baseline ourselves.

What counts as success. Beating the baselines means two things. First, the backward-only operator plus Scaled WS must match GN+WS accuracy within run-to-run noise at batch size 1. Second, it must remain stable at learning rates where NF-ResNet and PWS collapse.

Ablations isolating the key ingredient. The forward-only mirror, which normalizes forward and detaches statistics, tests whether the backward map is really what matters. Mean-only and radial-only backward variants identify which term of $\tilde{g}$ does the work.

Why not just…?

Why not just use GN with Weight Standardization? It works and is the main threat on accuracy. If it matches us on accuracy, our case rests on two smaller claims. One is mechanistic: the factorial study shows that the backward terms alone account for GN's benefit. The other is practical: the operator needs no forward normalization, so it is free at inference and leaves features unconstrained. We will report wall-clock inference time and the effect of folding the layer away, and we will state plainly if accuracy does not favour us.

Why not just apply Gradient Centralization? Gradient Centralization subtracts the mean from each filter's weight gradient inside the optimizer (Gradient Centralization). It is the closest relative and a real competitor, because it also acts on the backward pass. It differs from our operator in two ways:

  • It acts on parameter gradients already summed over the batch, so it does not change the signal passed down to earlier layers.
  • It does not remove the radial component of the gradient.

Its reported gains are measured on top of normalization layers rather than as a replacement for them. We run GC alone, and GC combined with Scaled WS, as a baseline. If GC alone removes the collapse, our idea reduces to GC and we will say so.

Why not just lower the learning rate or tune NF-ResNet's constants? This avoids collapse but gives up the high-learning-rate regime that made normalization valuable in the first place. The learning-rate sweep makes the trade-off explicit. We plot final accuracy against learning rate and count how many runs survive at each learning rate. The test of our claim is whether our curve stays flat beyond the point where the tuned NF-ResNet fails.

Proposed Experiments

Mechanism check. CIFAR-100 with NF-ResNet-50 and -101 at batch size 1 and 4. This hosts the full factorial moment study and the drift diagnostics. Because it is cheap, it can be the place where the hypothesis fails first.

Scale check. ImageNet ResNet-50 at per-device batch size 1–4. Here we compare against GN+WS and Constrained Weight Optimization on top-1 error and on maximum stable learning rate.

Transfer checks. Pascal VOC07 detection at batch size 2 against PWS, and COCO Mask R-CNN against GN+WS. These test whether a forward-identity normalizer transfers to dense prediction tasks.

Decisive checks. The proposal should be abandoned if any of the following holds:

  • the forward-only mirror performs as well as the backward-only operator;
  • Gradient Centralization alone removes the collapse;
  • the backward-only operator fails to converge reliably, given that its update is not a true gradient.

The proposal is supported if gradient-side drift predicts collapse ahead of forward drift, and if normalizing that drift alone restores both stability and accuracy at batch size 1.