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

通过基于大语言模型的提示调优实现无数据多标签图像识别

Data-free Multi-label Image Recognition via LLM-powered Prompt Tuning

Shenzhen MSU-BIT University(深圳北理莫斯科大学);Beijing Institute of Technology(北京理工大学)

Shuo Yang, Zirui Shang, Yongqi Wang, Derong Deng, Hongwei Chen, Qiyuan Cheng, Xinxiao Wu

AI总结:

本文提出无数据多标签图像识别框架,利用 LLM 生成知识文本并学习考虑标签依赖的分层提示以适配 CLIP,在三个公开数据集上优于现有方法。

摘要:

本文提出了一种无需任何训练数据的新型多标签图像识别框架,称为无数据框架,该框架利用预训练大语言模型(LLM)的知识来学习提示,从而使 CLIP 等预训练视觉-语言模型(VLM)适应多标签分类。通过精心设计的问题询问 LLM,我们获得了关于物体特征和情境的全面知识,这为学习提示提供了有价值的文本描述。随后,我们提出了一种考虑多标签依赖关系的分层提示学习方法,其中当相应物体表现出相似属性或更可能共现时,一部分类别特定的提示词元会被共享。得益于 CLIP 在视觉语义与语言语义之间出色的对齐能力,从文本描述中学到的分层提示在推理阶段被用于执行图像分类。我们的框架为探索多个预训练模型之间的协同作用以识别新类别提供了一条新途径。在三个公开数据集(MS-COCO、VOC2007 和 NUS-WIDE)上的大量实验表明,我们的方法取得了优于最先进方法的结果,特别是在 MS-COCO 上的 mAP 比零样本多标签识别方法高出 4.7%。

英文摘要:

This paper proposes a novel framework for multi-label image recognition without any training data, called data-free framework, which uses knowledge of pre-trained Large Language Model (LLM) to learn prompts to adapt pretrained Vision-Language Model (VLM) like CLIP to multilabel classification. Through asking LLM by well-designed questions, we acquire comprehensive knowledge about characteristics and contexts of objects, which provides valuable text descriptions for learning prompts. Then we propose a hierarchical prompt learning method by taking the multi-label dependency into consideration, wherein a subset of category-specific prompt tokens are shared when the corresponding objects exhibit similar attributes or are more likely to co-occur. Benefiting from the remarkable alignment between visual and linguistic semantics of CLIP, the hierarchical prompts learned from text descriptions are applied to perform classification of images during inference. Our framework presents a new way to explore the synergies between multiple pre-trained models for novel category recognition. Extensive experiments on three public datasets (MS-COCO, VOC2007, and NUS-WIDE) demonstrate that our method achieves better results than the state-of-the-art methods, especially outperforming the zero-shot multi-label recognition methods by 4.7% in mAP on MS-COCO.

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

↑