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

多标记图像识别中的文本图像提示微调

Texts as Images in Prompt Tuning for Multi-Label Image Recognition

Tomorrow Advancing Life(好未来);Harbin Institute of Technology(哈尔滨工业大学);Pazhou Lab(琶洲实验室)

Zixian Guo, Bowen Dong, Zhilong Ji, Jinfeng Bai, Yiwen Guo, Wangmeng Zuo

摘要:

提示微调已被用作使大型视觉语言预训练模型(例如CLIP)适应数据有限或标签有限设置中的各种下游任务的有效方法。尽管如此,视觉数据(例如,图像)是现有方法中学习提示的默认先决条件。在这项工作中,我们主张,图像-文本对比学习的有效性,在对齐的两种方式(用于训练CLIP)进一步使它成为可行的处理文本作为图像的提示微调,并引入TaI提示。与可视化数据相比,文本描述易于收集,并且可以直接导出其类标签。特别是,我们将TaI提示应用于多标签图像识别,其中野生句子作为图像的替代品进行提示微调。此外,TaI,双粒度提示微调(TaI-DPT)进一步提出了提取粗粒度和细粒度的嵌入,以提高多标签识别性能。实验结果表明,我们提出的TaI-DPT优于zero-shot CLIP在多个基准测试,例如,MS-COCO、VOC 2007和NUS-WIDE,而它可以与现有的图像提示方法相结合,以进一步提高识别性能。代码发布于https://github.com/guozix/TaI-DPT。

英文摘要:

Prompt tuning has been employed as an efficient way to adapt large vision-language pre-trained models (e.g. CLIP) to various downstream tasks in data-limited or label-limited settings. Nonetheless, visual data (e.g., images) is by default prerequisite for learning prompts in existing methods. In this work, we advocate that the effectiveness of image-text contrastive learning in aligning the two modalities (for training CLIP) further makes it feasible to treat texts as images for prompt tuning and introduce TaI prompting. In contrast to the visual data, text descriptions are easy to collect, and their class labels can be directly derived. Particularly, we apply TaI prompting to multi-label image recognition, where sentences in the wild serve as alternatives to images for prompt tuning. Moreover, with TaI, double-grained prompt tuning (TaI-DPT) is further presented to extract both coarse-grained and fine-grained embeddings for enhancing the multi-label recognition performance. Experimental results show that our proposed TaI-DPT outperforms zero-shot CLIP by a large margin on multiple benchmarks, e.g., MS-COCO, VOC2007, and NUS-WIDE, while it can be combined with existing methods of prompting from images to improve recognition performance further. Code is released at https://github.com/guozix/TaI-DPT.

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

↑