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

长尾视觉识别的平衡对比学习

Balanced Contrastive Learning for Long-Tailed Visual Recognition

Fudan University(复旦大学);Shanghai Collaborative Innovation Center on Intelligent Visual Computing(上海智能视觉计算协同创新中心);La Trobe University(乐卓博大学)

Jianggang Zhu, Zheng Wang, Jingjing Chen, Yi-Ping Phoebe Chen, Yu-Gang Jiang

摘要:

真实世界的数据通常遵循长尾分布,其中少数多数类别占据大部分数据,而大多数少数类别包含有限数量的样本。最小化交叉熵的分类模型很难表示和分类尾类。虽然学习无偏分类器的问题已经得到了很好的研究,表示不平衡的数据的方法是探索不足。在本文中,我们专注于不平衡数据的表示学习。最近,监督对比学习在平衡数据上表现出了良好的性能。然而,通过我们的理论分析,我们发现,对于长尾数据,它未能形成一个规则的单纯形,这是一个理想的几何配置的表示学习。为了纠正SCL的优化行为,进一步提高长尾视觉识别的性能,我们提出了一种新的损失平衡对比学习(BCL)。与SCL相比,BCL有两个改进:类平均,它平衡了负类的梯度贡献;类补充,它允许所有类出现在每个小批次中。提出的平衡对比学习(BCL)方法满足形成正则单纯形的条件,并辅助交叉熵的优化。配备BCL,所提出的两分支框架可以获得更强的特征表示,并在CIFAR-10-LT,CIFAR-100-LT,ImageNet-LT和iNaturalist 2018等长尾基准数据集上实现具有竞争力的性能。我们的代码可在https://github.com/FlamieZhu/BCL上获得。

英文摘要:

Real-world data typically follow a long-tailed distribution, where a few majority categories occupy most of the data while most minority categories contain a limited number of samples. Classification models minimizing cross-entropy struggle to represent and classify the tail classes. Although the problem of learning unbiased classifiers has been well studied, methods for representing imbalanced data are under-explored. In this paper, we focus on representation learning for imbalanced data. Recently, supervised contrastive learning has shown promising performance on balanced data recently. However, through our theoretical analysis, we find that for long-tailed data, it fails to form a regular simplex which is an ideal geometric configuration for representation learning. To correct the optimization behavior of SCL and further improve the performance of long-tailed visual recognition, we propose a novel loss for balanced contrastive learning (BCL). Compared with SCL, we have two improvements in BCL: class-averaging, which balances the gradient contribution of negative classes; class-complement, which allows all classes to appear in every mini-batch. The proposed balanced contrastive learning (BCL) method satisfies the condition of forming a regular simplex and assists the optimization of cross-entropy. Equipped with BCL, the proposed two-branch framework can obtain a stronger feature representation and achieve competitive performance on long-tailed benchmark datasets such as CIFAR-10-LT, CIFAR-100-LT, ImageNet-LT, and iNaturalist2018. Our code is available at https://github.com/FlamieZhu/BCL .

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

↑