Prompt-aligned Gradient for Prompt Tuning
Beier Zhu, Yulei Niu, Yucheng Han, Yue Wu, Hanwang Zhang
摘要
Thanks to the large pre-trained vision-language models (VLMs) like CLIP [37], we can craft a zero-shot classifier by discrete prompt design, e.g., the confidence score of an image being "[CLASS]" can be obtained by using the VLM provided similarity between the image and the prompt sentence "a photo of a [CLASS]". Furthermore, prompting shows great potential for fast adaptation of VLMs to downstream tasks if we fine-tune the soft prompts with few samples. However, we find a common failure that improper fine-tuning or learning with extremely few-shot samples may even under-perform the zero-shot prediction. Existing methods still address this problem by using traditional anti-overfitting techniques such as early stopping and data augmentation, which lack a principled solution specific to prompting. In this paper, we present Prompt-aligned Gradient, dubbed ProGrad to prevent prompt tuning from forgetting the general knowledge learned from VLMs. In particular, ProGrad only updates the prompt whose gradient is aligned (or non-conflicting) to the general knowledge, which is represented as the optimization direction offered by the pre-defined prompt predictions. Extensive experiments under the few-shot learning, domain generalization, base-to-new generalization and cross-dataset transfer settings demonstrate the stronger few-shot generalization ability of ProGrad over state-of-the-art prompt tuning methods.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 165 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Consistency-guided Prompt Learning for Vision-Language Models 引用了 Bayesian Prompt Learning for Image-Language Model Generalization
- Consistency-guided Prompt Learning for Vision-Language Models 引用了 Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- Consistency-guided Prompt Learning for Vision-Language Models 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Consistency-guided Prompt Learning for Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Consistency-guided Prompt Learning for Vision-Language Models 引用了 Self-regulating Prompts: Foundational Model Adaptation without Forgetting
- Bayesian Prompt Learning for Image-Language Model Generalization 引用了 Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- Bayesian Prompt Learning for Image-Language Model Generalization 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Bayesian Prompt Learning for Image-Language Model Generalization 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Exploring Diverse In-Context Configurations for Image Captioning 引用了 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
- ViLT: Vision-and-Language Transformer Without Convolution or Region Supervision 引用了 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
- Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models 引用了 Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Self-regulating Prompts: Foundational Model Adaptation without Forgetting 引用了 Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- Self-regulating Prompts: Foundational Model Adaptation without Forgetting 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Self-regulating Prompts: Foundational Model Adaptation without Forgetting 引用了 Learning Transferable Visual Models From Natural Language Supervision
引用它的顶会 Paper165
- Self-regulating Prompts: Foundational Model Adaptation without ForgettingMuhammad Uzair Khattak, Syed Talal Wasim, Muzammal Naseer, Salman Khan 等ICCV 2023 · 365 次引用
- Exploring Diverse In-Context Configurations for Image CaptioningXu Yang, Yongliang Wu, Mingzhuo Yang, Haokun Chen 等NeurIPS 2023 · 104 次引用
- Consistency-guided Prompt Learning for Vision-Language ModelsShuvendu Roy, Ali EtemadICLR 2024 · 102 次引用
- Bayesian Prompt Learning for Image-Language Model GeneralizationMohammad Mahdi Derakhshani, Enrique Sanchez, Adrian Bulat, Victor Guilherme Turrisi da Costa 等ICCV 2023 · 66 次引用
- Dual Prototype Evolving for Test-Time Generalization of Vision-Language ModelsCe Zhang, Simon Stepputtis, Katia P. Sycara, Yaqi XieNeurIPS 2024 · 57 次引用
它引用的 Paper20
- 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 次引用
- Gradient Surgery for Multi-Task LearningTianhe Yu, Saurabh Kumar, Abhishek Gupta, Sergey Levine 等NeurIPS 2020 · 2,261 次引用
- ViLT: Vision-and-Language Transformer Without Convolution or Region SupervisionWonjae Kim, Bokyung Son, Ildoo KimICML 2021 · 2,258 次引用
相关 Paper
- Fine-Grained Prompt Learning for Face Anti-SpoofingXueli Hu, Huan Liu, Haocheng Yuan, Zhiyang Fu 等ACM MM 2024 · 9 次引用
- Gradient-Regulated Meta-Prompt Learning for Generalizable Vision-Language ModelsJuncheng Li, Minghe Gao, Longhui Wei, Siliang Tang 等ICCV 2023 · 34 次引用
- Prompt Learning via Meta-RegularizationJinyoung Park, Juyeon Ko, Hyunwoo J. KimCVPR 2024 · 17 次引用
- Why Is Prompt Tuning for Vision-Language Models Robust to Noisy Labels?Cheng-En Wu, Yu Tian, Haichao Yu, Heng Wang 等ICCV 2023 · 30 次引用
- Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language ModelsManli Shu, Weili Nie, De-An Huang, Zhiding Yu 等NeurIPS 2022 · 603 次引用
