CVAug 17, 2022

Dual Modality Prompt Tuning for Vision-Language Pre-Trained Model

arXiv:2208.08340v4100 citationsh-index: 69Has Code
Originality Incremental advance
AI Analysis

This work addresses a bottleneck in adapting pre-trained vision-language models for downstream tasks, offering an incremental improvement over existing prompt tuning methods.

The paper tackles the sub-optimal performance in vision-language models by tuning only text prompts, proposing a dual-modality prompt tuning method that learns both text and visual prompts simultaneously, achieving improved results across 11 datasets.

With the emergence of large pre-trained vison-language model like CLIP, transferable representations can be adapted to a wide range of downstream tasks via prompt tuning. Prompt tuning tries to probe the beneficial information for downstream tasks from the general knowledge stored in the pre-trained model. A recently proposed method named Context Optimization (CoOp) introduces a set of learnable vectors as text prompt from the language side. However, tuning the text prompt alone can only adjust the synthesized "classifier", while the computed visual features of the image encoder can not be affected , thus leading to sub-optimal solutions. In this paper, we propose a novel Dual-modality Prompt Tuning (DPT) paradigm through learning text and visual prompts simultaneously. To make the final image feature concentrate more on the target visual concept, a Class-Aware Visual Prompt Tuning (CAVPT) scheme is further proposed in our DPT, where the class-aware visual prompt is generated dynamically by performing the cross attention between text prompts features and image patch token embeddings to encode both the downstream task-related information and visual instance information. Extensive experimental results on 11 datasets demonstrate the effectiveness and generalization ability of the proposed method. Our code is available in https://github.com/fanrena/DPT.

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