L₂BN: Enhancing Batch Normalization by Equalizing the L₂ Norms of Features

Zhennan Wang, Kehan Li, Runyi Yu, Yian Zhao, Pengchong Qiao +5 more
7/6/2022
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

In this paper, we analyze batch normalization from the perspective of discriminability and find the disadvantages ignored by previous studies: the difference in $l_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 $l_2$ norms of sample features.

Show full abstract

Concretely, we $l_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 $l_2$ normalization and batch normalization, we name our method $L_2$BN. The $L_2$BN can strengthen the compactness of intra-class features and enlarge the discrepancy of inter-class features. The $L_2$BN is easy to implement and can exert its effect without any additional parameters or hyper-parameters. We evaluate the effectiveness of $L_2$BN through extensive experiments with various models on image classification and acoustic scene classification tasks. The results demonstrate that the $L_2$BN can boost the generalization ability of various neural network models and achieve considerable performance improvements.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2022lbn,
  title  = {L₂BN: Enhancing Batch Normalization by Equalizing the L₂ 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},
  year   = {2022},
  eprint = {2207.02625},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.02625v6}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.02625.svg)](https://codeofpaper.com/paper/2207.02625)

Discussion