arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.00491cs.CVcs.LG
收藏

学习原型分类器用于长尾识别

Learning Prototype Classifiers for Long-Tailed Recognition

University of California Santa Barbara(加州大学圣巴巴拉分校);Google(谷歌);Salesforce Research(赛富时研究院)

Saurabh Sharma, Yongqin Xian, Ning Yu, Ambuj Singh

AI总结:

针对长尾识别中softmax分类器因数据量导致范数偏差的问题,提出联合学习原型分类器,利用表示空间距离作为对数分数并引入通道相关温度参数,实现稳定优化与更好分离,性能优于或可比现有方法。

摘要:

长尾识别(LTR)问题由于现实世界中物体基本的幂律分布而在近年来受到关注。LTR中最近的大多数工作使用softmax分类器,这些分类器存在偏差,因为它们将分类器范数与给定类别的训练数据量相关联。在这项工作中,我们表明学习原型分类器解决了LTR中softmax的偏差问题。原型分类器仅使用最近类均值(NCM)就能提供有希望的结果,NCM是原型为经验质心的特殊情况。我们更进一步,提出通过在表示空间中使用到原型的距离作为分类的对数分数来联合学习原型。此外,我们理论上分析了基于欧几里得距离的原型分类器的性质,这些性质导致了基于梯度的稳定优化,并且对异常值具有鲁棒性。为了实现沿每个通道的独立距离尺度,我们通过学习通道相关的温度参数来增强原型分类器。我们的分析表明,原型分类器学习的原型比经验质心分离得更好。在四个LTR基准上的结果表明,原型分类器优于或可比最先进的方法。我们的代码可在 https://github.com/saurabhsharma1993/prototype-classifier-ltr 获取。

英文摘要:

The problem of long-tailed recognition (LTR) has received attention in recent years due to the fundamental power-law distribution of objects in the real-world. Most recent works in LTR use softmax classifiers that are biased in that they correlate classifier norm with the amount of training data for a given class. In this work, we show that learning prototype classifiers addresses the biased softmax problem in LTR. Prototype classifiers can deliver promising results simply using Nearest-Class- Mean (NCM), a special case where prototypes are empirical centroids. We go one step further and propose to jointly learn prototypes by using distances to prototypes in representation space as the logit scores for classification. Further, we theoretically analyze the properties of Euclidean distance based prototype classifiers that lead to stable gradient-based optimization which is robust to outliers. To enable independent distance scales along each channel, we enhance Prototype classifiers by learning channel-dependent temperature parameters. Our analysis shows that prototypes learned by Prototype classifiers are better separated than empirical centroids. Results on four LTR benchmarks show that Prototype classifier outperforms or is comparable to state-of-the-art methods. Our code is made available at https://github.com/saurabhsharma1993/prototype-classifier-ltr.

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

↑