paper-with-me

홈 › Papers

Aggregate-and-Adapt Natural Language Prompts for Downstream Generalization of CLIP

2024-10-31 · Chen Huang, Skyler Seto, Samira Abnar, David Grangier, Navdeep Jaitly, Josh Susskind

Large pretrained vision-language models like CLIP have shown promising generalization capability, but may struggle in specialized domains (e.g., satellite imagery) or fine-grained classification (e.g., car models) where the visual concepts are unseen or under-represented during pretraining. Prompt learning offers a parameter-efficient finetuning framework that can adapt CLIP to downstream tasks even when limited annotation data are available. In this paper, we improve prompt learning by distilling the textual knowledge from natural language prompts (either human- or LLM-generated) to provide rich priors for those under-represented concepts. We first obtain a prompt ``summary'' aligned to each input image via a learned prompt aggregator. Then we jointly train a prompt generator, optimized to produce a prompt embedding that stays close to the aggregated summary while minimizing task loss at the same time. We dub such prompt embedding as Aggregate-and-Adapted Prompt Embedding (AAPE). AAPE is shown to be able to generalize to different downstream data distributions and tasks, including vision-language understanding tasks (e.g., few-shot classification, VQA) and generation tasks (image captioning) where AAPE achieves competitive performance. We also show AAPE is particularly helpful to handle non-canonical and OOD examples. Furthermore, AAPE learning eliminates LLM-based inference cost as required by baselines, and scales better with data and LLM model size.

📄 PDF Abstract BibTeX arXiv:2410.23698

Code (0)

등록된 구현이 없습니다.

Tasks

Image CaptioningPrompt LearningVisual Question Answering (VQA)

Methods 이 논문이 사용한 방법론

CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…

Similar Papers 제목 키워드 기반

Embedding by Elicitation: Dynamic Representations for Bayesian Optimization of System Prompts

2026-05-18 · Zhiyuan Jerry Lin, Benjamin Letham, Samuel Dooley, Maximilian Balandat 외 arxiv

System prompts are a central control mechanism in modern AI systems, shaping behavior across conversations, tasks, and user populations. Yet they are difficult to tune when feedback is available only as aggregate metrics…

MaPLe: Multi-modal Prompt Learning

2022-10-06 · CVPR 2023 1 · Muhammad Uzair Khattak, Hanoona Rasheed, Muhammad Maaz, Salman Khan 외

Pre-trained vision-language (V-L) models such as CLIP have shown excellent generalization ability to downstream tasks. However, they are sensitive to the choice of input text prompts and require careful selection of prom…

Prompt EngineeringPrompt Learning

MAPO: Boosting Large Language Model Performance with Model-Adaptive Prompt Optimization

2024-07-04 · Yuyan Chen, Zhihao Wen, Ge Fan, Zhengyu Chen 외

Prompt engineering, as an efficient and effective way to leverage Large Language Models (LLM), has drawn a lot of attention from the research community. The existing research primarily emphasizes the importance of adapti…

Language ModelingLanguage ModellingLarge Language Modelmodel+1

In-context Prompt Learning for Test-time Vision Recognition with Frozen Vision-language Model

2024-03-10 · Junhui Yin, Xinyu Zhang, Lin Wu, Xiaojie Wang

Current pre-trained vision-language models, such as CLIP, have demonstrated remarkable zero-shot generalization capabilities across various downstream tasks. However, their performance significantly degrades when test in…

In-Context LearningLanguage ModelingLanguage ModellingPrompt Learning+1

Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models

2022-09-15 · Manli Shu, Weili Nie, De-An Huang, Zhiding Yu 외

Pre-trained vision-language models (e.g., CLIP) have shown promising zero-shot generalization in many downstream tasks with properly designed text prompts. Instead of relying on hand-engineered prompts, recent works lear…

image-classificationImage ClassificationZero-shot Generalization