arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.05322cs.CV
收藏

用于长尾分类的类实例平衡学习

Class Instance Balanced Learning for Long-Tailed Classification

Institute for Aerospace Studies(航空航天研究所);University of Toronto(多伦多大学)

Marc-Antoine Lavoie, Steven Waslander

AI总结:

本文提出类实例平衡损失CIBL,根据训练批次中类别频率动态调整交叉熵与对比损失的权重,以改善长尾分类中头部与尾部类别的性能平衡,并引入余弦分类器加速训练,在CIFAR-100-LT和ImageNet-LT上取得有竞争力的结果。

摘要:

长尾图像分类任务在深度神经网络的发展中仍然重要,因为它明确处理训练数据中类别频率的巨大不平衡。尽管这种不平衡在人工设计的数据集中不常见,但在现实世界数据中几乎总是存在。先前的方法表明,将交叉熵损失与对比学习相结合可以提高长尾任务上的性能,但它们没有探索头部类别与尾部类别之间的权衡。我们提出一种新颖的类实例平衡损失(CIBL),它根据训练批次中类别实例的频率,重新加权交叉熵损失和对比损失的相对贡献。这种平衡对更常见的类别更偏向对比损失,从而得到一个在所有类别频率上性能更平衡的学习分类器。此外,增加对比头的相对权重会将性能从常见(头部)类别转移到稀有(尾部)类别,使用户可以根据需要将性能偏向这些类别。我们还表明,用余弦分类器替换线性分类头可以得到一个能够在显著更少的训练轮数内达到相似性能的网络。我们在CIFAR-100-LT和ImageNet-LT上都取得了有竞争力的结果。

英文摘要:

The long-tailed image classification task remains important in the development of deep neural networks as it explicitly deals with large imbalances in the class frequencies of the training data. While uncommon in engineered datasets, this imbalance is almost always present in real-world data. Previous approaches have shown that combining cross-entropy and contrastive learning can improve performance on the long-tailed task, but they do not explore the tradeoff between head and tail classes. We propose a novel class instance balanced loss (CIBL), which reweights the relative contributions of a cross-entropy and a contrastive loss as a function of the frequency of class instances in the training batch. This balancing favours the contrastive loss for more common classes, leading to a learned classifier with a more balanced performance across all class frequencies. Furthermore, increasing the relative weight on the contrastive head shifts performance from common (head) to rare (tail) classes, allowing the user to skew the performance towards these classes if desired. We also show that changing the linear classifier head with a cosine classifier yields a network that can be trained to similar performance in substantially fewer epochs. We obtain competitive results on both CIFAR-100-LT and ImageNet-LT.

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

↑