For years, normalization layers—like Batch Normalization (BN) or Layer Normalization (LN)—have been the "secret sauce" of deep learning. They are the default components in almost every state-of-the-art architecture, credited with stabilizing training and accelerating convergence. Yet, despite their ubiquity, we don't fully understand why they work so well, and they come with baggage: BN depends heavily on batch size, adds computational overhead, and can be tricky to implement in distributed settings.
In their NeurIPS 2020 paper, Jie Shao and colleagues ask a fundamental question: Is normalization actually indispensable? Their answer is a resounding "no," provided you rethink how signals flow through a network.
TL;DR
The authors introduce RescaleNet, a framework that allows training deep residual networks without any normalization layers. By using a novel variance-preserving scaling scheme and a data-dependent bias initialization, RescaleNet matches or exceeds the performance of Batch Normalization across tasks like ImageNet classification, COCO object detection, and machine translation.
What Problem Does This Paper Address?
Training deep networks without normalization usually leads to two catastrophic failures:
- Exploding/Vanishing Variance: In a standard Residual Network (ResNet), the variance of the signal tends to double at every residual block ($x_l = x_{l-1} + \mathcal{F}(x_{l-1})$). In a 101-layer network, this exponential growth quickly leads to numerical overflow or "shattered" gradients that make learning impossible.
- The "Dead ReLU" Problem: Even with good weight initialization, a significant portion of neurons (up to 40% in deep networks) can become "dead" at the very start of training—meaning they always output zero and never recover because their gradients are zero.
While previous methods like Fixup-Init tried to solve this with careful initialization, they often required lower learning rates or suffered from slight performance degradation compared to normalized models.
Methods
The authors propose RescaleNet, which replaces normalization layers with three key architectural adjustments:
-
Variance-Preserving Scaling: Instead of a simple addition in the residual block, they use a weighted formulation: $$x_k = \alpha_k x_{k-1} + \beta_k \mathcal{F}_k(x_{k-1})$$ By carefully choosing $\alpha_k$ and $\beta_k$ based on the depth of the network ($L$), they ensure the variance remains constant as the signal passes through the blocks, preventing the "explosion" effect.
-
Learnable Scalar Multipliers: They add a learnable scalar $m_k$ to each residual branch. Unlike the vector-based scaling in Batch Norm, they found that a single scalar per block allows deeper layers to "up-weight" themselves as training progresses, which is crucial for learning complex features.
- Data-Dependent "Pre-Bias" Initialization: To solve the Dead ReLU problem, they apply a bias before the weight multiplication ($y = W(x+b)$). They initialize this bias by subtracting the mean of the first mini-batch of data. This ensures that the input to the ReLU is centered, keeping neurons active from the first iteration.
Datasets
The authors validated RescaleNet across a diverse range of standard benchmarks:
- Image Classification: ImageNet (1.2M images).
- Object Detection & Segmentation: MS-COCO.
- Video Classification: Kinetics.
- Machine Translation: WMT 2016 English-German and IWSLT 2014 German-English.
Key Insights and Ideas
- Normalization isn't a requirement; variance control is. The paper demonstrates that the primary benefit of BN is keeping the signal variance in a healthy range. If you can do that through architectural scaling, the "normalization" part becomes optional.
- The "Pre-Bias" Trick: Most researchers put bias after the linear layer ($Wx + b$). Moving it before ($W(x+b)$) and initializing it based on the data distribution is a simple but highly effective way to prevent dead neurons without needing the mean-shifting property of Batch Norm.
- Batch Size Independence: Because RescaleNet doesn't rely on batch statistics, its performance doesn't drop when the batch size is small (e.g., batch size of 1). This is a massive advantage for memory-intensive tasks like high-resolution object detection or video processing.
Key Results
RescaleNet proves that you don't have to trade performance for simplicity:
- ImageNet: An un-normalized RescaleNet-50 achieved 76.6% top-1 accuracy, slightly outperforming the standard BN-ResNet (76.4%).
- Object Detection: On MS-COCO, RescaleNet backbones consistently outperformed both Batch Norm and Group Norm (GN) versions in Mask R-CNN.
- Translation: In Transformer models, replacing Layer Normalization with the RescaleNet scaling achieved a higher BLEU score (35.0 vs 34.2) on the IWSLT dataset.
- VGG-19: Even in non-residual networks, their "pre-bias" strategy improved VGG-19 accuracy by 0.6% over the standard version.
Limitations and Future Work
While the results are impressive, the authors note a few areas for further exploration:
- Dynamic Interaction: There is a curious "tug-of-war" during training where convolution weights tend to shrink due to weight decay, while the learnable scalar multipliers grow to compensate. The theoretical implications of this dynamic aren't yet fully mapped out.
- Complexity of Scaling: While the scaling formulas ($\alpha$ and $\beta$) are elegant, they add a layer of hyperparameter consideration (the constant $c$) that standard BN avoids by being "automatic."
- Wider Architectures: Most tests were on ResNet-style architectures. While they showed success on Transformers, more work is needed to see if this generalizes to every niche architecture (like GNNs or LSTMs).
In conclusion, RescaleNet offers a compelling alternative to the "normalization-by-default" mindset, providing a more stable, batch-independent way to build deep models.
Summary updated