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

用视觉Transformer重新思考长尾识别

Rethink Long-tailed Recognition with Vision Transformers

Tsinghua University(清华大学);Tsinghua Shenzhen International Graduate School(清华大学深圳国际研究生院);Shenzhen Peng Cheng Lab(深圳鹏城实验室)

Zhengzhuo Xu, Shuo Yang, Xingjun Wang, Chun Yuan

AI总结:

本文重新审视基于视觉Transformer的长尾识别,发现ViT在长尾数据上难以训练但可通过无监督学习获得泛化特征,并提出预测分布校准(PDC)度量模型的预测偏好,实验验证其能精确反映校准情况。

摘要:

在现实世界中,数据在类别或属性方面往往遵循长尾分布,这推动了具有挑战性的长尾识别(LTR)问题。本文中,我们重新审视了近期采用具有潜力的视觉Transformer(ViT)的长尾识别方法。我们发现:1)ViT在长尾数据上难以训练;2)无论是在长尾数据集还是平衡数据集上,ViT都能以无监督方式(如掩码生成训练)学习到泛化特征。因此,我们提出采用无监督学习来利用长尾数据。此外,我们提出预测分布校准(PDC)作为长尾识别的一种新度量,在该度量下,模型倾向于简单地将输入分类为常见类别。我们的PDC能够定量衡量模型预测偏好的校准程度。在此基础上,我们发现许多长尾识别方法尽管提升了准确率,但仅轻微缓解了该问题。在基准数据集上的大量实验验证了PDC能够精确反映模型的预测偏好,并与可视化结果一致。

英文摘要:

In the real world, data tends to follow long-tailed distributions w.r.t. class or attribution, motivating the challenging Long-Tailed Recognition (LTR) problem. In this paper, we revisit recent LTR methods with promising Vision Transformers (ViT). We figure out that 1) ViT is hard to train with long-tailed data. 2) ViT learns generalized features in an unsupervised manner, like mask generative training, either on long-tailed or balanced datasets. Hence, we propose to adopt unsupervised learning to utilize long-tailed data. Furthermore, we propose the Predictive Distribution Calibration (PDC) as a novel metric for LTR, where the model tends to simply classify inputs into common classes. Our PDC can measure the model calibration of predictive preferences quantitatively. On this basis, we find many LTR approaches alleviate it slightly, despite the accuracy improvement. Extensive experiments on benchmark datasets validate that PDC reflects the model's predictive preference precisely, which is consistent with the visualization.

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

↑