arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.14197cs.CV
收藏

基于权重平衡的长尾识别

Long-Tailed Recognition via Weight Balancing

MIT(麻省理工学院);UIUC(伊利诺伊大学厄巴纳-香槟分校);Argo AI(Argo AI公司);CMU(卡内基梅隆大学)

Shaden Alshammari, Yu-Xiong Wang, Deva Ramanan, Shu Kong

摘要:

在真实的开放世界中,数据往往遵循长尾类分布,这激发了研究得很好的长尾识别(LTR)问题。朴素训练产生的模型在更高的准确性方面偏向于常见的类。解决LTR的关键是平衡各个方面,包括数据分布,训练损失和学习梯度。我们探索一个正交方向,权重平衡,由经验观察的动机,天真的训练分类器具有“人为”较大的权重,在规范的共同类(因为有丰富的数据训练他们,不像罕见的类)。我们研究了三种平衡权重的技术,L2归一化,权重衰减和MaxNorm。我们首先指出,L2-normalization“完美”地平衡了每个类的权重,但这样的硬约束可能会阻止类学习更好的分类器。相比之下,权重衰减对较大权重的惩罚更重,因此学习较小的平衡权重; MaxNorm约束鼓励在范数球内增加较小的权重,但通过半径限制所有权重。我们的广泛研究表明,这两种方法都有助于学习平衡权重,并大大提高了LTR的准确性。令人惊讶的是,权重衰减,虽然在LTR中探索不足,但比以前的工作有了显着改善。因此,我们采用两阶段训练范式,并提出了一种简单的LTR方法:(1)通过调整权重衰减使用交叉熵损失学习特征,以及(2)通过调整权重衰减和MaxNorm使用类平衡损失学习分类器。我们的方法在五个标准基准上达到了最先进的准确性,作为长尾识别的未来基线。

英文摘要:

In the real open world, data tends to follow long-tailed class distributions, motivating the well-studied long-tailed recognition (LTR) problem. Naive training produces models that are biased toward common classes in terms of higher accuracy. The key to addressing LTR is to balance various aspects including data distribution, training losses, and gradients in learning. We explore an orthogonal direction, weight balancing, motivated by the empirical observation that the naively trained classifier has "artificially" larger weights in norm for common classes (because there exists abundant data to train them, unlike the rare classes). We investigate three techniques to balance weights, L2-normalization, weight decay, and MaxNorm. We first point out that L2-normalization "perfectly" balances per-class weights to be unit norm, but such a hard constraint might prevent classes from learning better classifiers. In contrast, weight decay penalizes larger weights more heavily and so learns small balanced weights; the MaxNorm constraint encourages growing small weights within a norm ball but caps all the weights by the radius. Our extensive study shows that both help learn balanced weights and greatly improve the LTR accuracy. Surprisingly, weight decay, although underexplored in LTR, significantly improves over prior work. Therefore, we adopt a two-stage training paradigm and propose a simple approach to LTR: (1) learning features using the cross-entropy loss by tuning weight decay, and (2) learning classifiers using class-balanced loss by tuning weight decay and MaxNorm. Our approach achieves the state-of-the-art accuracy on five standard benchmarks, serving as a future baseline for long-tailed recognition.

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

↑