Concept-Guided Prompt Learning for Generalization in Vision-Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Yi, Zhang, Ce, Yu, Ke, Tang, Yushun, He, Zhihai
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914642040717312
author Zhang, Yi
Zhang, Ce
Yu, Ke
Tang, Yushun
He, Zhihai
author_facet Zhang, Yi
Zhang, Ce
Yu, Ke
Tang, Yushun
He, Zhihai
contents Contrastive Language-Image Pretraining (CLIP) model has exhibited remarkable efficacy in establishing cross-modal connections between texts and images, yielding impressive performance across a broad spectrum of downstream applications through fine-tuning. However, for generalization tasks, the current fine-tuning methods for CLIP, such as CoOp and CoCoOp, demonstrate relatively low performance on some fine-grained datasets. We recognize the underlying reason is that these previous methods only projected global features into the prompt, neglecting the various visual concepts, such as colors, shapes, and sizes, which are naturally transferable across domains and play a crucial role in generalization tasks. To address this issue, in this work, we propose Concept-Guided Prompt Learning (CPL) for vision-language models. Specifically, we leverage the well-learned knowledge of CLIP to create a visual concept cache to enable concept-guided prompting. In order to refine the text features, we further develop a projector that transforms multi-level visual features into text features. We observe that this concept-guided prompt learning approach is able to achieve enhanced consistency between visual and linguistic modalities. Extensive experimental results demonstrate that our CPL method significantly improves generalization capabilities compared to the current state-of-the-art methods.
format Preprint
id arxiv_https___arxiv_org_abs_2401_07457
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Concept-Guided Prompt Learning for Generalization in Vision-Language Models
Zhang, Yi
Zhang, Ce
Yu, Ke
Tang, Yushun
He, Zhihai
Computer Vision and Pattern Recognition
Contrastive Language-Image Pretraining (CLIP) model has exhibited remarkable efficacy in establishing cross-modal connections between texts and images, yielding impressive performance across a broad spectrum of downstream applications through fine-tuning. However, for generalization tasks, the current fine-tuning methods for CLIP, such as CoOp and CoCoOp, demonstrate relatively low performance on some fine-grained datasets. We recognize the underlying reason is that these previous methods only projected global features into the prompt, neglecting the various visual concepts, such as colors, shapes, and sizes, which are naturally transferable across domains and play a crucial role in generalization tasks. To address this issue, in this work, we propose Concept-Guided Prompt Learning (CPL) for vision-language models. Specifically, we leverage the well-learned knowledge of CLIP to create a visual concept cache to enable concept-guided prompting. In order to refine the text features, we further develop a projector that transforms multi-level visual features into text features. We observe that this concept-guided prompt learning approach is able to achieve enhanced consistency between visual and linguistic modalities. Extensive experimental results demonstrate that our CPL method significantly improves generalization capabilities compared to the current state-of-the-art methods.
title Concept-Guided Prompt Learning for Generalization in Vision-Language Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2401.07457