English

$L_2$BN: Enhancing Batch Normalization by Equalizing the $L_2$ Norms of Features

Computer Vision and Pattern Recognition 2023-03-22 v6 Artificial Intelligence

Abstract

In this paper, we analyze batch normalization from the perspective of discriminability and find the disadvantages ignored by previous studies: the difference in l2l_2 norms of sample features can hinder batch normalization from obtaining more distinguished inter-class features and more compact intra-class features. To address this issue, we propose a simple yet effective method to equalize the l2l_2 norms of sample features. Concretely, we l2l_2-normalize each sample feature before feeding them into batch normalization, and therefore the features are of the same magnitude. Since the proposed method combines the l2l_2 normalization and batch normalization, we name our method L2L_2BN. The L2L_2BN can strengthen the compactness of intra-class features and enlarge the discrepancy of inter-class features. The L2L_2BN is easy to implement and can exert its effect without any additional parameters or hyper-parameters. We evaluate the effectiveness of L2L_2BN through extensive experiments with various models on image classification and acoustic scene classification tasks. The results demonstrate that the L2L_2BN can boost the generalization ability of various neural network models and achieve considerable performance improvements.

Keywords

Cite

@article{arxiv.2207.02625,
  title  = {$L_2$BN: Enhancing Batch Normalization by Equalizing the $L_2$ Norms of Features},
  author = {Zhennan Wang and Kehan Li and Runyi Yu and Yian Zhao and Pengchong Qiao and Chang Liu and Fan Xu and Xiangyang Ji and Guoli Song and Jie Chen},
  journal= {arXiv preprint arXiv:2207.02625},
  year   = {2023}
}

Comments

12 pages, 8 figures

R2 v1 2026-06-24T12:15:48.717Z