arXiv:2412.06760cs.CV2024-12ICLR被引 2

用轻量适配器让CLIP凭一句指令排序图片,效果优于微调版CLIP

Ranking-aware adapter for text-driven image ordering with CLIP

  • 在CLIP上加可学习提示和排序感知注意力分支
  • 单指令下排序性能超越微调CLIP,媲美专用模型
  • 适合需要跨图比较的图像排序任务

视觉语言模型(VLMs)在需量化概念的任务(如人脸年龄估计、图像质量评估)中取得进展,推动了图像排序与检索的应用。然而现有方法多基于单图推理,依赖文本提示,难以从多图中学习综合理解。为此,我们提出一种高效方法,将CLIP重构为学习排序任务,并引入轻量适配器以实现文本引导的图像排序。具体地,该方法采用可学习提示适配新指令,设计带排序感知注意力的辅助分支,利用文本条件下的视觉差异提供额外监督。所提排名感知适配器在多种任务中持续优于微调后的CLIP,性能媲美专用于人脸年龄估计和图像质量评估的先进模型。整体方法聚焦于单指令下的图像排序,通过自然方式学习图像间的视觉差异,无需为特定任务定制大量文本提示。代码已开源:github.com/uynaes/RankingAwareCLIP。

原文摘要 · Abstract (English)

Recent advances in vision-language models (VLMs) have made significant progress in downstream tasks that require quantitative concepts such as facial age estimation and image quality assessment, enabling VLMs to explore applications like image ranking and retrieval. However, existing studies typically focus on the reasoning based on a single image and heavily depend on text prompting, limiting their ability to learn comprehensive understanding from multiple images. To address this, we propose an effective yet efficient approach that reframes the CLIP model into a learning-to-rank task and introduces a lightweight adapter to augment CLIP for text-guided image ranking. Specifically, our approach incorporates learnable prompts to adapt to new instructions for ranking purposes and an auxiliary branch with ranking-aware attention, leveraging text-conditioned visual differences for additional supervision in image ranking. Our ranking-aware adapter consistently outperforms fine-tuned CLIPs on various tasks and achieves competitive results compared to state-of-the-art models designed for specific tasks like facial age estimation and image quality assessment. Overall, our approach primarily focuses on ranking images with a single instruction, which provides a natural and generalized way of learning from visual differences across images, bypassing the need for extensive text prompts tailored to individual tasks. Code is available: github.com/uynaes/RankingAwareCLIP.

图像排序CLIP适配器多图对比

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