用文字描述替代图像,实现更快更私密的文本检索。
Vision-Free Retrieval: Rethinking Multimodal Search with Textual Scene Descriptions

- 用文本描述代替图像输入,单编码器完成文本到文本检索
- 0.3B参数模型在零样本下超越主流多模态模型表现
- 适合关注隐私、小模型和复杂查询的开发者使用
对比训练的视觉语言模型(如CLIP)已成为学习判别性跨模态表示的标准方法。然而,这类模型常表现出浅层语言理解,呈现词袋行为,其双编码器结构加剧了模态鸿沟。此外,依赖大规模网络收集数据训练导致计算成本高且存在严重隐私问题。本文挑战视觉编码器在检索任务中的必要性,提出无需视觉编码器的单编码器检索流程。我们转向文本到文本的范式,借助大语言模型生成的结构化图像描述作为中间表示。实验证明该范式显著缩小模态鸿沟,提升组合性,对短句和长句查询均表现更优,仅需两块GPU数小时校准即可实现。用文字描述替代原始图像也提供了更友好的隐私保护方案。为评估泛化能力并弥补现有组合性基准的不足,我们基于Flickr30k和COCO发布两个新基准subFlickr和subCOCO,包含多样化的短句组合查询。我们的视觉无关检索器在多个检索与组合性基准上达到甚至超过传统多模态模型表现,且在零样本设置下取得当前最优结果,模型规模最小仅0.3B参数。代码已开源。
原文摘要 · Abstract (English)
Contrastively-trained Vision-Language Models (VLMs), such as CLIP, have become the standard approach for learning discriminative vision-language representations. However, these models often exhibit shallow language understanding, manifesting bag-of-words behaviour. These limitations are reinforced by their dual-encoder design, which induces a modality gap. Additionally, the reliance on vast web-collected data corpora for training makes the process computationally expensive and introduces significant privacy concerns. To address these limitations, in this work, we challenge the necessity of vision encoders for retrieval tasks by introducing a vision-free, single-encoder retrieval pipeline. Departing from the traditional text-to-image retrieval paradigm, we migrate to a text-to-text paradigm with the assistance of VLLM-generated structured image descriptions. We demonstrate that this paradigm shift has significant advantages, including a substantial reduction of the modality gap, improved compositionality, and better performance on short and long caption queries, all attainable with only a few hours of calibration on two GPUs. Additionally, substituting raw images with textual descriptions introduces a more privacy-friendly alternative for retrieval. To further assess generalisation and address some of the shortcomings of prior compositionality benchmarks, we release two benchmarks derived from Flickr30k and COCO, containing diverse compositional queries made of short captions, which we coin subFlickr and subCOCO. Our vision-free retriever matches and often surpasses traditional multimodal models. Importantly, our approach achieves state-of-the-art zero-shot performance on multiple retrieval and compositionality benchmarks, with models as small as 0.3B parameters. Code is available at: https://github.com/IoannaNti/LexiCLIP
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。