paper-with-me

Papers

Visual-Language Prompt Tuning with Knowledge-guided Context Optimization

2023-03-23 · CVPR 2023 1 · Hantao Yao, Rui Zhang, Changsheng Xu

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.

📄 PDF Abstract BibTeX arXiv:2303.13283

Code (1)

htyao89/kgcoop 공식 구현 pytorch

Tasks

Language ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

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

2024-01-15 · Yi Zhang, Ce Zhang, Ke Yu, Yushun Tang 외

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 downstrea…

Prompt Learning

MePT: Multi-Representation Guided Prompt Tuning for Vision-Language Model

2024-08-19 · Xinyang Wang, Yi Yang, Minfeng Zhu, Kecheng Zheng 외

Recent advancements in pre-trained Vision-Language Models (VLMs) have highlighted the significant potential of prompt tuning for adapting these models to a wide range of downstream tasks. However, existing prompt tuning …

Domain GeneralizationLanguage ModelingLanguage Modelling

MSCPT: Few-shot Whole Slide Image Classification with Multi-scale and Context-focused Prompt Tuning

2024-08-21 · Minghao Han, Linhao Qu, Dingkang Yang, Xukun Zhang 외

Multiple instance learning (MIL) has become a standard paradigm for weakly supervised classification of whole slide images (WSI). However, this paradigm relies on the use of a large number of labelled WSIs for training. …

image-classificationImage ClassificationLanguage ModellingLarge Language Model+3

Vision-Language Consistency Guided Multi-modal Prompt Learning for Blind AI Generated Image Quality Assessment

2024-06-24 · Jun Fu, Wei Zhou, Qiuping Jiang, Hantao Liu 외

Recently, textual prompt tuning has shown inspirational performance in adapting Contrastive Language-Image Pre-training (CLIP) models to natural image quality assessment. However, such uni-modal prompt learning method on…

Image Quality AssessmentPrompt Learning

Unlocking the Capabilities of Vision-Language Models for Generalizable and Explainable Deepfake Detection

2025-03-19 · Peipeng Yu, Jianwei Fei, Hui Gao, Xuan Feng 외

Current vision-language models (VLMs) have demonstrated remarkable capabilities in understanding multimodal data, but their potential remains underexplored for deepfake detection due to the misaligned of their knowledge …

Contrastive LearningDeepFake DetectionFace SwappingLarge Language Model