ProS:为通用跨域检索提示模拟泛化知识
ProS: Prompting-to-simulate Generalized knowledge for Universal Cross-Domain Retrieval
AI总结:
针对通用跨域检索中的域偏移与语义偏移,本文提出首个基于提示调优的 ProS 方法,通过学习提示单元和内容感知提示模拟器生成 CaDP,并在三个基准上以较少参数达到最先进性能。
摘要:
通用跨域检索(Universal Cross-Domain Retrieval,UCDR)的目标是在泛化测试场景中取得稳健性能,在这些场景中,数据在训练期间可能属于严格未知的域和类别。近来,结合提示调优的预训练模型展现出强大的泛化能力,并在少样本学习和视频-文本检索等多种下游任务中取得了显著成果。然而,将其直接应用于 UCDR 可能不足以同时处理域偏移(即适应陌生域)和语义偏移(即迁移到未知类别)。为此,我们提出 Prompting-to-Simulate(ProS),这是首个将提示调优应用于 UCDR 的方法。ProS 采用两步流程来模拟内容感知动态提示(Content-aware Dynamic Prompts,CaDP),这些提示能够影响模型为 UCDR 生成泛化特征。具体而言,在提示单元学习阶段,我们引入两个提示单元,以掩码并对齐的方式分别捕获域知识和语义知识。随后,在上下文感知模拟器学习阶段,我们在模拟测试场景下训练一个内容感知提示模拟器,以生成相应的 CaDP。在三个基准数据集上进行的大量实验表明,我们的方法在不引入过多参数的情况下取得了新的最先进性能。我们的方法已公开发布于 https://github.com/fangkaipeng/ProS。
英文摘要:
The goal of Universal Cross-Domain Retrieval (UCDR) is to achieve robust performance in generalized test scenarios, wherein data may belong to strictly unknown domains and categories during training. Recently, pre-trained models with prompt tuning have shown strong generalization capabilities and attained noteworthy achievements in various downstream tasks, such as few-shot learning and video-text retrieval. However, applying them directly to UCDR may not sufficiently to handle both domain shift (i.e., adapting to unfamiliar domains) and semantic shift (i.e., transferring to unknown categories). To this end, we propose \textbf{Pro}mpting-to-\textbf{S}imulate (ProS), the first method to apply prompt tuning for UCDR. ProS employs a two-step process to simulate Content-aware Dynamic Prompts (CaDP) which can impact models to produce generalized features for UCDR. Concretely, in Prompt Units Learning stage, we introduce two Prompt Units to individually capture domain and semantic knowledge in a mask-and-align way. Then, in Context-aware Simulator Learning stage, we train a Content-aware Prompt Simulator under a simulated test scenarios to produce the corresponding CaDP. Extensive experiments conducted on three benchmark datasets show that our method achieves new state-of-the-art performance without bringing excessive parameters. Our method is publicly available at https://github.com/fangkaipeng/ProS.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。