Learning to Prompt with Text Only Supervision for Vision-Language Models
Muhammad Uzair Khattak, Muhammad Ferjad Naeem, Muzammal Naseer, Luc Van Gool, Federico Tombari
摘要
Foundational vision-language models such as CLIP are becoming a new paradigm in vision, due to their excellent generalization abilities. However, adapting these models for downstream tasks while maintaining their generalization remains a challenge. In literature, one branch of methods adapts CLIP by learning prompts using visual information. While effective, most of these works require labeled data which is not practical, and often struggle to generalize towards new datasets due to over-fitting on the source data. An alternative approach resorts to training-free methods by generating class descriptions from large language models (LLMs) and perform prompt ensembling. However, these methods often generate class specific prompts that cannot be transferred to other classes, which incur higher costs by generating LLM descriptions for each class separately. In this work, we propose to combine the strengths of these both streams of methods by learning prompts using only text data derived from LLMs. As supervised training of prompts is not trivial due to absence of images, we develop a training approach that allows prompts to extract rich contextual knowledge from LLM data. Moreover, with LLM contextual data mapped within the learned prompts, it enables zero-shot transfer of prompts to new classes and datasets potentially cutting the LLM prompt engineering cost. To the best of our knowledge, this is the first work that learns generalized prompts using text only data. We perform extensive evaluations on 4 benchmarks where our method improves over prior ensembling works while being competitive to those utilizing labeled images. Our code and pre-trained models are available at https://github.com/muzairkhattak/ProText .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Conditional Prompt Learning for Vision-Language Models 引用了 Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- Conditional Prompt Learning for Vision-Language Models 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Conditional Prompt Learning for Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- TransAgent: Transfer Vision-Language Foundation Models with Heterogeneous Agent Collaboration 引用了 Conditional Prompt Learning for Vision-Language Models
- TransAgent: Transfer Vision-Language Foundation Models with Heterogeneous Agent Collaboration 引用了 Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- TransAgent: Transfer Vision-Language Foundation Models with Heterogeneous Agent Collaboration 引用了 Language Models are Few-Shot Learners
- TransAgent: Transfer Vision-Language Foundation Models with Heterogeneous Agent Collaboration 引用了 Learning Transferable Visual Models From Natural Language Supervision
- AWT: Transferring Vision-Language Models via Augmentation, Weighting, and Transportation 引用了 Conditional Prompt Learning for Vision-Language Models
- AWT: Transferring Vision-Language Models via Augmentation, Weighting, and Transportation 引用了 Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- AWT: Transferring Vision-Language Models via Augmentation, Weighting, and Transportation 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- AWT: Transferring Vision-Language Models via Augmentation, Weighting, and Transportation 引用了 Language Models are Few-Shot Learners
- AWT: Transferring Vision-Language Models via Augmentation, Weighting, and Transportation 引用了 Learning Transferable Visual Models From Natural Language Supervision
- CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language Models 引用了 Conditional Prompt Learning for Vision-Language Models
- CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language Models 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language Models 引用了 Language Models are Few-Shot Learners
- CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision 引用了 Learning Transferable Visual Models From Natural Language Supervision
- IPO: Interpretable Prompt Optimization for Vision-Language Models 引用了 Conditional Prompt Learning for Vision-Language Models
- IPO: Interpretable Prompt Optimization for Vision-Language Models 引用了 Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- IPO: Interpretable Prompt Optimization for Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Learning Transferable Visual Models From Natural Language Supervision 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Learning Transferable Visual Models From Natural Language Supervision 引用了 Language Models are Few-Shot Learners
- Aggregate-and-Adapt Natural Language Prompts for Downstream Generalization of CLIP 引用了 Conditional Prompt Learning for Vision-Language Models
- Aggregate-and-Adapt Natural Language Prompts for Downstream Generalization of CLIP 引用了 Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- Aggregate-and-Adapt Natural Language Prompts for Downstream Generalization of CLIP 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Aggregate-and-Adapt Natural Language Prompts for Downstream Generalization of CLIP 引用了 Language Models are Few-Shot Learners
- Aggregate-and-Adapt Natural Language Prompts for Downstream Generalization of CLIP 引用了 Learning Transferable Visual Models From Natural Language Supervision
引用它的顶会 Paper20
- AWT: Transferring Vision-Language Models via Augmentation, Weighting, and TransportationYuhan Zhu, Yuyang Ji, Zhiyu Zhao, Gangshan Wu 等NeurIPS 2024 · 45 次引用
- CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language ModelsSaurav Jha, Dong Gong, Lina YaoNeurIPS 2024 · 36 次引用
- IPO: Interpretable Prompt Optimization for Vision-Language ModelsYingjun Du, Wenfang Sun, Cees SnoekNeurIPS 2024 · 15 次引用
- TransAgent: Transfer Vision-Language Foundation Models with Heterogeneous Agent CollaborationYiwei Guo, Shaobin Zhuang, Kunchang Li, Yu Qiao 等NeurIPS 2024 · 9 次引用
- Aggregate-and-Adapt Natural Language Prompts for Downstream Generalization of CLIPChen Huang, Skyler Seto, Samira Abnar, David Grangier 等NeurIPS 2024 · 8 次引用
它引用的 Paper22
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text SupervisionChao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen 等ICML 2021 · 5,401 次引用
- The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath 等ICCV 2021 · 2,294 次引用
- Conditional Prompt Learning for Vision-Language ModelsKaiyang Zhou, Jingkang Yang, Chen Change Loy, Ziwei LiuCVPR 2022 · 1,438 次引用
相关 Paper
- Towards Difficulty-Agnostic Efficient Transfer Learning for Vision-Language ModelsYongjin Yang, Jongwoo Ko, Se-Young YunEMNLP 2024 · 1 次引用
- Distilling Out-of-Distribution Knowledge from Large Language Models for CLIP GeneralizationQiji Ma, Chuanguang Yang, Zhulin An, Libo Huang, Erhu Zhao, Yuqi Li, Yongjun XuCVPR Findings 2026
- Large Language Models are Good Prompt Learners for Low-Shot Image ClassificationZhaoheng Zheng, Jingmin Wei, Xuefeng Hu, Haidong Zhu 等CVPR 2024 · 15 次引用
- Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language ModelsManli Shu, Weili Nie, De-An Huang, Zhiding Yu 等NeurIPS 2022 · 603 次引用
- Enhancing Zero-Shot Vision Models by Label-Free Prompt Distribution Learning and Bias CorrectingXingyu Zhu, Beier Zhu, Yi Tan, Shuo Wang 等NeurIPS 2024 · 36 次引用
