arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.03122cs.CV
收藏

面向长尾识别的批归一化参数归一化

Normalizing Batch Normalization for Long-Tailed Recognition

Beihang University(北京航空航天大学);Hangzhou Research Institute, Beihang(北京航空航天大学杭州研究院);Nanchang Institute of Technology(南昌工程学院);Communication University of China(中国传媒大学);Shanghai Jiao Tong University(上海交通大学)

Yuxiang Bao, Guoliang Kang, Linlin Yang, Xiaoyue Duan, Bo Zhao, Baochang Zhang

AI总结:

针对长尾识别中稀有类特征偏弱的问题,本文提出归一化 BN 层 Weight/Bias 参数方向与模长的方法,以平衡特征强度并显著提升多个基准性能。

摘要:

在真实场景中,各类别训练样本的数量通常服从长尾分布。按常规方式训练的网络在稀有类别上可能取得出人意料的较差性能,而在频繁类别上则表现较好。以往大多数工作试图从数据层面或分类器层面纠正网络偏差。与之不同,本文发现,对频繁类别的偏差可能被编码到特征中,即在区分稀有类别时起关键作用的稀有类别特有特征,远弱于频繁类别特有特征。基于这一观察,我们提出一种简单而有效的方法:归一化 Batch Normalization(BN,批归一化)层的参数,以显式纠正特征偏差。为此,我们将 BN 层的 Weight/Bias 参数表示为向量,将其归一化为单位向量,再用一个可学习的标量参数乘以该单位向量。通过解耦 BN 层参数的方向和模长并分别进行学习,Weight/Bias 呈现出更均衡的分布,从而使特征强度更加均匀。在多个长尾识别基准(即 CIFAR-10/100-LT、ImageNet-LT 和 iNaturalist 2018)上的大量实验表明,我们的方法显著优于以往的最先进方法。代码和检查点可在 https://github.com/yuxiangbao/NBN 获取。

英文摘要:

In real-world scenarios, the number of training samples across classes usually subjects to a long-tailed distribution. The conventionally trained network may achieve unexpected inferior performance on the rare class compared to the frequent class. Most previous works attempt to rectify the network bias from the data-level or from the classifier-level. Differently, in this paper, we identify that the bias towards the frequent class may be encoded into features, i.e., the rare-specific features which play a key role in discriminating the rare class are much weaker than the frequent-specific features. Based on such an observation, we introduce a simple yet effective approach, normalizing the parameters of Batch Normalization (BN) layer to explicitly rectify the feature bias. To achieve this end, we represent the Weight/Bias parameters of a BN layer as a vector, normalize it into a unit one and multiply the unit vector by a scalar learnable parameter. Through decoupling the direction and magnitude of parameters in BN layer to learn, the Weight/Bias exhibits a more balanced distribution and thus the strength of features becomes more even. Extensive experiments on various long-tailed recognition benchmarks (i.e., CIFAR-10/100-LT, ImageNet-LT and iNaturalist 2018) show that our method outperforms previous state-of-the-arts remarkably. The code and checkpoints are available at https://github.com/yuxiangbao/NBN.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑