arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.09036cs.CV
收藏

梯度感知的对数几率调整损失用于长尾分类器

Gradient-Aware Logit Adjustment Loss for Long-tailed Classifier

Anhui University(安徽大学);Hefei University of Technology(合肥工业大学);Pennsylvania State University(宾夕法尼亚州立大学);University of Science and Technology of China(中国科学技术大学);Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院)

Fan Zhang, Wei Qin, Weijieying Ren, Lei Wang, Zetong Chen, Richang Hong

AI总结:

针对长尾分类中梯度不平衡导致的头部类偏向问题,提出梯度感知对数几率调整(GALA)损失及事后预测再平衡策略,在多个基准上显著优于现有方法。

摘要:

在现实世界环境中,数据通常遵循长尾分布,其中头部类包含的训练样本数量显著多于尾部类。因此,在此类数据上训练的模型往往偏向于头部类。这种偏差的媒介是不平衡的梯度,这不仅包括正负梯度之间的规模比例,还包括来自不同负类的不平衡梯度。为此,我们提出了梯度感知的对数几率调整(GALA)损失,该损失基于累积梯度调整对数几率,以平衡优化过程。此外,我们发现大多数长尾问题的解决方案最终仍偏向于头部类,我们提出了一种简单的事后预测再平衡策略,以进一步缓解对头部类的偏向。我们在多个流行的长尾识别基准数据集上进行了大量实验,以评估这两种设计的有效性。我们的方法在CIFAR100-LT、Places-LT和iNaturalist上分别达到了48.5%、41.4%和73.3%的top-1准确率,显著优于最先进的方法GCL,分别高出3.62%、0.76%和1.2%。代码可在https://github.com/lt-project-repository/lt-project获取。

英文摘要:

In the real-world setting, data often follows a long-tailed distribution, where head classes contain significantly more training samples than tail classes. Consequently, models trained on such data tend to be biased toward head classes. The medium of this bias is imbalanced gradients, which include not only the ratio of scale between positive and negative gradients but also imbalanced gradients from different negative classes. Therefore, we propose the Gradient-Aware Logit Adjustment (GALA) loss, which adjusts the logits based on accumulated gradients to balance the optimization process. Additionally, We find that most of the solutions to long-tailed problems are still biased towards head classes in the end, and we propose a simple and post hoc prediction re-balancing strategy to further mitigate the basis toward head class. Extensive experiments are conducted on multiple popular long-tailed recognition benchmark datasets to evaluate the effectiveness of these two designs. Our approach achieves top-1 accuracy of 48.5\%, 41.4\%, and 73.3\% on CIFAR100-LT, Places-LT, and iNaturalist, outperforming the state-of-the-art method GCL by a significant margin of 3.62\%, 0.76\% and 1.2\%, respectively. Code is available at https://github.com/lt-project-repository/lt-project.

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

↑