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

重采样如何有助于长尾学习?

How Re-sampling Helps for Long-Tail Learning?

National Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室);School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);Consumer BG, Huawei Technologies(华为技术有限公司消费者业务集团)

Jiang-Xin Shi, Tong Wei, Yuke Xiang, Yu-Feng Li

AI总结:

本文系统研究重采样在长尾学习中的作用,发现其效果受图像中不相关上下文影响,并提出上下文偏移增强模块以抑制虚假相关性,从而提升尾部类别泛化性能。

摘要:

近年来,长尾学习因其在极度不平衡数据集上带来的挑战而受到广泛关注。在这些数据集中,只有少数类别(称为头部类别)拥有足够数量的训练样本,而其余类别(称为尾部类别)在训练数据中出现频率很低。重采样是解决类别不平衡问题的经典且广泛使用的方法。遗憾的是,近期研究声称重采样在现代长尾学习任务中带来的性能提升可以忽略不计。本文旨在系统性地研究这一现象。我们的研究表明,当训练图像不包含语义上不相关的上下文时,重采样可以显著改善泛化能力。然而,在其他场景下,它可能学习到不相关上下文与目标标签之间意外的虚假相关性。我们在两个同质数据集上设计实验,其中一个包含不相关上下文,另一个不包含,以验证我们的发现。为了防止学习虚假相关性,我们提出了一种新的上下文偏移增强模块,该模块通过维护从头部类别图像中提取的上下文库,为尾部类别生成多样化的训练图像。实验表明,我们提出的模块能够提升泛化能力,并优于其他方法,包括类别平衡重采样、解耦分类器重训练和数据增强方法。源代码可在 https://www.lamda.nju.edu.cn/code_CSA.ashx 获取。

英文摘要:

Long-tail learning has received significant attention in recent years due to the challenge it poses with extremely imbalanced datasets. In these datasets, only a few classes (known as the head classes) have an adequate number of training samples, while the rest of the classes (known as the tail classes) are infrequent in the training data. Re-sampling is a classical and widely used approach for addressing class imbalance issues. Unfortunately, recent studies claim that re-sampling brings negligible performance improvements in modern long-tail learning tasks. This paper aims to investigate this phenomenon systematically. Our research shows that re-sampling can considerably improve generalization when the training images do not contain semantically irrelevant contexts. In other scenarios, however, it can learn unexpected spurious correlations between irrelevant contexts and target labels. We design experiments on two homogeneous datasets, one containing irrelevant context and the other not, to confirm our findings. To prevent the learning of spurious correlations, we propose a new context shift augmentation module that generates diverse training images for the tail class by maintaining a context bank extracted from the head-class images. Experiments demonstrate that our proposed module can boost the generalization and outperform other approaches, including class-balanced re-sampling, decoupled classifier re-training, and data augmentation methods. The source code is available at https://www.lamda.nju.edu.cn/code_CSA.ashx.

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

↑