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

CoVR-2:面向组合视频检索的自动数据构建

CoVR-2: Automatic Data Construction for Composed Video Retrieval

École des Ponts(巴黎路桥学院);Univ Gustave Eiffel(Gustave Eiffel大学);CNRS(法国国家科学研究中心);Google DeepMind(谷歌DeepMind);ENS(巴黎高等师范学院);Inria(法国国家信息与自动化研究院)

Lucas Ventura, Antoine Yang, Cordelia Schmid, Gül Varol

AI总结:

本文提出了一种可扩展的自动数据构建方法,利用视频-字幕对和大型语言模型生成三元组,构建了WebVid-CoVR数据集和CoVR基准,并基于BLIP-2训练的模型在零样本CoIR任务上取得了最先进性能。

摘要:

组合图像检索(CoIR)最近作为一种将文本和图像查询结合在一起以在数据库中搜索相关图像的任务而受到欢迎。大多数 CoIR 方法需要人工标注的数据集,由图像-文本-图像三元组组成,其中文本描述了从查询图像到目标图像的修改。然而,人工构建 CoIR 三元组成本高昂且阻碍了可扩展性。在这项工作中,我们转而提出了一种可扩展的自动数据集创建方法,该方法在给定视频-字幕对的情况下生成三元组,同时将该任务的范围扩展到包含组合视频检索(CoVR)。为此,我们从大型数据库中挖掘具有相似字幕的成对视频,并利用大型语言模型生成相应的修改文本。将此方法应用于庞大的 WebVid2M 集合,我们自动构建了 WebVid-CoVR 数据集,产生了 160 万个三元组。此外,我们引入了一个新的 CoVR 基准,包含一个手动标注的评估集以及基线结果。我们进一步验证了我们的方法同样适用于图像-字幕对,使用 Conceptual Captions 数据集生成了 330 万个 CoIR 训练三元组。我们的模型基于 BLIP-2 预训练,将其适配到组合视频(或图像)检索,并结合了额外的字幕检索损失以利用三元组之外的额外监督。我们进行了广泛的消融实验,以分析我们在新 CoVR 基准上的设计选择。我们的实验还表明,在我们的数据集上训练 CoVR 模型可以有效地迁移到 CoIR,在 CIRR、FashionIQ 和 CIRCO 基准的零样本设置中实现了改进的最先进性能。我们的代码、数据集和模型已在 https://imagine.enpc.fr/~ventural/covr/ 公开提供。

英文摘要:

Composed Image Retrieval (CoIR) has recently gained popularity as a task that considers both text and image queries together, to search for relevant images in a database. Most CoIR approaches require manually annotated datasets, comprising image-text-image triplets, where the text describes a modification from the query image to the target image. However, manual curation of CoIR triplets is expensive and prevents scalability. In this work, we instead propose a scalable automatic dataset creation methodology that generates triplets given video-caption pairs, while also expanding the scope of the task to include composed video retrieval (CoVR). To this end, we mine paired videos with a similar caption from a large database, and leverage a large language model to generate the corresponding modification text. Applying this methodology to the extensive WebVid2M collection, we automatically construct our WebVid-CoVR dataset, resulting in 1.6 million triplets. Moreover, we introduce a new benchmark for CoVR with a manually annotated evaluation set, along with baseline results. We further validate that our methodology is equally applicable to image-caption pairs, by generating 3.3 million CoIR training triplets using the Conceptual Captions dataset. Our model builds on BLIP-2 pretraining, adapting it to composed video (or image) retrieval, and incorporates an additional caption retrieval loss to exploit extra supervision beyond the triplet. We provide extensive ablations to analyze the design choices on our new CoVR benchmark. Our experiments also demonstrate that training a CoVR model on our datasets effectively transfers to CoIR, leading to improved state-of-the-art performance in the zero-shot setup on the CIRR, FashionIQ, and CIRCO benchmarks. Our code, datasets, and models are publicly available at https://imagine.enpc.fr/~ventural/covr/.

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

↑