Skip to main content
QUICK REVIEW

[Paper Review] Proxy-Normalizing Activations to Match Batch Normalization while Removing Batch Dependence

Antoine Labatie, Dominic Masters|arXiv (Cornell University)|Jun 7, 2021
Adversarial Robustness in Machine LearningComputer Science84 references7 citations
TL;DR

This paper introduces Proxy Normalization (PN), a batch-independent normalization technique that emulates Batch Normalization's beneficial properties—such as scale invariance and stable activation statistics—by normalizing post-activations using a learned proxy distribution. When combined with layer normalization or group normalization, PN matches or exceeds Batch Normalization's performance across diverse vision tasks, especially in low-batch regimes where BN degrades.

ABSTRACT

We investigate the reasons for the performance degradation incurred with batch-independent normalization. We find that the prototypical techniques of layer normalization and instance normalization both induce the appearance of failure modes in the neural network's pre-activations: (i) layer normalization induces a collapse towards channel-wise constant functions; (ii) instance normalization induces a lack of variability in instance statistics, symptomatic of an alteration of the expressivity. To alleviate failure mode (i) without aggravating failure mode (ii), we introduce the technique "Proxy Normalization" that normalizes post-activations using a proxy distribution. When combined with layer normalization or group normalization, this batch-independent normalization emulates batch normalization's behavior and consistently matches or exceeds its performance.

Motivation & Objective

  • To identify why batch-independent normalization techniques like LayerNorm and InstanceNorm fail in deep networks despite being widely used.
  • To analyze the specific failure modes induced by these techniques, such as channel-wise collapse and loss of statistical variability.
  • To develop a normalization method that preserves Batch Normalization’s key benefits—like scale invariance and stable activation dynamics—while eliminating dependence on mini-batch statistics.
  • To demonstrate that combining Proxy Normalization with existing batch-independent norms consistently matches or exceeds Batch Normalization performance across multiple benchmarks.

Proposed method

  • Introduce a novel framework to characterize how normalization affects neural network behavior using four statistical properties: mean, variance, channel-wise variance, and channel-wise covariance of pre-activations.
  • Propose Proxy Normalization (PN), which normalizes post-activations using a proxy distribution derived from the expected activation statistics of a reference distribution, rather than mini-batch statistics.
  • Use a proxy distribution to compute normalization statistics that are independent of the current batch, enabling stable and consistent normalization across different batch sizes.
  • Combine PN with layer normalization or group normalization to create a batch-independent normalization scheme that emulates Batch Normalization’s behavior.
  • Formulate the normalization process as a transformation: $\tilde{\mathbf{z}}^{l}_{\alpha,c} = \frac{\mathbf{z}^{l}_{\alpha,c} - \mu_c(\mathbf{z}^l)}{\sqrt{\mathrm{Var}_{\mathbf{x},\alpha}[\mathbf{z}^{l}_{\alpha,c}]}}$, where $\mu_c$ and $\mathrm{Var}$ are computed from a proxy distribution.
  • Prove theoretically that under Gaussian assumptions and zero additional parameters, PN preserves zero mean and unit variance in each channel, ensuring stability and compatibility with BN’s invariance properties.

Experimental results

Research questions

  • RQ1What specific failure modes do standard batch-independent normalization techniques like LayerNorm and InstanceNorm induce in deep networks?
  • RQ2Why does Batch Normalization degrade in small-batch settings, and can this degradation be mitigated without reintroducing batch dependence?
  • RQ3Can a batch-independent normalization method replicate Batch Normalization’s key benefits—such as scale invariance and stable activation dynamics—without relying on mini-batch statistics?
  • RQ4How can a proxy distribution be used to stabilize normalization statistics and maintain network expressivity across varying batch sizes?
  • RQ5Does combining Proxy Normalization with existing batch-independent norms (e.g., LayerNorm) lead to consistent performance gains over Batch Normalization?

Key findings

  • Proxy Normalization successfully mitigates the two main failure modes of batch-independent normalization: channel-wise collapse in LayerNorm and loss of instance-level variability in InstanceNorm.
  • When combined with LayerNorm or GroupNorm, Proxy Normalization matches or exceeds Batch Normalization’s performance on ImageNet and other vision benchmarks, even at low batch sizes.
  • The method preserves scale invariance and stable activation variance, key properties that enable training of deep residual networks.
  • Theoretical analysis shows that under Gaussian assumptions and zero additional parameters, Proxy Normalization maintains zero mean and unit variance in each channel, ensuring stability.
  • Empirical results demonstrate consistent performance gains across multiple architectures and datasets, confirming that the proxy distribution effectively stabilizes normalization without batch dependence.
  • The approach enables training with small or even single-batch sizes while maintaining performance comparable to full-batch BN, making it suitable for low-resource or non-i.i.d. training regimes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.