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

PrototypeFormer:学习探索小样本图像分类中的原型关系

PrototypeFormer: Learning to Explore Prototype Relationships for Few-shot Image Classification

School of Computer Science and Technology, Soochow University(苏州大学计算机科学与技术学院);School of Cyberspace Security, Sun Yat-sen University(中山大学网络空间安全学院)

Meijuan Su, Feihong He, Fanzhang Li

AI总结:

提出 PrototypeFormer,通过 transformer 原型提取模块和对比学习优化探索类别原型关系,在 miniImageNet 小样本分类任务上取得当前最佳性能。

摘要:

小样本图像分类因能够克服新类别样本有限所带来的分类性能受限挑战而受到广泛关注。现有大多数工作采用复杂的学习策略和特征学习模块来缓解这一挑战。本文提出一种名为 PrototypeFormer 的新方法,用于探索小样本场景中各类别原型之间的关系。具体而言,我们利用 transformer 架构构建原型提取模块,旨在提取对小样本分类更具判别性的类别表示。此外,在模型训练过程中,我们提出一种基于对比学习的优化方法,以优化小样本学习场景中的原型特征。尽管该方法十分简单,没有花哨的附加设计,却取得了非常出色的表现。我们在多个常用的小样本图像分类基准数据集上对所提方法进行了实验,结果表明该方法优于当前所有最先进方法。特别是,该方法在 miniImageNet 的 5-way 5-shot 和 5-way 1-shot 任务上分别取得 97.07% 和 90.88% 的准确率,较最先进结果分别高出 0.57% 和 6.84%。代码将于稍后发布。

英文摘要:

Few-shot image classification has received considerable attention for overcoming the challenge of limited classification performance with limited samples in novel classes. Most existing works employ sophisticated learning strategies and feature learning modules to alleviate this challenge. In this paper, we propose a novel method called PrototypeFormer, exploring the relationships among category prototypes in the few-shot scenario. Specifically, we utilize a transformer architecture to build a prototype extraction module, aiming to extract class representations that are more discriminative for few-shot classification. Besides, during the model training process, we propose a contrastive learning-based optimization approach to optimize prototype features in few-shot learning scenarios. Despite its simplicity, our method performs remarkably well, with no bells and whistles. We have experimented with our approach on several popular few-shot image classification benchmark datasets, which shows that our method outperforms all current state-of-the-art methods. In particular, our method achieves 97.07\% and 90.88\% on 5-way 5-shot and 5-way 1-shot tasks of miniImageNet, which surpasses the state-of-the-art results with accuracy of 0.57\% and 6.84\%, respectively. The code will be released later.

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

↑