arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2306.07196cs.CV
收藏

检索增强的对比视觉-文本模型

Retrieval-Enhanced Contrastive Vision-Text Models

Google Research(谷歌研究院)

Ahmet Iscen, Mathilde Caron, Alireza Fathi, Cordelia Schmid

AI总结:

本文提出检索增强对比(RECO)训练方法,通过在冻结CLIP上添加轻量级单层融合Transformer,使模型在推理时从外部记忆检索跨模态信息来细化嵌入,从而在多个细粒度任务上大幅提升零样本性能。

摘要:

诸如CLIP之类的对比图像-文本模型构成了许多最先进系统的构建模块。尽管它们在识别常见通用概念方面表现出色,但在面对稀有甚至完全不存在于预训练数据集中的细粒度实体时仍然力不从心。因此,它们成功的一个关键因素一直是使用大规模精心整理的预训练数据,旨在扩大其在预训练阶段能够记忆的概念集合。在这项工作中,我们探索了一种替代方案,即不将细粒度知识直接编码到模型参数中,而是训练模型从外部记忆中检索这些知识。具体而言,我们提出赋予现有视觉-文本模型一种能力,使其在推理时能够利用从记忆中检索到的跨模态信息来细化自身嵌入,从而大幅提升其零样本预测能力。值得注意的是,我们证明这可以通过在冻结的CLIP之上添加一个轻量级、单层的融合Transformer来实现。我们的实验验证表明,我们提出的检索增强对比(RECO)训练在多个具有挑战性的细粒度任务上显著提升了CLIP的性能:例如在Stanford Cars上提升+10.9,在CUB-2011上提升+10.2,在最近的OVEN基准上提升+7.3,在OVEN上我们甚至在未见类别上超越了经过微调的模型。

英文摘要:

Contrastive image-text models such as CLIP form the building blocks of many state-of-the-art systems. While they excel at recognizing common generic concepts, they still struggle on fine-grained entities which are rare, or even absent from the pre-training dataset. Hence, a key ingredient to their success has been the use of large-scale curated pre-training data aiming at expanding the set of concepts that they can memorize during the pre-training stage. In this work, we explore an alternative to encoding fine-grained knowledge directly into the model's parameters: we instead train the model to retrieve this knowledge from an external memory. Specifically, we propose to equip existing vision-text models with the ability to refine their embedding with cross-modal retrieved information from a memory at inference time, which greatly improves their zero-shot predictions. Remarkably, we show that this can be done with a light-weight, single-layer, fusion transformer on top of a frozen CLIP. Our experiments validate that our retrieval-enhanced contrastive (RECO) training improves CLIP performance substantially on several challenging fine-grained tasks: for example +10.9 on Stanford Cars, +10.2 on CUB-2011 and +7.3 on the recent OVEN benchmark, where we even outperform the fine-tuned models on unseen classes.

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

↑