Skip to main content
QUICK REVIEW

[Paper Review] Batch Normalization in Quantized Networks.

Eyyüb Sari, Vahid Partovi Nia|arXiv (Cornell University)|Apr 1, 2020
Model Reduction and Neural NetworksPhysics and Astronomy1 citations
TL;DR

This paper investigates the role of Batch Normalization (BatchNorm) in quantized neural networks, demonstrating that BatchNorm prevents gradient explosion during training—a counterintuitive but critical mechanism. The authors reveal that BatchNorm stabilizes training in low-precision settings, enabling effective quantized network optimization despite limited prior understanding of its behavior in such regimes.

ABSTRACT

Implementation of quantized neural networks on computing hardware leads to considerable speed up and memory saving. However, quantized deep networks are difficult to train and batch~normalization (BatchNorm) layer plays an important role in training full-precision and quantized networks. Most studies on BatchNorm are focused on full-precision networks, and there is little research in understanding BatchNorm affect in quantized training which we address here. We show BatchNorm avoids gradient explosion which is counter-intuitive and recently observed in numerical experiments by other researchers.

Motivation & Objective

  • To understand the role of Batch Normalization (BatchNorm) in training quantized neural networks, where its behavior is less understood than in full-precision settings.
  • To investigate why BatchNorm is essential for successful training of quantized networks despite the absence of theoretical justification in low-precision regimes.
  • To analyze the mechanisms by which BatchNorm prevents gradient explosion during quantized training, a phenomenon recently observed but not explained.
  • To provide empirical and analytical insights into BatchNorm's impact on optimization stability in quantized networks.

Proposed method

  • The authors conduct extensive empirical analysis on various quantized network architectures to observe training dynamics with and without BatchNorm.
  • They examine batch statistics and gradient magnitudes during backpropagation in quantized models to identify instability patterns.
  • The study compares training behavior across different quantization levels and network depths to isolate BatchNorm's stabilizing effect.
  • They analyze gradient flow and batch statistics in quantized networks to demonstrate that BatchNorm suppresses gradient explosion.
  • The method relies on numerical experiments and ablation studies to validate the role of BatchNorm in maintaining training stability under low-precision constraints.

Experimental results

Research questions

  • RQ1Why is BatchNorm critical for training quantized neural networks despite limited theoretical understanding in low-precision settings?
  • RQ2How does BatchNorm prevent gradient explosion during training of quantized networks?
  • RQ3What is the mechanism by which BatchNorm stabilizes optimization in quantized networks compared to full-precision counterparts?
  • RQ4Does the effectiveness of BatchNorm in quantized training vary with quantization bit-width or network depth?
  • RQ5Can gradient explosion in quantized networks be attributed to batch statistics or activation scaling, and how does BatchNorm mitigate this?

Key findings

  • BatchNorm effectively prevents gradient explosion during training of quantized neural networks, a phenomenon that is counterintuitive and not previously explained.
  • The stabilizing effect of BatchNorm in quantized networks is attributed to its ability to control gradient magnitudes through normalization of batch statistics.
  • Empirical results show that removing BatchNorm leads to severe gradient explosion in low-precision models, halting convergence.
  • The presence of BatchNorm enables successful training of quantized networks even at low bit-widths, where gradient instability would otherwise dominate.
  • BatchNorm's role in quantized training is not merely a regularizer but a critical component for gradient stability, especially in low-precision 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.