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

比较基于重要性采样的方法以缓解类别不平衡的影响

Comparing Importance Sampling Based Methods for Mitigating the Effect of Class Imbalance

Princeton University(普林斯顿大学)

Indu Panigrahi, Richard Zhu

AI总结:

本文在 Planet Amazon Rainforest 与 ADE20K 上比较损失重加权、欠采样和过采样,发现过采样更能提升少数类性能,并开源代码。

摘要:

大多数最先进的计算机视觉模型严重依赖数据。然而,许多数据集表现出极端的类别不平衡,这已被证明会对模型性能产生负面影响。在已经探索的训练时和数据生成解决方案中,利用现有数据的一个子类是重要性采样。这类工作大量主要集中在 CIFAR-10 和 CIFAR-100 数据集上,而这些数据集无法代表当前最先进数据集的规模、组成和复杂性。在本工作中,我们探索并比较了三种源自重要性采样的技术:损失重加权、欠采样和过采样。具体而言,作为另一项工作的准备,我们在一个具有影响力的卫星图像数据集 Planet 的 Amazon Rainforest 数据集上比较了这些技术对两个编码器性能的影响。此外,我们在场景分类数据集 ADE20K 上进行了补充实验,以在一个形成对比的领域中进行测试并阐明我们的结果。在两种类型的编码器上,我们发现上调损失权重以及欠采样对代表性不足类别的性能影响可以忽略不计。此外,我们的结果表明,过采样通常会提高相同的代表性不足类别的性能。有趣的是,我们的发现还表明 Planet 数据集中可能存在某种数据冗余。我们的工作旨在为后续在 Planet 数据集及类似的特定领域数据集上开展研究提供基础。我们还在 https://github.com/Richardzhu123/514-class-imbalance 开源了代码,以便未来在其他卫星图像数据集上开展工作。

英文摘要:

Most state-of-the-art computer vision models heavily depend on data. However, many datasets exhibit extreme class imbalance which has been shown to negatively impact model performance. Among the training-time and data-generation solutions that have been explored, one subset that leverages existing data is importance sampling. A good deal of this work focuses primarily on the CIFAR-10 and CIFAR-100 datasets which fail to be representative of the scale, composition, and complexity of current state-of-the-art datasets. In this work, we explore and compare three techniques that derive from importance sampling: loss reweighting, undersampling, and oversampling. Specifically, we compare the effect of these techniques on the performance of two encoders on an impactful satellite imagery dataset, Planet's Amazon Rainforest dataset, in preparation for another work. Furthermore, we perform supplemental experimentation on a scene classification dataset, ADE20K, to test on a contrasting domain and clarify our results. Across both types of encoders, we find that up-weighting the loss for and undersampling has a negigible effect on the performance on underrepresented classes. Additionally, our results suggest oversampling generally improves performance for the same underrepresented classes. Interestingly, our findings also indicate that there may exist some redundancy in data in the Planet dataset. Our work aims to provide a foundation for further work on the Planet dataset and similar domain-specific datasets. We open-source our code at https://github.com/RichardZhu123/514-class-imbalance for future work on other satellite imagery datasets as well.

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

↑