arXiv:2506.09691cs.CVcs.CL2025-06被引 1

推理时加结构,让视觉语言模型更懂组合关系。

Adding simple structure at inference improves Vision-Language Compositionality

  • 图像分块+文本拆解,逐段匹配再聚合相似度
  • 无需训练,显著提升属性-物体绑定等组合能力
  • 适合想提升现有模型组合理解力的研究者

双编码器视觉-语言模型(如CLIP)广泛用于图文检索,但存在组合性不足的问题,表现为类似词袋的行为,限制了检索性能。尽管已有多种训练方法被提出以改善组合能力,但推理阶段的技术仍受关注较少。本文提出在推理时引入简单结构:给定一张图像和一段文本,首先将图像划分为多个小区域,其次提取文本中描述的对象、属性和关系的片段,然后利用预训练的VLM找出与各文本片段最匹配的图像区域,最后通过聚合各匹配项的相似度计算最终图文相似度。我们在多个主流双编码器VLM上评估该方法,在控制数据集和自然数据集上均验证其有效性。结果表明,该方法无需任何训练即可持续提升模型表现,尤其在属性-物体绑定任务上效果显著。深入分析发现:图像分块是性能提升的关键;同时指出了未来改进推理阶段方法的具体方向。

原文摘要 · Abstract (English)

Dual encoder Vision-Language Models (VLM) such as CLIP are widely used for image-text retrieval tasks. However, those models struggle with compositionality, showing a bag-of-words-like behavior that limits their retrieval performance. Many different training approaches have been proposed to improve the vision-language compositionality capabilities of those models. In comparison, inference-time techniques have received little attention. In this paper, we propose to add simple structure at inference, where, given an image and a caption: i) we divide the image into different smaller crops, ii) we extract text segments, capturing objects, attributes and relations, iii) using a VLM, we find the image crops that better align with text segments obtaining matches, and iv) we compute the final image-text similarity aggregating the individual similarities of the matches. Based on various popular dual encoder VLMs, we evaluate our approach in controlled and natural datasets for VL compositionality. We find that our approach consistently improves the performance of evaluated VLMs without any training, which shows the potential of inference-time techniques. The results are especially good for attribute-object binding as shown in the controlled dataset. As a result of an extensive analysis: i) we show that processing image crops is actually essential for the observed gains in performance, and ii) we identify specific areas to further improve inference-time approaches.

视觉语言组合性推理优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。