Local-Global Prompt Learning via Sparse Optimal Transport
On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP
Abstract (arXiv)
Few-shot adaptation of vision-language models (VLMs) like CLIP typically relies on learning textual prompts matched to global image embeddings. Recent works extend this paradigm by incorporating local image-text alignment to capture fine-grained visual cues, yet these approaches often select local regions independently for each prompt, leading to redundant local feature usage and prompt overlap. We propose SOT-GLP, which introduces a shared sparse patch support and balanced optimal transport allocation to explicitly partition salient visual regions among class-specific local prompts while preserving global alignment. Our method learns shared global prompts and class-specific local prompts. The global branch maintains standard image-text matching for robust category-level alignment. The local branch constructs a class-conditioned sparse patch set using V-V attention and aligns it to multiple class-specific prompts via balanced entropic optimal transport, yielding a soft partition of patches that prevents prompt overlap and collapse. We evaluate our method on two complementary objectives: (i) few-shot classification accuracy on 11 standard benchmarks and (ii) out-of-distribution (OOD) detection. On the standard 11-dataset benchmark with 16-shot ViT-B/16, SOT-GLP achieves 85.1% average accuracy, outperforming prior prompt-learning methods. We identify a distinct accuracy-robustness trade-off in prompt learning: while learnable projections optimize in-distribution fit, they alter the foundational feature space. We demonstrate that a projection-free local alignment preserves the native geometry of the CLIP manifold, yielding state-of-the-art OOD detection performance (94.2% AUC) that surpasses fully adapted models. Implementation available at: https://github.com/Deniz2304988/SOT-GLP
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 17 of its 29 references that are in the map. First posted on arXiv 9 Mar 2026.
Builds on
17 of 29 references.
Closest ancestors · 5
Same direction, newest first
- 2024GalLoP: Learning Global and Local Prompts for Vision-Language Models1 Jul
- 2023A Closer Look at the Explainability of Contrastive Language-Image Pre-training12 Apr
- 2022Prompt Distribution Learning6 May
- 2022Conditional Prompt Learning for Vision-Language Models10 Mar
- 2021Learning to Prompt for Vision-Language Models2 Sep
Other references · 12
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,277
- 2013Describing Textures in the Wildcited by 2,110
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
- 2023Self-regulating Prompts: Foundational Model Adaptation without Forgettingcited by 272
- 2023LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learningcited by 107
- 2024PromptAD: Learning Prompts with only Normal Samples for Few-Shot Anomaly Detectioncited by 97
- 2023GL-MCM: Global and Local Maximum Concept Matching for Zero-Shot Out-of-Distribution Detectioncited by 36
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Prompt-OT: An Optimal Transport Regularization Paradigm for Knowledge Preservation in Vision-Language Model Adaptation
- 2024Dude: Dual Distribution-Aware Context Prompt Learning For Large Vision-Language Model
- 2023Context-Aware Prompt Tuning for Vision-Language Model with Dual-Alignment
- 2024PromptSync: Bridging Domain Gaps in Vision-Language Models through Class-Aware Prototype Alignment and Discrimination
- 2025Constrained Prompt Enhancement for Improving Zero-Shot Generalization of Vision-Language Models
- 2023Black Box Few-Shot Adaptation for Vision-Language models
- 2022PLOT: Prompt Learning with Optimal Transport for Vision-Language Models
- 2026Noise-aware few-shot learning through bi-directional multi-view prompt alignment