arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.14465cs.CV
收藏

细粒度检索提示微调

Fine-grained Retrieval Prompt Tuning

International School of Information Science & Engineering, Dalian University of Technology(大连理工大学国际信息科学与工程学院);Huawei Cloud & AI(华为云与人工智能);College of Computer and Engineering, Shandong University of Science and Technology(山东科技大学计算机与工程学院);SenseTime Computer Vision Research Group, The University of Sydney(悉尼大学商汤计算机视觉研究组)

Shijie Wang, Jianlong Chang, Zhihui Wang, Haojie Li, Wanli Ouyang, Qi Tian

摘要:

细粒度对象检索的目的是学习区分表示来检索视觉上相似的对象。然而,现有的表现最好的作品通常在语义嵌入空间上施加成对的相似性,或者设计一个局部化子网络,以在有限的数据场景中不断微调整个模型,从而导致收敛到次优解。在本文中,我们开发了细粒度检索提示微调(FRPT),它引导一个冻结的预训练模型执行细粒度的检索任务,从样本提示和特征适应的角度。具体而言,FRPT只需要在提示和自适应中学习更少的参数,而不是对整个模型进行微调,从而解决了因微调整个模型而导致的收敛到次优解的问题。从技术上讲,引入区分扰动提示(DPP),将其视为一种样本提示过程,通过内容感知的非均匀采样操作,放大甚至夸大了某些对类别预测有贡献的区分元素。通过这种方式,DPP可以使在扰动提示辅助下的细粒度检索任务接近原始预训练期间已解决的任务。因此,它保留了从输入样本中提取的表示的泛化和区分。此外,提出了一种特定于类别的感知头,并将其视为特征自适应,该特征自适应使用类别引导的实例归一化来消除预训练模型提取的特征中的物种差异。从而使得优化后的特征只包含子类别之间的差异。大量的实验表明,我们的FRPT与较少的可学习参数实现了最先进的性能在三个广泛使用的细粒度数据集。

英文摘要:

Fine-grained object retrieval aims to learn discriminative representation to retrieve visually similar objects. However, existing top-performing works usually impose pairwise similarities on the semantic embedding spaces or design a localization sub-network to continually fine-tune the entire model in limited data scenarios, thus resulting in convergence to suboptimal solutions. In this paper, we develop Fine-grained Retrieval Prompt Tuning (FRPT), which steers a frozen pre-trained model to perform the fine-grained retrieval task from the perspectives of sample prompting and feature adaptation. Specifically, FRPT only needs to learn fewer parameters in the prompt and adaptation instead of fine-tuning the entire model, thus solving the issue of convergence to suboptimal solutions caused by fine-tuning the entire model. Technically, a discriminative perturbation prompt (DPP) is introduced and deemed as a sample prompting process, which amplifies and even exaggerates some discriminative elements contributing to category prediction via a content-aware inhomogeneous sampling operation. In this way, DPP can make the fine-grained retrieval task aided by the perturbation prompts close to the solved task during the original pre-training. Thereby, it preserves the generalization and discrimination of representation extracted from input samples. Besides, a category-specific awareness head is proposed and regarded as feature adaptation, which removes the species discrepancies in features extracted by the pre-trained model using category-guided instance normalization. And thus, it makes the optimized features only include the discrepancies among subcategories. Extensive experiments demonstrate that our FRPT with fewer learnable parameters achieves the state-of-the-art performance on three widely-used fine-grained datasets.

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

↑