SAMPLe: SAM-based Optimizer for Prompt Learning in VLMs
On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP
Abstract (arXiv)
Pre-trained Vision-Language Models (VLMs) like CLIP have proven highly effective as foundation models for various downstream applications. However, prompt learning in VLMs encounters a performance-generalization dilemma: while prompts can be tuned to achieve high accuracy on seen distributions, this tuning process often undermines their generalizability to unseen data. The limited set of learnable prompts, which contextualize and condition the input to steer it toward the task within the pretrained VLM, tends to overfit the training data, leading to a trade-off between task-specific performance and preserving generalization. To address this dilemma, we introduce SAMPLe (Sharpness-Aware Minimization Prompt Learning), a plug-in sharpness-aware optimizer that enhances prompt generalizability by accounting for loss landscape sharpness. Unlike conventional methods, SAMPLe balances exploration and exploitation by satisfying objective function constraints at each step, dynamically adapting to the current optimization state based on the local curvature and gradient properties. This approach reduces overfitting on seen distributions and improves adaptability to unseen data, preserving the generalization potential of pre-trained VLM models. We integrate SAMPLe into multiple prompt learning frameworks, including CoOp, CoCoOp, MaPLe, TCP, and Co-Prompt, demonstrating its effectiveness across diverse methods. Experiments show that SAMPLe elevates prompt learning frameworks and consistently outperforms existing optimizers across diverse settings, establishing itself as a robust, model-agnostic solution for prompt learning.
Key facts. No citing papers in the map yet (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 38 of its 51 references that are in the map. First posted on arXiv 7 Jul 2026.
Builds on
38 of 51 references.
Closest ancestors · 7
Same direction, newest first
- 2025Diversity Covariance-Aware Prompt Learning for Vision-Language Models3 Mar
- 2023TCP:Textual-based Class-aware Prompt tuning for Visual-Language Model30 Nov
- 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 · 31
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 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
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
19 more
- 2023Vision-Language Models for Vision Tasks: A Surveycited by 834
- 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
- 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 527
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2023Self-regulating Prompts: Foundational Model Adaptation without Forgettingcited by 272
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
- 2018Sensitivity and Generalization in Neural Networks: an Empirical Studycited by 187
- 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 171
- 2021Sharpness-Aware Minimization Improves Language Model Generalizationcited by 108
- 2023Sharpness-Aware Gradient Matching for Domain Generalizationcited by 102
- 2022Fisher SAM: Information Geometry and Sharpness Aware Minimisationcited by 84
- 2020Do We Need Zero Training Loss After Achieving Zero Training Error?cited by 61
- 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalizationcited by 57
- 2024Friendly Sharpness-Aware Minimizationcited by 52
- 2024DEPT: Decoupled Embeddings for Pre-training Language Modelscited by 4
- 2025Modality-Aware SAM: Sharpness-Aware-Minimization Driven Gradient Modulation for Harmonized Multimodal Learningcited by 2
- 2025Task Specific Sharpness Aware O-RAN Resource Management using Multi Agent Reinforcement Learningcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2023Gradient constrained sharpness-aware prompt learning for vision-language models
- 2024LPT: Less-overfitting Prompt Tuning for Vision-Language Model
- 2023PRE: Vision-Language Prompt Learning with Reparameterization Encoder
- 2025Generalizable Prompt Learning of CLIP: A Brief Overview
- 2025Integrated Structural Prompt Learning for Vision-Language Models
- 2025SharpZO: Hybrid Sharpness-Aware Vision Language Model Prompt Tuning via Forward-Only Passes
- 2024Revisiting Prompt Pretraining of Vision-Language Models
- 2025Prompt-OT: An Optimal Transport Regularization Paradigm for Knowledge Preservation in Vision-Language Model Adaptation