Gradient constrained sharpness-aware prompt learning for vision-language models
On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP
Abstract (arXiv)
This paper targets a novel trade-off problem in generalizable prompt learning for vision-language models (VLM), i.e., improving the performance on unseen classes while maintaining the performance on seen classes. Comparing with existing generalizable methods that neglect the seen classes degradation, the setting of this problem is more strict and fits more closely with practical applications. To solve this problem, we start from the optimization perspective, and leverage the relationship between loss landscape geometry and model generalization ability. By analyzing the loss landscapes of the state-of-the-art method and vanilla Sharpness-aware Minimization (SAM) based method, we conclude that the trade-off performance correlates to both loss value and loss sharpness, while each of them is indispensable. However, we find the optimizing gradient of existing methods cannot maintain high relevance to both loss value and loss sharpness during optimization, which severely affects their trade-off performance. To this end, we propose a novel SAM-based method for prompt learning, denoted as Gradient Constrained Sharpness-aware Context Optimization (GCSCoOp), to dynamically constrain the optimizing gradient, thus achieving above two-fold optimization objective simultaneously. Extensive experiments verify the effectiveness of GCSCoOp in the trade-off problem.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 35 of its 46 references that are in the map. First posted on arXiv 14 Sep 2023.
Builds on
35 of 46 references.
Closest ancestors · 6
Same direction, newest first
- 2023Consistency-guided Prompt Learning for Vision-Language Models1 Jun
- 2023Visual-Language Prompt Tuning with Knowledge-guided Context Optimization23 Mar
- 2022Prompt-aligned Gradient for Prompt Tuning30 May
- 2022Prompt Distribution Learning6 May
- 2022Conditional Prompt Learning for Vision-Language Models10 Mar
- 2021Learning to Prompt for Vision-Language Models2 Sep
Other references · 29
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2013Describing Textures in the Wildcited by 2,110
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
- 2019Natural Adversarial Examplescited by 1,401
17 more
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
- 2022MaPLe: Multi-modal Prompt Learningcited by 685
- 2021FILIP: Fine-grained Interactive Language-Image Pre-Trainingcited by 626
- 2021LiT: Zero-Shot Transfer with Locked-image text Tuningcited by 572
- 2019Fine-Grained Analysis of Optimization and Generalization for Overparameterized Two-Layer Neural Networkscited by 562
- 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 527
- 2019Fantastic Generalization Measures and Where to Find Themcited by 507
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 171
- 2021Fit without fear: remarkable mathematical phenomena of deep learning through the prism of interpolationcited by 130
- 2022LASP: Text-to-Text Optimization for Language-Aware Soft Prompting of Vision & Language Modelscited by 58
- 2023Progressive Visual Prompt Learning with Contrastive Feature Re-formationcited by 35
- 2023Chain of Thought Prompt Tuning in Vision Language Modelscited by 34
- 2022On Implicit Bias in Overparameterized Bilevel Optimizationcited by 30
- 2023Flatness-Aware Prompt Selection Improves Accuracy and Sample Efficiencycited by 5
Built on by
Citing papers per year: 2024: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026SAMPLe: SAM-based Optimizer for Prompt Learning in VLMs
- 2025SharpZO: Hybrid Sharpness-Aware Vision Language Model Prompt Tuning via Forward-Only Passes
- 2025Prompt-OT: An Optimal Transport Regularization Paradigm for Knowledge Preservation in Vision-Language Model Adaptation
- 2023Gradient-Regulated Meta-Prompt Learning for Generalizable Vision-Language Models
- 2024Revisiting Prompt Pretraining of Vision-Language Models
- 2024LPT: Less-overfitting Prompt Tuning for Vision-Language Model
- 2023Towards Robust Prompts on Vision-Language Models
- 2023Distribution-Aware Prompt Tuning for Vision-Language Models