English

Delving into the Estimation Shift of Batch Normalization in a Network

Computer Vision and Pattern Recognition 2022-03-22 v1 Artificial Intelligence Machine Learning

Abstract

Batch normalization (BN) is a milestone technique in deep learning. It normalizes the activation using mini-batch statistics during training but the estimated population statistics during inference. This paper focuses on investigating the estimation of population statistics. We define the estimation shift magnitude of BN to quantitatively measure the difference between its estimated population statistics and expected ones. Our primary observation is that the estimation shift can be accumulated due to the stack of BN in a network, which has detriment effects for the test performance. We further find a batch-free normalization (BFN) can block such an accumulation of estimation shift. These observations motivate our design of XBNBlock that replace one BN with BFN in the bottleneck block of residual-style networks. Experiments on the ImageNet and COCO benchmarks show that XBNBlock consistently improves the performance of different architectures, including ResNet and ResNeXt, by a significant margin and seems to be more robust to distribution shift.

Keywords

Cite

@article{arxiv.2203.10778,
  title  = {Delving into the Estimation Shift of Batch Normalization in a Network},
  author = {Lei Huang and Yi Zhou and Tian Wang and Jie Luo and Xianglong Liu},
  journal= {arXiv preprint arXiv:2203.10778},
  year   = {2022}
}

Comments

Accepted to CVPR 2022. The Code is available at: https://github.com/huangleiBuaa/XBNBlock

R2 v1 2026-06-24T10:20:04.557Z