Skip to main content
QUICK REVIEW

[论文解读] How Re-sampling Helps for Long-Tail Learning?

Jiang-Xin Shi, Wei Tong|arXiv (Cornell University)|Oct 27, 2023
Domain Adaptation and Few-Shot LearningComputer Science被引用 8
一句话总结

重新取样在训练数据缺乏无关上下文时可以改善长尾学习的泛化能力;提出一个上下文迁移对比增强模块,以在单阶段框架中避免伪相关性并提升尾部类别性能。

ABSTRACT

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.

研究动机与目标

  • 调查在多样数据集中重新采样何时有助于或有害于长尾学习。
  • 识别无关上下文在重新采样性能中的作用。
  • 提出在单阶段长尾学习中缓解上下文引起的伪相关性的方法。
  • 在多个长尾基准上对比基线评估所提出的方法。

提出的方法

  • 在若干长尾数据集上对统一采样、类平衡采样及基线 CB-RS 设置下进行经验分析。
  • 使用 Grad-CAM 可视化来检查对上下文与标签相关特征的依赖。
  • 证明在重新采样中,无关上下文可能导致过拟合,并且在某些情形下统一采样可能优于类平衡采样。
  • 引入一个上下文迁移增强模块,它从头部类别数据中提取丰富上下文,并通过上下文记忆库将其粘贴到尾部类别数据上。
  • 在一个端到端框架中训练一个双分支结构,其中统一采样模块向平衡重新采样模块提供上下文,具备共享特征提取器但分类器分离。
  • 在 CIFAR10-LT、CIFAR100-LT 和 ImageNet-LT 上评估该方法,对比多样基线。

实验结果

研究问题

  • RQ1重新采样是否普遍提升长尾学习,还是其有效性取决于语义上无关上下文的存在?
  • RQ2是否可以利用头部类别上下文来增强尾部类别数据,以防止对无关背景的过拟合?
  • RQ3在端到端训练中,与类平衡重新采样和两阶段方法相比,提出的上下文迁移增强的性能如何?
  • RQ4在常见的长尾基准如 CIFAR-LT 和 ImageNet-LT 上,该方法是否具有竞争力?

主要发现

  • 当训练数据缺乏无关背景时,重新采样可以显著提升尾部类别的性能。
  • 当存在无关上下文时,重新采样可能对无关上下文过拟合并学习伪相关性。
  • 一个将头部类别上下文迁移到尾部类别图像的上下文迁移增强模块可提升泛化并优于若干基线。
  • 所提方法(CSA)在 CIFAR10-LT、CIFAR100-LT 和 ImageNet-LT 上具有竞争力的结果, oftentimes 超越了类平衡重新采样和解耦分类器的方法。
  • 端到端的 CSA 结合上下文增强在表示学习与分类器性能方面相较两阶段训练具有优势。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。