arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.01195cs.CVcs.AIcs.MM
收藏

并非所有特征都重要:通过自适应先验精炼增强少样本CLIP

Not All Features Matter: Enhancing Few-shot CLIP with Adaptive Prior Refinement

Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);City University of Hong Kong(香港城市大学);The Chinese University of Hong Kong(香港中文大学)

Xiangyang Zhu, Renrui Zhang, Bowei He, Aojun Zhou, Dong Wang, Bin Zhao, Peng Gao

AI总结:

本文提出自适应先验精炼方法APE及变体APE-T,通过分析类间差异解耦领域知识并探索三方亲和力,在11个基准上以更少参数实现SOTA性能。

摘要:

对比语言-图像预训练(CLIP)的普及推动了其在多种下游视觉任务中的应用。为了提升其在下游任务上的能力,少样本学习已成为一种被广泛采用的技术。然而,现有方法要么表现出有限的性能,要么存在过多可学习参数。在本文中,我们提出了APE,一种针对CLIP预训练知识的自适应先验精炼方法,该方法以高计算效率实现了卓越的准确率。通过先验精炼模块,我们分析了下游数据中的类间差异,并从CLIP提取的缓存模型中解耦出领域特定知识。在此基础上,我们引入了两种模型变体:免训练的APE和需训练的APE-T。我们探索了测试图像、先验缓存模型和文本表示之间的三方亲和力,并仅启用一个轻量级类别残差模块进行训练。在11个基准的平均准确率上,APE和APE-T均达到了最先进水平,在16-shot下分别以少30倍的可学习参数超越次优方法+1.59%和+1.99%。

英文摘要:

The popularity of Contrastive Language-Image Pre-training (CLIP) has propelled its application to diverse downstream vision tasks. To improve its capacity on downstream tasks, few-shot learning has become a widely-adopted technique. However, existing methods either exhibit limited performance or suffer from excessive learnable parameters. In this paper, we propose APE, an Adaptive Prior rEfinement method for CLIP's pre-trained knowledge, which achieves superior accuracy with high computational efficiency. Via a prior refinement module, we analyze the inter-class disparity in the downstream data and decouple the domain-specific knowledge from the CLIP-extracted cache model. On top of that, we introduce two model variants, a training-free APE and a training-required APE-T. We explore the trilateral affinities between the test image, prior cache model, and textual representations, and only enable a lightweight category-residual module to be trained. For the average accuracy over 11 benchmarks, both APE and APE-T attain state-of-the-art and respectively outperform the second-best by +1.59% and +1.99% under 16 shots with x30 less learnable parameters.

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

↑