arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.23736cs.CVcs.IR
收藏

模态与任务自适应增强零样本组合图像检索

Modality and Task Adaptation for Enhanced Zero-shot Composed Image Retrieval

Haiwen Li, Fei Su, Zhicheng Zhao

AI总结:

针对零样本组合图像检索中反演方法存在的任务与模态差异问题,提出轻量级后置框架,含文本锚定三元组构建和MoTa-Adapter参数高效微调,在四个基准上达到最先进性能。

摘要:

作为一项具有挑战性的视觉-语言任务,零样本组合图像检索(ZS-CIR)旨在使用双模态(图像+文本)查询来检索目标图像。典型的ZS-CIR方法采用反演网络生成能有效表示输入语义的伪词元。然而,基于反演的方法存在两个固有问题:第一,任务差异存在,因为反演训练和CIR推理涉及不同的目标。第二,模态差异源于训练和推理之间输入特征分布的不匹配。为此,我们提出了一个轻量级的后置框架,包含两个组件:(1)一种新的文本锚定三元组构建流程,利用大型语言模型(LLM)将标准图像-文本数据集转换为三元组数据集,其中文本描述作为每个三元组的目标。(2)MoTa-Adapter,一种新颖的参数高效微调方法,使用我们构建的三元组数据将双编码器适应于CIR任务。具体来说,在文本侧,多组可学习的任务提示通过混合专家(MoE)层集成,以捕获任务特定的先验并处理不同类型的修改。在图像侧,MoTa-Adapter调节反演网络的输入,以更好地匹配下游文本编码器。此外,提出了一种基于熵的优化策略,为具有挑战性的样本分配更大的权重,从而确保高效适应。实验表明,结合我们提出的组件,基于反演的方法取得了显著改进,在四个广泛使用的基准上达到了最先进的性能。所有数据和代码将公开发布。

英文摘要:

As a challenging vision-language task, Zero-Shot Composed Image Retrieval (ZS-CIR) is designed to retrieve target images using bi-modal (image+text) queries. Typical ZS-CIR methods employ an inversion network to generate pseudo-word tokens that effectively represent the input semantics. However, the inversion-based methods suffer from two inherent issues: First, the task discrepancy exists because inversion training and CIR inference involve different objectives. Second, the modality discrepancy arises from the input feature distribution mismatch between training and inference. To this end, we propose a lightweight post-hoc framework, consisting of two components: (1) A new text-anchored triplet construction pipeline leverages a large language model (LLM) to transform a standard image-text dataset into a triplet dataset, where a textual description serves as the target of each triplet. (2) The MoTa-Adapter, a novel parameter-efficient fine-tuning method, adapts the dual encoder to the CIR task using our constructed triplet data. Specifically, on the text side, multiple sets of learnable task prompts are integrated via a Mixture-of-Experts (MoE) layer to capture task-specific priors and handle different types of modifications. On the image side, MoTa-Adapter modulates the inversion network's input to better match the downstream text encoder. In addition, an entropy-based optimization strategy is proposed to assign greater weight to challenging samples, thus ensuring efficient adaptation. Experiments show that, with the incorporation of our proposed components, inversion-based methods achieve significant improvements, reaching state-of-the-art performance across four widely-used benchmarks. All data and code will be made publicly available.

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

↑