魔鬼在于少样本:面向少样本学习的迭代式视觉知识补全
The Devil is in the Few Shots: Iterative Visual Knowledge Completion for Few-shot Learning
AI总结:
针对少样本学习中样本分布狭窄导致视觉知识偏差的问题,提出迭代式视觉知识补全方法KCL,利用无标签样本逐步补全知识,无需额外数据,在11个基准数据集上验证了有效性。
摘要:
对比语言-图像预训练(CLIP)已展现出强大的零样本学习性能。少样本学习旨在通过为每个类别提供少量图像(即“少样本”)来进一步增强CLIP的迁移能力。现有方法大多通过引入可学习的提示或适配器来隐式地从少样本中学习,或将其显式嵌入缓存模型中进行推理。然而,少样本的狭窄分布往往包含不完整的类别信息,导致视觉知识存在偏差,具有较高的误分类风险。为解决此问题,近期方法提出通过生成模型或额外数据库来补充视觉知识,但这可能代价高昂且耗时。在本文中,我们提出了一种迭代式视觉知识补全(KCL)方法,通过合理利用无标签样本,无需借助任何辅助或合成数据即可补充视觉知识。具体而言,KCL首先测量无标签样本与每个类别之间的相似度。然后,根据设计好的置信度准则,选取每个类别中置信度最高的样本。最后,将收集到的样本视为有标签样本,并添加到少样本中,共同重新估计剩余的无标签样本。上述过程将重复一定迭代次数,随着收集的样本越来越多直至收敛,确保渐进且稳健的知识补全过程。在11个基准数据集上的大量实验证明了KCL作为一种即插即用模块在少样本和零样本学习设置下的有效性和高效性。代码可在https://github.com/Mark-Sky/KCL获取。
英文摘要:
Contrastive Language-Image Pre-training (CLIP) has shown powerful zero-shot learning performance. Few-shot learning aims to further enhance the transfer capability of CLIP by giving few images in each class, aka 'few shots'. Most existing methods either implicitly learn from the few shots by incorporating learnable prompts or adapters, or explicitly embed them in a cache model for inference. However, the narrow distribution of few shots often contains incomplete class information, leading to biased visual knowledge with high risk of misclassification. To tackle this problem, recent methods propose to supplement visual knowledge by generative models or extra databases, which can be costly and time-consuming. In this paper, we propose an Iterative Visual Knowledge CompLetion (KCL) method to complement visual knowledge by properly taking advantages of unlabeled samples without access to any auxiliary or synthetic data. Specifically, KCL first measures the similarities between unlabeled samples and each category. Then, the samples with top confidence to each category is selected and collected by a designed confidence criterion. Finally, the collected samples are treated as labeled ones and added to few shots to jointly re-estimate the remaining unlabeled ones. The above procedures will be repeated for a certain number of iterations with more and more samples being collected until convergence, ensuring a progressive and robust knowledge completion process. Extensive experiments on 11 benchmark datasets demonstrate the effectiveness and efficiency of KCL as a plug-and-play module under both few-shot and zero-shot learning settings. Code is available at https://github.com/Mark-Sky/KCL.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。