arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.02173cs.CVcs.AI
收藏

面向文本到图像行人重识别的提示解耦

Prompt Decoupling for Text-to-Image Person Re-identification

Weihao Li, Lei Tan, Pingyang Dai, Yan Zhang

AI总结:

本文提出一种两阶段训练方法,通过引入提示微调策略将领域适应与任务适应解耦,有效提升了基于CLIP的文本到图像行人重识别性能。

摘要:

文本到图像行人重识别(TIReID)旨在通过文本描述查询从图像库中检索目标行人。近期,像CLIP这样的预训练视觉-语言模型因其强大的语义概念学习能力和丰富的多模态知识而备受关注,并被广泛用于该任务。然而,近期基于CLIP的TIReID方法通常依赖对整个网络进行直接微调,以使CLIP模型适应TIReID任务。尽管这些方法在该主题上表现出竞争力,但它们是次优的,因为它们需要同时进行领域适应和任务适应。为了解决这个问题,我们尝试在训练阶段将这两个过程解耦。具体而言,我们引入提示微调策略以实现领域适应,并提出一种两阶段训练方法,将领域适应与任务适应分离。在第一阶段,我们冻结CLIP的两个编码器,仅专注于优化提示,以缓解CLIP原始训练数据与下游任务之间的领域差距。在第二阶段,我们保持提示固定,并微调CLIP模型以优先捕获细粒度信息,这更适合TIReID任务。最后,我们在三个广泛使用的数据集上评估了我们方法的有效性。与直接微调方法相比,我们的方法取得了显著改进。

英文摘要:

Text-to-image person re-identification (TIReID) aims to retrieve the target person from an image gallery via a textual description query. Recently, pre-trained vision-language models like CLIP have attracted significant attention and have been widely utilized for this task due to their robust capacity for semantic concept learning and rich multi-modal knowledge. However, recent CLIP-based TIReID methods commonly rely on direct fine-tuning of the entire network to adapt the CLIP model for the TIReID task. Although these methods show competitive performance on this topic, they are suboptimal as they necessitate simultaneous domain adaptation and task adaptation. To address this issue, we attempt to decouple these two processes during the training stage. Specifically, we introduce the prompt tuning strategy to enable domain adaptation and propose a two-stage training approach to disentangle domain adaptation from task adaptation. In the first stage, we freeze the two encoders from CLIP and solely focus on optimizing the prompts to alleviate domain gap between the original training data of CLIP and downstream tasks. In the second stage, we maintain the fixed prompts and fine-tune the CLIP model to prioritize capturing fine-grained information, which is more suitable for TIReID task. Finally, we evaluate the effectiveness of our method on three widely used datasets. Compared to the directly fine-tuned approach, our method achieves significant improvements.

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

↑