CVCLMar 23, 2023

Visual-Language Prompt Tuning with Knowledge-guided Context Optimization

arXiv:2303.13283v1435 citationsh-index: 74
Originality Incremental advance
AI Analysis

This addresses a generalization issue in adapting pre-trained visual-language models for downstream tasks, representing an incremental improvement over existing CoOp-based methods.

The paper tackles the problem of poor generalization to unseen classes in visual-language prompt tuning by proposing Knowledge-guided Context Optimization (KgCoOp), which reduces discrepancy between learnable and hand-crafted prompts, achieving better performance with less training time on several benchmarks.

Prompt tuning is an effective way to adapt the pre-trained visual-language model (VLM) to the downstream task using task-related textual tokens. Representative CoOp-based work combines the learnable textual tokens with the class tokens to obtain specific textual knowledge. However, the specific textual knowledge is the worse generalization to the unseen classes because it forgets the essential general textual knowledge having a strong generalization ability. To tackle this issue, we introduce a novel Knowledge-guided Context Optimization (KgCoOp) to enhance the generalization ability of the learnable prompt for unseen classes. The key insight of KgCoOp is that forgetting about essential knowledge can be alleviated by reducing the discrepancy between the learnable prompt and the hand-crafted prompt. Especially, KgCoOp minimizes the discrepancy between the textual embeddings generated by learned prompts and the hand-crafted prompts. Finally, adding the KgCoOp upon the contrastive loss can make a discriminative prompt for both seen and unseen tasks. Extensive evaluation of several benchmarks demonstrates that the proposed Knowledge-guided Context Optimization is an efficient method for prompt tuning, \emph{i.e.,} achieves better performance with less training time.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes