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

跨模态原型对齐与混合用于无训练少样本分类

Project and Mix: Task-Semantic Prototypes for Few-Shot Image Classification

Department of Computer Science, Universitat Autònoma de Barcelona, Spain(巴塞罗那自治大学计算机科学系);Computer Vision Center, Barcelona, Spain(巴塞罗那计算机视觉中心);Media Integration and Communication Center, University of Florence, Italy(佛罗伦萨大学媒体整合与传播中心);Bernoulli Institute, University of Groningen, the Netherlands(格罗宁根大学伯努利学院);IDEAS Research Institute, Poland(波兰IDEAS研究所);ESAT-PSI, KU Leuven, Belgium(比利时KU莱顿大学ESAT-PSI)

Dipam Goswami, Simone Magistri, Gido M. van de Ven, Bartłomiej Twardowski, Andrew D. Bagdanov, Tinne Tuytelaars, Joost van de Weijer

AI总结:

本文研究了直接混合图像与文本原型对少样本分类的影响,提出通过投影获取语义对齐的图像子空间,结合文本嵌入和图像特定LDA分类器提升性能。

摘要:

视觉-语言模型(如CLIP)通过对齐文本和图像对进行训练。为提升基于CLIP的少样本图像分类,近期工作发现,除了文本嵌入外,训练集中的图像嵌入也是重要信息来源。本文研究了直接混合图像和文本原型对少样本分类的影响,并从偏差-方差视角分析。结果显示,混合原型类似于收缩估计器。尽管混合原型提升了分类性能,图像原型仍引入实例特定的背景或上下文噪声。为捕捉与给定分类任务相关的图像空间信息,本文提出将图像原型投影到语义文本嵌入空间的主方向,获得语义对齐的图像子空间。这些语义对齐的图像原型与文本嵌入混合后进一步提升分类性能。然而,对于CLIP中跨模态对齐较差的下游数据集,语义对齐可能不理想。本文表明,通过建模各向异性使用类协方差,图像子空间仍可被利用。实验显示,结合文本对齐混合原型分类器和图像特定LDA分类器在少样本分类基准上优于现有方法。

英文摘要:

Vision-language models like CLIP are trained with the objective of aligning text and image pairs. Beyond text prompts alone, recent works show that exploiting few-shot image embeddings from a training set is effective for CLIP-based classification. In this work, we analyze mixing image and text prototypes from a bias-variance perspective and show that mixing prototypes acts like a variance shrinkage estimator. Naively mixing text and image prototypes combines two partially aligned spaces since the two modalities are not perfectly aligned. To address this, we project image prototypes onto the principal directions of the semantic text embedding space to obtain a task-semantic image subspace. Mixing the image prototypes with text embeddings in the task-semantic subspace improves few-shot classification. However, when the task-semantic subspace captures insufficient discriminative visual information, relying on this subspace alone can be suboptimal. On extensive experiments over several few-shot classification benchmarks, we show that combining a task-semantic mixed prototype classifier and an anisotropic image-specific classifier systematically outperforms existing methods.

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

↑